keeper

package
v2.1.0-a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountKeeper

type AccountKeeper struct {
	mock.Mock
}

AccountKeeper is an autogenerated mock type for the AccountKeeper type

func NewAccountKeeper

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) EXPECT

func (_m *AccountKeeper) EXPECT() *AccountKeeper_Expecter

func (*AccountKeeper) GetAccount

func (_mock *AccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI

GetAccount provides a mock function for the type AccountKeeper

func (*AccountKeeper) GetModuleAccount

func (_mock *AccountKeeper) GetModuleAccount(ctx context.Context, moduleName string) types.ModuleAccountI

GetModuleAccount provides a mock function for the type AccountKeeper

func (*AccountKeeper) GetModuleAddress

func (_mock *AccountKeeper) GetModuleAddress(moduleName string) types.AccAddress

GetModuleAddress provides a mock function for the type AccountKeeper

type AccountKeeper_Expecter

type AccountKeeper_Expecter struct {
	// contains filtered or unexported fields
}

func (*AccountKeeper_Expecter) GetAccount

func (_e *AccountKeeper_Expecter) GetAccount(ctx interface{}, addr interface{}) *AccountKeeper_GetAccount_Call

GetAccount is a helper method to define mock.On call

  • ctx context.Context
  • addr types.AccAddress

func (*AccountKeeper_Expecter) GetModuleAccount

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

func (_e *AccountKeeper_Expecter) GetModuleAddress(moduleName interface{}) *AccountKeeper_GetModuleAddress_Call

GetModuleAddress is a helper method to define mock.On call

  • moduleName string

type AccountKeeper_GetAccount_Call

type AccountKeeper_GetAccount_Call struct {
	*mock.Call
}

AccountKeeper_GetAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccount'

func (*AccountKeeper_GetAccount_Call) Return

func (*AccountKeeper_GetAccount_Call) Run

func (*AccountKeeper_GetAccount_Call) RunAndReturn

type AccountKeeper_GetModuleAccount_Call

type AccountKeeper_GetModuleAccount_Call struct {
	*mock.Call
}

AccountKeeper_GetModuleAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetModuleAccount'

func (*AccountKeeper_GetModuleAccount_Call) Return

func (*AccountKeeper_GetModuleAccount_Call) Run

func (*AccountKeeper_GetModuleAccount_Call) RunAndReturn

type AccountKeeper_GetModuleAddress_Call

type AccountKeeper_GetModuleAddress_Call struct {
	*mock.Call
}

AccountKeeper_GetModuleAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetModuleAddress'

func (*AccountKeeper_GetModuleAddress_Call) Return

func (*AccountKeeper_GetModuleAddress_Call) Run

func (*AccountKeeper_GetModuleAddress_Call) RunAndReturn

type AuthzKeeper

type AuthzKeeper struct {
	mock.Mock
}

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

type AuthzKeeper_DeleteGrant_Call struct {
	*mock.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 (*AuthzKeeper_DeleteGrant_Call) Run

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

type AuthzKeeper_GetAuthorization_Call struct {
	*mock.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 (*AuthzKeeper_GetAuthorization_Call) Run

func (*AuthzKeeper_GetAuthorization_Call) RunAndReturn

type AuthzKeeper_GetGranteeGrantsByMsgType_Call

type AuthzKeeper_GetGranteeGrantsByMsgType_Call struct {
	*mock.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 (*AuthzKeeper_GetGranteeGrantsByMsgType_Call) Run

func (*AuthzKeeper_GetGranteeGrantsByMsgType_Call) RunAndReturn

type AuthzKeeper_IterateGrants_Call

type AuthzKeeper_IterateGrants_Call struct {
	*mock.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 (*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

type AuthzKeeper_SaveGrant_Call struct {
	*mock.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 (*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

type BankKeeper struct {
	mock.Mock
}

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) BurnCoins

func (_mock *BankKeeper) BurnCoins(ctx context.Context, moduleName string, amt types.Coins) error

BurnCoins provides a mock function for the type BankKeeper

func (*BankKeeper) EXPECT

func (_m *BankKeeper) EXPECT() *BankKeeper_Expecter

func (*BankKeeper) GetAllBalances

func (_mock *BankKeeper) GetAllBalances(ctx context.Context, addr types.AccAddress) types.Coins

GetAllBalances provides a mock function for the type BankKeeper

func (*BankKeeper) GetBalance

func (_mock *BankKeeper) GetBalance(ctx context.Context, addr types.AccAddress, denom string) types.Coin

GetBalance provides a mock function for the type BankKeeper

func (*BankKeeper) GetSupply

func (_mock *BankKeeper) GetSupply(ctx context.Context, denom string) types.Coin

GetSupply provides a mock function for the type BankKeeper

func (*BankKeeper) MintCoins

func (_mock *BankKeeper) MintCoins(ctx context.Context, moduleName string, amt types.Coins) error

MintCoins provides a mock function for the type BankKeeper

func (*BankKeeper) SendCoins

func (_mock *BankKeeper) SendCoins(ctx context.Context, fromAddr types.AccAddress, toAddr types.AccAddress, amt types.Coins) error

SendCoins provides a mock function for the type BankKeeper

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_BurnCoins_Call

type BankKeeper_BurnCoins_Call struct {
	*mock.Call
}

BankKeeper_BurnCoins_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BurnCoins'

func (*BankKeeper_BurnCoins_Call) Return

func (*BankKeeper_BurnCoins_Call) Run

func (_c *BankKeeper_BurnCoins_Call) Run(run func(ctx context.Context, moduleName string, amt types.Coins)) *BankKeeper_BurnCoins_Call

func (*BankKeeper_BurnCoins_Call) RunAndReturn

func (_c *BankKeeper_BurnCoins_Call) RunAndReturn(run func(ctx context.Context, moduleName string, amt types.Coins) error) *BankKeeper_BurnCoins_Call

type BankKeeper_Expecter

type BankKeeper_Expecter struct {
	// contains filtered or unexported fields
}

func (*BankKeeper_Expecter) BurnCoins

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

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

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) GetSupply

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) MintCoins

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

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

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_GetAllBalances_Call

type BankKeeper_GetAllBalances_Call struct {
	*mock.Call
}

BankKeeper_GetAllBalances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllBalances'

func (*BankKeeper_GetAllBalances_Call) Return

func (*BankKeeper_GetAllBalances_Call) Run

func (*BankKeeper_GetAllBalances_Call) RunAndReturn

type BankKeeper_GetBalance_Call

type BankKeeper_GetBalance_Call struct {
	*mock.Call
}

BankKeeper_GetBalance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBalance'

func (*BankKeeper_GetBalance_Call) Return

func (*BankKeeper_GetBalance_Call) Run

func (*BankKeeper_GetBalance_Call) RunAndReturn

type BankKeeper_GetSupply_Call

type BankKeeper_GetSupply_Call struct {
	*mock.Call
}

BankKeeper_GetSupply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSupply'

func (*BankKeeper_GetSupply_Call) Return

func (*BankKeeper_GetSupply_Call) Run

func (*BankKeeper_GetSupply_Call) RunAndReturn

func (_c *BankKeeper_GetSupply_Call) RunAndReturn(run func(ctx context.Context, denom string) types.Coin) *BankKeeper_GetSupply_Call

type BankKeeper_MintCoins_Call

type BankKeeper_MintCoins_Call struct {
	*mock.Call
}

BankKeeper_MintCoins_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MintCoins'

func (*BankKeeper_MintCoins_Call) Return

func (*BankKeeper_MintCoins_Call) Run

func (_c *BankKeeper_MintCoins_Call) Run(run func(ctx context.Context, moduleName string, amt types.Coins)) *BankKeeper_MintCoins_Call

func (*BankKeeper_MintCoins_Call) RunAndReturn

func (_c *BankKeeper_MintCoins_Call) RunAndReturn(run func(ctx context.Context, moduleName string, amt types.Coins) error) *BankKeeper_MintCoins_Call

type BankKeeper_SendCoinsFromAccountToModule_Call

type BankKeeper_SendCoinsFromAccountToModule_Call struct {
	*mock.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 (*BankKeeper_SendCoinsFromAccountToModule_Call) Run

func (*BankKeeper_SendCoinsFromAccountToModule_Call) RunAndReturn

type BankKeeper_SendCoinsFromModuleToAccount_Call

type BankKeeper_SendCoinsFromModuleToAccount_Call struct {
	*mock.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 (*BankKeeper_SendCoinsFromModuleToAccount_Call) Run

func (*BankKeeper_SendCoinsFromModuleToAccount_Call) RunAndReturn

type BankKeeper_SendCoinsFromModuleToModule_Call

type BankKeeper_SendCoinsFromModuleToModule_Call struct {
	*mock.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 (*BankKeeper_SendCoinsFromModuleToModule_Call) Run

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_SendCoins_Call

type BankKeeper_SendCoins_Call struct {
	*mock.Call
}

BankKeeper_SendCoins_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendCoins'

func (*BankKeeper_SendCoins_Call) Return

func (*BankKeeper_SendCoins_Call) Run

func (*BankKeeper_SendCoins_Call) RunAndReturn

func (_c *BankKeeper_SendCoins_Call) RunAndReturn(run func(ctx context.Context, fromAddr types.AccAddress, toAddr types.AccAddress, amt types.Coins) error) *BankKeeper_SendCoins_Call

type BankKeeper_SpendableCoin_Call

type BankKeeper_SpendableCoin_Call struct {
	*mock.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 (*BankKeeper_SpendableCoin_Call) Run

func (*BankKeeper_SpendableCoin_Call) RunAndReturn

type BankKeeper_SpendableCoins_Call

type BankKeeper_SpendableCoins_Call struct {
	*mock.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 (*BankKeeper_SpendableCoins_Call) Run

func (*BankKeeper_SpendableCoins_Call) RunAndReturn

type TakeKeeper

type TakeKeeper struct {
	mock.Mock
}

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

func (*TakeKeeper) SubtractFees

func (_mock *TakeKeeper) SubtractFees(ctx types.Context, amt types.Coin) (types.Coin, types.Coin, error)

SubtractFees provides a mock function for the type TakeKeeper

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

type TakeKeeper_SubtractFees_Call struct {
	*mock.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 (*TakeKeeper_SubtractFees_Call) Run

func (*TakeKeeper_SubtractFees_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL