Versions in this module Expand all Collapse all v0 v0.0.5 Jul 24, 2021 v0.0.4 Jul 4, 2021 v0.0.3 Jul 3, 2021 v0.0.2 Jul 3, 2021 v0.0.1 Jul 3, 2021 Changes in this version + const Burner + const CodeNoAccountCreated + const CodeNoPermission + const DefaultCodespace + const DefaultParamspace + const Minter + const ModuleName + const QuerierRoute + const QuerySupplyOf + const QueryTotalSupply + const RouterKey + const Staking + const StoreKey + var ModuleCdc *codec.Codec + func AccountProcessor(ga *authTypes.GenesisAccount, ba *authTypes.BaseAccount) authExported.Account + func ErrNoAccountCreated(codespace sdk.CodespaceType) sdk.Error + func ErrNoPermission(codespace sdk.CodespaceType) sdk.Error + func NewModuleAddress(name string) types.HeimdallAddress + func RegisterCodec(cdc *codec.Codec) + func ValidateGenesis(data GenesisState) error + type GenesisState struct + Supply Supply + func DefaultGenesisState() GenesisState + func NewGenesisState(supply Supply) 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) AddPermissions(permissions ...string) + func (ma *ModuleAccount) RemovePermission(permission string) error + func (ma ModuleAccount) GetName() string + func (ma ModuleAccount) GetPermissions() []string + func (ma ModuleAccount) HasPermission(permission string) bool + 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 + type ModuleAccountInterface = exported.ModuleAccountI + type PermissionsForAddress struct + func NewPermissionsForAddress(name string, permissions []string) PermissionsForAddress + func (pa PermissionsForAddress) GetAddress() types.HeimdallAddress + 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 DefaultSupply() Supply + func NewSupply(total sdk.Coins) Supply + func (supply *Supply) Deflate(amount sdk.Coins) + func (supply *Supply) Inflate(amount sdk.Coins) + func (supply Supply) String() string + func (supply Supply) ValidateBasic() error