dApp Staking Parameters
Overview
The following parameters are tightly tied to dApp staking, however, some parameters are shared with the Tokenomics 2.0 model. To find out more, please check the documentation here.
Era Reward Span Length
How many eras of reward information do we store in a single database entry.
This puts an upper limit on how many rewards can a single claim_staker_reward
call claim.
Increasing this number has an impact on the PoV size consumed by the claim calls so it has to be kept relatively small.
Reward Retention In Periods
For how many periods do we keep staker & dApp rewards before they expire, and become unavailable for claiming. The larger this parameter is, the higher the deviation from the max inflation rate can occur since if many users have very old unclaimed rewards, and decide to claim them at a similar point in time, this would cause inflation to be spike up.
Max Number Of Contracts
There is a technical limitation on how many dApps the protocol can support at this time. However, this limit won't have a real impact on the protocol since at the moment of writing this document, neither Astar or Shiden are close to that limit.
Max Unlocking Chunks
Maximum number of unlocking chunks that a staker can simultaneously have. The chunk consists of some amount together with block number after which the chunk becomes unlocked.