Versions in this module Expand all Collapse all v0 v0.0.2 Nov 23, 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.BinaryMarshaler, 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, amt 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) 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 + func (k BaseKeeper) GetSupply(ctx sdk.Context) exported.SupplyI + 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) MarshalSupply(supplyI exported.SupplyI) ([]byte, error) + func (k BaseKeeper) MintCoins(ctx sdk.Context, moduleName string, amt 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) SetSupply(ctx sdk.Context, supply exported.SupplyI) + func (k BaseKeeper) SupplyOf(c context.Context, req *types.QuerySupplyOfRequest) (*types.QuerySupplyOfResponse, error) + func (k BaseKeeper) TotalSupply(ctx context.Context, _ *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 + func (k BaseKeeper) UnmarshalSupply(bz []byte) (exported.SupplyI, error) + type BaseSendKeeper struct + func NewBaseSendKeeper(cdc codec.BinaryMarshaler, storeKey sdk.StoreKey, ak types.AccountKeeper, ...) BaseSendKeeper + func (k BaseSendKeeper) AddCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) error + func (k BaseSendKeeper) BlockedAddr(addr sdk.AccAddress) bool + func (k BaseSendKeeper) ClearBalances(ctx sdk.Context, addr sdk.AccAddress) + 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) SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error + func (k BaseSendKeeper) SendEnabledCoin(ctx sdk.Context, coin sdk.Coin) bool + func (k BaseSendKeeper) SendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error + func (k BaseSendKeeper) SetBalance(ctx sdk.Context, addr sdk.AccAddress, balance sdk.Coin) error + func (k BaseSendKeeper) SetBalances(ctx sdk.Context, addr sdk.AccAddress, balances sdk.Coins) error + func (k BaseSendKeeper) SetParams(ctx sdk.Context, params types.Params) + func (k BaseSendKeeper) SubtractCoins(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) error + type BaseViewKeeper struct + func NewBaseViewKeeper(cdc codec.BinaryMarshaler, 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) 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 + GetSupply func(ctx sdk.Context) exported.SupplyI + InitGenesis func(sdk.Context, *types.GenesisState) + IterateAllDenomMetaData func(ctx sdk.Context, cb func(types.Metadata) bool) + MarshalSupply func(supplyI exported.SupplyI) ([]byte, error) + 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) + SetSupply func(ctx sdk.Context, supply exported.SupplyI) + UndelegateCoins func(ctx sdk.Context, moduleAccAddr, delegatorAddr sdk.AccAddress, amt sdk.Coins) error + UndelegateCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + UnmarshalSupply func(bz []byte) (exported.SupplyI, error) + type SendKeeper interface + AddCoins func(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) error + 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 + SendCoins func(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error + SendEnabledCoin func(ctx sdk.Context, coin sdk.Coin) bool + SendEnabledCoins func(ctx sdk.Context, coins ...sdk.Coin) error + SetBalance func(ctx sdk.Context, addr sdk.AccAddress, balance sdk.Coin) error + SetBalances func(ctx sdk.Context, addr sdk.AccAddress, balances sdk.Coins) error + SetParams func(ctx sdk.Context, params types.Params) + SubtractCoins func(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) error + 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