-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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
Create initial Learning Sui Tokenomics overview #2101
Conversation
Adding the image in a separate PR Will split these contents as specified once in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would probably look a lot better by having proper typesetting, but that would probably be a revision by @econmysten. I'll let him close on the review, because I know he wanted links thrown in.
doc/src/learn/tokenomics/index.md
Outdated
1. During each epoch: Users submit transactions to the Sui platform and validators process them. For each transaction, users pay the associated computation and storage gas fees. In cases where users delete previous transaction data, users obtain a partial rebate of their storage fees. Validators observe the behavior of other validators and evaluate each other’s performance. | ||
1. At the end of each epoch: The protocol distributes stake rewards to participants of the proof-of-stake mechanism. This occurs through two main steps: | ||
1. The total amount of stake rewards is calculated as the sum of computation fees accrued throughout the epoch plus the epoch’s stake reward subsidies. The latter component is optional in that it will disappear in the long run as the amount of SUI in circulation reaches its total supply. | ||
1. The total amount of stake rewards is distributed across various entities. Importantly, remember that the storage fund is taken into account in the calculation of the epoch’s total stake. However, the storage fund is not owned by any entities in the way that delegated SUI is. Instead, Sui’s economic model distributes the stake rewards accruing to the storage fund – a share (1-alpha)% of the total stake rewards – to validators in order to compensate them for their storage costs. Of these rewards, a share gamma% is paid out to validators while the remaining (1-gamma)% is used to reinvest in the fund’s capital. Finally, assume that validators charge a commission delta% on SUI token holders as a fee for delegation. The split of stake rewards across participants is given by: | ||
|
||
DelegatorRewards = (1-delta)*alpha*StakeRewards | ||
|
||
ValidatorRewards = (delta*alpha + gamma*(1-alpha))*StakeRewards | ||
|
||
Reinvestment = (1-gamma)*(1-alpha)*StakeRewards |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See, this is precisely why I'm so excited about Github's support of math syntax with simple '$$' characters:
https://github.blog/2022-05-19-math-support-in-markdown/
This would look SO MUCH BETTER with that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@huitseeker have updated with typesetting, thanks!
doc/src/learn/tokenomics/index.md
Outdated
|
||
The computation gas price ComputationPrice[t] captures the cost of one unit of computation in SUI units. This price is set at the transaction level and submitted by the user in two parts: | ||
|
||
ComputationPrice[t] = ReferencePrice + Tip[t], with Tip[t]>-ReferencePrice |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've pinged @econmysten elsewhere, but this one has me scratching my head.
introduced typesetting for the math notation. NOTE: for some reason it does not work in listed items (e.g. check-out some of the \gamma), any thoughts why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@econmysten Thanks for the typesetting update. Please review the typesetting of greeks: gamm and alpha in particular seems to not have gone through
Adding the image in a separate PR
Will split these contents as specified once in