Versions in this module Expand all Collapse all v1 v1.0.0 Sep 27, 2024 Changes in this version + type AccountKeeper interface + IterateAccounts func(ctx sdk.Context, cb func(account authtypes.AccountI) (stop bool)) + type BankKeeper interface + type MockAccountKeeper struct + func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper + func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder + func (m *MockAccountKeeper) GetAccount(ctx types.Context, addr types.AccAddress) types0.AccountI + func (m *MockAccountKeeper) GetModuleAccount(ctx types.Context, name string) types0.ModuleAccountI + func (m *MockAccountKeeper) GetModuleAddress(name string) types.AccAddress + func (m *MockAccountKeeper) IterateAccounts(ctx types.Context, cb func(types0.AccountI) bool) + func (m *MockAccountKeeper) SetModuleAccount(arg0 types.Context, arg1 types0.ModuleAccountI) + type MockAccountKeeperMockRecorder struct + func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call + func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, name interface{}) *gomock.Call + func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name interface{}) *gomock.Call + func (mr *MockAccountKeeperMockRecorder) IterateAccounts(ctx, cb interface{}) *gomock.Call + func (mr *MockAccountKeeperMockRecorder) SetModuleAccount(arg0, arg1 interface{}) *gomock.Call + type MockBankKeeper struct + func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper + func (m *MockBankKeeper) AllBalances(arg0 context.Context, arg1 *types1.QueryAllBalancesRequest) (*types1.QueryAllBalancesResponse, error) + func (m *MockBankKeeper) Balance(arg0 context.Context, arg1 *types1.QueryBalanceRequest) (*types1.QueryBalanceResponse, error) + func (m *MockBankKeeper) BlockedAddr(addr types.AccAddress) bool + func (m *MockBankKeeper) BurnCoins(ctx types.Context, moduleName string, amt types.Coins) error + func (m *MockBankKeeper) DelegateCoins(ctx types.Context, delegatorAddr, moduleAccAddr types.AccAddress, ...) error + func (m *MockBankKeeper) DelegateCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, ...) error + func (m *MockBankKeeper) DeleteSendEnabled(ctx types.Context, denoms ...string) + func (m *MockBankKeeper) DenomMetadata(arg0 context.Context, arg1 *types1.QueryDenomMetadataRequest) (*types1.QueryDenomMetadataResponse, error) + func (m *MockBankKeeper) DenomOwners(arg0 context.Context, arg1 *types1.QueryDenomOwnersRequest) (*types1.QueryDenomOwnersResponse, error) + func (m *MockBankKeeper) DenomsMetadata(arg0 context.Context, arg1 *types1.QueryDenomsMetadataRequest) (*types1.QueryDenomsMetadataResponse, error) + func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder + func (m *MockBankKeeper) ExportGenesis(arg0 types.Context) *types1.GenesisState + func (m *MockBankKeeper) GetAccountsBalances(ctx types.Context) []types1.Balance + func (m *MockBankKeeper) GetAllBalances(ctx types.Context, addr types.AccAddress) types.Coins + func (m *MockBankKeeper) GetAllDenomMetaData(ctx types.Context) []types1.Metadata + func (m *MockBankKeeper) GetAllSendEnabledEntries(ctx types.Context) []types1.SendEnabled + func (m *MockBankKeeper) GetAuthority() string + func (m *MockBankKeeper) GetBalance(ctx types.Context, addr types.AccAddress, denom string) types.Coin + func (m *MockBankKeeper) GetBlockedAddresses() map[string]bool + func (m *MockBankKeeper) GetDenomMetaData(ctx types.Context, denom string) (types1.Metadata, bool) + func (m *MockBankKeeper) GetPaginatedTotalSupply(ctx types.Context, pagination *query.PageRequest) (types.Coins, *query.PageResponse, error) + func (m *MockBankKeeper) GetParams(ctx types.Context) types1.Params + func (m *MockBankKeeper) GetSendEnabledEntry(ctx types.Context, denom string) (types1.SendEnabled, bool) + func (m *MockBankKeeper) GetSupply(ctx types.Context, denom string) types.Coin + func (m *MockBankKeeper) HasBalance(ctx types.Context, addr types.AccAddress, amt types.Coin) bool + func (m *MockBankKeeper) HasDenomMetaData(ctx types.Context, denom string) bool + func (m *MockBankKeeper) HasSupply(ctx types.Context, denom string) bool + func (m *MockBankKeeper) InitGenesis(arg0 types.Context, arg1 *types1.GenesisState) + func (m *MockBankKeeper) InputOutputCoins(ctx types.Context, inputs []types1.Input, outputs []types1.Output) error + func (m *MockBankKeeper) IsSendEnabledCoin(ctx types.Context, coin types.Coin) bool + func (m *MockBankKeeper) IsSendEnabledCoins(ctx types.Context, coins ...types.Coin) error + func (m *MockBankKeeper) IsSendEnabledDenom(ctx types.Context, denom string) bool + func (m *MockBankKeeper) IterateAccountBalances(ctx types.Context, addr types.AccAddress, cb func(types.Coin) bool) + func (m *MockBankKeeper) IterateAllBalances(ctx types.Context, cb func(types.AccAddress, types.Coin) bool) + func (m *MockBankKeeper) IterateAllDenomMetaData(ctx types.Context, cb func(types1.Metadata) bool) + func (m *MockBankKeeper) IterateSendEnabledEntries(ctx types.Context, cb func(string, bool) bool) + func (m *MockBankKeeper) IterateTotalSupply(ctx types.Context, cb func(types.Coin) bool) + func (m *MockBankKeeper) LockedCoins(ctx types.Context, addr types.AccAddress) types.Coins + func (m *MockBankKeeper) MintCoins(ctx types.Context, moduleName string, amt types.Coins) error + func (m *MockBankKeeper) Params(arg0 context.Context, arg1 *types1.QueryParamsRequest) (*types1.QueryParamsResponse, error) + func (m *MockBankKeeper) SendCoins(ctx types.Context, fromAddr, toAddr types.AccAddress, amt types.Coins) error + func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, ...) error + func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, ...) error + func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule, recipientModule string, amt types.Coins) error + func (m *MockBankKeeper) SendEnabled(arg0 context.Context, arg1 *types1.QuerySendEnabledRequest) (*types1.QuerySendEnabledResponse, error) + func (m *MockBankKeeper) SetAllSendEnabled(ctx types.Context, sendEnableds []*types1.SendEnabled) + func (m *MockBankKeeper) SetDenomMetaData(ctx types.Context, denomMetaData types1.Metadata) + func (m *MockBankKeeper) SetParams(ctx types.Context, params types1.Params) error + func (m *MockBankKeeper) SetSendEnabled(ctx types.Context, denom string, value bool) + func (m *MockBankKeeper) SpendableBalanceByDenom(arg0 context.Context, arg1 *types1.QuerySpendableBalanceByDenomRequest) (*types1.QuerySpendableBalanceByDenomResponse, error) + func (m *MockBankKeeper) SpendableBalances(arg0 context.Context, arg1 *types1.QuerySpendableBalancesRequest) (*types1.QuerySpendableBalancesResponse, error) + func (m *MockBankKeeper) SpendableCoin(ctx types.Context, addr types.AccAddress, denom string) types.Coin + func (m *MockBankKeeper) SpendableCoins(ctx types.Context, addr types.AccAddress) types.Coins + func (m *MockBankKeeper) SupplyOf(arg0 context.Context, arg1 *types1.QuerySupplyOfRequest) (*types1.QuerySupplyOfResponse, error) + func (m *MockBankKeeper) TotalSupply(arg0 context.Context, arg1 *types1.QueryTotalSupplyRequest) (*types1.QueryTotalSupplyResponse, error) + func (m *MockBankKeeper) UndelegateCoins(ctx types.Context, moduleAccAddr, delegatorAddr types.AccAddress, ...) error + func (m *MockBankKeeper) UndelegateCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, ...) error + func (m *MockBankKeeper) ValidateBalance(ctx types.Context, addr types.AccAddress) error + func (m *MockBankKeeper) WithMintCoinsRestriction(arg0 keeper.MintingRestrictionFn) keeper.BaseKeeper + type MockBankKeeperMockRecorder struct + func (mr *MockBankKeeperMockRecorder) AllBalances(arg0, arg1 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) Balance(arg0, arg1 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) BlockedAddr(addr interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, moduleName, amt interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) DelegateCoins(ctx, delegatorAddr, moduleAccAddr, amt interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) DelegateCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) DeleteSendEnabled(ctx interface{}, denoms ...interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) DenomMetadata(arg0, arg1 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) DenomOwners(arg0, arg1 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) DenomsMetadata(arg0, arg1 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) ExportGenesis(arg0 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetAccountsBalances(ctx interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetAllDenomMetaData(ctx interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetAllSendEnabledEntries(ctx interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetAuthority() *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetBlockedAddresses() *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetPaginatedTotalSupply(ctx, pagination interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetParams(ctx interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetSendEnabledEntry(ctx, denom interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) GetSupply(ctx, denom interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) HasBalance(ctx, addr, amt interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) HasDenomMetaData(ctx, denom interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) HasSupply(ctx, denom interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) InitGenesis(arg0, arg1 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) InputOutputCoins(ctx, inputs, outputs interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoin(ctx, coin interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoins(ctx interface{}, coins ...interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) IsSendEnabledDenom(ctx, denom interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) IterateAccountBalances(ctx, addr, cb interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) IterateAllBalances(ctx, cb interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) IterateAllDenomMetaData(ctx, cb interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) IterateSendEnabledEntries(ctx, cb interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) IterateTotalSupply(ctx, cb interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) LockedCoins(ctx, addr interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) Params(arg0, arg1 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SendEnabled(arg0, arg1 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SetAllSendEnabled(ctx, sendEnableds interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SetDenomMetaData(ctx, denomMetaData interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SetParams(ctx, params interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SetSendEnabled(ctx, denom, value interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SpendableBalanceByDenom(arg0, arg1 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SpendableBalances(arg0, arg1 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SpendableCoin(ctx, addr, denom interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) SupplyOf(arg0, arg1 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) TotalSupply(arg0, arg1 interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) UndelegateCoins(ctx, moduleAccAddr, delegatorAddr, amt interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) UndelegateCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) ValidateBalance(ctx, addr interface{}) *gomock.Call + func (mr *MockBankKeeperMockRecorder) WithMintCoinsRestriction(arg0 interface{}) *gomock.Call + type MockStakingKeeper struct + func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper + func (m *MockStakingKeeper) BondDenom(ctx types.Context) string + func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder + func (m *MockStakingKeeper) IterateBondedValidatorsByPower(arg0 types.Context, arg1 func(int64, types2.ValidatorI) bool) + func (m *MockStakingKeeper) IterateDelegations(ctx types.Context, delegator types.AccAddress, ...) + func (m *MockStakingKeeper) TokensFromConsensusPower(ctx types.Context, power int64) math.Int + func (m *MockStakingKeeper) TotalBondedTokens(arg0 types.Context) math.Int + type MockStakingKeeperMockRecorder struct + func (mr *MockStakingKeeperMockRecorder) BondDenom(ctx interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) IterateBondedValidatorsByPower(arg0, arg1 interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) IterateDelegations(ctx, delegator, fn interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) TokensFromConsensusPower(ctx, power interface{}) *gomock.Call + func (mr *MockStakingKeeperMockRecorder) TotalBondedTokens(arg0 interface{}) *gomock.Call + type StakingKeeper interface + BondDenom func(ctx sdk.Context) string + TokensFromConsensusPower func(ctx sdk.Context, power int64) math.Int