Module responsible for token minting and inflation in the Story blockchain
mint/params -> legacy_amino(params)
NewAppModule
function. If no function is passed, then the SDK’s
default inflation function will be used (DefaultInflationCalculationFn
). In case a custom
inflation calculation logic is needed, this can be achieved by defining and
passing a function that matches InflationCalculationFn
’s signature.
Key | Type | Example |
---|---|---|
MintDenom | string | ”stake” |
InflationsPerYear | string (dec) | “20000000000000000” |
BlocksPerYear | string (uint64) | “10368000” |
MintDenom
is the coin denominator used.InflationsPerYear
is the target inflation per year, in 1e18 decimals.BlocksPerYear
is the target number of blocks per year.Type | Attribute Key | Attribute Value |
---|---|---|
mint | amount | ”1000” |