Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
- func (m *MockAccountKeeper) GetAccount(ctx context.Context, addr types0.AccAddress) types0.AccountI
- func (m *MockAccountKeeper) GetAllAccounts(ctx context.Context) []types0.AccountI
- func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, moduleName string) types0.ModuleAccountI
- func (m *MockAccountKeeper) NewAccount(arg0 context.Context, arg1 types0.AccountI) types0.AccountI
- func (m *MockAccountKeeper) RemoveAccount(ctx context.Context, acc types0.AccountI)
- func (m *MockAccountKeeper) SetAccount(ctx context.Context, acc types0.AccountI)
- type MockAccountKeeperMockRecorder
- func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetAllAccounts(ctx any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, moduleName any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) NewAccount(arg0, arg1 any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) RemoveAccount(ctx, acc any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) SetAccount(ctx, acc any) *gomock.Call
- type MockBankKeeper
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types0.AccAddress) types0.Coins
- func (m *MockBankKeeper) GetBalance(ctx context.Context, addr types0.AccAddress, denom string) types0.Coin
- func (m *MockBankKeeper) MintCoins(ctx context.Context, moduleName string, amt types0.Coins) error
- func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types0.AccAddress, recipientModule string, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types0.AccAddress, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt types0.Coins) error
- func (m *MockBankKeeper) SpendableCoins(ctx context.Context, addr types0.AccAddress) types0.Coins
- type MockBankKeeperMockRecorder
- func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr any) *gomock.Call
- type MockRatelimitKeeper
- func (m *MockRatelimitKeeper) AddDenomToBlacklist(ctx types0.Context, denom string)
- func (m *MockRatelimitKeeper) EXPECT() *MockRatelimitKeeperMockRecorder
- func (m *MockRatelimitKeeper) RemoveDenomFromBlacklist(ctx types0.Context, denom string)
- func (m *MockRatelimitKeeper) RemoveWhitelistedAddressPair(ctx types0.Context, sender, receiver string)
- func (m *MockRatelimitKeeper) SetWhitelistedAddressPair(ctx types0.Context, whitelist types.WhitelistedAddressPair)
- type MockRatelimitKeeperMockRecorder
- func (mr *MockRatelimitKeeperMockRecorder) AddDenomToBlacklist(ctx, denom any) *gomock.Call
- func (mr *MockRatelimitKeeperMockRecorder) RemoveDenomFromBlacklist(ctx, denom any) *gomock.Call
- func (mr *MockRatelimitKeeperMockRecorder) RemoveWhitelistedAddressPair(ctx, sender, receiver any) *gomock.Call
- func (mr *MockRatelimitKeeperMockRecorder) SetWhitelistedAddressPair(ctx, whitelist any) *gomock.Call
- type MockStakeIBCHooks
- type MockStakeIBCHooksMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountKeeper ¶
type MockAccountKeeper struct {
// contains filtered or unexported fields
}
MockAccountKeeper is a mock of AccountKeeper interface.
func NewMockAccountKeeper ¶
func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper
NewMockAccountKeeper creates a new mock instance.
func (*MockAccountKeeper) EXPECT ¶
func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountKeeper) GetAccount ¶
func (m *MockAccountKeeper) GetAccount(ctx context.Context, addr types0.AccAddress) types0.AccountI
GetAccount mocks base method.
func (*MockAccountKeeper) GetAllAccounts ¶
func (m *MockAccountKeeper) GetAllAccounts(ctx context.Context) []types0.AccountI
GetAllAccounts mocks base method.
func (*MockAccountKeeper) GetModuleAccount ¶
func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, moduleName string) types0.ModuleAccountI
GetModuleAccount mocks base method.
func (*MockAccountKeeper) NewAccount ¶
NewAccount mocks base method.
func (*MockAccountKeeper) RemoveAccount ¶
func (m *MockAccountKeeper) RemoveAccount(ctx context.Context, acc types0.AccountI)
RemoveAccount mocks base method.
func (*MockAccountKeeper) SetAccount ¶
func (m *MockAccountKeeper) SetAccount(ctx context.Context, acc types0.AccountI)
SetAccount mocks base method.
type MockAccountKeeperMockRecorder ¶
type MockAccountKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.
func (*MockAccountKeeperMockRecorder) GetAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr any) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockAccountKeeperMockRecorder) GetAllAccounts ¶
func (mr *MockAccountKeeperMockRecorder) GetAllAccounts(ctx any) *gomock.Call
GetAllAccounts indicates an expected call of GetAllAccounts.
func (*MockAccountKeeperMockRecorder) GetModuleAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, moduleName any) *gomock.Call
GetModuleAccount indicates an expected call of GetModuleAccount.
func (*MockAccountKeeperMockRecorder) NewAccount ¶
func (mr *MockAccountKeeperMockRecorder) NewAccount(arg0, arg1 any) *gomock.Call
NewAccount indicates an expected call of NewAccount.
func (*MockAccountKeeperMockRecorder) RemoveAccount ¶
func (mr *MockAccountKeeperMockRecorder) RemoveAccount(ctx, acc any) *gomock.Call
RemoveAccount indicates an expected call of RemoveAccount.
func (*MockAccountKeeperMockRecorder) SetAccount ¶
func (mr *MockAccountKeeperMockRecorder) SetAccount(ctx, acc any) *gomock.Call
SetAccount indicates an expected call of SetAccount.
type MockBankKeeper ¶
type MockBankKeeper struct {
// contains filtered or unexported fields
}
MockBankKeeper is a mock of BankKeeper interface.
func NewMockBankKeeper ¶
func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper
NewMockBankKeeper creates a new mock instance.
func (*MockBankKeeper) EXPECT ¶
func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBankKeeper) GetAllBalances ¶
func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types0.AccAddress) types0.Coins
GetAllBalances mocks base method.
func (*MockBankKeeper) GetBalance ¶
func (m *MockBankKeeper) GetBalance(ctx context.Context, addr types0.AccAddress, denom string) types0.Coin
GetBalance mocks base method.
func (*MockBankKeeper) SendCoinsFromAccountToModule ¶
func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types0.AccAddress, recipientModule string, amt types0.Coins) error
SendCoinsFromAccountToModule mocks base method.
func (*MockBankKeeper) SendCoinsFromModuleToAccount ¶
func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types0.AccAddress, amt types0.Coins) error
SendCoinsFromModuleToAccount mocks base method.
func (*MockBankKeeper) SendCoinsFromModuleToModule ¶
func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx context.Context, senderModule, recipientModule string, amt types0.Coins) error
SendCoinsFromModuleToModule mocks base method.
func (*MockBankKeeper) SpendableCoins ¶
func (m *MockBankKeeper) SpendableCoins(ctx context.Context, addr types0.AccAddress) types0.Coins
SpendableCoins mocks base method.
type MockBankKeeperMockRecorder ¶
type MockBankKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.
func (*MockBankKeeperMockRecorder) GetAllBalances ¶
func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr any) *gomock.Call
GetAllBalances indicates an expected call of GetAllBalances.
func (*MockBankKeeperMockRecorder) GetBalance ¶
func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom any) *gomock.Call
GetBalance indicates an expected call of GetBalance.
func (*MockBankKeeperMockRecorder) MintCoins ¶
func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt any) *gomock.Call
MintCoins indicates an expected call of MintCoins.
func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt any) *gomock.Call
SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt any) *gomock.Call
SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt any) *gomock.Call
SendCoinsFromModuleToModule indicates an expected call of SendCoinsFromModuleToModule.
func (*MockBankKeeperMockRecorder) SpendableCoins ¶
func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr any) *gomock.Call
SpendableCoins indicates an expected call of SpendableCoins.
type MockRatelimitKeeper ¶
type MockRatelimitKeeper struct {
// contains filtered or unexported fields
}
MockRatelimitKeeper is a mock of RatelimitKeeper interface.
func NewMockRatelimitKeeper ¶
func NewMockRatelimitKeeper(ctrl *gomock.Controller) *MockRatelimitKeeper
NewMockRatelimitKeeper creates a new mock instance.
func (*MockRatelimitKeeper) AddDenomToBlacklist ¶
func (m *MockRatelimitKeeper) AddDenomToBlacklist(ctx types0.Context, denom string)
AddDenomToBlacklist mocks base method.
func (*MockRatelimitKeeper) EXPECT ¶
func (m *MockRatelimitKeeper) EXPECT() *MockRatelimitKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRatelimitKeeper) RemoveDenomFromBlacklist ¶
func (m *MockRatelimitKeeper) RemoveDenomFromBlacklist(ctx types0.Context, denom string)
RemoveDenomFromBlacklist mocks base method.
func (*MockRatelimitKeeper) RemoveWhitelistedAddressPair ¶
func (m *MockRatelimitKeeper) RemoveWhitelistedAddressPair(ctx types0.Context, sender, receiver string)
RemoveWhitelistedAddressPair mocks base method.
func (*MockRatelimitKeeper) SetWhitelistedAddressPair ¶
func (m *MockRatelimitKeeper) SetWhitelistedAddressPair(ctx types0.Context, whitelist types.WhitelistedAddressPair)
SetWhitelistedAddressPair mocks base method.
type MockRatelimitKeeperMockRecorder ¶
type MockRatelimitKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockRatelimitKeeperMockRecorder is the mock recorder for MockRatelimitKeeper.
func (*MockRatelimitKeeperMockRecorder) AddDenomToBlacklist ¶
func (mr *MockRatelimitKeeperMockRecorder) AddDenomToBlacklist(ctx, denom any) *gomock.Call
AddDenomToBlacklist indicates an expected call of AddDenomToBlacklist.
func (*MockRatelimitKeeperMockRecorder) RemoveDenomFromBlacklist ¶
func (mr *MockRatelimitKeeperMockRecorder) RemoveDenomFromBlacklist(ctx, denom any) *gomock.Call
RemoveDenomFromBlacklist indicates an expected call of RemoveDenomFromBlacklist.
func (*MockRatelimitKeeperMockRecorder) RemoveWhitelistedAddressPair ¶
func (mr *MockRatelimitKeeperMockRecorder) RemoveWhitelistedAddressPair(ctx, sender, receiver any) *gomock.Call
RemoveWhitelistedAddressPair indicates an expected call of RemoveWhitelistedAddressPair.
func (*MockRatelimitKeeperMockRecorder) SetWhitelistedAddressPair ¶
func (mr *MockRatelimitKeeperMockRecorder) SetWhitelistedAddressPair(ctx, whitelist any) *gomock.Call
SetWhitelistedAddressPair indicates an expected call of SetWhitelistedAddressPair.
type MockStakeIBCHooks ¶
type MockStakeIBCHooks struct {
// contains filtered or unexported fields
}
MockStakeIBCHooks is a mock of StakeIBCHooks interface.
func NewMockStakeIBCHooks ¶
func NewMockStakeIBCHooks(ctrl *gomock.Controller) *MockStakeIBCHooks
NewMockStakeIBCHooks creates a new mock instance.
func (*MockStakeIBCHooks) AfterLiquidStake ¶
func (m *MockStakeIBCHooks) AfterLiquidStake(ctx types0.Context, addr types0.AccAddress)
AfterLiquidStake mocks base method.
func (*MockStakeIBCHooks) EXPECT ¶
func (m *MockStakeIBCHooks) EXPECT() *MockStakeIBCHooksMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStakeIBCHooksMockRecorder ¶
type MockStakeIBCHooksMockRecorder struct {
// contains filtered or unexported fields
}
MockStakeIBCHooksMockRecorder is the mock recorder for MockStakeIBCHooks.
func (*MockStakeIBCHooksMockRecorder) AfterLiquidStake ¶
func (mr *MockStakeIBCHooksMockRecorder) AfterLiquidStake(ctx, addr any) *gomock.Call
AfterLiquidStake indicates an expected call of AfterLiquidStake.