scotbot: new option to disable downvotes, activate a separate comment reward pool and modify the pool by staked / circulating token ratio
All the modification are disabled by default and the behavior for all tribes will remain untouched unless they activate one of the new options.
Disable downvoting
This new parameter can be found in https://scot-api.steem-engine.com/config.
Default setting is false
. When set to true
, downvotes will be completely ignored on the tribe and downvoting a post/comment will not reduce the pending payout.
Separate comment pool
It is now possible to have a seperate comment pool
enable_comment_reward_pool
in https://scot-api.steem-engine.com/info activates the comment pool. Default setting is false
.
When set to true
:
pob_comment_pool_percentage
of the pob_reward share is added to thecomment_reward_pool
- author, curation and beneficiaries of all comments are paid from the
comment_reward_pool
- author, curation and beneficiaries of all main posts are paid from the
reward_pool
It is also possible to disable rewards for comments by setting pob_comment_pool_percentage=0
and enable_comment_reward_pool=True
. comment_reward_pool
will then remain 0 and the the rewards for curation and authors will be always zero for comments.
When pob_comment_pool_percentage
is set for example to 10%, 10% of the token which were before added to reward_pool
are now moved to the comment_reward_pool
. comment authors and voters are now paid from this separate pool.
Each tribe has now a field comment_pending_rshares
which shows the rshares sum for all pending votes on comments. When a tribe has enabled enable_comment_reward_pool
, the token reward is calculated by:
if post["main_post"]:
pending_token = int(weight_rshares / (pending_rshares - comment_pending_rshares) * reward_pool)
else:
pending_token = int(weight_rshares / comment_pending_rshares * comment_reward_pool
where weight_rshares
is the weighted rshares sum of the post/comment itself, pending_rshares
is the sum of all weighted rshares from all posts/comments and comment_pending_rshares
is the sum of all weighted rshares from comments only. reward_pool
is the normal reward pool and comment_reward_pool
is the separate comment reward pool.
Use the ratio between staked and circulating token for modifying the reward pool
This new parameter use_staking_circulating_quotent
can be found in https://scot-api.steem-engine.com/config.
Default setting is false
.
When set to true
the reward pool is increased by:
rewards_token = totalStaked / circulatingSupply * rewards_token
rewards_token
is added every rewards_token_every_n_block
to the reward pools.
By using this new option, a tribe can increase the token reward by staking more token or decrease it by issuing or unstake tokens. When for example a tribe adds 1 token every block to the pool, 28800 token are then added per day. Depending on the number of posts, a few user may receive a lot token in the early stage.
This can be prevented by use_staking_circulating_quotent
.
When the tribe in the example issues 100k token to a curation account and stake only 1k of them, only 288 token will be added to the pool. The tribe owner can then stake more when more user use the tribe.
After a while when more token were issued, the user itself can determine how big the reward will be. When they sell all earnings and nobody stakes them, the reward will stay low. When more accounts begin to stake, the reward size will increase.