Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
- func (m *MockAccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI
- func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, moduleName string) types.ModuleAccountI
- func (m *MockAccountKeeper) GetModuleAddress(name string) types.AccAddress
- func (m *MockAccountKeeper) NewAccountWithAddress(ctx context.Context, addr types.AccAddress) types.AccountI
- func (m *MockAccountKeeper) SetAccount(ctx context.Context, acc types.AccountI)
- type MockAccountKeeperMockRecorder
- func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, moduleName any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) NewAccountWithAddress(ctx, addr any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) SetAccount(ctx, acc any) *gomock.Call
- type MockBankKeeper
- func (m *MockBankKeeper) BurnCoins(ctx context.Context, name string, amt types.Coins) error
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types.AccAddress) types.Coins
- func (m *MockBankKeeper) GetSupply(ctx context.Context, denom string) types.Coin
- func (m *MockBankKeeper) MintCoins(ctx context.Context, name string, amt types.Coins) error
- func (m *MockBankKeeper) SendCoins(ctx context.Context, fromAddr, toAddr types.AccAddress, amt types.Coins) error
- func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, ...) error
- type MockBankKeeperMockRecorder
- func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, name, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetSupply(ctx, denom any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, name, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, 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
- type MockBridgeFeeQuoteKeeper
- func (m *MockBridgeFeeQuoteKeeper) EXPECT() *MockBridgeFeeQuoteKeeperMockRecorder
- func (m *MockBridgeFeeQuoteKeeper) GetQuoteById(ctx context.Context, id *big.Int) (contract.IBridgeFeeQuoteQuoteInfo, error)
- func (m *MockBridgeFeeQuoteKeeper) GetQuotesByToken(ctx context.Context, chainName, denom string) ([]contract.IBridgeFeeQuoteQuoteInfo, error)
- type MockBridgeFeeQuoteKeeperMockRecorder
- type MockDistributionMsgServer
- type MockDistributionMsgServerMockRecorder
- type MockERC20TokenKeeper
- type MockERC20TokenKeeperMockRecorder
- type MockEVMKeeper
- type MockEVMKeeperMockRecorder
- type MockErc20Keeper
- func (m *MockErc20Keeper) BaseCoinToEvm(ctx context.Context, holder common.Address, coin types.Coin) (string, error)
- func (m *MockErc20Keeper) DeleteCache(ctx context.Context, key string) error
- func (m *MockErc20Keeper) EXPECT() *MockErc20KeeperMockRecorder
- func (m *MockErc20Keeper) GetBaseDenom(ctx context.Context, token string) (string, error)
- func (m *MockErc20Keeper) GetBridgeToken(ctx context.Context, chainName, baseDenom string) (types4.BridgeToken, error)
- func (m *MockErc20Keeper) GetBridgeTokens(ctx context.Context, chainName string) ([]types4.BridgeToken, error)
- func (m *MockErc20Keeper) GetCache(ctx context.Context, key string) (math.Int, error)
- func (m *MockErc20Keeper) GetERC20Token(ctx context.Context, baseDenom string) (types4.ERC20Token, error)
- func (m *MockErc20Keeper) GetIBCToken(ctx context.Context, channel, baseDenom string) (types4.IBCToken, error)
- func (m *MockErc20Keeper) HasCache(ctx context.Context, key string) (bool, error)
- func (m *MockErc20Keeper) HasToken(ctx context.Context, token string) (bool, error)
- func (m *MockErc20Keeper) ReSetCache(ctx context.Context, oldKey, newKey string) error
- func (m *MockErc20Keeper) SetCache(ctx context.Context, key string, amount math.Int) error
- type MockErc20KeeperMockRecorder
- func (mr *MockErc20KeeperMockRecorder) BaseCoinToEvm(ctx, holder, coin any) *gomock.Call
- func (mr *MockErc20KeeperMockRecorder) DeleteCache(ctx, key any) *gomock.Call
- func (mr *MockErc20KeeperMockRecorder) GetBaseDenom(ctx, token any) *gomock.Call
- func (mr *MockErc20KeeperMockRecorder) GetBridgeToken(ctx, chainName, baseDenom any) *gomock.Call
- func (mr *MockErc20KeeperMockRecorder) GetBridgeTokens(ctx, chainName any) *gomock.Call
- func (mr *MockErc20KeeperMockRecorder) GetCache(ctx, key any) *gomock.Call
- func (mr *MockErc20KeeperMockRecorder) GetERC20Token(ctx, baseDenom any) *gomock.Call
- func (mr *MockErc20KeeperMockRecorder) GetIBCToken(ctx, channel, baseDenom any) *gomock.Call
- func (mr *MockErc20KeeperMockRecorder) HasCache(ctx, key any) *gomock.Call
- func (mr *MockErc20KeeperMockRecorder) HasToken(ctx, token any) *gomock.Call
- func (mr *MockErc20KeeperMockRecorder) ReSetCache(ctx, oldKey, newKey any) *gomock.Call
- func (mr *MockErc20KeeperMockRecorder) SetCache(ctx, key, amount any) *gomock.Call
- type MockEvmERC20Keeper
- type MockEvmERC20KeeperMockRecorder
- type MockIBCTransferKeeper
- func (m *MockIBCTransferKeeper) EXPECT() *MockIBCTransferKeeperMockRecorder
- func (m *MockIBCTransferKeeper) GetDenomTrace(ctx types.Context, denomTraceHash bytes.HexBytes) (types2.DenomTrace, bool)
- func (m *MockIBCTransferKeeper) SetDenomTrace(ctx types.Context, denomTrace types2.DenomTrace)
- func (m *MockIBCTransferKeeper) Transfer(ctx context.Context, msg *types2.MsgTransfer) (*types2.MsgTransferResponse, error)
- type MockIBCTransferKeeperMockRecorder
- type MockStakingKeeper
- func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder
- func (m *MockStakingKeeper) GetDelegation(ctx context.Context, delAddr types.AccAddress, valAddr types.ValAddress) (types1.Delegation, error)
- func (m *MockStakingKeeper) GetUnbondingDelegation(ctx context.Context, delAddr types.AccAddress, valAddr types.ValAddress) (types1.UnbondingDelegation, error)
- func (m *MockStakingKeeper) GetValidator(ctx context.Context, addr types.ValAddress) (types1.Validator, error)
- type MockStakingKeeperMockRecorder
- type MockStakingMsgServer
- func (m *MockStakingMsgServer) BeginRedelegate(goCtx context.Context, msg *types1.MsgBeginRedelegate) (*types1.MsgBeginRedelegateResponse, error)
- func (m *MockStakingMsgServer) Delegate(goCtx context.Context, msg *types1.MsgDelegate) (*types1.MsgDelegateResponse, error)
- func (m *MockStakingMsgServer) EXPECT() *MockStakingMsgServerMockRecorder
- func (m *MockStakingMsgServer) Undelegate(goCtx context.Context, msg *types1.MsgUndelegate) (*types1.MsgUndelegateResponse, error)
- type MockStakingMsgServerMockRecorder
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 types.AccAddress) types.AccountI
GetAccount mocks base method.
func (*MockAccountKeeper) GetModuleAccount ¶
func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, moduleName string) types.ModuleAccountI
GetModuleAccount mocks base method.
func (*MockAccountKeeper) GetModuleAddress ¶
func (m *MockAccountKeeper) GetModuleAddress(name string) types.AccAddress
GetModuleAddress mocks base method.
func (*MockAccountKeeper) NewAccountWithAddress ¶
func (m *MockAccountKeeper) NewAccountWithAddress(ctx context.Context, addr types.AccAddress) types.AccountI
NewAccountWithAddress mocks base method.
func (*MockAccountKeeper) SetAccount ¶
func (m *MockAccountKeeper) SetAccount(ctx context.Context, acc types.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) GetModuleAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, moduleName any) *gomock.Call
GetModuleAccount indicates an expected call of GetModuleAccount.
func (*MockAccountKeeperMockRecorder) GetModuleAddress ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name any) *gomock.Call
GetModuleAddress indicates an expected call of GetModuleAddress.
func (*MockAccountKeeperMockRecorder) NewAccountWithAddress ¶
func (mr *MockAccountKeeperMockRecorder) NewAccountWithAddress(ctx, addr any) *gomock.Call
NewAccountWithAddress indicates an expected call of NewAccountWithAddress.
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 types.AccAddress) types.Coins
GetAllBalances mocks base method.
func (*MockBankKeeper) SendCoins ¶
func (m *MockBankKeeper) SendCoins(ctx context.Context, fromAddr, toAddr types.AccAddress, amt types.Coins) error
SendCoins mocks base method.
func (*MockBankKeeper) SendCoinsFromAccountToModule ¶
func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error
SendCoinsFromAccountToModule mocks base method.
func (*MockBankKeeper) SendCoinsFromModuleToAccount ¶
func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error
SendCoinsFromModuleToAccount mocks base method.
type MockBankKeeperMockRecorder ¶
type MockBankKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.
func (*MockBankKeeperMockRecorder) BurnCoins ¶
func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, name, amt any) *gomock.Call
BurnCoins indicates an expected call of BurnCoins.
func (*MockBankKeeperMockRecorder) GetAllBalances ¶
func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr any) *gomock.Call
GetAllBalances indicates an expected call of GetAllBalances.
func (*MockBankKeeperMockRecorder) GetSupply ¶
func (mr *MockBankKeeperMockRecorder) GetSupply(ctx, denom any) *gomock.Call
GetSupply indicates an expected call of GetSupply.
func (*MockBankKeeperMockRecorder) MintCoins ¶
func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, name, amt any) *gomock.Call
MintCoins indicates an expected call of MintCoins.
func (*MockBankKeeperMockRecorder) SendCoins ¶
func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt any) *gomock.Call
SendCoins indicates an expected call of SendCoins.
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.
type MockBridgeFeeQuoteKeeper ¶
type MockBridgeFeeQuoteKeeper struct {
// contains filtered or unexported fields
}
MockBridgeFeeQuoteKeeper is a mock of BridgeFeeQuoteKeeper interface.
func NewMockBridgeFeeQuoteKeeper ¶
func NewMockBridgeFeeQuoteKeeper(ctrl *gomock.Controller) *MockBridgeFeeQuoteKeeper
NewMockBridgeFeeQuoteKeeper creates a new mock instance.
func (*MockBridgeFeeQuoteKeeper) EXPECT ¶
func (m *MockBridgeFeeQuoteKeeper) EXPECT() *MockBridgeFeeQuoteKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBridgeFeeQuoteKeeper) GetQuoteById ¶
func (m *MockBridgeFeeQuoteKeeper) GetQuoteById(ctx context.Context, id *big.Int) (contract.IBridgeFeeQuoteQuoteInfo, error)
GetQuoteById mocks base method.
func (*MockBridgeFeeQuoteKeeper) GetQuotesByToken ¶
func (m *MockBridgeFeeQuoteKeeper) GetQuotesByToken(ctx context.Context, chainName, denom string) ([]contract.IBridgeFeeQuoteQuoteInfo, error)
GetQuotesByToken mocks base method.
type MockBridgeFeeQuoteKeeperMockRecorder ¶
type MockBridgeFeeQuoteKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBridgeFeeQuoteKeeperMockRecorder is the mock recorder for MockBridgeFeeQuoteKeeper.
func (*MockBridgeFeeQuoteKeeperMockRecorder) GetQuoteById ¶
func (mr *MockBridgeFeeQuoteKeeperMockRecorder) GetQuoteById(ctx, id any) *gomock.Call
GetQuoteById indicates an expected call of GetQuoteById.
func (*MockBridgeFeeQuoteKeeperMockRecorder) GetQuotesByToken ¶
func (mr *MockBridgeFeeQuoteKeeperMockRecorder) GetQuotesByToken(ctx, chainName, denom any) *gomock.Call
GetQuotesByToken indicates an expected call of GetQuotesByToken.
type MockDistributionMsgServer ¶
type MockDistributionMsgServer struct {
// contains filtered or unexported fields
}
MockDistributionMsgServer is a mock of DistributionMsgServer interface.
func NewMockDistributionMsgServer ¶
func NewMockDistributionMsgServer(ctrl *gomock.Controller) *MockDistributionMsgServer
NewMockDistributionMsgServer creates a new mock instance.
func (*MockDistributionMsgServer) EXPECT ¶
func (m *MockDistributionMsgServer) EXPECT() *MockDistributionMsgServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDistributionMsgServer) WithdrawDelegatorReward ¶
func (m *MockDistributionMsgServer) WithdrawDelegatorReward(goCtx context.Context, msg *types0.MsgWithdrawDelegatorReward) (*types0.MsgWithdrawDelegatorRewardResponse, error)
WithdrawDelegatorReward mocks base method.
type MockDistributionMsgServerMockRecorder ¶
type MockDistributionMsgServerMockRecorder struct {
// contains filtered or unexported fields
}
MockDistributionMsgServerMockRecorder is the mock recorder for MockDistributionMsgServer.
func (*MockDistributionMsgServerMockRecorder) WithdrawDelegatorReward ¶
func (mr *MockDistributionMsgServerMockRecorder) WithdrawDelegatorReward(goCtx, msg any) *gomock.Call
WithdrawDelegatorReward indicates an expected call of WithdrawDelegatorReward.
type MockERC20TokenKeeper ¶
type MockERC20TokenKeeper struct {
// contains filtered or unexported fields
}
MockERC20TokenKeeper is a mock of ERC20TokenKeeper interface.
func NewMockERC20TokenKeeper ¶
func NewMockERC20TokenKeeper(ctrl *gomock.Controller) *MockERC20TokenKeeper
NewMockERC20TokenKeeper creates a new mock instance.
func (*MockERC20TokenKeeper) EXPECT ¶
func (m *MockERC20TokenKeeper) EXPECT() *MockERC20TokenKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockERC20TokenKeeperMockRecorder ¶
type MockERC20TokenKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockERC20TokenKeeperMockRecorder is the mock recorder for MockERC20TokenKeeper.
type MockEVMKeeper ¶
type MockEVMKeeper struct {
// contains filtered or unexported fields
}
MockEVMKeeper is a mock of EVMKeeper interface.
func NewMockEVMKeeper ¶
func NewMockEVMKeeper(ctrl *gomock.Controller) *MockEVMKeeper
NewMockEVMKeeper creates a new mock instance.
func (*MockEVMKeeper) EXPECT ¶
func (m *MockEVMKeeper) EXPECT() *MockEVMKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEVMKeeper) ExecuteEVM ¶
func (m *MockEVMKeeper) ExecuteEVM(ctx types.Context, from common.Address, contract *common.Address, value *big.Int, gasLimit uint64, data []byte) (*types3.MsgEthereumTxResponse, error)
ExecuteEVM mocks base method.
func (*MockEVMKeeper) IsContract ¶
IsContract mocks base method.
type MockEVMKeeperMockRecorder ¶
type MockEVMKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockEVMKeeperMockRecorder is the mock recorder for MockEVMKeeper.
func (*MockEVMKeeperMockRecorder) ExecuteEVM ¶
func (mr *MockEVMKeeperMockRecorder) ExecuteEVM(ctx, from, contract, value, gasLimit, data any) *gomock.Call
ExecuteEVM indicates an expected call of ExecuteEVM.
func (*MockEVMKeeperMockRecorder) IsContract ¶
func (mr *MockEVMKeeperMockRecorder) IsContract(ctx, account any) *gomock.Call
IsContract indicates an expected call of IsContract.
type MockErc20Keeper ¶
type MockErc20Keeper struct {
// contains filtered or unexported fields
}
MockErc20Keeper is a mock of Erc20Keeper interface.
func NewMockErc20Keeper ¶
func NewMockErc20Keeper(ctrl *gomock.Controller) *MockErc20Keeper
NewMockErc20Keeper creates a new mock instance.
func (*MockErc20Keeper) BaseCoinToEvm ¶
func (m *MockErc20Keeper) BaseCoinToEvm(ctx context.Context, holder common.Address, coin types.Coin) (string, error)
BaseCoinToEvm mocks base method.
func (*MockErc20Keeper) DeleteCache ¶
func (m *MockErc20Keeper) DeleteCache(ctx context.Context, key string) error
DeleteCache mocks base method.
func (*MockErc20Keeper) EXPECT ¶
func (m *MockErc20Keeper) EXPECT() *MockErc20KeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockErc20Keeper) GetBaseDenom ¶
GetBaseDenom mocks base method.
func (*MockErc20Keeper) GetBridgeToken ¶
func (m *MockErc20Keeper) GetBridgeToken(ctx context.Context, chainName, baseDenom string) (types4.BridgeToken, error)
GetBridgeToken mocks base method.
func (*MockErc20Keeper) GetBridgeTokens ¶
func (m *MockErc20Keeper) GetBridgeTokens(ctx context.Context, chainName string) ([]types4.BridgeToken, error)
GetBridgeTokens mocks base method.
func (*MockErc20Keeper) GetERC20Token ¶
func (m *MockErc20Keeper) GetERC20Token(ctx context.Context, baseDenom string) (types4.ERC20Token, error)
GetERC20Token mocks base method.
func (*MockErc20Keeper) GetIBCToken ¶
func (m *MockErc20Keeper) GetIBCToken(ctx context.Context, channel, baseDenom string) (types4.IBCToken, error)
GetIBCToken mocks base method.
func (*MockErc20Keeper) ReSetCache ¶
func (m *MockErc20Keeper) ReSetCache(ctx context.Context, oldKey, newKey string) error
ReSetCache mocks base method.
type MockErc20KeeperMockRecorder ¶
type MockErc20KeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockErc20KeeperMockRecorder is the mock recorder for MockErc20Keeper.
func (*MockErc20KeeperMockRecorder) BaseCoinToEvm ¶
func (mr *MockErc20KeeperMockRecorder) BaseCoinToEvm(ctx, holder, coin any) *gomock.Call
BaseCoinToEvm indicates an expected call of BaseCoinToEvm.
func (*MockErc20KeeperMockRecorder) DeleteCache ¶
func (mr *MockErc20KeeperMockRecorder) DeleteCache(ctx, key any) *gomock.Call
DeleteCache indicates an expected call of DeleteCache.
func (*MockErc20KeeperMockRecorder) GetBaseDenom ¶
func (mr *MockErc20KeeperMockRecorder) GetBaseDenom(ctx, token any) *gomock.Call
GetBaseDenom indicates an expected call of GetBaseDenom.
func (*MockErc20KeeperMockRecorder) GetBridgeToken ¶
func (mr *MockErc20KeeperMockRecorder) GetBridgeToken(ctx, chainName, baseDenom any) *gomock.Call
GetBridgeToken indicates an expected call of GetBridgeToken.
func (*MockErc20KeeperMockRecorder) GetBridgeTokens ¶
func (mr *MockErc20KeeperMockRecorder) GetBridgeTokens(ctx, chainName any) *gomock.Call
GetBridgeTokens indicates an expected call of GetBridgeTokens.
func (*MockErc20KeeperMockRecorder) GetCache ¶
func (mr *MockErc20KeeperMockRecorder) GetCache(ctx, key any) *gomock.Call
GetCache indicates an expected call of GetCache.
func (*MockErc20KeeperMockRecorder) GetERC20Token ¶
func (mr *MockErc20KeeperMockRecorder) GetERC20Token(ctx, baseDenom any) *gomock.Call
GetERC20Token indicates an expected call of GetERC20Token.
func (*MockErc20KeeperMockRecorder) GetIBCToken ¶
func (mr *MockErc20KeeperMockRecorder) GetIBCToken(ctx, channel, baseDenom any) *gomock.Call
GetIBCToken indicates an expected call of GetIBCToken.
func (*MockErc20KeeperMockRecorder) HasCache ¶
func (mr *MockErc20KeeperMockRecorder) HasCache(ctx, key any) *gomock.Call
HasCache indicates an expected call of HasCache.
func (*MockErc20KeeperMockRecorder) HasToken ¶
func (mr *MockErc20KeeperMockRecorder) HasToken(ctx, token any) *gomock.Call
HasToken indicates an expected call of HasToken.
func (*MockErc20KeeperMockRecorder) ReSetCache ¶
func (mr *MockErc20KeeperMockRecorder) ReSetCache(ctx, oldKey, newKey any) *gomock.Call
ReSetCache indicates an expected call of ReSetCache.
type MockEvmERC20Keeper ¶
type MockEvmERC20Keeper struct {
// contains filtered or unexported fields
}
MockEvmERC20Keeper is a mock of EvmERC20Keeper interface.
func NewMockEvmERC20Keeper ¶
func NewMockEvmERC20Keeper(ctrl *gomock.Controller) *MockEvmERC20Keeper
NewMockEvmERC20Keeper creates a new mock instance.
func (*MockEvmERC20Keeper) EXPECT ¶
func (m *MockEvmERC20Keeper) EXPECT() *MockEvmERC20KeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEvmERC20Keeper) TotalSupply ¶
func (m *MockEvmERC20Keeper) TotalSupply(arg0 context.Context, arg1 common.Address) (*big.Int, error)
TotalSupply mocks base method.
type MockEvmERC20KeeperMockRecorder ¶
type MockEvmERC20KeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockEvmERC20KeeperMockRecorder is the mock recorder for MockEvmERC20Keeper.
func (*MockEvmERC20KeeperMockRecorder) TotalSupply ¶
func (mr *MockEvmERC20KeeperMockRecorder) TotalSupply(arg0, arg1 any) *gomock.Call
TotalSupply indicates an expected call of TotalSupply.
type MockIBCTransferKeeper ¶
type MockIBCTransferKeeper struct {
// contains filtered or unexported fields
}
MockIBCTransferKeeper is a mock of IBCTransferKeeper interface.
func NewMockIBCTransferKeeper ¶
func NewMockIBCTransferKeeper(ctrl *gomock.Controller) *MockIBCTransferKeeper
NewMockIBCTransferKeeper creates a new mock instance.
func (*MockIBCTransferKeeper) EXPECT ¶
func (m *MockIBCTransferKeeper) EXPECT() *MockIBCTransferKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBCTransferKeeper) GetDenomTrace ¶
func (m *MockIBCTransferKeeper) GetDenomTrace(ctx types.Context, denomTraceHash bytes.HexBytes) (types2.DenomTrace, bool)
GetDenomTrace mocks base method.
func (*MockIBCTransferKeeper) SetDenomTrace ¶
func (m *MockIBCTransferKeeper) SetDenomTrace(ctx types.Context, denomTrace types2.DenomTrace)
SetDenomTrace mocks base method.
func (*MockIBCTransferKeeper) Transfer ¶
func (m *MockIBCTransferKeeper) Transfer(ctx context.Context, msg *types2.MsgTransfer) (*types2.MsgTransferResponse, error)
Transfer mocks base method.
type MockIBCTransferKeeperMockRecorder ¶
type MockIBCTransferKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockIBCTransferKeeperMockRecorder is the mock recorder for MockIBCTransferKeeper.
func (*MockIBCTransferKeeperMockRecorder) GetDenomTrace ¶
func (mr *MockIBCTransferKeeperMockRecorder) GetDenomTrace(ctx, denomTraceHash any) *gomock.Call
GetDenomTrace indicates an expected call of GetDenomTrace.
func (*MockIBCTransferKeeperMockRecorder) SetDenomTrace ¶
func (mr *MockIBCTransferKeeperMockRecorder) SetDenomTrace(ctx, denomTrace any) *gomock.Call
SetDenomTrace indicates an expected call of SetDenomTrace.
type MockStakingKeeper ¶
type MockStakingKeeper struct {
// contains filtered or unexported fields
}
MockStakingKeeper is a mock of StakingKeeper interface.
func NewMockStakingKeeper ¶
func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper
NewMockStakingKeeper creates a new mock instance.
func (*MockStakingKeeper) EXPECT ¶
func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStakingKeeper) GetDelegation ¶
func (m *MockStakingKeeper) GetDelegation(ctx context.Context, delAddr types.AccAddress, valAddr types.ValAddress) (types1.Delegation, error)
GetDelegation mocks base method.
func (*MockStakingKeeper) GetUnbondingDelegation ¶
func (m *MockStakingKeeper) GetUnbondingDelegation(ctx context.Context, delAddr types.AccAddress, valAddr types.ValAddress) (types1.UnbondingDelegation, error)
GetUnbondingDelegation mocks base method.
func (*MockStakingKeeper) GetValidator ¶
func (m *MockStakingKeeper) GetValidator(ctx context.Context, addr types.ValAddress) (types1.Validator, error)
GetValidator mocks base method.
type MockStakingKeeperMockRecorder ¶
type MockStakingKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper.
func (*MockStakingKeeperMockRecorder) GetDelegation ¶
func (mr *MockStakingKeeperMockRecorder) GetDelegation(ctx, delAddr, valAddr any) *gomock.Call
GetDelegation indicates an expected call of GetDelegation.
func (*MockStakingKeeperMockRecorder) GetUnbondingDelegation ¶
func (mr *MockStakingKeeperMockRecorder) GetUnbondingDelegation(ctx, delAddr, valAddr any) *gomock.Call
GetUnbondingDelegation indicates an expected call of GetUnbondingDelegation.
func (*MockStakingKeeperMockRecorder) GetValidator ¶
func (mr *MockStakingKeeperMockRecorder) GetValidator(ctx, addr any) *gomock.Call
GetValidator indicates an expected call of GetValidator.
type MockStakingMsgServer ¶
type MockStakingMsgServer struct {
// contains filtered or unexported fields
}
MockStakingMsgServer is a mock of StakingMsgServer interface.
func NewMockStakingMsgServer ¶
func NewMockStakingMsgServer(ctrl *gomock.Controller) *MockStakingMsgServer
NewMockStakingMsgServer creates a new mock instance.
func (*MockStakingMsgServer) BeginRedelegate ¶
func (m *MockStakingMsgServer) BeginRedelegate(goCtx context.Context, msg *types1.MsgBeginRedelegate) (*types1.MsgBeginRedelegateResponse, error)
BeginRedelegate mocks base method.
func (*MockStakingMsgServer) Delegate ¶
func (m *MockStakingMsgServer) Delegate(goCtx context.Context, msg *types1.MsgDelegate) (*types1.MsgDelegateResponse, error)
Delegate mocks base method.
func (*MockStakingMsgServer) EXPECT ¶
func (m *MockStakingMsgServer) EXPECT() *MockStakingMsgServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStakingMsgServer) Undelegate ¶
func (m *MockStakingMsgServer) Undelegate(goCtx context.Context, msg *types1.MsgUndelegate) (*types1.MsgUndelegateResponse, error)
Undelegate mocks base method.
type MockStakingMsgServerMockRecorder ¶
type MockStakingMsgServerMockRecorder struct {
// contains filtered or unexported fields
}
MockStakingMsgServerMockRecorder is the mock recorder for MockStakingMsgServer.
func (*MockStakingMsgServerMockRecorder) BeginRedelegate ¶
func (mr *MockStakingMsgServerMockRecorder) BeginRedelegate(goCtx, msg any) *gomock.Call
BeginRedelegate indicates an expected call of BeginRedelegate.
func (*MockStakingMsgServerMockRecorder) Delegate ¶
func (mr *MockStakingMsgServerMockRecorder) Delegate(goCtx, msg any) *gomock.Call
Delegate indicates an expected call of Delegate.
func (*MockStakingMsgServerMockRecorder) Undelegate ¶
func (mr *MockStakingMsgServerMockRecorder) Undelegate(goCtx, msg any) *gomock.Call
Undelegate indicates an expected call of Undelegate.