alexanderzatko / rovas

Application for participating in the NEO economy
0 stars 0 forks source link

Add API call to check/create a shareholder #115

Closed alexanderzatko closed 3 years ago

alexanderzatko commented 3 years ago

The service will check that a given user is a shareholder in a given project. If not, it will create it if possible. returns 1 for if user is (was made) a shareholder, or 0 if user is not.

alexanderzatko commented 3 years ago

created rules_proxy_check_or_add_shareholder rule that implements this feature alongside with two supporting rules rules_check_or_add_shareholder and rules_calculate_total_shares. Updated the API description at https://merit.world/rovas-api#/rule/post_rovas_rules_rules_proxy_check_or_add_shareholder