-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Task (L1SC)]: Staking reward generation through inflation #153
Comments
We'll wait for the Tokenomics taskforce to provide us some requirements |
Do we need to implement this part of the specification?
|
No need for it right now. |
@lzpap
Just burn them? |
Do you mean the leftover rewards after distribution to all validators? I'm guessing it's in the range of a couple of nanos? Then we should simply burn it. |
There was one case in tests when computation rewards could be higher than usual |
Also what should we do with storage_fund_reward? Replace it or completely remove? |
Storage fund reward is earned by the storage fund from the stake subsidies . We discussed to get rid of the storage deposits ability to earn rewards. Those funds shall not be considered staked. |
@Dkwcs see my comment here #959 (comment) |
Description
In SUI, staking rewards are subsidised by pre-minted tokens. Once these run out, staking rewards come only from transaction fees.
In IOTA, instead of pre-minted stake subsidies we plan to introduce inflation/deflation based on the amount of tx fees collected in an epoch. The issue is about creating support for this in the epoch advancing system transaction, which currently just takes a portion of the stake subsidy tokens and distributes it to stakers.
The threshold of target staking reward amounts should come from the protocol config and be a governance parameter.
Requirements (1st iteration)
storage fund
's ability to earn staking rewards. #937TreasuryCap
of theIOTA
token from genesis and place it into the system object. #946minting
andburning
ofIOTA
tokens via the treasurycap only duringadvance_epoch()
. #947computational fees
. #945Additional tasks
v0
framework cut needs to be updated when the inflation mechanism is implemented #942SystemEpochInfoEvent
with information about minting and burning tokens, rename leftover_storage_fund_inflow #1015iota-genesis-builder
according to the inflation implementation #1063storage_fund
tostorage_deposits
#1074storage_reward
tostorage_charge
#1148TOTAL_SUPPLY_NANOS
toSTARDUST_TOTAL_SUPPLY_NANOS
#1171iota-graphql-e2e-tests
test snapshots #1235The text was updated successfully, but these errors were encountered: