New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payouts in get_content API should be presented in main asset #5

Open
bitfag opened this Issue Mar 21, 2018 · 4 comments

Comments

2 participants
@bitfag
Copy link
Member

bitfag commented Mar 21, 2018

Originally get_content present payout in SBD asset. This is very confusing. So, this should be changed to main asset or vests representation (deterermine what is better?)

@bitfag bitfag added this to To do in Initial codebase preparation via automation Mar 21, 2018

@On1x

This comment has been minimized.

Copy link
Member

On1x commented Mar 21, 2018

Depends on what exactly added in code. If vests to author, then vests amount.

@bitfag

This comment has been minimized.

Copy link
Member Author

bitfag commented Mar 21, 2018

Payout initially calculated in STEEM_SYMBOL, see void database::cashout_comment_helper() and share_type database::claim_rshare_reward in libraries/chain/database.cpp
then a fraction of author_tokens goes to the vesting shares:
auto vest_created = create_vesting(author, vesting_steem);

@On1x

This comment has been minimized.

Copy link
Member

On1x commented Mar 21, 2018

Then need make it with STEEM_SYMBOL, 50% from payment going to vests.

@bitfag

This comment has been minimized.

Copy link
Member Author

bitfag commented Mar 21, 2018

Liquid payout percent is a configurable parameter actually, and the remainder goes to vests. So it may be not 50/50 but 25/75 for example.

@On1x On1x referenced this issue May 30, 2018

Open

VIZ Golos rework #28

30 of 30 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment