Documentation
¶
Index ¶
- type AccountKeeper
- func (_m *AccountKeeper) AddressCodec() address.Codec
- func (_m *AccountKeeper) EXPECT() *AccountKeeper_Expecter
- func (_m *AccountKeeper) GetModuleAccount(ctx context.Context, moduleName string) cosmos_sdktypes.ModuleAccountI
- func (_m *AccountKeeper) GetModuleAddress(moduleName string) cosmos_sdktypes.AccAddress
- func (_m *AccountKeeper) GetSequence(_a0 context.Context, _a1 cosmos_sdktypes.AccAddress) (uint64, error)
- type AccountKeeper_AddressCodec_Call
- func (_c *AccountKeeper_AddressCodec_Call) Return(_a0 address.Codec) *AccountKeeper_AddressCodec_Call
- func (_c *AccountKeeper_AddressCodec_Call) Run(run func()) *AccountKeeper_AddressCodec_Call
- func (_c *AccountKeeper_AddressCodec_Call) RunAndReturn(run func() address.Codec) *AccountKeeper_AddressCodec_Call
- type AccountKeeper_Expecter
- func (_e *AccountKeeper_Expecter) AddressCodec() *AccountKeeper_AddressCodec_Call
- func (_e *AccountKeeper_Expecter) GetModuleAccount(ctx interface{}, moduleName interface{}) *AccountKeeper_GetModuleAccount_Call
- func (_e *AccountKeeper_Expecter) GetModuleAddress(moduleName interface{}) *AccountKeeper_GetModuleAddress_Call
- func (_e *AccountKeeper_Expecter) GetSequence(_a0 interface{}, _a1 interface{}) *AccountKeeper_GetSequence_Call
- type AccountKeeper_GetModuleAccount_Call
- func (_c *AccountKeeper_GetModuleAccount_Call) Return(_a0 cosmos_sdktypes.ModuleAccountI) *AccountKeeper_GetModuleAccount_Call
- func (_c *AccountKeeper_GetModuleAccount_Call) Run(run func(ctx context.Context, moduleName string)) *AccountKeeper_GetModuleAccount_Call
- func (_c *AccountKeeper_GetModuleAccount_Call) RunAndReturn(run func(context.Context, string) cosmos_sdktypes.ModuleAccountI) *AccountKeeper_GetModuleAccount_Call
- type AccountKeeper_GetModuleAddress_Call
- func (_c *AccountKeeper_GetModuleAddress_Call) Return(_a0 cosmos_sdktypes.AccAddress) *AccountKeeper_GetModuleAddress_Call
- func (_c *AccountKeeper_GetModuleAddress_Call) Run(run func(moduleName string)) *AccountKeeper_GetModuleAddress_Call
- func (_c *AccountKeeper_GetModuleAddress_Call) RunAndReturn(run func(string) cosmos_sdktypes.AccAddress) *AccountKeeper_GetModuleAddress_Call
- type AccountKeeper_GetSequence_Call
- func (_c *AccountKeeper_GetSequence_Call) Return(_a0 uint64, _a1 error) *AccountKeeper_GetSequence_Call
- func (_c *AccountKeeper_GetSequence_Call) Run(run func(_a0 context.Context, _a1 cosmos_sdktypes.AccAddress)) *AccountKeeper_GetSequence_Call
- func (_c *AccountKeeper_GetSequence_Call) RunAndReturn(run func(context.Context, cosmos_sdktypes.AccAddress) (uint64, error)) *AccountKeeper_GetSequence_Call
- type BankKeeper
- func (_m *BankKeeper) BlockedAddr(addr types.AccAddress) bool
- func (_m *BankKeeper) BurnCoins(ctx context.Context, moduleName string, amt types.Coins) error
- func (_m *BankKeeper) EXPECT() *BankKeeper_Expecter
- func (_m *BankKeeper) GetAllBalances(ctx context.Context, addr types.AccAddress) types.Coins
- func (_m *BankKeeper) GetBalance(ctx context.Context, addr types.AccAddress, denom string) types.Coin
- func (_m *BankKeeper) GetDenomMetaData(ctx context.Context, denom string) (banktypes.Metadata, bool)
- func (_m *BankKeeper) GetSupply(ctx context.Context, denom string) types.Coin
- func (_m *BankKeeper) IsSendEnabledCoin(ctx context.Context, coin types.Coin) bool
- func (_m *BankKeeper) IsSendEnabledCoins(ctx context.Context, coins ...types.Coin) error
- func (_m *BankKeeper) IterateAccountBalances(ctx context.Context, account types.AccAddress, cb func(types.Coin) bool)
- func (_m *BankKeeper) IterateAllBalances(ctx context.Context, cb func(types.AccAddress, types.Coin) bool)
- func (_m *BankKeeper) IterateTotalSupply(ctx context.Context, cb func(types.Coin) bool)
- func (_m *BankKeeper) MintCoins(ctx context.Context, moduleName string, amt types.Coins) error
- func (_m *BankKeeper) SendCoins(ctx context.Context, fromAddr types.AccAddress, toAddr types.AccAddress, ...) error
- func (_m *BankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- func (_m *BankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, ...) error
- func (_m *BankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule string, recipientModule string, ...) error
- func (_m *BankKeeper) SetDenomMetaData(ctx context.Context, denomMetaData banktypes.Metadata)
- func (_m *BankKeeper) SpendableCoin(ctx context.Context, addr types.AccAddress, denom string) types.Coin
- type BankKeeper_BlockedAddr_Call
- func (_c *BankKeeper_BlockedAddr_Call) Return(_a0 bool) *BankKeeper_BlockedAddr_Call
- func (_c *BankKeeper_BlockedAddr_Call) Run(run func(addr types.AccAddress)) *BankKeeper_BlockedAddr_Call
- func (_c *BankKeeper_BlockedAddr_Call) RunAndReturn(run func(types.AccAddress) bool) *BankKeeper_BlockedAddr_Call
- type BankKeeper_BurnCoins_Call
- func (_c *BankKeeper_BurnCoins_Call) Return(_a0 error) *BankKeeper_BurnCoins_Call
- func (_c *BankKeeper_BurnCoins_Call) Run(run func(ctx context.Context, moduleName string, amt types.Coins)) *BankKeeper_BurnCoins_Call
- func (_c *BankKeeper_BurnCoins_Call) RunAndReturn(run func(context.Context, string, types.Coins) error) *BankKeeper_BurnCoins_Call
- type BankKeeper_Expecter
- func (_e *BankKeeper_Expecter) BlockedAddr(addr interface{}) *BankKeeper_BlockedAddr_Call
- func (_e *BankKeeper_Expecter) BurnCoins(ctx interface{}, moduleName interface{}, amt interface{}) *BankKeeper_BurnCoins_Call
- func (_e *BankKeeper_Expecter) GetAllBalances(ctx interface{}, addr interface{}) *BankKeeper_GetAllBalances_Call
- func (_e *BankKeeper_Expecter) GetBalance(ctx interface{}, addr interface{}, denom interface{}) *BankKeeper_GetBalance_Call
- func (_e *BankKeeper_Expecter) GetDenomMetaData(ctx interface{}, denom interface{}) *BankKeeper_GetDenomMetaData_Call
- func (_e *BankKeeper_Expecter) GetSupply(ctx interface{}, denom interface{}) *BankKeeper_GetSupply_Call
- func (_e *BankKeeper_Expecter) IsSendEnabledCoin(ctx interface{}, coin interface{}) *BankKeeper_IsSendEnabledCoin_Call
- func (_e *BankKeeper_Expecter) IsSendEnabledCoins(ctx interface{}, coins ...interface{}) *BankKeeper_IsSendEnabledCoins_Call
- func (_e *BankKeeper_Expecter) IterateAccountBalances(ctx interface{}, account interface{}, cb interface{}) *BankKeeper_IterateAccountBalances_Call
- func (_e *BankKeeper_Expecter) IterateAllBalances(ctx interface{}, cb interface{}) *BankKeeper_IterateAllBalances_Call
- func (_e *BankKeeper_Expecter) IterateTotalSupply(ctx interface{}, cb interface{}) *BankKeeper_IterateTotalSupply_Call
- func (_e *BankKeeper_Expecter) MintCoins(ctx interface{}, moduleName interface{}, amt interface{}) *BankKeeper_MintCoins_Call
- func (_e *BankKeeper_Expecter) SendCoins(ctx interface{}, fromAddr interface{}, toAddr interface{}, amt interface{}) *BankKeeper_SendCoins_Call
- func (_e *BankKeeper_Expecter) SendCoinsFromAccountToModule(ctx interface{}, senderAddr interface{}, recipientModule interface{}, ...) *BankKeeper_SendCoinsFromAccountToModule_Call
- func (_e *BankKeeper_Expecter) SendCoinsFromModuleToAccount(ctx interface{}, senderModule interface{}, recipientAddr interface{}, ...) *BankKeeper_SendCoinsFromModuleToAccount_Call
- func (_e *BankKeeper_Expecter) SendCoinsFromModuleToModule(ctx interface{}, senderModule interface{}, recipientModule interface{}, ...) *BankKeeper_SendCoinsFromModuleToModule_Call
- func (_e *BankKeeper_Expecter) SetDenomMetaData(ctx interface{}, denomMetaData interface{}) *BankKeeper_SetDenomMetaData_Call
- func (_e *BankKeeper_Expecter) SpendableCoin(ctx interface{}, addr interface{}, denom interface{}) *BankKeeper_SpendableCoin_Call
- type BankKeeper_GetAllBalances_Call
- func (_c *BankKeeper_GetAllBalances_Call) Return(_a0 types.Coins) *BankKeeper_GetAllBalances_Call
- func (_c *BankKeeper_GetAllBalances_Call) Run(run func(ctx context.Context, addr types.AccAddress)) *BankKeeper_GetAllBalances_Call
- func (_c *BankKeeper_GetAllBalances_Call) RunAndReturn(run func(context.Context, types.AccAddress) types.Coins) *BankKeeper_GetAllBalances_Call
- type BankKeeper_GetBalance_Call
- func (_c *BankKeeper_GetBalance_Call) Return(_a0 types.Coin) *BankKeeper_GetBalance_Call
- func (_c *BankKeeper_GetBalance_Call) Run(run func(ctx context.Context, addr types.AccAddress, denom string)) *BankKeeper_GetBalance_Call
- func (_c *BankKeeper_GetBalance_Call) RunAndReturn(run func(context.Context, types.AccAddress, string) types.Coin) *BankKeeper_GetBalance_Call
- type BankKeeper_GetDenomMetaData_Call
- func (_c *BankKeeper_GetDenomMetaData_Call) Return(_a0 banktypes.Metadata, _a1 bool) *BankKeeper_GetDenomMetaData_Call
- func (_c *BankKeeper_GetDenomMetaData_Call) Run(run func(ctx context.Context, denom string)) *BankKeeper_GetDenomMetaData_Call
- func (_c *BankKeeper_GetDenomMetaData_Call) RunAndReturn(run func(context.Context, string) (banktypes.Metadata, bool)) *BankKeeper_GetDenomMetaData_Call
- type BankKeeper_GetSupply_Call
- func (_c *BankKeeper_GetSupply_Call) Return(_a0 types.Coin) *BankKeeper_GetSupply_Call
- func (_c *BankKeeper_GetSupply_Call) Run(run func(ctx context.Context, denom string)) *BankKeeper_GetSupply_Call
- func (_c *BankKeeper_GetSupply_Call) RunAndReturn(run func(context.Context, string) types.Coin) *BankKeeper_GetSupply_Call
- type BankKeeper_IsSendEnabledCoin_Call
- func (_c *BankKeeper_IsSendEnabledCoin_Call) Return(_a0 bool) *BankKeeper_IsSendEnabledCoin_Call
- func (_c *BankKeeper_IsSendEnabledCoin_Call) Run(run func(ctx context.Context, coin types.Coin)) *BankKeeper_IsSendEnabledCoin_Call
- func (_c *BankKeeper_IsSendEnabledCoin_Call) RunAndReturn(run func(context.Context, types.Coin) bool) *BankKeeper_IsSendEnabledCoin_Call
- type BankKeeper_IsSendEnabledCoins_Call
- func (_c *BankKeeper_IsSendEnabledCoins_Call) Return(_a0 error) *BankKeeper_IsSendEnabledCoins_Call
- func (_c *BankKeeper_IsSendEnabledCoins_Call) Run(run func(ctx context.Context, coins ...types.Coin)) *BankKeeper_IsSendEnabledCoins_Call
- func (_c *BankKeeper_IsSendEnabledCoins_Call) RunAndReturn(run func(context.Context, ...types.Coin) error) *BankKeeper_IsSendEnabledCoins_Call
- type BankKeeper_IterateAccountBalances_Call
- func (_c *BankKeeper_IterateAccountBalances_Call) Return() *BankKeeper_IterateAccountBalances_Call
- func (_c *BankKeeper_IterateAccountBalances_Call) Run(...) *BankKeeper_IterateAccountBalances_Call
- func (_c *BankKeeper_IterateAccountBalances_Call) RunAndReturn(run func(context.Context, types.AccAddress, func(types.Coin) bool)) *BankKeeper_IterateAccountBalances_Call
- type BankKeeper_IterateAllBalances_Call
- func (_c *BankKeeper_IterateAllBalances_Call) Return() *BankKeeper_IterateAllBalances_Call
- func (_c *BankKeeper_IterateAllBalances_Call) Run(run func(ctx context.Context, cb func(types.AccAddress, types.Coin) bool)) *BankKeeper_IterateAllBalances_Call
- func (_c *BankKeeper_IterateAllBalances_Call) RunAndReturn(run func(context.Context, func(types.AccAddress, types.Coin) bool)) *BankKeeper_IterateAllBalances_Call
- type BankKeeper_IterateTotalSupply_Call
- func (_c *BankKeeper_IterateTotalSupply_Call) Return() *BankKeeper_IterateTotalSupply_Call
- func (_c *BankKeeper_IterateTotalSupply_Call) Run(run func(ctx context.Context, cb func(types.Coin) bool)) *BankKeeper_IterateTotalSupply_Call
- func (_c *BankKeeper_IterateTotalSupply_Call) RunAndReturn(run func(context.Context, func(types.Coin) bool)) *BankKeeper_IterateTotalSupply_Call
- type BankKeeper_MintCoins_Call
- func (_c *BankKeeper_MintCoins_Call) Return(_a0 error) *BankKeeper_MintCoins_Call
- func (_c *BankKeeper_MintCoins_Call) Run(run func(ctx context.Context, moduleName string, amt types.Coins)) *BankKeeper_MintCoins_Call
- func (_c *BankKeeper_MintCoins_Call) RunAndReturn(run func(context.Context, string, types.Coins) error) *BankKeeper_MintCoins_Call
- type BankKeeper_SendCoinsFromAccountToModule_Call
- func (_c *BankKeeper_SendCoinsFromAccountToModule_Call) Return(_a0 error) *BankKeeper_SendCoinsFromAccountToModule_Call
- func (_c *BankKeeper_SendCoinsFromAccountToModule_Call) Run(...) *BankKeeper_SendCoinsFromAccountToModule_Call
- func (_c *BankKeeper_SendCoinsFromAccountToModule_Call) RunAndReturn(run func(context.Context, types.AccAddress, string, types.Coins) error) *BankKeeper_SendCoinsFromAccountToModule_Call
- type BankKeeper_SendCoinsFromModuleToAccount_Call
- func (_c *BankKeeper_SendCoinsFromModuleToAccount_Call) Return(_a0 error) *BankKeeper_SendCoinsFromModuleToAccount_Call
- func (_c *BankKeeper_SendCoinsFromModuleToAccount_Call) Run(...) *BankKeeper_SendCoinsFromModuleToAccount_Call
- func (_c *BankKeeper_SendCoinsFromModuleToAccount_Call) RunAndReturn(run func(context.Context, string, types.AccAddress, types.Coins) error) *BankKeeper_SendCoinsFromModuleToAccount_Call
- type BankKeeper_SendCoinsFromModuleToModule_Call
- func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) Return(_a0 error) *BankKeeper_SendCoinsFromModuleToModule_Call
- func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) Run(...) *BankKeeper_SendCoinsFromModuleToModule_Call
- func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) RunAndReturn(run func(context.Context, string, string, types.Coins) error) *BankKeeper_SendCoinsFromModuleToModule_Call
- type BankKeeper_SendCoins_Call
- type BankKeeper_SetDenomMetaData_Call
- func (_c *BankKeeper_SetDenomMetaData_Call) Return() *BankKeeper_SetDenomMetaData_Call
- func (_c *BankKeeper_SetDenomMetaData_Call) Run(run func(ctx context.Context, denomMetaData banktypes.Metadata)) *BankKeeper_SetDenomMetaData_Call
- func (_c *BankKeeper_SetDenomMetaData_Call) RunAndReturn(run func(context.Context, banktypes.Metadata)) *BankKeeper_SetDenomMetaData_Call
- type BankKeeper_SpendableCoin_Call
- func (_c *BankKeeper_SpendableCoin_Call) Return(_a0 types.Coin) *BankKeeper_SpendableCoin_Call
- func (_c *BankKeeper_SpendableCoin_Call) Run(run func(ctx context.Context, addr types.AccAddress, denom string)) *BankKeeper_SpendableCoin_Call
- func (_c *BankKeeper_SpendableCoin_Call) RunAndReturn(run func(context.Context, types.AccAddress, string) types.Coin) *BankKeeper_SpendableCoin_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountKeeper ¶ added in v0.3.0
AccountKeeper is an autogenerated mock type for the AccountKeeper type
func NewAccountKeeper ¶ added in v0.3.0
func NewAccountKeeper(t interface { mock.TestingT Cleanup(func()) }, ) *AccountKeeper
NewAccountKeeper creates a new instance of AccountKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AccountKeeper) AddressCodec ¶ added in v0.3.0
func (_m *AccountKeeper) AddressCodec() address.Codec
AddressCodec provides a mock function with no fields
func (*AccountKeeper) EXPECT ¶ added in v0.3.0
func (_m *AccountKeeper) EXPECT() *AccountKeeper_Expecter
func (*AccountKeeper) GetModuleAccount ¶ added in v0.3.0
func (_m *AccountKeeper) GetModuleAccount(ctx context.Context, moduleName string) cosmos_sdktypes.ModuleAccountI
GetModuleAccount provides a mock function with given fields: ctx, moduleName
func (*AccountKeeper) GetModuleAddress ¶ added in v0.3.0
func (_m *AccountKeeper) GetModuleAddress(moduleName string) cosmos_sdktypes.AccAddress
GetModuleAddress provides a mock function with given fields: moduleName
func (*AccountKeeper) GetSequence ¶ added in v0.3.0
func (_m *AccountKeeper) GetSequence(_a0 context.Context, _a1 cosmos_sdktypes.AccAddress) (uint64, error)
GetSequence provides a mock function with given fields: _a0, _a1
type AccountKeeper_AddressCodec_Call ¶ added in v0.3.0
AccountKeeper_AddressCodec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddressCodec'
func (*AccountKeeper_AddressCodec_Call) Return ¶ added in v0.3.0
func (_c *AccountKeeper_AddressCodec_Call) Return(_a0 address.Codec) *AccountKeeper_AddressCodec_Call
func (*AccountKeeper_AddressCodec_Call) Run ¶ added in v0.3.0
func (_c *AccountKeeper_AddressCodec_Call) Run(run func()) *AccountKeeper_AddressCodec_Call
func (*AccountKeeper_AddressCodec_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AccountKeeper_AddressCodec_Call) RunAndReturn(run func() address.Codec) *AccountKeeper_AddressCodec_Call
type AccountKeeper_Expecter ¶ added in v0.3.0
type AccountKeeper_Expecter struct {
// contains filtered or unexported fields
}
func (*AccountKeeper_Expecter) AddressCodec ¶ added in v0.3.0
func (_e *AccountKeeper_Expecter) AddressCodec() *AccountKeeper_AddressCodec_Call
AddressCodec is a helper method to define mock.On call
func (*AccountKeeper_Expecter) GetModuleAccount ¶ added in v0.3.0
func (_e *AccountKeeper_Expecter) GetModuleAccount(ctx interface{}, moduleName interface{}) *AccountKeeper_GetModuleAccount_Call
GetModuleAccount is a helper method to define mock.On call
- ctx context.Context
- moduleName string
func (*AccountKeeper_Expecter) GetModuleAddress ¶ added in v0.3.0
func (_e *AccountKeeper_Expecter) GetModuleAddress(moduleName interface{}) *AccountKeeper_GetModuleAddress_Call
GetModuleAddress is a helper method to define mock.On call
- moduleName string
func (*AccountKeeper_Expecter) GetSequence ¶ added in v0.3.0
func (_e *AccountKeeper_Expecter) GetSequence(_a0 interface{}, _a1 interface{}) *AccountKeeper_GetSequence_Call
GetSequence is a helper method to define mock.On call
- _a0 context.Context
- _a1 cosmos_sdktypes.AccAddress
type AccountKeeper_GetModuleAccount_Call ¶ added in v0.3.0
AccountKeeper_GetModuleAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetModuleAccount'
func (*AccountKeeper_GetModuleAccount_Call) Return ¶ added in v0.3.0
func (_c *AccountKeeper_GetModuleAccount_Call) Return(_a0 cosmos_sdktypes.ModuleAccountI) *AccountKeeper_GetModuleAccount_Call
func (*AccountKeeper_GetModuleAccount_Call) Run ¶ added in v0.3.0
func (_c *AccountKeeper_GetModuleAccount_Call) Run(run func(ctx context.Context, moduleName string)) *AccountKeeper_GetModuleAccount_Call
func (*AccountKeeper_GetModuleAccount_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AccountKeeper_GetModuleAccount_Call) RunAndReturn(run func(context.Context, string) cosmos_sdktypes.ModuleAccountI) *AccountKeeper_GetModuleAccount_Call
type AccountKeeper_GetModuleAddress_Call ¶ added in v0.3.0
AccountKeeper_GetModuleAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetModuleAddress'
func (*AccountKeeper_GetModuleAddress_Call) Return ¶ added in v0.3.0
func (_c *AccountKeeper_GetModuleAddress_Call) Return(_a0 cosmos_sdktypes.AccAddress) *AccountKeeper_GetModuleAddress_Call
func (*AccountKeeper_GetModuleAddress_Call) Run ¶ added in v0.3.0
func (_c *AccountKeeper_GetModuleAddress_Call) Run(run func(moduleName string)) *AccountKeeper_GetModuleAddress_Call
func (*AccountKeeper_GetModuleAddress_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AccountKeeper_GetModuleAddress_Call) RunAndReturn(run func(string) cosmos_sdktypes.AccAddress) *AccountKeeper_GetModuleAddress_Call
type AccountKeeper_GetSequence_Call ¶ added in v0.3.0
AccountKeeper_GetSequence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSequence'
func (*AccountKeeper_GetSequence_Call) Return ¶ added in v0.3.0
func (_c *AccountKeeper_GetSequence_Call) Return(_a0 uint64, _a1 error) *AccountKeeper_GetSequence_Call
func (*AccountKeeper_GetSequence_Call) Run ¶ added in v0.3.0
func (_c *AccountKeeper_GetSequence_Call) Run(run func(_a0 context.Context, _a1 cosmos_sdktypes.AccAddress)) *AccountKeeper_GetSequence_Call
func (*AccountKeeper_GetSequence_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AccountKeeper_GetSequence_Call) RunAndReturn(run func(context.Context, cosmos_sdktypes.AccAddress) (uint64, error)) *AccountKeeper_GetSequence_Call
type BankKeeper ¶ added in v0.3.0
BankKeeper is an autogenerated mock type for the BankKeeper type
func NewBankKeeper ¶ added in v0.3.0
func NewBankKeeper(t interface { mock.TestingT Cleanup(func()) }, ) *BankKeeper
NewBankKeeper creates a new instance of BankKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BankKeeper) BlockedAddr ¶ added in v0.3.0
func (_m *BankKeeper) BlockedAddr(addr types.AccAddress) bool
BlockedAddr provides a mock function with given fields: addr
func (*BankKeeper) BurnCoins ¶ added in v0.3.0
BurnCoins provides a mock function with given fields: ctx, moduleName, amt
func (*BankKeeper) EXPECT ¶ added in v0.3.0
func (_m *BankKeeper) EXPECT() *BankKeeper_Expecter
func (*BankKeeper) GetAllBalances ¶ added in v0.3.0
func (_m *BankKeeper) GetAllBalances(ctx context.Context, addr types.AccAddress) types.Coins
GetAllBalances provides a mock function with given fields: ctx, addr
func (*BankKeeper) GetBalance ¶ added in v0.3.0
func (_m *BankKeeper) GetBalance(ctx context.Context, addr types.AccAddress, denom string) types.Coin
GetBalance provides a mock function with given fields: ctx, addr, denom
func (*BankKeeper) GetDenomMetaData ¶ added in v0.3.0
func (_m *BankKeeper) GetDenomMetaData(ctx context.Context, denom string) (banktypes.Metadata, bool)
GetDenomMetaData provides a mock function with given fields: ctx, denom
func (*BankKeeper) GetSupply ¶ added in v0.3.0
GetSupply provides a mock function with given fields: ctx, denom
func (*BankKeeper) IsSendEnabledCoin ¶ added in v0.3.0
IsSendEnabledCoin provides a mock function with given fields: ctx, coin
func (*BankKeeper) IsSendEnabledCoins ¶ added in v0.3.0
IsSendEnabledCoins provides a mock function with given fields: ctx, coins
func (*BankKeeper) IterateAccountBalances ¶ added in v0.3.0
func (_m *BankKeeper) IterateAccountBalances(ctx context.Context, account types.AccAddress, cb func(types.Coin) bool)
IterateAccountBalances provides a mock function with given fields: ctx, account, cb
func (*BankKeeper) IterateAllBalances ¶ added in v0.3.0
func (_m *BankKeeper) IterateAllBalances(ctx context.Context, cb func(types.AccAddress, types.Coin) bool)
IterateAllBalances provides a mock function with given fields: ctx, cb
func (*BankKeeper) IterateTotalSupply ¶ added in v0.3.0
IterateTotalSupply provides a mock function with given fields: ctx, cb
func (*BankKeeper) MintCoins ¶ added in v0.3.0
MintCoins provides a mock function with given fields: ctx, moduleName, amt
func (*BankKeeper) SendCoins ¶ added in v0.3.0
func (_m *BankKeeper) SendCoins(ctx context.Context, fromAddr types.AccAddress, toAddr types.AccAddress, amt types.Coins) error
SendCoins provides a mock function with given fields: ctx, fromAddr, toAddr, amt
func (*BankKeeper) SendCoinsFromAccountToModule ¶ added in v0.3.0
func (_m *BankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error
SendCoinsFromAccountToModule provides a mock function with given fields: ctx, senderAddr, recipientModule, amt
func (*BankKeeper) SendCoinsFromModuleToAccount ¶ added in v0.3.0
func (_m *BankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error
SendCoinsFromModuleToAccount provides a mock function with given fields: ctx, senderModule, recipientAddr, amt
func (*BankKeeper) SendCoinsFromModuleToModule ¶ added in v0.3.0
func (_m *BankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule string, recipientModule string, amt types.Coins) error
SendCoinsFromModuleToModule provides a mock function with given fields: ctx, senderModule, recipientModule, amt
func (*BankKeeper) SetDenomMetaData ¶ added in v0.3.0
func (_m *BankKeeper) SetDenomMetaData(ctx context.Context, denomMetaData banktypes.Metadata)
SetDenomMetaData provides a mock function with given fields: ctx, denomMetaData
func (*BankKeeper) SpendableCoin ¶ added in v0.3.0
func (_m *BankKeeper) SpendableCoin(ctx context.Context, addr types.AccAddress, denom string) types.Coin
SpendableCoin provides a mock function with given fields: ctx, addr, denom
type BankKeeper_BlockedAddr_Call ¶ added in v0.3.0
BankKeeper_BlockedAddr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockedAddr'
func (*BankKeeper_BlockedAddr_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_BlockedAddr_Call) Return(_a0 bool) *BankKeeper_BlockedAddr_Call
func (*BankKeeper_BlockedAddr_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_BlockedAddr_Call) Run(run func(addr types.AccAddress)) *BankKeeper_BlockedAddr_Call
func (*BankKeeper_BlockedAddr_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_BlockedAddr_Call) RunAndReturn(run func(types.AccAddress) bool) *BankKeeper_BlockedAddr_Call
type BankKeeper_BurnCoins_Call ¶ added in v0.3.0
BankKeeper_BurnCoins_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BurnCoins'
func (*BankKeeper_BurnCoins_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_BurnCoins_Call) Return(_a0 error) *BankKeeper_BurnCoins_Call
func (*BankKeeper_BurnCoins_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_BurnCoins_Call) Run(run func(ctx context.Context, moduleName string, amt types.Coins)) *BankKeeper_BurnCoins_Call
func (*BankKeeper_BurnCoins_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_BurnCoins_Call) RunAndReturn(run func(context.Context, string, types.Coins) error) *BankKeeper_BurnCoins_Call
type BankKeeper_Expecter ¶ added in v0.3.0
type BankKeeper_Expecter struct {
// contains filtered or unexported fields
}
func (*BankKeeper_Expecter) BlockedAddr ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) BlockedAddr(addr interface{}) *BankKeeper_BlockedAddr_Call
BlockedAddr is a helper method to define mock.On call
- addr types.AccAddress
func (*BankKeeper_Expecter) BurnCoins ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) BurnCoins(ctx interface{}, moduleName interface{}, amt interface{}) *BankKeeper_BurnCoins_Call
BurnCoins is a helper method to define mock.On call
- ctx context.Context
- moduleName string
- amt types.Coins
func (*BankKeeper_Expecter) GetAllBalances ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) GetAllBalances(ctx interface{}, addr interface{}) *BankKeeper_GetAllBalances_Call
GetAllBalances is a helper method to define mock.On call
- ctx context.Context
- addr types.AccAddress
func (*BankKeeper_Expecter) GetBalance ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) GetBalance(ctx interface{}, addr interface{}, denom interface{}) *BankKeeper_GetBalance_Call
GetBalance is a helper method to define mock.On call
- ctx context.Context
- addr types.AccAddress
- denom string
func (*BankKeeper_Expecter) GetDenomMetaData ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) GetDenomMetaData(ctx interface{}, denom interface{}) *BankKeeper_GetDenomMetaData_Call
GetDenomMetaData is a helper method to define mock.On call
- ctx context.Context
- denom string
func (*BankKeeper_Expecter) GetSupply ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) GetSupply(ctx interface{}, denom interface{}) *BankKeeper_GetSupply_Call
GetSupply is a helper method to define mock.On call
- ctx context.Context
- denom string
func (*BankKeeper_Expecter) IsSendEnabledCoin ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) IsSendEnabledCoin(ctx interface{}, coin interface{}) *BankKeeper_IsSendEnabledCoin_Call
IsSendEnabledCoin is a helper method to define mock.On call
- ctx context.Context
- coin types.Coin
func (*BankKeeper_Expecter) IsSendEnabledCoins ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) IsSendEnabledCoins(ctx interface{}, coins ...interface{}) *BankKeeper_IsSendEnabledCoins_Call
IsSendEnabledCoins is a helper method to define mock.On call
- ctx context.Context
- coins ...types.Coin
func (*BankKeeper_Expecter) IterateAccountBalances ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) IterateAccountBalances(ctx interface{}, account interface{}, cb interface{}) *BankKeeper_IterateAccountBalances_Call
IterateAccountBalances is a helper method to define mock.On call
- ctx context.Context
- account types.AccAddress
- cb func(types.Coin) bool
func (*BankKeeper_Expecter) IterateAllBalances ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) IterateAllBalances(ctx interface{}, cb interface{}) *BankKeeper_IterateAllBalances_Call
IterateAllBalances is a helper method to define mock.On call
- ctx context.Context
- cb func(types.AccAddress , types.Coin) bool
func (*BankKeeper_Expecter) IterateTotalSupply ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) IterateTotalSupply(ctx interface{}, cb interface{}) *BankKeeper_IterateTotalSupply_Call
IterateTotalSupply is a helper method to define mock.On call
- ctx context.Context
- cb func(types.Coin) bool
func (*BankKeeper_Expecter) MintCoins ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) MintCoins(ctx interface{}, moduleName interface{}, amt interface{}) *BankKeeper_MintCoins_Call
MintCoins is a helper method to define mock.On call
- ctx context.Context
- moduleName string
- amt types.Coins
func (*BankKeeper_Expecter) SendCoins ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) SendCoins(ctx interface{}, fromAddr interface{}, toAddr interface{}, amt interface{}) *BankKeeper_SendCoins_Call
SendCoins is a helper method to define mock.On call
- ctx context.Context
- fromAddr types.AccAddress
- toAddr types.AccAddress
- amt types.Coins
func (*BankKeeper_Expecter) SendCoinsFromAccountToModule ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) SendCoinsFromAccountToModule(ctx interface{}, senderAddr interface{}, recipientModule interface{}, amt interface{}) *BankKeeper_SendCoinsFromAccountToModule_Call
SendCoinsFromAccountToModule is a helper method to define mock.On call
- ctx context.Context
- senderAddr types.AccAddress
- recipientModule string
- amt types.Coins
func (*BankKeeper_Expecter) SendCoinsFromModuleToAccount ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) SendCoinsFromModuleToAccount(ctx interface{}, senderModule interface{}, recipientAddr interface{}, amt interface{}) *BankKeeper_SendCoinsFromModuleToAccount_Call
SendCoinsFromModuleToAccount is a helper method to define mock.On call
- ctx context.Context
- senderModule string
- recipientAddr types.AccAddress
- amt types.Coins
func (*BankKeeper_Expecter) SendCoinsFromModuleToModule ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) SendCoinsFromModuleToModule(ctx interface{}, senderModule interface{}, recipientModule interface{}, amt interface{}) *BankKeeper_SendCoinsFromModuleToModule_Call
SendCoinsFromModuleToModule is a helper method to define mock.On call
- ctx context.Context
- senderModule string
- recipientModule string
- amt types.Coins
func (*BankKeeper_Expecter) SetDenomMetaData ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) SetDenomMetaData(ctx interface{}, denomMetaData interface{}) *BankKeeper_SetDenomMetaData_Call
SetDenomMetaData is a helper method to define mock.On call
- ctx context.Context
- denomMetaData banktypes.Metadata
func (*BankKeeper_Expecter) SpendableCoin ¶ added in v0.3.0
func (_e *BankKeeper_Expecter) SpendableCoin(ctx interface{}, addr interface{}, denom interface{}) *BankKeeper_SpendableCoin_Call
SpendableCoin is a helper method to define mock.On call
- ctx context.Context
- addr types.AccAddress
- denom string
type BankKeeper_GetAllBalances_Call ¶ added in v0.3.0
BankKeeper_GetAllBalances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllBalances'
func (*BankKeeper_GetAllBalances_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_GetAllBalances_Call) Return(_a0 types.Coins) *BankKeeper_GetAllBalances_Call
func (*BankKeeper_GetAllBalances_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_GetAllBalances_Call) Run(run func(ctx context.Context, addr types.AccAddress)) *BankKeeper_GetAllBalances_Call
func (*BankKeeper_GetAllBalances_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_GetAllBalances_Call) RunAndReturn(run func(context.Context, types.AccAddress) types.Coins) *BankKeeper_GetAllBalances_Call
type BankKeeper_GetBalance_Call ¶ added in v0.3.0
BankKeeper_GetBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBalance'
func (*BankKeeper_GetBalance_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_GetBalance_Call) Return(_a0 types.Coin) *BankKeeper_GetBalance_Call
func (*BankKeeper_GetBalance_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_GetBalance_Call) Run(run func(ctx context.Context, addr types.AccAddress, denom string)) *BankKeeper_GetBalance_Call
func (*BankKeeper_GetBalance_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_GetBalance_Call) RunAndReturn(run func(context.Context, types.AccAddress, string) types.Coin) *BankKeeper_GetBalance_Call
type BankKeeper_GetDenomMetaData_Call ¶ added in v0.3.0
BankKeeper_GetDenomMetaData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDenomMetaData'
func (*BankKeeper_GetDenomMetaData_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_GetDenomMetaData_Call) Return(_a0 banktypes.Metadata, _a1 bool) *BankKeeper_GetDenomMetaData_Call
func (*BankKeeper_GetDenomMetaData_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_GetDenomMetaData_Call) Run(run func(ctx context.Context, denom string)) *BankKeeper_GetDenomMetaData_Call
func (*BankKeeper_GetDenomMetaData_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_GetDenomMetaData_Call) RunAndReturn(run func(context.Context, string) (banktypes.Metadata, bool)) *BankKeeper_GetDenomMetaData_Call
type BankKeeper_GetSupply_Call ¶ added in v0.3.0
BankKeeper_GetSupply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSupply'
func (*BankKeeper_GetSupply_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_GetSupply_Call) Return(_a0 types.Coin) *BankKeeper_GetSupply_Call
func (*BankKeeper_GetSupply_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_GetSupply_Call) Run(run func(ctx context.Context, denom string)) *BankKeeper_GetSupply_Call
func (*BankKeeper_GetSupply_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_GetSupply_Call) RunAndReturn(run func(context.Context, string) types.Coin) *BankKeeper_GetSupply_Call
type BankKeeper_IsSendEnabledCoin_Call ¶ added in v0.3.0
BankKeeper_IsSendEnabledCoin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSendEnabledCoin'
func (*BankKeeper_IsSendEnabledCoin_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_IsSendEnabledCoin_Call) Return(_a0 bool) *BankKeeper_IsSendEnabledCoin_Call
func (*BankKeeper_IsSendEnabledCoin_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_IsSendEnabledCoin_Call) Run(run func(ctx context.Context, coin types.Coin)) *BankKeeper_IsSendEnabledCoin_Call
func (*BankKeeper_IsSendEnabledCoin_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_IsSendEnabledCoin_Call) RunAndReturn(run func(context.Context, types.Coin) bool) *BankKeeper_IsSendEnabledCoin_Call
type BankKeeper_IsSendEnabledCoins_Call ¶ added in v0.3.0
BankKeeper_IsSendEnabledCoins_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSendEnabledCoins'
func (*BankKeeper_IsSendEnabledCoins_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_IsSendEnabledCoins_Call) Return(_a0 error) *BankKeeper_IsSendEnabledCoins_Call
func (*BankKeeper_IsSendEnabledCoins_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_IsSendEnabledCoins_Call) Run(run func(ctx context.Context, coins ...types.Coin)) *BankKeeper_IsSendEnabledCoins_Call
func (*BankKeeper_IsSendEnabledCoins_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_IsSendEnabledCoins_Call) RunAndReturn(run func(context.Context, ...types.Coin) error) *BankKeeper_IsSendEnabledCoins_Call
type BankKeeper_IterateAccountBalances_Call ¶ added in v0.3.0
BankKeeper_IterateAccountBalances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IterateAccountBalances'
func (*BankKeeper_IterateAccountBalances_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_IterateAccountBalances_Call) Return() *BankKeeper_IterateAccountBalances_Call
func (*BankKeeper_IterateAccountBalances_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_IterateAccountBalances_Call) Run(run func(ctx context.Context, account types.AccAddress, cb func(types.Coin) bool)) *BankKeeper_IterateAccountBalances_Call
func (*BankKeeper_IterateAccountBalances_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_IterateAccountBalances_Call) RunAndReturn(run func(context.Context, types.AccAddress, func(types.Coin) bool)) *BankKeeper_IterateAccountBalances_Call
type BankKeeper_IterateAllBalances_Call ¶ added in v0.3.0
BankKeeper_IterateAllBalances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IterateAllBalances'
func (*BankKeeper_IterateAllBalances_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_IterateAllBalances_Call) Return() *BankKeeper_IterateAllBalances_Call
func (*BankKeeper_IterateAllBalances_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_IterateAllBalances_Call) Run(run func(ctx context.Context, cb func(types.AccAddress, types.Coin) bool)) *BankKeeper_IterateAllBalances_Call
func (*BankKeeper_IterateAllBalances_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_IterateAllBalances_Call) RunAndReturn(run func(context.Context, func(types.AccAddress, types.Coin) bool)) *BankKeeper_IterateAllBalances_Call
type BankKeeper_IterateTotalSupply_Call ¶ added in v0.3.0
BankKeeper_IterateTotalSupply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IterateTotalSupply'
func (*BankKeeper_IterateTotalSupply_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_IterateTotalSupply_Call) Return() *BankKeeper_IterateTotalSupply_Call
func (*BankKeeper_IterateTotalSupply_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_IterateTotalSupply_Call) Run(run func(ctx context.Context, cb func(types.Coin) bool)) *BankKeeper_IterateTotalSupply_Call
func (*BankKeeper_IterateTotalSupply_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_IterateTotalSupply_Call) RunAndReturn(run func(context.Context, func(types.Coin) bool)) *BankKeeper_IterateTotalSupply_Call
type BankKeeper_MintCoins_Call ¶ added in v0.3.0
BankKeeper_MintCoins_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MintCoins'
func (*BankKeeper_MintCoins_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_MintCoins_Call) Return(_a0 error) *BankKeeper_MintCoins_Call
func (*BankKeeper_MintCoins_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_MintCoins_Call) Run(run func(ctx context.Context, moduleName string, amt types.Coins)) *BankKeeper_MintCoins_Call
func (*BankKeeper_MintCoins_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_MintCoins_Call) RunAndReturn(run func(context.Context, string, types.Coins) error) *BankKeeper_MintCoins_Call
type BankKeeper_SendCoinsFromAccountToModule_Call ¶ added in v0.3.0
BankKeeper_SendCoinsFromAccountToModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendCoinsFromAccountToModule'
func (*BankKeeper_SendCoinsFromAccountToModule_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_SendCoinsFromAccountToModule_Call) Return(_a0 error) *BankKeeper_SendCoinsFromAccountToModule_Call
func (*BankKeeper_SendCoinsFromAccountToModule_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_SendCoinsFromAccountToModule_Call) Run(run func(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins)) *BankKeeper_SendCoinsFromAccountToModule_Call
func (*BankKeeper_SendCoinsFromAccountToModule_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_SendCoinsFromAccountToModule_Call) RunAndReturn(run func(context.Context, types.AccAddress, string, types.Coins) error) *BankKeeper_SendCoinsFromAccountToModule_Call
type BankKeeper_SendCoinsFromModuleToAccount_Call ¶ added in v0.3.0
BankKeeper_SendCoinsFromModuleToAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendCoinsFromModuleToAccount'
func (*BankKeeper_SendCoinsFromModuleToAccount_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_SendCoinsFromModuleToAccount_Call) Return(_a0 error) *BankKeeper_SendCoinsFromModuleToAccount_Call
func (*BankKeeper_SendCoinsFromModuleToAccount_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_SendCoinsFromModuleToAccount_Call) Run(run func(ctx context.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins)) *BankKeeper_SendCoinsFromModuleToAccount_Call
func (*BankKeeper_SendCoinsFromModuleToAccount_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_SendCoinsFromModuleToAccount_Call) RunAndReturn(run func(context.Context, string, types.AccAddress, types.Coins) error) *BankKeeper_SendCoinsFromModuleToAccount_Call
type BankKeeper_SendCoinsFromModuleToModule_Call ¶ added in v0.3.0
BankKeeper_SendCoinsFromModuleToModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendCoinsFromModuleToModule'
func (*BankKeeper_SendCoinsFromModuleToModule_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) Return(_a0 error) *BankKeeper_SendCoinsFromModuleToModule_Call
func (*BankKeeper_SendCoinsFromModuleToModule_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) Run(run func(ctx context.Context, senderModule string, recipientModule string, amt types.Coins)) *BankKeeper_SendCoinsFromModuleToModule_Call
func (*BankKeeper_SendCoinsFromModuleToModule_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) RunAndReturn(run func(context.Context, string, string, types.Coins) error) *BankKeeper_SendCoinsFromModuleToModule_Call
type BankKeeper_SendCoins_Call ¶ added in v0.3.0
BankKeeper_SendCoins_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendCoins'
func (*BankKeeper_SendCoins_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_SendCoins_Call) Return(_a0 error) *BankKeeper_SendCoins_Call
func (*BankKeeper_SendCoins_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_SendCoins_Call) Run(run func(ctx context.Context, fromAddr types.AccAddress, toAddr types.AccAddress, amt types.Coins)) *BankKeeper_SendCoins_Call
func (*BankKeeper_SendCoins_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_SendCoins_Call) RunAndReturn(run func(context.Context, types.AccAddress, types.AccAddress, types.Coins) error) *BankKeeper_SendCoins_Call
type BankKeeper_SetDenomMetaData_Call ¶ added in v0.3.0
BankKeeper_SetDenomMetaData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDenomMetaData'
func (*BankKeeper_SetDenomMetaData_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_SetDenomMetaData_Call) Return() *BankKeeper_SetDenomMetaData_Call
func (*BankKeeper_SetDenomMetaData_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_SetDenomMetaData_Call) Run(run func(ctx context.Context, denomMetaData banktypes.Metadata)) *BankKeeper_SetDenomMetaData_Call
func (*BankKeeper_SetDenomMetaData_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_SetDenomMetaData_Call) RunAndReturn(run func(context.Context, banktypes.Metadata)) *BankKeeper_SetDenomMetaData_Call
type BankKeeper_SpendableCoin_Call ¶ added in v0.3.0
BankKeeper_SpendableCoin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SpendableCoin'
func (*BankKeeper_SpendableCoin_Call) Return ¶ added in v0.3.0
func (_c *BankKeeper_SpendableCoin_Call) Return(_a0 types.Coin) *BankKeeper_SpendableCoin_Call
func (*BankKeeper_SpendableCoin_Call) Run ¶ added in v0.3.0
func (_c *BankKeeper_SpendableCoin_Call) Run(run func(ctx context.Context, addr types.AccAddress, denom string)) *BankKeeper_SpendableCoin_Call
func (*BankKeeper_SpendableCoin_Call) RunAndReturn ¶ added in v0.3.0
func (_c *BankKeeper_SpendableCoin_Call) RunAndReturn(run func(context.Context, types.AccAddress, string) types.Coin) *BankKeeper_SpendableCoin_Call