Anyone will be able to become a 'granter', meaning they will be able to receive daily SRTS inflation, by using the operation become_granter. They can also stop being a granter by using operation stop_granter.
A user can vote for 3 granters (gradually increased to 11 granters over hard forks) at max, which they vote for using granter_vote with an array of the usernames they wish to vote for. Then, 3 top granters are selected each day by summing up all votes (stake-weighted), which each receive one share of the daily reward pool. The daily reward pool can be added to by any subapp as profits from certain activities (such as paying for name selection, etc.) and will also be added to automatically from inflation from a preditermined curve (not created yet, see getRewardPool(block) in distribute_grants.js).
API endpoints: /grant-voting/granters to get all granters and /grant-voting/@[username] to get granter votes of user [username].
Any ideas for improvements, errors, etc? If there are no comments this PR will be automatically confirmed on Sunday.
Anyone will be able to become a 'granter', meaning they will be able to receive daily SRTS inflation, by using the operation
become_granter
. They can also stop being a granter by using operationstop_granter
.A user can vote for 3 granters (gradually increased to 11 granters over hard forks) at max, which they vote for using
granter_vote
with an array of the usernames they wish to vote for. Then, 3 top granters are selected each day by summing up all votes (stake-weighted), which each receive one share of the daily reward pool. The daily reward pool can be added to by any subapp as profits from certain activities (such as paying for name selection, etc.) and will also be added to automatically from inflation from a preditermined curve (not created yet, seegetRewardPool(block)
in distribute_grants.js).API endpoints:
/grant-voting/granters
to get all granters and/grant-voting/@[username]
to get granter votes of user [username].Any ideas for improvements, errors, etc? If there are no comments this PR will be automatically confirmed on Sunday.