* supply spec * update spec * update other modules * update distr * update spec according to latest refactors * Apply suggestions from code review Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> * updated spec * Apply suggestions from code review Co-Authored-By: Marko <marbar3778@yahoo.com> * final updates * Apply suggestions from code review Co-Authored-By: Alessio Treglia <quadrispro@ubuntu.com> * word wrap in supply concepts * edits to concepts
779 B
779 B
State
Minter
The minter is a space for holding current inflation information.
- Minter:
0x00 -> amino(minter)
type Minter struct {
Inflation sdk.Dec // current annual inflation rate
AnnualProvisions sdk.Dec // current annual exptected provisions
}
Params
Minting params are held in the global params store.
- Params:
mint/params -> amino(params)
type Params struct {
MintDenom string // type of coin to mint
InflationRateChange sdk.Dec // maximum annual change in inflation rate
InflationMax sdk.Dec // maximum inflation rate
InflationMin sdk.Dec // minimum inflation rate
GoalBonded sdk.Dec // goal of percent bonded atoms
BlocksPerYear uint64 // expected blocks per year
}