Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "mint"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenesisState ¶
type GenesisState struct { Minter Minter `json:"minter" yaml:"minter"` // minter object Params Params `json:"params" yaml:"params"` // inflation params }
GenesisState - minter state
type Minter ¶
type Minter struct { Inflation sdk.Dec `json:"inflation" yaml:"inflation"` // current annual inflation rate AnnualProvisions sdk.Dec `json:"annual_provisions" yaml:"annual_provisions"` // current annual expected provisions }
Minter represents the minting state.
type Params ¶
type Params struct { MintDenom string `json:"mint_denom" yaml:"mint_denom"` // type of coin to mint InflationRateChange sdk.Dec `json:"inflation_rate_change" yaml:"inflation_rate_change"` // maximum annual change in inflation rate InflationMax sdk.Dec `json:"inflation_max" yaml:"inflation_max"` // maximum inflation rate InflationMin sdk.Dec `json:"inflation_min" yaml:"inflation_min"` // minimum inflation rate GoalBonded sdk.Dec `json:"goal_bonded" yaml:"goal_bonded"` // goal of percent bonded ctas BlocksPerYear uint64 `json:"blocks_per_year" yaml:"blocks_per_year"` // expected blocks per year }
mint parameters
Click to show internal directories.
Click to hide internal directories.