The Plasm staking module manages era, total amounts of rewards and how to distribute.
Plasm Staking Parameters
This is explains plasm inflation models. The staking has 2 kinds.
Map from all locked "stash" accounts to the controller account.
Reward points of an era. Used to split era total payout between dapps rewards.
Rewards of stakers for contracts(called by "Dapps Nominator") at era.
The total amount staked for the last
Genesis config for the module, allow to build genesis storage.
Map from all (unlocked) "controller" accounts to the info regarding the staking.
A record of the nominations made by a specific account.
Where the reward payment should be made. Keyed by stash.
The ledger of a (bonded) stash.
Just a Balance/BlockNumber tuple to encode when a chunk of funds will be unlocked.
The already untreated era is EraIndex.
Error for the staking module.
Mode of era-forcing.
Events for this module.
A destination account for payment.
Simple index type with which we can count sessions.