Versions in this module Expand all Collapse all v1 v1.0.0 May 14, 2020 Changes in this version + const AttributeKeyAnnualProvisions + const AttributeKeyBondedRatio + const AttributeKeyInflation + const DefaultParamspace + const EventTypeMint + const ModuleName + const QuerierRoute + const QueryAnnualProvisions + const QueryInflation + const QueryParameters + const StoreKey + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var KeyBlocksPerYear = []byte("BlocksPerYear") + var KeyGoalBonded = []byte("GoalBonded") + var KeyInflationMax = []byte("InflationMax") + var KeyInflationMin = []byte("InflationMin") + var KeyInflationRateChange = []byte("InflationRateChange") + var KeyMintDenom = []byte("MintDenom") + var MinterKey = []byte + func ParamKeyTable() paramtypes.KeyTable + func ValidateGenesis(data GenesisState) error + func ValidateMinter(minter Minter) error + type AccountKeeper interface + GetModuleAccount func(ctx sdk.Context, moduleName string) authexported.ModuleAccountI + GetModuleAddress func(name string) sdk.AccAddress + SetModuleAccount func(sdk.Context, authexported.ModuleAccountI) + type BankKeeper interface + MintCoins func(ctx sdk.Context, name string, amt sdk.Coins) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + SendCoinsFromModuleToModule func(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error + type GenesisState struct + Minter Minter + Params Params + func DefaultGenesisState() GenesisState + func NewGenesisState(minter Minter, params Params) GenesisState + type Minter struct + AnnualProvisions github_com_cosmos_cosmos_sdk_types.Dec + Inflation github_com_cosmos_cosmos_sdk_types.Dec + func DefaultInitialMinter() Minter + func InitialMinter(inflation sdk.Dec) Minter + func NewMinter(inflation, annualProvisions sdk.Dec) Minter + func (*Minter) Descriptor() ([]byte, []int) + func (*Minter) ProtoMessage() + func (m *Minter) Marshal() (dAtA []byte, err error) + func (m *Minter) MarshalTo(dAtA []byte) (int, error) + func (m *Minter) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Minter) Reset() + func (m *Minter) Size() (n int) + func (m *Minter) String() string + func (m *Minter) Unmarshal(dAtA []byte) error + func (m *Minter) XXX_DiscardUnknown() + func (m *Minter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Minter) XXX_Merge(src proto.Message) + func (m *Minter) XXX_Size() int + func (m *Minter) XXX_Unmarshal(b []byte) error + func (m Minter) BlockProvision(params Params) sdk.Coin + func (m Minter) NextAnnualProvisions(_ Params, totalSupply sdk.Int) sdk.Dec + func (m Minter) NextInflationRate(params Params, bondedRatio sdk.Dec) sdk.Dec + type Params struct + BlocksPerYear uint64 + GoalBonded github_com_cosmos_cosmos_sdk_types.Dec + InflationMax github_com_cosmos_cosmos_sdk_types.Dec + InflationMin github_com_cosmos_cosmos_sdk_types.Dec + InflationRateChange github_com_cosmos_cosmos_sdk_types.Dec + MintDenom string + func DefaultParams() Params + func NewParams(mintDenom string, ...) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetBlocksPerYear() uint64 + func (m *Params) GetMintDenom() string + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs + func (p Params) String() string + func (p Params) Validate() error + type StakingKeeper interface + BondedRatio func(ctx sdk.Context) sdk.Dec + StakingTokenSupply func(ctx sdk.Context) sdk.Int v1.0.0-playground Jul 8, 2020