Versions in this module Expand all Collapse all v0 v0.0.4 Nov 25, 2021 v0.0.3 Nov 25, 2021 v0.0.2 Nov 25, 2021 v0.0.1 Nov 24, 2021 Changes in this version + const Burner + const Minter + const ModuleName + const QuerierRoute + const QuerySupplyOf + const QueryTotalSupply + const RouterKey + const Staking + const StoreKey + var ModuleCdc *codec.Codec + func DefaultSupply() exported.SupplyI + func NewModuleAddress(name string) sdk.AccAddress + func NewSupply(total sdk.Coins) exported.SupplyI + func RegisterCodec(cdc *codec.Codec) + type AccountKeeper interface + GetAccount func(sdk.Context, sdk.AccAddress) exported.Account + IterateAccounts func(ctx sdk.Context, process func(exported.Account) (stop bool)) + NewAccount func(sdk.Context, exported.Account) exported.Account + SetAccount func(sdk.Context, exported.Account) + type BankKeeper interface + AddCoins func(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) (sdk.Coins, error) + DelegateCoins func(ctx sdk.Context, fromAdd, toAddr sdk.AccAddress, amt sdk.Coins) error + SendCoins func(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error + SubtractCoins func(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) (sdk.Coins, error) + UndelegateCoins func(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error + type GenesisState struct + Supply sdk.Coins + func DefaultGenesisState() GenesisState + func NewGenesisState(supply sdk.Coins) GenesisState + type ModuleAccount struct + Name string + Permissions []string + func NewEmptyModuleAccount(name string, permissions ...string) *ModuleAccount + func NewModuleAccount(ba *authtypes.BaseAccount, name string, permissions ...string) *ModuleAccount + func (ma *ModuleAccount) UnmarshalJSON(bz []byte) error + func (ma ModuleAccount) GetName() string + func (ma ModuleAccount) GetPermissions() []string + func (ma ModuleAccount) HasPermission(permission string) bool + func (ma ModuleAccount) MarshalJSON() ([]byte, error) + func (ma ModuleAccount) MarshalYAML() (interface{}, error) + func (ma ModuleAccount) SetPubKey(pubKey crypto.PubKey) error + func (ma ModuleAccount) SetSequence(seq uint64) error + func (ma ModuleAccount) String() string + func (ma ModuleAccount) Validate() error + type PermissionsForAddress struct + func NewPermissionsForAddress(name string, permissions []string) PermissionsForAddress + func (pa PermissionsForAddress) GetAddress() sdk.AccAddress + func (pa PermissionsForAddress) GetPermissions() []string + func (pa PermissionsForAddress) HasPermission(permission string) bool + type QuerySupplyOfParams struct + Denom string + func NewQuerySupplyOfParams(denom string) QuerySupplyOfParams + type QueryTotalSupplyParams struct + Limit int + Page int + func NewQueryTotalSupplyParams(page, limit int) QueryTotalSupplyParams + type Supply struct + Total sdk.Coins + func (supply Supply) Deflate(amount sdk.Coins) exported.SupplyI + func (supply Supply) GetTotal() sdk.Coins + func (supply Supply) Inflate(amount sdk.Coins) exported.SupplyI + func (supply Supply) SetTotal(total sdk.Coins) exported.SupplyI + func (supply Supply) String() string + func (supply Supply) ValidateBasic() error