Documentation ¶
Index ¶
- type AuthzKeeper
- func (_m *AuthzKeeper) DeleteGrant(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, ...) error
- func (_m *AuthzKeeper) EXPECT() *AuthzKeeper_Expecter
- func (_m *AuthzKeeper) GetCleanAuthorization(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, ...) (authz.Authorization, time.Time)
- func (_m *AuthzKeeper) SaveGrant(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, ...) error
- type AuthzKeeper_DeleteGrant_Call
- func (_c *AuthzKeeper_DeleteGrant_Call) Return(_a0 error) *AuthzKeeper_DeleteGrant_Call
- func (_c *AuthzKeeper_DeleteGrant_Call) Run(...) *AuthzKeeper_DeleteGrant_Call
- func (_c *AuthzKeeper_DeleteGrant_Call) RunAndReturn(run func(types.Context, types.AccAddress, types.AccAddress, string) error) *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) GetCleanAuthorization(ctx interface{}, grantee interface{}, granter interface{}, msgType interface{}) *AuthzKeeper_GetCleanAuthorization_Call
- func (_e *AuthzKeeper_Expecter) SaveGrant(ctx interface{}, grantee interface{}, granter interface{}, ...) *AuthzKeeper_SaveGrant_Call
- type AuthzKeeper_GetCleanAuthorization_Call
- func (_c *AuthzKeeper_GetCleanAuthorization_Call) Return(cap authz.Authorization, expiration time.Time) *AuthzKeeper_GetCleanAuthorization_Call
- func (_c *AuthzKeeper_GetCleanAuthorization_Call) Run(...) *AuthzKeeper_GetCleanAuthorization_Call
- func (_c *AuthzKeeper_GetCleanAuthorization_Call) RunAndReturn(...) *AuthzKeeper_GetCleanAuthorization_Call
- type AuthzKeeper_SaveGrant_Call
- type BankKeeper
- func (_m *BankKeeper) EXPECT() *BankKeeper_Expecter
- func (_m *BankKeeper) SendCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- func (_m *BankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, ...) error
- func (_m *BankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule string, recipientModule string, ...) error
- 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
- 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(types.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(types.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(run func(ctx types.Context, senderModule string, recipientModule string, ...)) *BankKeeper_SendCoinsFromModuleToModule_Call
- func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) RunAndReturn(run func(types.Context, string, string, types.Coins) error) *BankKeeper_SendCoinsFromModuleToModule_Call
- type DistrKeeper
- type DistrKeeper_Expecter
- type DistrKeeper_GetFeePool_Call
- func (_c *DistrKeeper_GetFeePool_Call) Return(_a0 distributiontypes.FeePool) *DistrKeeper_GetFeePool_Call
- func (_c *DistrKeeper_GetFeePool_Call) Run(run func(ctx types.Context)) *DistrKeeper_GetFeePool_Call
- func (_c *DistrKeeper_GetFeePool_Call) RunAndReturn(run func(types.Context) distributiontypes.FeePool) *DistrKeeper_GetFeePool_Call
- type DistrKeeper_SetFeePool_Call
- func (_c *DistrKeeper_SetFeePool_Call) Return() *DistrKeeper_SetFeePool_Call
- func (_c *DistrKeeper_SetFeePool_Call) Run(run func(ctx types.Context, pool distributiontypes.FeePool)) *DistrKeeper_SetFeePool_Call
- func (_c *DistrKeeper_SetFeePool_Call) RunAndReturn(run func(types.Context, distributiontypes.FeePool)) *DistrKeeper_SetFeePool_Call
- type TakeKeeper
- type TakeKeeper_Expecter
- type TakeKeeper_SubtractFees_Call
- func (_c *TakeKeeper_SubtractFees_Call) Return(_a0 types.Coin, _a1 types.Coin, _a2 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(types.Context, 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 (_m *AuthzKeeper) DeleteGrant(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, msgType string) error
DeleteGrant provides a mock function with given fields: ctx, grantee, granter, msgType
func (*AuthzKeeper) EXPECT ¶
func (_m *AuthzKeeper) EXPECT() *AuthzKeeper_Expecter
func (*AuthzKeeper) GetCleanAuthorization ¶
func (_m *AuthzKeeper) GetCleanAuthorization(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, msgType string) (authz.Authorization, time.Time)
GetCleanAuthorization provides a mock function with given fields: ctx, grantee, granter, msgType
func (*AuthzKeeper) SaveGrant ¶
func (_m *AuthzKeeper) SaveGrant(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, authorization authz.Authorization, expiration time.Time) error
SaveGrant provides a mock function with given fields: ctx, grantee, granter, authorization, expiration
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(_a0 error) *AuthzKeeper_DeleteGrant_Call
func (*AuthzKeeper_DeleteGrant_Call) Run ¶
func (_c *AuthzKeeper_DeleteGrant_Call) Run(run func(ctx types.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(types.Context, types.AccAddress, types.AccAddress, 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 types.Context
- grantee types.AccAddress
- granter types.AccAddress
- msgType string
func (*AuthzKeeper_Expecter) GetCleanAuthorization ¶
func (_e *AuthzKeeper_Expecter) GetCleanAuthorization(ctx interface{}, grantee interface{}, granter interface{}, msgType interface{}) *AuthzKeeper_GetCleanAuthorization_Call
GetCleanAuthorization is a helper method to define mock.On call
- ctx types.Context
- grantee types.AccAddress
- granter types.AccAddress
- msgType string
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 types.Context
- grantee types.AccAddress
- granter types.AccAddress
- authorization authz.Authorization
- expiration time.Time
type AuthzKeeper_GetCleanAuthorization_Call ¶
AuthzKeeper_GetCleanAuthorization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCleanAuthorization'
func (*AuthzKeeper_GetCleanAuthorization_Call) Return ¶
func (_c *AuthzKeeper_GetCleanAuthorization_Call) Return(cap authz.Authorization, expiration time.Time) *AuthzKeeper_GetCleanAuthorization_Call
func (*AuthzKeeper_GetCleanAuthorization_Call) Run ¶
func (_c *AuthzKeeper_GetCleanAuthorization_Call) Run(run func(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, msgType string)) *AuthzKeeper_GetCleanAuthorization_Call
func (*AuthzKeeper_GetCleanAuthorization_Call) RunAndReturn ¶
func (_c *AuthzKeeper_GetCleanAuthorization_Call) RunAndReturn(run func(types.Context, types.AccAddress, types.AccAddress, string) (authz.Authorization, time.Time)) *AuthzKeeper_GetCleanAuthorization_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(_a0 error) *AuthzKeeper_SaveGrant_Call
func (*AuthzKeeper_SaveGrant_Call) Run ¶
func (_c *AuthzKeeper_SaveGrant_Call) Run(run func(ctx types.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(types.Context, types.AccAddress, types.AccAddress, authz.Authorization, 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 (_m *BankKeeper) SendCoinsFromAccountToModule(ctx types.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 ¶
func (_m *BankKeeper) SendCoinsFromModuleToAccount(ctx types.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 ¶
func (_m *BankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule string, recipientModule string, amt types.Coins) error
SendCoinsFromModuleToModule provides a mock function with given fields: ctx, senderModule, recipientModule, amt
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 types.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 types.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 types.Context
- senderModule string
- recipientModule string
- amt types.Coins
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(_a0 error) *BankKeeper_SendCoinsFromAccountToModule_Call
func (*BankKeeper_SendCoinsFromAccountToModule_Call) Run ¶
func (_c *BankKeeper_SendCoinsFromAccountToModule_Call) Run(run func(ctx types.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(types.Context, types.AccAddress, string, 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(_a0 error) *BankKeeper_SendCoinsFromModuleToAccount_Call
func (*BankKeeper_SendCoinsFromModuleToAccount_Call) Run ¶
func (_c *BankKeeper_SendCoinsFromModuleToAccount_Call) Run(run func(ctx types.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(types.Context, string, types.AccAddress, 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(_a0 error) *BankKeeper_SendCoinsFromModuleToModule_Call
func (*BankKeeper_SendCoinsFromModuleToModule_Call) Run ¶
func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) Run(run func(ctx types.Context, senderModule string, recipientModule string, amt types.Coins)) *BankKeeper_SendCoinsFromModuleToModule_Call
func (*BankKeeper_SendCoinsFromModuleToModule_Call) RunAndReturn ¶
func (_c *BankKeeper_SendCoinsFromModuleToModule_Call) RunAndReturn(run func(types.Context, string, string, types.Coins) error) *BankKeeper_SendCoinsFromModuleToModule_Call
type DistrKeeper ¶
DistrKeeper is an autogenerated mock type for the DistrKeeper type
func NewDistrKeeper ¶
func NewDistrKeeper(t interface { mock.TestingT Cleanup(func()) }) *DistrKeeper
NewDistrKeeper creates a new instance of DistrKeeper. 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 (*DistrKeeper) EXPECT ¶
func (_m *DistrKeeper) EXPECT() *DistrKeeper_Expecter
func (*DistrKeeper) GetFeePool ¶
func (_m *DistrKeeper) GetFeePool(ctx types.Context) distributiontypes.FeePool
GetFeePool provides a mock function with given fields: ctx
func (*DistrKeeper) SetFeePool ¶
func (_m *DistrKeeper) SetFeePool(ctx types.Context, pool distributiontypes.FeePool)
SetFeePool provides a mock function with given fields: ctx, pool
type DistrKeeper_Expecter ¶
type DistrKeeper_Expecter struct {
// contains filtered or unexported fields
}
func (*DistrKeeper_Expecter) GetFeePool ¶
func (_e *DistrKeeper_Expecter) GetFeePool(ctx interface{}) *DistrKeeper_GetFeePool_Call
GetFeePool is a helper method to define mock.On call
- ctx types.Context
func (*DistrKeeper_Expecter) SetFeePool ¶
func (_e *DistrKeeper_Expecter) SetFeePool(ctx interface{}, pool interface{}) *DistrKeeper_SetFeePool_Call
SetFeePool is a helper method to define mock.On call
- ctx types.Context
- pool distributiontypes.FeePool
type DistrKeeper_GetFeePool_Call ¶
DistrKeeper_GetFeePool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFeePool'
func (*DistrKeeper_GetFeePool_Call) Return ¶
func (_c *DistrKeeper_GetFeePool_Call) Return(_a0 distributiontypes.FeePool) *DistrKeeper_GetFeePool_Call
func (*DistrKeeper_GetFeePool_Call) Run ¶
func (_c *DistrKeeper_GetFeePool_Call) Run(run func(ctx types.Context)) *DistrKeeper_GetFeePool_Call
func (*DistrKeeper_GetFeePool_Call) RunAndReturn ¶
func (_c *DistrKeeper_GetFeePool_Call) RunAndReturn(run func(types.Context) distributiontypes.FeePool) *DistrKeeper_GetFeePool_Call
type DistrKeeper_SetFeePool_Call ¶
DistrKeeper_SetFeePool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFeePool'
func (*DistrKeeper_SetFeePool_Call) Return ¶
func (_c *DistrKeeper_SetFeePool_Call) Return() *DistrKeeper_SetFeePool_Call
func (*DistrKeeper_SetFeePool_Call) Run ¶
func (_c *DistrKeeper_SetFeePool_Call) Run(run func(ctx types.Context, pool distributiontypes.FeePool)) *DistrKeeper_SetFeePool_Call
func (*DistrKeeper_SetFeePool_Call) RunAndReturn ¶
func (_c *DistrKeeper_SetFeePool_Call) RunAndReturn(run func(types.Context, distributiontypes.FeePool)) *DistrKeeper_SetFeePool_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(_a0 types.Coin, _a1 types.Coin, _a2 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