Skip to content
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

Merged
merged 2 commits into from
May 23, 2022
Merged

Conversation

Clay-Mysten
Copy link
Contributor

Adding the image in a separate PR
Will split these contents as specified once in

Adding the image in a separate PR
Will split these contents as specified once in
@github-actions github-actions bot added the Type: Documentation Improvements or additions to documentation label May 20, 2022
@Clay-Mysten Clay-Mysten self-assigned this May 20, 2022
@Clay-Mysten Clay-Mysten added the Priority: High Very important task, not blocking but potentially delaying milestones or limiting our offering label May 20, 2022
@Clay-Mysten Clay-Mysten added this to the Pre Testnet milestone May 20, 2022
@Clay-Mysten Clay-Mysten linked an issue May 20, 2022 that may be closed by this pull request
Copy link
Contributor

@huitseeker huitseeker left a 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.

Comment on lines 153 to 162
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
Copy link
Contributor

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.

Copy link
Contributor

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!


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
Copy link
Contributor

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?
@econmysten econmysten merged commit dfe87bc into main May 23, 2022
@econmysten econmysten deleted the Clay-Mysten-patch-8 branch May 23, 2022 13:41
Copy link
Contributor

@huitseeker huitseeker left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High Very important task, not blocking but potentially delaying milestones or limiting our offering Type: Documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tokenomics Whitepaper on Docs Sui Site
3 participants