Documentation ¶
Index ¶
- type BankKeeperMock
- func (mock *BankKeeperMock) AllBalances(contextMoqParam context.Context, ...) (*banktypes.QueryAllBalancesResponse, error)
- func (mock *BankKeeperMock) AllBalancesCalls() []struct{ ... }
- func (mock *BankKeeperMock) Balance(contextMoqParam context.Context, ...) (*banktypes.QueryBalanceResponse, error)
- func (mock *BankKeeperMock) BalanceCalls() []struct{ ... }
- func (mock *BankKeeperMock) BlockedAddr(addr cosmossdktypes.AccAddress) bool
- func (mock *BankKeeperMock) BlockedAddrCalls() []struct{ ... }
- func (mock *BankKeeperMock) BurnCoins(ctx cosmossdktypes.Context, moduleName string, amt cosmossdktypes.Coins) error
- func (mock *BankKeeperMock) BurnCoinsCalls() []struct{ ... }
- func (mock *BankKeeperMock) DelegateCoins(ctx cosmossdktypes.Context, delegatorAddr cosmossdktypes.AccAddress, ...) error
- func (mock *BankKeeperMock) DelegateCoinsCalls() []struct{ ... }
- func (mock *BankKeeperMock) DelegateCoinsFromAccountToModule(ctx cosmossdktypes.Context, senderAddr cosmossdktypes.AccAddress, ...) error
- func (mock *BankKeeperMock) DelegateCoinsFromAccountToModuleCalls() []struct{ ... }
- func (mock *BankKeeperMock) DenomMetadata(contextMoqParam context.Context, ...) (*banktypes.QueryDenomMetadataResponse, error)
- func (mock *BankKeeperMock) DenomMetadataCalls() []struct{ ... }
- func (mock *BankKeeperMock) DenomsMetadata(contextMoqParam context.Context, ...) (*banktypes.QueryDenomsMetadataResponse, error)
- func (mock *BankKeeperMock) DenomsMetadataCalls() []struct{ ... }
- func (mock *BankKeeperMock) ExportGenesis(contextMoqParam cosmossdktypes.Context) *banktypes.GenesisState
- func (mock *BankKeeperMock) ExportGenesisCalls() []struct{ ... }
- func (mock *BankKeeperMock) GetAccountsBalances(ctx cosmossdktypes.Context) []banktypes.Balance
- func (mock *BankKeeperMock) GetAccountsBalancesCalls() []struct{ ... }
- func (mock *BankKeeperMock) GetAllBalances(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) cosmossdktypes.Coins
- func (mock *BankKeeperMock) GetAllBalancesCalls() []struct{ ... }
- func (mock *BankKeeperMock) GetBalance(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress, denom string) cosmossdktypes.Coin
- func (mock *BankKeeperMock) GetBalanceCalls() []struct{ ... }
- func (mock *BankKeeperMock) GetDenomMetaData(ctx cosmossdktypes.Context, denom string) (banktypes.Metadata, bool)
- func (mock *BankKeeperMock) GetDenomMetaDataCalls() []struct{ ... }
- func (mock *BankKeeperMock) GetPaginatedTotalSupply(ctx cosmossdktypes.Context, pagination *query.PageRequest) (cosmossdktypes.Coins, *query.PageResponse, error)
- func (mock *BankKeeperMock) GetPaginatedTotalSupplyCalls() []struct{ ... }
- func (mock *BankKeeperMock) GetParams(ctx cosmossdktypes.Context) banktypes.Params
- func (mock *BankKeeperMock) GetParamsCalls() []struct{ ... }
- func (mock *BankKeeperMock) GetSupply(ctx cosmossdktypes.Context, denom string) cosmossdktypes.Coin
- func (mock *BankKeeperMock) GetSupplyCalls() []struct{ ... }
- func (mock *BankKeeperMock) HasBalance(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress, ...) bool
- func (mock *BankKeeperMock) HasBalanceCalls() []struct{ ... }
- func (mock *BankKeeperMock) HasSupply(ctx cosmossdktypes.Context, denom string) bool
- func (mock *BankKeeperMock) HasSupplyCalls() []struct{ ... }
- func (mock *BankKeeperMock) InitGenesis(contextMoqParam cosmossdktypes.Context, genesisState *banktypes.GenesisState)
- func (mock *BankKeeperMock) InitGenesisCalls() []struct{ ... }
- func (mock *BankKeeperMock) InputOutputCoins(ctx cosmossdktypes.Context, inputs []banktypes.Input, ...) error
- func (mock *BankKeeperMock) InputOutputCoinsCalls() []struct{ ... }
- func (mock *BankKeeperMock) IsSendEnabledCoin(ctx cosmossdktypes.Context, coin cosmossdktypes.Coin) bool
- func (mock *BankKeeperMock) IsSendEnabledCoinCalls() []struct{ ... }
- func (mock *BankKeeperMock) IsSendEnabledCoins(ctx cosmossdktypes.Context, coins ...cosmossdktypes.Coin) error
- func (mock *BankKeeperMock) IsSendEnabledCoinsCalls() []struct{ ... }
- func (mock *BankKeeperMock) IterateAccountBalances(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress, ...)
- func (mock *BankKeeperMock) IterateAccountBalancesCalls() []struct{ ... }
- func (mock *BankKeeperMock) IterateAllBalances(ctx cosmossdktypes.Context, ...)
- func (mock *BankKeeperMock) IterateAllBalancesCalls() []struct{ ... }
- func (mock *BankKeeperMock) IterateAllDenomMetaData(ctx cosmossdktypes.Context, cb func(banktypes.Metadata) bool)
- func (mock *BankKeeperMock) IterateAllDenomMetaDataCalls() []struct{ ... }
- func (mock *BankKeeperMock) IterateTotalSupply(ctx cosmossdktypes.Context, cb func(cosmossdktypes.Coin) bool)
- func (mock *BankKeeperMock) IterateTotalSupplyCalls() []struct{ ... }
- func (mock *BankKeeperMock) LockedCoins(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) cosmossdktypes.Coins
- func (mock *BankKeeperMock) LockedCoinsCalls() []struct{ ... }
- func (mock *BankKeeperMock) MintCoins(ctx cosmossdktypes.Context, moduleName string, amt cosmossdktypes.Coins) error
- func (mock *BankKeeperMock) MintCoinsCalls() []struct{ ... }
- func (mock *BankKeeperMock) Params(contextMoqParam context.Context, ...) (*banktypes.QueryParamsResponse, error)
- func (mock *BankKeeperMock) ParamsCalls() []struct{ ... }
- func (mock *BankKeeperMock) SendCoins(ctx cosmossdktypes.Context, fromAddr cosmossdktypes.AccAddress, ...) error
- func (mock *BankKeeperMock) SendCoinsCalls() []struct{ ... }
- func (mock *BankKeeperMock) SendCoinsFromAccountToModule(ctx cosmossdktypes.Context, senderAddr cosmossdktypes.AccAddress, ...) error
- func (mock *BankKeeperMock) SendCoinsFromAccountToModuleCalls() []struct{ ... }
- func (mock *BankKeeperMock) SendCoinsFromModuleToAccount(ctx cosmossdktypes.Context, senderModule string, ...) error
- func (mock *BankKeeperMock) SendCoinsFromModuleToAccountCalls() []struct{ ... }
- func (mock *BankKeeperMock) SendCoinsFromModuleToModule(ctx cosmossdktypes.Context, senderModule string, recipientModule string, ...) error
- func (mock *BankKeeperMock) SendCoinsFromModuleToModuleCalls() []struct{ ... }
- func (mock *BankKeeperMock) SetDenomMetaData(ctx cosmossdktypes.Context, denomMetaData banktypes.Metadata)
- func (mock *BankKeeperMock) SetDenomMetaDataCalls() []struct{ ... }
- func (mock *BankKeeperMock) SetParams(ctx cosmossdktypes.Context, params banktypes.Params)
- func (mock *BankKeeperMock) SetParamsCalls() []struct{ ... }
- func (mock *BankKeeperMock) SpendableBalances(contextMoqParam context.Context, ...) (*banktypes.QuerySpendableBalancesResponse, error)
- func (mock *BankKeeperMock) SpendableBalancesCalls() []struct{ ... }
- func (mock *BankKeeperMock) SpendableCoins(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) cosmossdktypes.Coins
- func (mock *BankKeeperMock) SpendableCoinsCalls() []struct{ ... }
- func (mock *BankKeeperMock) SupplyOf(contextMoqParam context.Context, ...) (*banktypes.QuerySupplyOfResponse, error)
- func (mock *BankKeeperMock) SupplyOfCalls() []struct{ ... }
- func (mock *BankKeeperMock) TotalSupply(contextMoqParam context.Context, ...) (*banktypes.QueryTotalSupplyResponse, error)
- func (mock *BankKeeperMock) TotalSupplyCalls() []struct{ ... }
- func (mock *BankKeeperMock) UndelegateCoins(ctx cosmossdktypes.Context, moduleAccAddr cosmossdktypes.AccAddress, ...) error
- func (mock *BankKeeperMock) UndelegateCoinsCalls() []struct{ ... }
- func (mock *BankKeeperMock) UndelegateCoinsFromModuleToAccount(ctx cosmossdktypes.Context, senderModule string, ...) error
- func (mock *BankKeeperMock) UndelegateCoinsFromModuleToAccountCalls() []struct{ ... }
- func (mock *BankKeeperMock) ValidateBalance(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) error
- func (mock *BankKeeperMock) ValidateBalanceCalls() []struct{ ... }
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BankKeeperMock ¶
type BankKeeperMock struct { // AllBalancesFunc mocks the AllBalances method. AllBalancesFunc func(contextMoqParam context.Context, queryAllBalancesRequest *banktypes.QueryAllBalancesRequest) (*banktypes.QueryAllBalancesResponse, error) // BalanceFunc mocks the Balance method. BalanceFunc func(contextMoqParam context.Context, queryBalanceRequest *banktypes.QueryBalanceRequest) (*banktypes.QueryBalanceResponse, error) // BlockedAddrFunc mocks the BlockedAddr method. BlockedAddrFunc func(addr cosmossdktypes.AccAddress) bool // BurnCoinsFunc mocks the BurnCoins method. BurnCoinsFunc func(ctx cosmossdktypes.Context, moduleName string, amt cosmossdktypes.Coins) error // DelegateCoinsFunc mocks the DelegateCoins method. DelegateCoinsFunc func(ctx cosmossdktypes.Context, delegatorAddr cosmossdktypes.AccAddress, moduleAccAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error // DelegateCoinsFromAccountToModuleFunc mocks the DelegateCoinsFromAccountToModule method. DelegateCoinsFromAccountToModuleFunc func(ctx cosmossdktypes.Context, senderAddr cosmossdktypes.AccAddress, recipientModule string, amt cosmossdktypes.Coins) error // DenomMetadataFunc mocks the DenomMetadata method. DenomMetadataFunc func(contextMoqParam context.Context, queryDenomMetadataRequest *banktypes.QueryDenomMetadataRequest) (*banktypes.QueryDenomMetadataResponse, error) // DenomsMetadataFunc mocks the DenomsMetadata method. DenomsMetadataFunc func(contextMoqParam context.Context, queryDenomsMetadataRequest *banktypes.QueryDenomsMetadataRequest) (*banktypes.QueryDenomsMetadataResponse, error) // ExportGenesisFunc mocks the ExportGenesis method. ExportGenesisFunc func(contextMoqParam cosmossdktypes.Context) *banktypes.GenesisState // GetAccountsBalancesFunc mocks the GetAccountsBalances method. GetAccountsBalancesFunc func(ctx cosmossdktypes.Context) []banktypes.Balance // GetAllBalancesFunc mocks the GetAllBalances method. GetAllBalancesFunc func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) cosmossdktypes.Coins // GetBalanceFunc mocks the GetBalance method. GetBalanceFunc func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress, denom string) cosmossdktypes.Coin // GetDenomMetaDataFunc mocks the GetDenomMetaData method. GetDenomMetaDataFunc func(ctx cosmossdktypes.Context, denom string) (banktypes.Metadata, bool) // GetPaginatedTotalSupplyFunc mocks the GetPaginatedTotalSupply method. GetPaginatedTotalSupplyFunc func(ctx cosmossdktypes.Context, pagination *query.PageRequest) (cosmossdktypes.Coins, *query.PageResponse, error) // GetParamsFunc mocks the GetParams method. GetParamsFunc func(ctx cosmossdktypes.Context) banktypes.Params // GetSupplyFunc mocks the GetSupply method. GetSupplyFunc func(ctx cosmossdktypes.Context, denom string) cosmossdktypes.Coin // HasBalanceFunc mocks the HasBalance method. HasBalanceFunc func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress, amt cosmossdktypes.Coin) bool // HasSupplyFunc mocks the HasSupply method. HasSupplyFunc func(ctx cosmossdktypes.Context, denom string) bool // InitGenesisFunc mocks the InitGenesis method. InitGenesisFunc func(contextMoqParam cosmossdktypes.Context, genesisState *banktypes.GenesisState) // InputOutputCoinsFunc mocks the InputOutputCoins method. InputOutputCoinsFunc func(ctx cosmossdktypes.Context, inputs []banktypes.Input, outputs []banktypes.Output) error // IsSendEnabledCoinFunc mocks the IsSendEnabledCoin method. IsSendEnabledCoinFunc func(ctx cosmossdktypes.Context, coin cosmossdktypes.Coin) bool // IsSendEnabledCoinsFunc mocks the IsSendEnabledCoins method. IsSendEnabledCoinsFunc func(ctx cosmossdktypes.Context, coins ...cosmossdktypes.Coin) error // IterateAccountBalancesFunc mocks the IterateAccountBalances method. IterateAccountBalancesFunc func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress, cb func(coin cosmossdktypes.Coin) (stop bool)) // IterateAllBalancesFunc mocks the IterateAllBalances method. IterateAllBalancesFunc func(ctx cosmossdktypes.Context, cb func(address cosmossdktypes.AccAddress, coin cosmossdktypes.Coin) (stop bool)) // IterateAllDenomMetaDataFunc mocks the IterateAllDenomMetaData method. IterateAllDenomMetaDataFunc func(ctx cosmossdktypes.Context, cb func(banktypes.Metadata) bool) // IterateTotalSupplyFunc mocks the IterateTotalSupply method. IterateTotalSupplyFunc func(ctx cosmossdktypes.Context, cb func(cosmossdktypes.Coin) bool) // LockedCoinsFunc mocks the LockedCoins method. LockedCoinsFunc func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) cosmossdktypes.Coins // MintCoinsFunc mocks the MintCoins method. MintCoinsFunc func(ctx cosmossdktypes.Context, moduleName string, amt cosmossdktypes.Coins) error // ParamsFunc mocks the Params method. ParamsFunc func(contextMoqParam context.Context, queryParamsRequest *banktypes.QueryParamsRequest) (*banktypes.QueryParamsResponse, error) // SendCoinsFunc mocks the SendCoins method. SendCoinsFunc func(ctx cosmossdktypes.Context, fromAddr cosmossdktypes.AccAddress, toAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error // SendCoinsFromAccountToModuleFunc mocks the SendCoinsFromAccountToModule method. SendCoinsFromAccountToModuleFunc func(ctx cosmossdktypes.Context, senderAddr cosmossdktypes.AccAddress, recipientModule string, amt cosmossdktypes.Coins) error // SendCoinsFromModuleToAccountFunc mocks the SendCoinsFromModuleToAccount method. SendCoinsFromModuleToAccountFunc func(ctx cosmossdktypes.Context, senderModule string, recipientAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error // SendCoinsFromModuleToModuleFunc mocks the SendCoinsFromModuleToModule method. SendCoinsFromModuleToModuleFunc func(ctx cosmossdktypes.Context, senderModule string, recipientModule string, amt cosmossdktypes.Coins) error // SetDenomMetaDataFunc mocks the SetDenomMetaData method. SetDenomMetaDataFunc func(ctx cosmossdktypes.Context, denomMetaData banktypes.Metadata) // SetParamsFunc mocks the SetParams method. SetParamsFunc func(ctx cosmossdktypes.Context, params banktypes.Params) // SpendableBalancesFunc mocks the SpendableBalances method. SpendableBalancesFunc func(contextMoqParam context.Context, querySpendableBalancesRequest *banktypes.QuerySpendableBalancesRequest) (*banktypes.QuerySpendableBalancesResponse, error) // SpendableCoinsFunc mocks the SpendableCoins method. SpendableCoinsFunc func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) cosmossdktypes.Coins // SupplyOfFunc mocks the SupplyOf method. SupplyOfFunc func(contextMoqParam context.Context, querySupplyOfRequest *banktypes.QuerySupplyOfRequest) (*banktypes.QuerySupplyOfResponse, error) // TotalSupplyFunc mocks the TotalSupply method. TotalSupplyFunc func(contextMoqParam context.Context, queryTotalSupplyRequest *banktypes.QueryTotalSupplyRequest) (*banktypes.QueryTotalSupplyResponse, error) // UndelegateCoinsFunc mocks the UndelegateCoins method. UndelegateCoinsFunc func(ctx cosmossdktypes.Context, moduleAccAddr cosmossdktypes.AccAddress, delegatorAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error // UndelegateCoinsFromModuleToAccountFunc mocks the UndelegateCoinsFromModuleToAccount method. UndelegateCoinsFromModuleToAccountFunc func(ctx cosmossdktypes.Context, senderModule string, recipientAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error // ValidateBalanceFunc mocks the ValidateBalance method. ValidateBalanceFunc func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) error // contains filtered or unexported fields }
BankKeeperMock is a mock implementation of types.BankKeeper.
func TestSomethingThatUsesBankKeeper(t *testing.T) { // make and configure a mocked types.BankKeeper mockedBankKeeper := &BankKeeperMock{ AllBalancesFunc: func(contextMoqParam context.Context, queryAllBalancesRequest *banktypes.QueryAllBalancesRequest) (*banktypes.QueryAllBalancesResponse, error) { panic("mock out the AllBalances method") }, BalanceFunc: func(contextMoqParam context.Context, queryBalanceRequest *banktypes.QueryBalanceRequest) (*banktypes.QueryBalanceResponse, error) { panic("mock out the Balance method") }, BlockedAddrFunc: func(addr cosmossdktypes.AccAddress) bool { panic("mock out the BlockedAddr method") }, BurnCoinsFunc: func(ctx cosmossdktypes.Context, moduleName string, amt cosmossdktypes.Coins) error { panic("mock out the BurnCoins method") }, DelegateCoinsFunc: func(ctx cosmossdktypes.Context, delegatorAddr cosmossdktypes.AccAddress, moduleAccAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error { panic("mock out the DelegateCoins method") }, DelegateCoinsFromAccountToModuleFunc: func(ctx cosmossdktypes.Context, senderAddr cosmossdktypes.AccAddress, recipientModule string, amt cosmossdktypes.Coins) error { panic("mock out the DelegateCoinsFromAccountToModule method") }, DenomMetadataFunc: func(contextMoqParam context.Context, queryDenomMetadataRequest *banktypes.QueryDenomMetadataRequest) (*banktypes.QueryDenomMetadataResponse, error) { panic("mock out the DenomMetadata method") }, DenomsMetadataFunc: func(contextMoqParam context.Context, queryDenomsMetadataRequest *banktypes.QueryDenomsMetadataRequest) (*banktypes.QueryDenomsMetadataResponse, error) { panic("mock out the DenomsMetadata method") }, ExportGenesisFunc: func(contextMoqParam cosmossdktypes.Context) *banktypes.GenesisState { panic("mock out the ExportGenesis method") }, GetAccountsBalancesFunc: func(ctx cosmossdktypes.Context) []banktypes.Balance { panic("mock out the GetAccountsBalances method") }, GetAllBalancesFunc: func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) cosmossdktypes.Coins { panic("mock out the GetAllBalances method") }, GetBalanceFunc: func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress, denom string) cosmossdktypes.Coin { panic("mock out the GetBalance method") }, GetDenomMetaDataFunc: func(ctx cosmossdktypes.Context, denom string) (banktypes.Metadata, bool) { panic("mock out the GetDenomMetaData method") }, GetPaginatedTotalSupplyFunc: func(ctx cosmossdktypes.Context, pagination *query.PageRequest) (cosmossdktypes.Coins, *query.PageResponse, error) { panic("mock out the GetPaginatedTotalSupply method") }, GetParamsFunc: func(ctx cosmossdktypes.Context) banktypes.Params { panic("mock out the GetParams method") }, GetSupplyFunc: func(ctx cosmossdktypes.Context, denom string) cosmossdktypes.Coin { panic("mock out the GetSupply method") }, HasBalanceFunc: func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress, amt cosmossdktypes.Coin) bool { panic("mock out the HasBalance method") }, HasSupplyFunc: func(ctx cosmossdktypes.Context, denom string) bool { panic("mock out the HasSupply method") }, InitGenesisFunc: func(contextMoqParam cosmossdktypes.Context, genesisState *banktypes.GenesisState) { panic("mock out the InitGenesis method") }, InputOutputCoinsFunc: func(ctx cosmossdktypes.Context, inputs []banktypes.Input, outputs []banktypes.Output) error { panic("mock out the InputOutputCoins method") }, IsSendEnabledCoinFunc: func(ctx cosmossdktypes.Context, coin cosmossdktypes.Coin) bool { panic("mock out the IsSendEnabledCoin method") }, IsSendEnabledCoinsFunc: func(ctx cosmossdktypes.Context, coins ...cosmossdktypes.Coin) error { panic("mock out the IsSendEnabledCoins method") }, IterateAccountBalancesFunc: func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress, cb func(coin cosmossdktypes.Coin) (stop bool)) { panic("mock out the IterateAccountBalances method") }, IterateAllBalancesFunc: func(ctx cosmossdktypes.Context, cb func(address cosmossdktypes.AccAddress, coin cosmossdktypes.Coin) (stop bool)) { panic("mock out the IterateAllBalances method") }, IterateAllDenomMetaDataFunc: func(ctx cosmossdktypes.Context, cb func(banktypes.Metadata) bool) { panic("mock out the IterateAllDenomMetaData method") }, IterateTotalSupplyFunc: func(ctx cosmossdktypes.Context, cb func(cosmossdktypes.Coin) bool) { panic("mock out the IterateTotalSupply method") }, LockedCoinsFunc: func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) cosmossdktypes.Coins { panic("mock out the LockedCoins method") }, MintCoinsFunc: func(ctx cosmossdktypes.Context, moduleName string, amt cosmossdktypes.Coins) error { panic("mock out the MintCoins method") }, ParamsFunc: func(contextMoqParam context.Context, queryParamsRequest *banktypes.QueryParamsRequest) (*banktypes.QueryParamsResponse, error) { panic("mock out the Params method") }, SendCoinsFunc: func(ctx cosmossdktypes.Context, fromAddr cosmossdktypes.AccAddress, toAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error { panic("mock out the SendCoins method") }, SendCoinsFromAccountToModuleFunc: func(ctx cosmossdktypes.Context, senderAddr cosmossdktypes.AccAddress, recipientModule string, amt cosmossdktypes.Coins) error { panic("mock out the SendCoinsFromAccountToModule method") }, SendCoinsFromModuleToAccountFunc: func(ctx cosmossdktypes.Context, senderModule string, recipientAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error { panic("mock out the SendCoinsFromModuleToAccount method") }, SendCoinsFromModuleToModuleFunc: func(ctx cosmossdktypes.Context, senderModule string, recipientModule string, amt cosmossdktypes.Coins) error { panic("mock out the SendCoinsFromModuleToModule method") }, SetDenomMetaDataFunc: func(ctx cosmossdktypes.Context, denomMetaData banktypes.Metadata) { panic("mock out the SetDenomMetaData method") }, SetParamsFunc: func(ctx cosmossdktypes.Context, params banktypes.Params) { panic("mock out the SetParams method") }, SpendableBalancesFunc: func(contextMoqParam context.Context, querySpendableBalancesRequest *banktypes.QuerySpendableBalancesRequest) (*banktypes.QuerySpendableBalancesResponse, error) { panic("mock out the SpendableBalances method") }, SpendableCoinsFunc: func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) cosmossdktypes.Coins { panic("mock out the SpendableCoins method") }, SupplyOfFunc: func(contextMoqParam context.Context, querySupplyOfRequest *banktypes.QuerySupplyOfRequest) (*banktypes.QuerySupplyOfResponse, error) { panic("mock out the SupplyOf method") }, TotalSupplyFunc: func(contextMoqParam context.Context, queryTotalSupplyRequest *banktypes.QueryTotalSupplyRequest) (*banktypes.QueryTotalSupplyResponse, error) { panic("mock out the TotalSupply method") }, UndelegateCoinsFunc: func(ctx cosmossdktypes.Context, moduleAccAddr cosmossdktypes.AccAddress, delegatorAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error { panic("mock out the UndelegateCoins method") }, UndelegateCoinsFromModuleToAccountFunc: func(ctx cosmossdktypes.Context, senderModule string, recipientAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error { panic("mock out the UndelegateCoinsFromModuleToAccount method") }, ValidateBalanceFunc: func(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) error { panic("mock out the ValidateBalance method") }, } // use mockedBankKeeper in code that requires types.BankKeeper // and then make assertions. }
func (*BankKeeperMock) AllBalances ¶
func (mock *BankKeeperMock) AllBalances(contextMoqParam context.Context, queryAllBalancesRequest *banktypes.QueryAllBalancesRequest) (*banktypes.QueryAllBalancesResponse, error)
AllBalances calls AllBalancesFunc.
func (*BankKeeperMock) AllBalancesCalls ¶
func (mock *BankKeeperMock) AllBalancesCalls() []struct { ContextMoqParam context.Context QueryAllBalancesRequest *banktypes.QueryAllBalancesRequest }
AllBalancesCalls gets all the calls that were made to AllBalances. Check the length with:
len(mockedBankKeeper.AllBalancesCalls())
func (*BankKeeperMock) Balance ¶
func (mock *BankKeeperMock) Balance(contextMoqParam context.Context, queryBalanceRequest *banktypes.QueryBalanceRequest) (*banktypes.QueryBalanceResponse, error)
Balance calls BalanceFunc.
func (*BankKeeperMock) BalanceCalls ¶
func (mock *BankKeeperMock) BalanceCalls() []struct { ContextMoqParam context.Context QueryBalanceRequest *banktypes.QueryBalanceRequest }
BalanceCalls gets all the calls that were made to Balance. Check the length with:
len(mockedBankKeeper.BalanceCalls())
func (*BankKeeperMock) BlockedAddr ¶
func (mock *BankKeeperMock) BlockedAddr(addr cosmossdktypes.AccAddress) bool
BlockedAddr calls BlockedAddrFunc.
func (*BankKeeperMock) BlockedAddrCalls ¶
func (mock *BankKeeperMock) BlockedAddrCalls() []struct { Addr cosmossdktypes.AccAddress }
BlockedAddrCalls gets all the calls that were made to BlockedAddr. Check the length with:
len(mockedBankKeeper.BlockedAddrCalls())
func (*BankKeeperMock) BurnCoins ¶
func (mock *BankKeeperMock) BurnCoins(ctx cosmossdktypes.Context, moduleName string, amt cosmossdktypes.Coins) error
BurnCoins calls BurnCoinsFunc.
func (*BankKeeperMock) BurnCoinsCalls ¶
func (mock *BankKeeperMock) BurnCoinsCalls() []struct { Ctx cosmossdktypes.Context ModuleName string Amt cosmossdktypes.Coins }
BurnCoinsCalls gets all the calls that were made to BurnCoins. Check the length with:
len(mockedBankKeeper.BurnCoinsCalls())
func (*BankKeeperMock) DelegateCoins ¶
func (mock *BankKeeperMock) DelegateCoins(ctx cosmossdktypes.Context, delegatorAddr cosmossdktypes.AccAddress, moduleAccAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error
DelegateCoins calls DelegateCoinsFunc.
func (*BankKeeperMock) DelegateCoinsCalls ¶
func (mock *BankKeeperMock) DelegateCoinsCalls() []struct { Ctx cosmossdktypes.Context DelegatorAddr cosmossdktypes.AccAddress ModuleAccAddr cosmossdktypes.AccAddress Amt cosmossdktypes.Coins }
DelegateCoinsCalls gets all the calls that were made to DelegateCoins. Check the length with:
len(mockedBankKeeper.DelegateCoinsCalls())
func (*BankKeeperMock) DelegateCoinsFromAccountToModule ¶
func (mock *BankKeeperMock) DelegateCoinsFromAccountToModule(ctx cosmossdktypes.Context, senderAddr cosmossdktypes.AccAddress, recipientModule string, amt cosmossdktypes.Coins) error
DelegateCoinsFromAccountToModule calls DelegateCoinsFromAccountToModuleFunc.
func (*BankKeeperMock) DelegateCoinsFromAccountToModuleCalls ¶
func (mock *BankKeeperMock) DelegateCoinsFromAccountToModuleCalls() []struct { Ctx cosmossdktypes.Context SenderAddr cosmossdktypes.AccAddress RecipientModule string Amt cosmossdktypes.Coins }
DelegateCoinsFromAccountToModuleCalls gets all the calls that were made to DelegateCoinsFromAccountToModule. Check the length with:
len(mockedBankKeeper.DelegateCoinsFromAccountToModuleCalls())
func (*BankKeeperMock) DenomMetadata ¶
func (mock *BankKeeperMock) DenomMetadata(contextMoqParam context.Context, queryDenomMetadataRequest *banktypes.QueryDenomMetadataRequest) (*banktypes.QueryDenomMetadataResponse, error)
DenomMetadata calls DenomMetadataFunc.
func (*BankKeeperMock) DenomMetadataCalls ¶
func (mock *BankKeeperMock) DenomMetadataCalls() []struct { ContextMoqParam context.Context QueryDenomMetadataRequest *banktypes.QueryDenomMetadataRequest }
DenomMetadataCalls gets all the calls that were made to DenomMetadata. Check the length with:
len(mockedBankKeeper.DenomMetadataCalls())
func (*BankKeeperMock) DenomsMetadata ¶
func (mock *BankKeeperMock) DenomsMetadata(contextMoqParam context.Context, queryDenomsMetadataRequest *banktypes.QueryDenomsMetadataRequest) (*banktypes.QueryDenomsMetadataResponse, error)
DenomsMetadata calls DenomsMetadataFunc.
func (*BankKeeperMock) DenomsMetadataCalls ¶
func (mock *BankKeeperMock) DenomsMetadataCalls() []struct { ContextMoqParam context.Context QueryDenomsMetadataRequest *banktypes.QueryDenomsMetadataRequest }
DenomsMetadataCalls gets all the calls that were made to DenomsMetadata. Check the length with:
len(mockedBankKeeper.DenomsMetadataCalls())
func (*BankKeeperMock) ExportGenesis ¶
func (mock *BankKeeperMock) ExportGenesis(contextMoqParam cosmossdktypes.Context) *banktypes.GenesisState
ExportGenesis calls ExportGenesisFunc.
func (*BankKeeperMock) ExportGenesisCalls ¶
func (mock *BankKeeperMock) ExportGenesisCalls() []struct { ContextMoqParam cosmossdktypes.Context }
ExportGenesisCalls gets all the calls that were made to ExportGenesis. Check the length with:
len(mockedBankKeeper.ExportGenesisCalls())
func (*BankKeeperMock) GetAccountsBalances ¶
func (mock *BankKeeperMock) GetAccountsBalances(ctx cosmossdktypes.Context) []banktypes.Balance
GetAccountsBalances calls GetAccountsBalancesFunc.
func (*BankKeeperMock) GetAccountsBalancesCalls ¶
func (mock *BankKeeperMock) GetAccountsBalancesCalls() []struct { Ctx cosmossdktypes.Context }
GetAccountsBalancesCalls gets all the calls that were made to GetAccountsBalances. Check the length with:
len(mockedBankKeeper.GetAccountsBalancesCalls())
func (*BankKeeperMock) GetAllBalances ¶
func (mock *BankKeeperMock) GetAllBalances(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) cosmossdktypes.Coins
GetAllBalances calls GetAllBalancesFunc.
func (*BankKeeperMock) GetAllBalancesCalls ¶
func (mock *BankKeeperMock) GetAllBalancesCalls() []struct { Ctx cosmossdktypes.Context Addr cosmossdktypes.AccAddress }
GetAllBalancesCalls gets all the calls that were made to GetAllBalances. Check the length with:
len(mockedBankKeeper.GetAllBalancesCalls())
func (*BankKeeperMock) GetBalance ¶
func (mock *BankKeeperMock) GetBalance(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress, denom string) cosmossdktypes.Coin
GetBalance calls GetBalanceFunc.
func (*BankKeeperMock) GetBalanceCalls ¶
func (mock *BankKeeperMock) GetBalanceCalls() []struct { Ctx cosmossdktypes.Context Addr cosmossdktypes.AccAddress Denom string }
GetBalanceCalls gets all the calls that were made to GetBalance. Check the length with:
len(mockedBankKeeper.GetBalanceCalls())
func (*BankKeeperMock) GetDenomMetaData ¶
func (mock *BankKeeperMock) GetDenomMetaData(ctx cosmossdktypes.Context, denom string) (banktypes.Metadata, bool)
GetDenomMetaData calls GetDenomMetaDataFunc.
func (*BankKeeperMock) GetDenomMetaDataCalls ¶
func (mock *BankKeeperMock) GetDenomMetaDataCalls() []struct { Ctx cosmossdktypes.Context Denom string }
GetDenomMetaDataCalls gets all the calls that were made to GetDenomMetaData. Check the length with:
len(mockedBankKeeper.GetDenomMetaDataCalls())
func (*BankKeeperMock) GetPaginatedTotalSupply ¶
func (mock *BankKeeperMock) GetPaginatedTotalSupply(ctx cosmossdktypes.Context, pagination *query.PageRequest) (cosmossdktypes.Coins, *query.PageResponse, error)
GetPaginatedTotalSupply calls GetPaginatedTotalSupplyFunc.
func (*BankKeeperMock) GetPaginatedTotalSupplyCalls ¶
func (mock *BankKeeperMock) GetPaginatedTotalSupplyCalls() []struct { Ctx cosmossdktypes.Context Pagination *query.PageRequest }
GetPaginatedTotalSupplyCalls gets all the calls that were made to GetPaginatedTotalSupply. Check the length with:
len(mockedBankKeeper.GetPaginatedTotalSupplyCalls())
func (*BankKeeperMock) GetParams ¶
func (mock *BankKeeperMock) GetParams(ctx cosmossdktypes.Context) banktypes.Params
GetParams calls GetParamsFunc.
func (*BankKeeperMock) GetParamsCalls ¶
func (mock *BankKeeperMock) GetParamsCalls() []struct { Ctx cosmossdktypes.Context }
GetParamsCalls gets all the calls that were made to GetParams. Check the length with:
len(mockedBankKeeper.GetParamsCalls())
func (*BankKeeperMock) GetSupply ¶
func (mock *BankKeeperMock) GetSupply(ctx cosmossdktypes.Context, denom string) cosmossdktypes.Coin
GetSupply calls GetSupplyFunc.
func (*BankKeeperMock) GetSupplyCalls ¶
func (mock *BankKeeperMock) GetSupplyCalls() []struct { Ctx cosmossdktypes.Context Denom string }
GetSupplyCalls gets all the calls that were made to GetSupply. Check the length with:
len(mockedBankKeeper.GetSupplyCalls())
func (*BankKeeperMock) HasBalance ¶
func (mock *BankKeeperMock) HasBalance(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress, amt cosmossdktypes.Coin) bool
HasBalance calls HasBalanceFunc.
func (*BankKeeperMock) HasBalanceCalls ¶
func (mock *BankKeeperMock) HasBalanceCalls() []struct { Ctx cosmossdktypes.Context Addr cosmossdktypes.AccAddress Amt cosmossdktypes.Coin }
HasBalanceCalls gets all the calls that were made to HasBalance. Check the length with:
len(mockedBankKeeper.HasBalanceCalls())
func (*BankKeeperMock) HasSupply ¶
func (mock *BankKeeperMock) HasSupply(ctx cosmossdktypes.Context, denom string) bool
HasSupply calls HasSupplyFunc.
func (*BankKeeperMock) HasSupplyCalls ¶
func (mock *BankKeeperMock) HasSupplyCalls() []struct { Ctx cosmossdktypes.Context Denom string }
HasSupplyCalls gets all the calls that were made to HasSupply. Check the length with:
len(mockedBankKeeper.HasSupplyCalls())
func (*BankKeeperMock) InitGenesis ¶
func (mock *BankKeeperMock) InitGenesis(contextMoqParam cosmossdktypes.Context, genesisState *banktypes.GenesisState)
InitGenesis calls InitGenesisFunc.
func (*BankKeeperMock) InitGenesisCalls ¶
func (mock *BankKeeperMock) InitGenesisCalls() []struct { ContextMoqParam cosmossdktypes.Context GenesisState *banktypes.GenesisState }
InitGenesisCalls gets all the calls that were made to InitGenesis. Check the length with:
len(mockedBankKeeper.InitGenesisCalls())
func (*BankKeeperMock) InputOutputCoins ¶
func (mock *BankKeeperMock) InputOutputCoins(ctx cosmossdktypes.Context, inputs []banktypes.Input, outputs []banktypes.Output) error
InputOutputCoins calls InputOutputCoinsFunc.
func (*BankKeeperMock) InputOutputCoinsCalls ¶
func (mock *BankKeeperMock) InputOutputCoinsCalls() []struct { Ctx cosmossdktypes.Context Inputs []banktypes.Input Outputs []banktypes.Output }
InputOutputCoinsCalls gets all the calls that were made to InputOutputCoins. Check the length with:
len(mockedBankKeeper.InputOutputCoinsCalls())
func (*BankKeeperMock) IsSendEnabledCoin ¶
func (mock *BankKeeperMock) IsSendEnabledCoin(ctx cosmossdktypes.Context, coin cosmossdktypes.Coin) bool
IsSendEnabledCoin calls IsSendEnabledCoinFunc.
func (*BankKeeperMock) IsSendEnabledCoinCalls ¶
func (mock *BankKeeperMock) IsSendEnabledCoinCalls() []struct { Ctx cosmossdktypes.Context Coin cosmossdktypes.Coin }
IsSendEnabledCoinCalls gets all the calls that were made to IsSendEnabledCoin. Check the length with:
len(mockedBankKeeper.IsSendEnabledCoinCalls())
func (*BankKeeperMock) IsSendEnabledCoins ¶
func (mock *BankKeeperMock) IsSendEnabledCoins(ctx cosmossdktypes.Context, coins ...cosmossdktypes.Coin) error
IsSendEnabledCoins calls IsSendEnabledCoinsFunc.
func (*BankKeeperMock) IsSendEnabledCoinsCalls ¶
func (mock *BankKeeperMock) IsSendEnabledCoinsCalls() []struct { Ctx cosmossdktypes.Context Coins []cosmossdktypes.Coin }
IsSendEnabledCoinsCalls gets all the calls that were made to IsSendEnabledCoins. Check the length with:
len(mockedBankKeeper.IsSendEnabledCoinsCalls())
func (*BankKeeperMock) IterateAccountBalances ¶
func (mock *BankKeeperMock) IterateAccountBalances(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress, cb func(coin cosmossdktypes.Coin) (stop bool))
IterateAccountBalances calls IterateAccountBalancesFunc.
func (*BankKeeperMock) IterateAccountBalancesCalls ¶
func (mock *BankKeeperMock) IterateAccountBalancesCalls() []struct { Ctx cosmossdktypes.Context Addr cosmossdktypes.AccAddress Cb func(coin cosmossdktypes.Coin) (stop bool) }
IterateAccountBalancesCalls gets all the calls that were made to IterateAccountBalances. Check the length with:
len(mockedBankKeeper.IterateAccountBalancesCalls())
func (*BankKeeperMock) IterateAllBalances ¶
func (mock *BankKeeperMock) IterateAllBalances(ctx cosmossdktypes.Context, cb func(address cosmossdktypes.AccAddress, coin cosmossdktypes.Coin) (stop bool))
IterateAllBalances calls IterateAllBalancesFunc.
func (*BankKeeperMock) IterateAllBalancesCalls ¶
func (mock *BankKeeperMock) IterateAllBalancesCalls() []struct { Ctx cosmossdktypes.Context Cb func(address cosmossdktypes.AccAddress, coin cosmossdktypes.Coin) (stop bool) }
IterateAllBalancesCalls gets all the calls that were made to IterateAllBalances. Check the length with:
len(mockedBankKeeper.IterateAllBalancesCalls())
func (*BankKeeperMock) IterateAllDenomMetaData ¶
func (mock *BankKeeperMock) IterateAllDenomMetaData(ctx cosmossdktypes.Context, cb func(banktypes.Metadata) bool)
IterateAllDenomMetaData calls IterateAllDenomMetaDataFunc.
func (*BankKeeperMock) IterateAllDenomMetaDataCalls ¶
func (mock *BankKeeperMock) IterateAllDenomMetaDataCalls() []struct { Ctx cosmossdktypes.Context Cb func(banktypes.Metadata) bool }
IterateAllDenomMetaDataCalls gets all the calls that were made to IterateAllDenomMetaData. Check the length with:
len(mockedBankKeeper.IterateAllDenomMetaDataCalls())
func (*BankKeeperMock) IterateTotalSupply ¶
func (mock *BankKeeperMock) IterateTotalSupply(ctx cosmossdktypes.Context, cb func(cosmossdktypes.Coin) bool)
IterateTotalSupply calls IterateTotalSupplyFunc.
func (*BankKeeperMock) IterateTotalSupplyCalls ¶
func (mock *BankKeeperMock) IterateTotalSupplyCalls() []struct { Ctx cosmossdktypes.Context Cb func(cosmossdktypes.Coin) bool }
IterateTotalSupplyCalls gets all the calls that were made to IterateTotalSupply. Check the length with:
len(mockedBankKeeper.IterateTotalSupplyCalls())
func (*BankKeeperMock) LockedCoins ¶
func (mock *BankKeeperMock) LockedCoins(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) cosmossdktypes.Coins
LockedCoins calls LockedCoinsFunc.
func (*BankKeeperMock) LockedCoinsCalls ¶
func (mock *BankKeeperMock) LockedCoinsCalls() []struct { Ctx cosmossdktypes.Context Addr cosmossdktypes.AccAddress }
LockedCoinsCalls gets all the calls that were made to LockedCoins. Check the length with:
len(mockedBankKeeper.LockedCoinsCalls())
func (*BankKeeperMock) MintCoins ¶
func (mock *BankKeeperMock) MintCoins(ctx cosmossdktypes.Context, moduleName string, amt cosmossdktypes.Coins) error
MintCoins calls MintCoinsFunc.
func (*BankKeeperMock) MintCoinsCalls ¶
func (mock *BankKeeperMock) MintCoinsCalls() []struct { Ctx cosmossdktypes.Context ModuleName string Amt cosmossdktypes.Coins }
MintCoinsCalls gets all the calls that were made to MintCoins. Check the length with:
len(mockedBankKeeper.MintCoinsCalls())
func (*BankKeeperMock) Params ¶
func (mock *BankKeeperMock) Params(contextMoqParam context.Context, queryParamsRequest *banktypes.QueryParamsRequest) (*banktypes.QueryParamsResponse, error)
Params calls ParamsFunc.
func (*BankKeeperMock) ParamsCalls ¶
func (mock *BankKeeperMock) ParamsCalls() []struct { ContextMoqParam context.Context QueryParamsRequest *banktypes.QueryParamsRequest }
ParamsCalls gets all the calls that were made to Params. Check the length with:
len(mockedBankKeeper.ParamsCalls())
func (*BankKeeperMock) SendCoins ¶
func (mock *BankKeeperMock) SendCoins(ctx cosmossdktypes.Context, fromAddr cosmossdktypes.AccAddress, toAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error
SendCoins calls SendCoinsFunc.
func (*BankKeeperMock) SendCoinsCalls ¶
func (mock *BankKeeperMock) SendCoinsCalls() []struct { Ctx cosmossdktypes.Context FromAddr cosmossdktypes.AccAddress ToAddr cosmossdktypes.AccAddress Amt cosmossdktypes.Coins }
SendCoinsCalls gets all the calls that were made to SendCoins. Check the length with:
len(mockedBankKeeper.SendCoinsCalls())
func (*BankKeeperMock) SendCoinsFromAccountToModule ¶
func (mock *BankKeeperMock) SendCoinsFromAccountToModule(ctx cosmossdktypes.Context, senderAddr cosmossdktypes.AccAddress, recipientModule string, amt cosmossdktypes.Coins) error
SendCoinsFromAccountToModule calls SendCoinsFromAccountToModuleFunc.
func (*BankKeeperMock) SendCoinsFromAccountToModuleCalls ¶
func (mock *BankKeeperMock) SendCoinsFromAccountToModuleCalls() []struct { Ctx cosmossdktypes.Context SenderAddr cosmossdktypes.AccAddress RecipientModule string Amt cosmossdktypes.Coins }
SendCoinsFromAccountToModuleCalls gets all the calls that were made to SendCoinsFromAccountToModule. Check the length with:
len(mockedBankKeeper.SendCoinsFromAccountToModuleCalls())
func (*BankKeeperMock) SendCoinsFromModuleToAccount ¶
func (mock *BankKeeperMock) SendCoinsFromModuleToAccount(ctx cosmossdktypes.Context, senderModule string, recipientAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error
SendCoinsFromModuleToAccount calls SendCoinsFromModuleToAccountFunc.
func (*BankKeeperMock) SendCoinsFromModuleToAccountCalls ¶
func (mock *BankKeeperMock) SendCoinsFromModuleToAccountCalls() []struct { Ctx cosmossdktypes.Context SenderModule string RecipientAddr cosmossdktypes.AccAddress Amt cosmossdktypes.Coins }
SendCoinsFromModuleToAccountCalls gets all the calls that were made to SendCoinsFromModuleToAccount. Check the length with:
len(mockedBankKeeper.SendCoinsFromModuleToAccountCalls())
func (*BankKeeperMock) SendCoinsFromModuleToModule ¶
func (mock *BankKeeperMock) SendCoinsFromModuleToModule(ctx cosmossdktypes.Context, senderModule string, recipientModule string, amt cosmossdktypes.Coins) error
SendCoinsFromModuleToModule calls SendCoinsFromModuleToModuleFunc.
func (*BankKeeperMock) SendCoinsFromModuleToModuleCalls ¶
func (mock *BankKeeperMock) SendCoinsFromModuleToModuleCalls() []struct { Ctx cosmossdktypes.Context SenderModule string RecipientModule string Amt cosmossdktypes.Coins }
SendCoinsFromModuleToModuleCalls gets all the calls that were made to SendCoinsFromModuleToModule. Check the length with:
len(mockedBankKeeper.SendCoinsFromModuleToModuleCalls())
func (*BankKeeperMock) SetDenomMetaData ¶
func (mock *BankKeeperMock) SetDenomMetaData(ctx cosmossdktypes.Context, denomMetaData banktypes.Metadata)
SetDenomMetaData calls SetDenomMetaDataFunc.
func (*BankKeeperMock) SetDenomMetaDataCalls ¶
func (mock *BankKeeperMock) SetDenomMetaDataCalls() []struct { Ctx cosmossdktypes.Context DenomMetaData banktypes.Metadata }
SetDenomMetaDataCalls gets all the calls that were made to SetDenomMetaData. Check the length with:
len(mockedBankKeeper.SetDenomMetaDataCalls())
func (*BankKeeperMock) SetParams ¶
func (mock *BankKeeperMock) SetParams(ctx cosmossdktypes.Context, params banktypes.Params)
SetParams calls SetParamsFunc.
func (*BankKeeperMock) SetParamsCalls ¶
func (mock *BankKeeperMock) SetParamsCalls() []struct { Ctx cosmossdktypes.Context Params banktypes.Params }
SetParamsCalls gets all the calls that were made to SetParams. Check the length with:
len(mockedBankKeeper.SetParamsCalls())
func (*BankKeeperMock) SpendableBalances ¶
func (mock *BankKeeperMock) SpendableBalances(contextMoqParam context.Context, querySpendableBalancesRequest *banktypes.QuerySpendableBalancesRequest) (*banktypes.QuerySpendableBalancesResponse, error)
SpendableBalances calls SpendableBalancesFunc.
func (*BankKeeperMock) SpendableBalancesCalls ¶
func (mock *BankKeeperMock) SpendableBalancesCalls() []struct { ContextMoqParam context.Context QuerySpendableBalancesRequest *banktypes.QuerySpendableBalancesRequest }
SpendableBalancesCalls gets all the calls that were made to SpendableBalances. Check the length with:
len(mockedBankKeeper.SpendableBalancesCalls())
func (*BankKeeperMock) SpendableCoins ¶
func (mock *BankKeeperMock) SpendableCoins(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) cosmossdktypes.Coins
SpendableCoins calls SpendableCoinsFunc.
func (*BankKeeperMock) SpendableCoinsCalls ¶
func (mock *BankKeeperMock) SpendableCoinsCalls() []struct { Ctx cosmossdktypes.Context Addr cosmossdktypes.AccAddress }
SpendableCoinsCalls gets all the calls that were made to SpendableCoins. Check the length with:
len(mockedBankKeeper.SpendableCoinsCalls())
func (*BankKeeperMock) SupplyOf ¶
func (mock *BankKeeperMock) SupplyOf(contextMoqParam context.Context, querySupplyOfRequest *banktypes.QuerySupplyOfRequest) (*banktypes.QuerySupplyOfResponse, error)
SupplyOf calls SupplyOfFunc.
func (*BankKeeperMock) SupplyOfCalls ¶
func (mock *BankKeeperMock) SupplyOfCalls() []struct { ContextMoqParam context.Context QuerySupplyOfRequest *banktypes.QuerySupplyOfRequest }
SupplyOfCalls gets all the calls that were made to SupplyOf. Check the length with:
len(mockedBankKeeper.SupplyOfCalls())
func (*BankKeeperMock) TotalSupply ¶
func (mock *BankKeeperMock) TotalSupply(contextMoqParam context.Context, queryTotalSupplyRequest *banktypes.QueryTotalSupplyRequest) (*banktypes.QueryTotalSupplyResponse, error)
TotalSupply calls TotalSupplyFunc.
func (*BankKeeperMock) TotalSupplyCalls ¶
func (mock *BankKeeperMock) TotalSupplyCalls() []struct { ContextMoqParam context.Context QueryTotalSupplyRequest *banktypes.QueryTotalSupplyRequest }
TotalSupplyCalls gets all the calls that were made to TotalSupply. Check the length with:
len(mockedBankKeeper.TotalSupplyCalls())
func (*BankKeeperMock) UndelegateCoins ¶
func (mock *BankKeeperMock) UndelegateCoins(ctx cosmossdktypes.Context, moduleAccAddr cosmossdktypes.AccAddress, delegatorAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error
UndelegateCoins calls UndelegateCoinsFunc.
func (*BankKeeperMock) UndelegateCoinsCalls ¶
func (mock *BankKeeperMock) UndelegateCoinsCalls() []struct { Ctx cosmossdktypes.Context ModuleAccAddr cosmossdktypes.AccAddress DelegatorAddr cosmossdktypes.AccAddress Amt cosmossdktypes.Coins }
UndelegateCoinsCalls gets all the calls that were made to UndelegateCoins. Check the length with:
len(mockedBankKeeper.UndelegateCoinsCalls())
func (*BankKeeperMock) UndelegateCoinsFromModuleToAccount ¶
func (mock *BankKeeperMock) UndelegateCoinsFromModuleToAccount(ctx cosmossdktypes.Context, senderModule string, recipientAddr cosmossdktypes.AccAddress, amt cosmossdktypes.Coins) error
UndelegateCoinsFromModuleToAccount calls UndelegateCoinsFromModuleToAccountFunc.
func (*BankKeeperMock) UndelegateCoinsFromModuleToAccountCalls ¶
func (mock *BankKeeperMock) UndelegateCoinsFromModuleToAccountCalls() []struct { Ctx cosmossdktypes.Context SenderModule string RecipientAddr cosmossdktypes.AccAddress Amt cosmossdktypes.Coins }
UndelegateCoinsFromModuleToAccountCalls gets all the calls that were made to UndelegateCoinsFromModuleToAccount. Check the length with:
len(mockedBankKeeper.UndelegateCoinsFromModuleToAccountCalls())
func (*BankKeeperMock) ValidateBalance ¶
func (mock *BankKeeperMock) ValidateBalance(ctx cosmossdktypes.Context, addr cosmossdktypes.AccAddress) error
ValidateBalance calls ValidateBalanceFunc.
func (*BankKeeperMock) ValidateBalanceCalls ¶
func (mock *BankKeeperMock) ValidateBalanceCalls() []struct { Ctx cosmossdktypes.Context Addr cosmossdktypes.AccAddress }
ValidateBalanceCalls gets all the calls that were made to ValidateBalance. Check the length with:
len(mockedBankKeeper.ValidateBalanceCalls())