Versions in this module Expand all Collapse all v0 v0.43.1 Aug 24, 2021 Changes in this version + func AllInvariants(k Keeper) sdk.Invariant + func NewMsgServerImpl(keeper Keeper) types.MsgServer + func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier + func NonnegativeBalanceInvariant(k ViewKeeper) sdk.Invariant + func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper) + func TotalSupply(k Keeper) sdk.Invariant + type BaseKeeper struct + func NewBaseKeeper(cdc codec.BinaryCodec, storeKey sdk.StoreKey, ak types.AccountKeeper, ...) BaseKeeper + func (k BaseKeeper) AllBalances(ctx context.Context, req *types.QueryAllBalancesRequest) (*types.QueryAllBalancesResponse, error) + func (k BaseKeeper) Balance(ctx context.Context, req *types.QueryBalanceRequest) (*types.QueryBalanceResponse, error) + func (k BaseKeeper) BurnCoins(ctx sdk.Context, moduleName string, amounts sdk.Coins) error + func (k BaseKeeper) DelegateCoins(ctx sdk.Context, delegatorAddr, moduleAccAddr sdk.AccAddress, amt sdk.Coins) error + func (k BaseKeeper) DelegateCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + func (k BaseKeeper) DenomMetadata(c context.Context, req *types.QueryDenomMetadataRequest) (*types.QueryDenomMetadataResponse, error) + func (k BaseKeeper) DenomOwners(goCtx context.Context, req *types.QueryDenomOwnersRequest) (*types.QueryDenomOwnersResponse, error) + func (k BaseKeeper) DenomsMetadata(c context.Context, req *types.QueryDenomsMetadataRequest) (*types.QueryDenomsMetadataResponse, error) + func (k BaseKeeper) ExportGenesis(ctx sdk.Context) *types.GenesisState + func (k BaseKeeper) GetAllDenomMetaData(ctx sdk.Context) []types.Metadata + func (k BaseKeeper) GetDenomMetaData(ctx sdk.Context, denom string) (types.Metadata, bool) + func (k BaseKeeper) GetPaginatedTotalSupply(ctx sdk.Context, pagination *query.PageRequest) (sdk.Coins, *query.PageResponse, error) + func (k BaseKeeper) GetSupply(ctx sdk.Context, denom string) sdk.Coin + func (k BaseKeeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState) + func (k BaseKeeper) IterateAllDenomMetaData(ctx sdk.Context, cb func(types.Metadata) bool) + func (k BaseKeeper) MintCoins(ctx sdk.Context, moduleName string, amounts sdk.Coins) error + func (k BaseKeeper) Params(ctx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (k BaseKeeper) SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + func (k BaseKeeper) SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + func (k BaseKeeper) SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error + func (k BaseKeeper) SetDenomMetaData(ctx sdk.Context, denomMetaData types.Metadata) + func (k BaseKeeper) SupplyOf(c context.Context, req *types.QuerySupplyOfRequest) (*types.QuerySupplyOfResponse, error) + func (k BaseKeeper) TotalSupply(ctx context.Context, req *types.QueryTotalSupplyRequest) (*types.QueryTotalSupplyResponse, error) + func (k BaseKeeper) UndelegateCoins(ctx sdk.Context, moduleAccAddr, delegatorAddr sdk.AccAddress, amt sdk.Coins) error + func (k BaseKeeper) UndelegateCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + type BaseSendKeeper struct + func NewBaseSendKeeper(cdc codec.BinaryCodec, storeKey sdk.StoreKey, ak types.AccountKeeper, ...) BaseSendKeeper + func (k BaseSendKeeper) BlockedAddr(addr sdk.AccAddress) bool + func (k BaseSendKeeper) GetParams(ctx sdk.Context) (params types.Params) + func (k BaseSendKeeper) InputOutputCoins(ctx sdk.Context, inputs []types.Input, outputs []types.Output) error + func (k BaseSendKeeper) IsSendEnabledCoin(ctx sdk.Context, coin sdk.Coin) bool + func (k BaseSendKeeper) IsSendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error + func (k BaseSendKeeper) SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error + func (k BaseSendKeeper) SetParams(ctx sdk.Context, params types.Params) + type BaseViewKeeper struct + func NewBaseViewKeeper(cdc codec.BinaryCodec, storeKey sdk.StoreKey, ak types.AccountKeeper) BaseViewKeeper + func (k BaseViewKeeper) GetAccountsBalances(ctx sdk.Context) []types.Balance + func (k BaseViewKeeper) GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + func (k BaseViewKeeper) GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + func (k BaseViewKeeper) HasBalance(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coin) bool + func (k BaseViewKeeper) IterateAccountBalances(ctx sdk.Context, addr sdk.AccAddress, cb func(sdk.Coin) bool) + func (k BaseViewKeeper) IterateAllBalances(ctx sdk.Context, cb func(sdk.AccAddress, sdk.Coin) bool) + func (k BaseViewKeeper) IterateTotalSupply(ctx sdk.Context, cb func(sdk.Coin) bool) + func (k BaseViewKeeper) LockedCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + func (k BaseViewKeeper) Logger(ctx sdk.Context) log.Logger + func (k BaseViewKeeper) SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + func (k BaseViewKeeper) ValidateBalance(ctx sdk.Context, addr sdk.AccAddress) error + type Keeper interface + BurnCoins func(ctx sdk.Context, moduleName string, amt sdk.Coins) error + DelegateCoins func(ctx sdk.Context, delegatorAddr, moduleAccAddr sdk.AccAddress, amt sdk.Coins) error + DelegateCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + ExportGenesis func(sdk.Context) *types.GenesisState + GetDenomMetaData func(ctx sdk.Context, denom string) (types.Metadata, bool) + GetPaginatedTotalSupply func(ctx sdk.Context, pagination *query.PageRequest) (sdk.Coins, *query.PageResponse, error) + GetSupply func(ctx sdk.Context, denom string) sdk.Coin + InitGenesis func(sdk.Context, *types.GenesisState) + IterateAllDenomMetaData func(ctx sdk.Context, cb func(types.Metadata) bool) + IterateTotalSupply func(ctx sdk.Context, cb func(sdk.Coin) bool) + MintCoins func(ctx sdk.Context, moduleName string, amt sdk.Coins) error + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + SendCoinsFromModuleToModule func(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error + SetDenomMetaData func(ctx sdk.Context, denomMetaData types.Metadata) + UndelegateCoins func(ctx sdk.Context, moduleAccAddr, delegatorAddr sdk.AccAddress, amt sdk.Coins) error + UndelegateCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + type Migrator struct + func NewMigrator(keeper BaseKeeper) Migrator + func (m Migrator) Migrate1to2(ctx sdk.Context) error + func (m Migrator) Migrate2to3(ctx sdk.Context) error + type SendKeeper interface + BlockedAddr func(addr sdk.AccAddress) bool + GetParams func(ctx sdk.Context) types.Params + InputOutputCoins func(ctx sdk.Context, inputs []types.Input, outputs []types.Output) error + IsSendEnabledCoin func(ctx sdk.Context, coin sdk.Coin) bool + IsSendEnabledCoins func(ctx sdk.Context, coins ...sdk.Coin) error + SendCoins func(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error + SetParams func(ctx sdk.Context, params types.Params) + type ViewKeeper interface + GetAccountsBalances func(ctx sdk.Context) []types.Balance + GetAllBalances func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + GetBalance func(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + HasBalance func(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coin) bool + IterateAccountBalances func(ctx sdk.Context, addr sdk.AccAddress, cb func(coin sdk.Coin) (stop bool)) + IterateAllBalances func(ctx sdk.Context, cb func(address sdk.AccAddress, coin sdk.Coin) (stop bool)) + LockedCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + SpendableCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + ValidateBalance func(ctx sdk.Context, addr sdk.AccAddress) error