Documentation
¶
Index ¶
- type AuthzKeeper
- func (_mock *AuthzKeeper) DeleteGrant(ctx context.Context, grantee types.AccAddress, granter types.AccAddress, ...) error
- func (_m *AuthzKeeper) EXPECT() *AuthzKeeper_Expecter
- func (_mock *AuthzKeeper) GetAuthorization(ctx context.Context, grantee types.AccAddress, granter types.AccAddress, ...) (authz.Authorization, *time.Time)
- func (_mock *AuthzKeeper) GetGranteeGrantsByMsgType(ctx context.Context, grantee types.AccAddress, msgType string, ...)
- func (_mock *AuthzKeeper) IterateGrants(ctx context.Context, ...)
- func (_mock *AuthzKeeper) SaveGrant(ctx context.Context, grantee types.AccAddress, granter types.AccAddress, ...) error
- type AuthzKeeper_DeleteGrant_Call
- type AuthzKeeper_Expecter
- func (_e *AuthzKeeper_Expecter) DeleteGrant(ctx interface{}, grantee interface{}, granter interface{}, msgType interface{}) *AuthzKeeper_DeleteGrant_Call
- func (_e *AuthzKeeper_Expecter) GetAuthorization(ctx interface{}, grantee interface{}, granter interface{}, msgType interface{}) *AuthzKeeper_GetAuthorization_Call
- func (_e *AuthzKeeper_Expecter) GetGranteeGrantsByMsgType(ctx interface{}, grantee interface{}, msgType interface{}, onGrant interface{}) *AuthzKeeper_GetGranteeGrantsByMsgType_Call
- func (_e *AuthzKeeper_Expecter) IterateGrants(ctx interface{}, handler interface{}) *AuthzKeeper_IterateGrants_Call
- func (_e *AuthzKeeper_Expecter) SaveGrant(ctx interface{}, grantee interface{}, granter interface{}, ...) *AuthzKeeper_SaveGrant_Call
- type AuthzKeeper_GetAuthorization_Call
- func (_c *AuthzKeeper_GetAuthorization_Call) Return(authorization authz.Authorization, time1 *time.Time) *AuthzKeeper_GetAuthorization_Call
- func (_c *AuthzKeeper_GetAuthorization_Call) Run(...) *AuthzKeeper_GetAuthorization_Call
- func (_c *AuthzKeeper_GetAuthorization_Call) RunAndReturn(...) *AuthzKeeper_GetAuthorization_Call
- type AuthzKeeper_GetGranteeGrantsByMsgType_Call
- func (_c *AuthzKeeper_GetGranteeGrantsByMsgType_Call) Return() *AuthzKeeper_GetGranteeGrantsByMsgType_Call
- func (_c *AuthzKeeper_GetGranteeGrantsByMsgType_Call) Run(run func(ctx context.Context, grantee types.AccAddress, msgType string, ...)) *AuthzKeeper_GetGranteeGrantsByMsgType_Call
- func (_c *AuthzKeeper_GetGranteeGrantsByMsgType_Call) RunAndReturn(run func(ctx context.Context, grantee types.AccAddress, msgType string, ...)) *AuthzKeeper_GetGranteeGrantsByMsgType_Call
- type AuthzKeeper_IterateGrants_Call
- func (_c *AuthzKeeper_IterateGrants_Call) Return() *AuthzKeeper_IterateGrants_Call
- func (_c *AuthzKeeper_IterateGrants_Call) Run(run func(ctx context.Context, ...)) *AuthzKeeper_IterateGrants_Call
- func (_c *AuthzKeeper_IterateGrants_Call) RunAndReturn(run func(ctx context.Context, ...)) *AuthzKeeper_IterateGrants_Call
- type AuthzKeeper_SaveGrant_Call
- type BankKeeper
- func (_m *BankKeeper) EXPECT() *BankKeeper_Expecter
- func (_mock *BankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- func (_mock *BankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, ...) error
- func (_mock *BankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule string, recipientModule string, ...) error
- func (_mock *BankKeeper) SpendableCoin(ctx context.Context, addr types.AccAddress, denom string) types.Coin
- func (_mock *BankKeeper) SpendableCoins(ctx context.Context, addr types.AccAddress) types.Coins
- type BankKeeper_Expecter
- 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) SpendableCoin(ctx interface{}, addr interface{}, denom interface{}) *BankKeeper_SpendableCoin_Call
- func (_e *BankKeeper_Expecter) SpendableCoins(ctx interface{}, addr interface{}) *BankKeeper_SpendableCoins_Call
- type BankKeeper_SendCoinsFromAccountToModule_Call
- func (_c *BankKeeper_SendCoinsFromAccountToModule_Call) Return(err error) *BankKeeper_SendCoinsFromAccountToModule_Call
- func (_c *BankKeeper_SendCoinsFromAccountToModule_Call) Run(...) *BankKeeper_SendCoinsFromAccountToModule_Call
- func (_c *BankKeeper_SendCoinsFromAccountToModule_Call) RunAndReturn(...) *BankKeeper_SendCoinsFromAccountToModule_Call
- type BankKeeper_SendCoinsFromModuleToAccount_Call
- func (_c *BankKeeper_SendCoinsFromModuleToAccount_Call) Return(err error) *BankKeeper_SendCoinsFromModuleToAccount_Call
- func (_c *BankKeeper_SendCoinsFromModuleToAccount_Call) Run(...) *BankKeeper_SendCoinsFromModuleToAccount_Call
- func (_c *BankKeeper_SendCoinsFromModuleToAccount_Call) RunAndReturn(...) *BankKeeper_SendCoinsFromModuleToAccount_Call
- type BankKeeper_SendCoinsFromModuleToModule_Call
- func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) Return(err error) *BankKeeper_SendCoinsFromModuleToModule_Call
- func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) Run(...) *BankKeeper_SendCoinsFromModuleToModule_Call
- func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) RunAndReturn(...) *BankKeeper_SendCoinsFromModuleToModule_Call
- type BankKeeper_SpendableCoin_Call
- func (_c *BankKeeper_SpendableCoin_Call) Return(coin 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(ctx context.Context, addr types.AccAddress, denom string) types.Coin) *BankKeeper_SpendableCoin_Call
- type BankKeeper_SpendableCoins_Call
- func (_c *BankKeeper_SpendableCoins_Call) Return(coins types.Coins) *BankKeeper_SpendableCoins_Call
- func (_c *BankKeeper_SpendableCoins_Call) Run(run func(ctx context.Context, addr types.AccAddress)) *BankKeeper_SpendableCoins_Call
- func (_c *BankKeeper_SpendableCoins_Call) RunAndReturn(run func(ctx context.Context, addr types.AccAddress) types.Coins) *BankKeeper_SpendableCoins_Call
- type TakeKeeper
- type TakeKeeper_Expecter
- type TakeKeeper_SubtractFees_Call
- func (_c *TakeKeeper_SubtractFees_Call) Return(coin types.Coin, coin1 types.Coin, err error) *TakeKeeper_SubtractFees_Call
- func (_c *TakeKeeper_SubtractFees_Call) Run(run func(ctx types.Context, amt types.Coin)) *TakeKeeper_SubtractFees_Call
- func (_c *TakeKeeper_SubtractFees_Call) RunAndReturn(run func(ctx types.Context, amt types.Coin) (types.Coin, types.Coin, error)) *TakeKeeper_SubtractFees_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthzKeeper ¶
AuthzKeeper is an autogenerated mock type for the AuthzKeeper type
func NewAuthzKeeper ¶
func NewAuthzKeeper(t interface {
mock.TestingT
Cleanup(func())
}) *AuthzKeeper
NewAuthzKeeper creates a new instance of AuthzKeeper. 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 (*AuthzKeeper) DeleteGrant ¶
func (_mock *AuthzKeeper) DeleteGrant(ctx context.Context, grantee types.AccAddress, granter types.AccAddress, msgType string) error
DeleteGrant provides a mock function for the type AuthzKeeper
func (*AuthzKeeper) EXPECT ¶
func (_m *AuthzKeeper) EXPECT() *AuthzKeeper_Expecter
func (*AuthzKeeper) GetAuthorization ¶
func (_mock *AuthzKeeper) GetAuthorization(ctx context.Context, grantee types.AccAddress, granter types.AccAddress, msgType string) (authz.Authorization, *time.Time)
GetAuthorization provides a mock function for the type AuthzKeeper
func (*AuthzKeeper) GetGranteeGrantsByMsgType ¶
func (_mock *AuthzKeeper) GetGranteeGrantsByMsgType(ctx context.Context, grantee types.AccAddress, msgType string, onGrant keeper.OnGrantFn)
GetGranteeGrantsByMsgType provides a mock function for the type AuthzKeeper
func (*AuthzKeeper) IterateGrants ¶
func (_mock *AuthzKeeper) IterateGrants(ctx context.Context, handler func(granterAddr types.AccAddress, granteeAddr types.AccAddress, grant authz.Grant) bool)
IterateGrants provides a mock function for the type AuthzKeeper
func (*AuthzKeeper) SaveGrant ¶
func (_mock *AuthzKeeper) SaveGrant(ctx context.Context, grantee types.AccAddress, granter types.AccAddress, authorization authz.Authorization, expiration *time.Time) error
SaveGrant provides a mock function for the type AuthzKeeper
type AuthzKeeper_DeleteGrant_Call ¶
AuthzKeeper_DeleteGrant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteGrant'
func (*AuthzKeeper_DeleteGrant_Call) Return ¶
func (_c *AuthzKeeper_DeleteGrant_Call) Return(err error) *AuthzKeeper_DeleteGrant_Call
func (*AuthzKeeper_DeleteGrant_Call) Run ¶
func (_c *AuthzKeeper_DeleteGrant_Call) Run(run func(ctx context.Context, grantee types.AccAddress, granter types.AccAddress, msgType string)) *AuthzKeeper_DeleteGrant_Call
func (*AuthzKeeper_DeleteGrant_Call) RunAndReturn ¶
func (_c *AuthzKeeper_DeleteGrant_Call) RunAndReturn(run func(ctx context.Context, grantee types.AccAddress, granter types.AccAddress, msgType string) error) *AuthzKeeper_DeleteGrant_Call
type AuthzKeeper_Expecter ¶
type AuthzKeeper_Expecter struct {
// contains filtered or unexported fields
}
func (*AuthzKeeper_Expecter) DeleteGrant ¶
func (_e *AuthzKeeper_Expecter) DeleteGrant(ctx interface{}, grantee interface{}, granter interface{}, msgType interface{}) *AuthzKeeper_DeleteGrant_Call
DeleteGrant is a helper method to define mock.On call
- ctx context.Context
- grantee types.AccAddress
- granter types.AccAddress
- msgType string
func (*AuthzKeeper_Expecter) GetAuthorization ¶
func (_e *AuthzKeeper_Expecter) GetAuthorization(ctx interface{}, grantee interface{}, granter interface{}, msgType interface{}) *AuthzKeeper_GetAuthorization_Call
GetAuthorization is a helper method to define mock.On call
- ctx context.Context
- grantee types.AccAddress
- granter types.AccAddress
- msgType string
func (*AuthzKeeper_Expecter) GetGranteeGrantsByMsgType ¶
func (_e *AuthzKeeper_Expecter) GetGranteeGrantsByMsgType(ctx interface{}, grantee interface{}, msgType interface{}, onGrant interface{}) *AuthzKeeper_GetGranteeGrantsByMsgType_Call
GetGranteeGrantsByMsgType is a helper method to define mock.On call
- ctx context.Context
- grantee types.AccAddress
- msgType string
- onGrant keeper.OnGrantFn
func (*AuthzKeeper_Expecter) IterateGrants ¶
func (_e *AuthzKeeper_Expecter) IterateGrants(ctx interface{}, handler interface{}) *AuthzKeeper_IterateGrants_Call
IterateGrants is a helper method to define mock.On call
- ctx context.Context
- handler func(granterAddr types.AccAddress, granteeAddr types.AccAddress, grant authz.Grant) bool
func (*AuthzKeeper_Expecter) SaveGrant ¶
func (_e *AuthzKeeper_Expecter) SaveGrant(ctx interface{}, grantee interface{}, granter interface{}, authorization interface{}, expiration interface{}) *AuthzKeeper_SaveGrant_Call
SaveGrant is a helper method to define mock.On call
- ctx context.Context
- grantee types.AccAddress
- granter types.AccAddress
- authorization authz.Authorization
- expiration *time.Time
type AuthzKeeper_GetAuthorization_Call ¶
AuthzKeeper_GetAuthorization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAuthorization'
func (*AuthzKeeper_GetAuthorization_Call) Return ¶
func (_c *AuthzKeeper_GetAuthorization_Call) Return(authorization authz.Authorization, time1 *time.Time) *AuthzKeeper_GetAuthorization_Call
func (*AuthzKeeper_GetAuthorization_Call) Run ¶
func (_c *AuthzKeeper_GetAuthorization_Call) Run(run func(ctx context.Context, grantee types.AccAddress, granter types.AccAddress, msgType string)) *AuthzKeeper_GetAuthorization_Call
func (*AuthzKeeper_GetAuthorization_Call) RunAndReturn ¶
func (_c *AuthzKeeper_GetAuthorization_Call) RunAndReturn(run func(ctx context.Context, grantee types.AccAddress, granter types.AccAddress, msgType string) (authz.Authorization, *time.Time)) *AuthzKeeper_GetAuthorization_Call
type AuthzKeeper_GetGranteeGrantsByMsgType_Call ¶
AuthzKeeper_GetGranteeGrantsByMsgType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGranteeGrantsByMsgType'
func (*AuthzKeeper_GetGranteeGrantsByMsgType_Call) Return ¶
func (_c *AuthzKeeper_GetGranteeGrantsByMsgType_Call) Return() *AuthzKeeper_GetGranteeGrantsByMsgType_Call
func (*AuthzKeeper_GetGranteeGrantsByMsgType_Call) Run ¶
func (_c *AuthzKeeper_GetGranteeGrantsByMsgType_Call) Run(run func(ctx context.Context, grantee types.AccAddress, msgType string, onGrant keeper.OnGrantFn)) *AuthzKeeper_GetGranteeGrantsByMsgType_Call
func (*AuthzKeeper_GetGranteeGrantsByMsgType_Call) RunAndReturn ¶
func (_c *AuthzKeeper_GetGranteeGrantsByMsgType_Call) RunAndReturn(run func(ctx context.Context, grantee types.AccAddress, msgType string, onGrant keeper.OnGrantFn)) *AuthzKeeper_GetGranteeGrantsByMsgType_Call
type AuthzKeeper_IterateGrants_Call ¶
AuthzKeeper_IterateGrants_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IterateGrants'
func (*AuthzKeeper_IterateGrants_Call) Return ¶
func (_c *AuthzKeeper_IterateGrants_Call) Return() *AuthzKeeper_IterateGrants_Call
func (*AuthzKeeper_IterateGrants_Call) Run ¶
func (_c *AuthzKeeper_IterateGrants_Call) Run(run func(ctx context.Context, handler func(granterAddr types.AccAddress, granteeAddr types.AccAddress, grant authz.Grant) bool)) *AuthzKeeper_IterateGrants_Call
func (*AuthzKeeper_IterateGrants_Call) RunAndReturn ¶
func (_c *AuthzKeeper_IterateGrants_Call) RunAndReturn(run func(ctx context.Context, handler func(granterAddr types.AccAddress, granteeAddr types.AccAddress, grant authz.Grant) bool)) *AuthzKeeper_IterateGrants_Call
type AuthzKeeper_SaveGrant_Call ¶
AuthzKeeper_SaveGrant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveGrant'
func (*AuthzKeeper_SaveGrant_Call) Return ¶
func (_c *AuthzKeeper_SaveGrant_Call) Return(err error) *AuthzKeeper_SaveGrant_Call
func (*AuthzKeeper_SaveGrant_Call) Run ¶
func (_c *AuthzKeeper_SaveGrant_Call) Run(run func(ctx context.Context, grantee types.AccAddress, granter types.AccAddress, authorization authz.Authorization, expiration *time.Time)) *AuthzKeeper_SaveGrant_Call
func (*AuthzKeeper_SaveGrant_Call) RunAndReturn ¶
func (_c *AuthzKeeper_SaveGrant_Call) RunAndReturn(run func(ctx context.Context, grantee types.AccAddress, granter types.AccAddress, authorization authz.Authorization, expiration *time.Time) error) *AuthzKeeper_SaveGrant_Call
type BankKeeper ¶
BankKeeper is an autogenerated mock type for the BankKeeper type
func NewBankKeeper ¶
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) EXPECT ¶
func (_m *BankKeeper) EXPECT() *BankKeeper_Expecter
func (*BankKeeper) SendCoinsFromAccountToModule ¶
func (_mock *BankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error
SendCoinsFromAccountToModule provides a mock function for the type BankKeeper
func (*BankKeeper) SendCoinsFromModuleToAccount ¶
func (_mock *BankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error
SendCoinsFromModuleToAccount provides a mock function for the type BankKeeper
func (*BankKeeper) SendCoinsFromModuleToModule ¶
func (_mock *BankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule string, recipientModule string, amt types.Coins) error
SendCoinsFromModuleToModule provides a mock function for the type BankKeeper
func (*BankKeeper) SpendableCoin ¶
func (_mock *BankKeeper) SpendableCoin(ctx context.Context, addr types.AccAddress, denom string) types.Coin
SpendableCoin provides a mock function for the type BankKeeper
func (*BankKeeper) SpendableCoins ¶
func (_mock *BankKeeper) SpendableCoins(ctx context.Context, addr types.AccAddress) types.Coins
SpendableCoins provides a mock function for the type BankKeeper
type BankKeeper_Expecter ¶
type BankKeeper_Expecter struct {
// contains filtered or unexported fields
}
func (*BankKeeper_Expecter) SendCoinsFromAccountToModule ¶
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 ¶
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 ¶
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) SpendableCoin ¶
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
func (*BankKeeper_Expecter) SpendableCoins ¶
func (_e *BankKeeper_Expecter) SpendableCoins(ctx interface{}, addr interface{}) *BankKeeper_SpendableCoins_Call
SpendableCoins is a helper method to define mock.On call
- ctx context.Context
- addr types.AccAddress
type BankKeeper_SendCoinsFromAccountToModule_Call ¶
BankKeeper_SendCoinsFromAccountToModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendCoinsFromAccountToModule'
func (*BankKeeper_SendCoinsFromAccountToModule_Call) Return ¶
func (_c *BankKeeper_SendCoinsFromAccountToModule_Call) Return(err error) *BankKeeper_SendCoinsFromAccountToModule_Call
func (*BankKeeper_SendCoinsFromAccountToModule_Call) Run ¶
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 ¶
func (_c *BankKeeper_SendCoinsFromAccountToModule_Call) RunAndReturn(run func(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error) *BankKeeper_SendCoinsFromAccountToModule_Call
type BankKeeper_SendCoinsFromModuleToAccount_Call ¶
BankKeeper_SendCoinsFromModuleToAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendCoinsFromModuleToAccount'
func (*BankKeeper_SendCoinsFromModuleToAccount_Call) Return ¶
func (_c *BankKeeper_SendCoinsFromModuleToAccount_Call) Return(err error) *BankKeeper_SendCoinsFromModuleToAccount_Call
func (*BankKeeper_SendCoinsFromModuleToAccount_Call) Run ¶
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 ¶
func (_c *BankKeeper_SendCoinsFromModuleToAccount_Call) RunAndReturn(run func(ctx context.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error) *BankKeeper_SendCoinsFromModuleToAccount_Call
type BankKeeper_SendCoinsFromModuleToModule_Call ¶
BankKeeper_SendCoinsFromModuleToModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendCoinsFromModuleToModule'
func (*BankKeeper_SendCoinsFromModuleToModule_Call) Return ¶
func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) Return(err error) *BankKeeper_SendCoinsFromModuleToModule_Call
func (*BankKeeper_SendCoinsFromModuleToModule_Call) Run ¶
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 ¶
func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) RunAndReturn(run func(ctx context.Context, senderModule string, recipientModule string, amt types.Coins) error) *BankKeeper_SendCoinsFromModuleToModule_Call
type BankKeeper_SpendableCoin_Call ¶
BankKeeper_SpendableCoin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SpendableCoin'
func (*BankKeeper_SpendableCoin_Call) Return ¶
func (_c *BankKeeper_SpendableCoin_Call) Return(coin types.Coin) *BankKeeper_SpendableCoin_Call
func (*BankKeeper_SpendableCoin_Call) Run ¶
func (_c *BankKeeper_SpendableCoin_Call) Run(run func(ctx context.Context, addr types.AccAddress, denom string)) *BankKeeper_SpendableCoin_Call
func (*BankKeeper_SpendableCoin_Call) RunAndReturn ¶
func (_c *BankKeeper_SpendableCoin_Call) RunAndReturn(run func(ctx context.Context, addr types.AccAddress, denom string) types.Coin) *BankKeeper_SpendableCoin_Call
type BankKeeper_SpendableCoins_Call ¶
BankKeeper_SpendableCoins_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SpendableCoins'
func (*BankKeeper_SpendableCoins_Call) Return ¶
func (_c *BankKeeper_SpendableCoins_Call) Return(coins types.Coins) *BankKeeper_SpendableCoins_Call
func (*BankKeeper_SpendableCoins_Call) Run ¶
func (_c *BankKeeper_SpendableCoins_Call) Run(run func(ctx context.Context, addr types.AccAddress)) *BankKeeper_SpendableCoins_Call
func (*BankKeeper_SpendableCoins_Call) RunAndReturn ¶
func (_c *BankKeeper_SpendableCoins_Call) RunAndReturn(run func(ctx context.Context, addr types.AccAddress) types.Coins) *BankKeeper_SpendableCoins_Call
type TakeKeeper ¶
TakeKeeper is an autogenerated mock type for the TakeKeeper type
func NewTakeKeeper ¶
func NewTakeKeeper(t interface {
mock.TestingT
Cleanup(func())
}) *TakeKeeper
NewTakeKeeper creates a new instance of TakeKeeper. 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 (*TakeKeeper) EXPECT ¶
func (_m *TakeKeeper) EXPECT() *TakeKeeper_Expecter
type TakeKeeper_Expecter ¶
type TakeKeeper_Expecter struct {
// contains filtered or unexported fields
}
func (*TakeKeeper_Expecter) SubtractFees ¶
func (_e *TakeKeeper_Expecter) SubtractFees(ctx interface{}, amt interface{}) *TakeKeeper_SubtractFees_Call
SubtractFees is a helper method to define mock.On call
- ctx types.Context
- amt types.Coin
type TakeKeeper_SubtractFees_Call ¶
TakeKeeper_SubtractFees_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubtractFees'
func (*TakeKeeper_SubtractFees_Call) Return ¶
func (_c *TakeKeeper_SubtractFees_Call) Return(coin types.Coin, coin1 types.Coin, err error) *TakeKeeper_SubtractFees_Call
func (*TakeKeeper_SubtractFees_Call) Run ¶
func (_c *TakeKeeper_SubtractFees_Call) Run(run func(ctx types.Context, amt types.Coin)) *TakeKeeper_SubtractFees_Call