State
State Objects
The x/inflation
module keeps the following objects in state:
State Object | Description | Key | Value | Store |
---|---|---|---|---|
Period | Period Counter |
|
| KV |
EpochMintProvision | Epoch mint provision bytes |
|
| KV |
EpochIdentifier | Epoch identifier bytes |
|
| KV |
EpochsPerPeriod | Epochs per period bytes |
|
| KV |
SkippedEpochs | Number of skipped epochs bytes |
|
| KV |
Period
Counter to keep track of amount of past periods, based on the epochs per period.
EpochMintProvision
Amount of tokens that are allocated for exponention inflation each epoch.
EpochIdentifier
Identifier to trigger epoch hooks.
EpochsPerPeriod
Amount of epochs in one period
Genesis State
The x/inflation
module's GenesisState
defines the state necessary for initializing the chain from a previously exported height. It contains the module parameters and the list of active incentives and their corresponding gas meters: