Skip to content

sbd print rate update (using steem price)#27

Open
joticajulian wants to merge 1 commit intosteemit:masterfrom
joticajulian:patch-8
Open

sbd print rate update (using steem price)#27
joticajulian wants to merge 1 commit intosteemit:masterfrom
joticajulian:patch-8

Conversation

@joticajulian
Copy link
Copy Markdown

Continuation to PR #25 and #20.

the percent_sbd is calculated in this way:

virtual_supply = steem_supply + sbd_supply/steem_price
percent_sbd = (sbd_supply/steem_price) / virtual_supply * 100%

refactoring:

percent_sbd = sbd_supply / (sbd_supply + steem_supply * steem_price)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant