Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockBankKeeper
- func (m *MockBankKeeper) BurnCoins(ctx context.Context, moduleName string, amt types.Coins) error
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) GetBalance(ctx context.Context, addr types.AccAddress, denom string) types.Coin
- func (m *MockBankKeeper) MintCoins(ctx context.Context, moduleName string, 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, moduleName, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
- type MockEVMKeeper
- func (m *MockEVMKeeper) CallEVM(ctx types.Context, stateDB *statedb.StateDB, abi abi.ABI, ...) (*types0.MsgEthereumTxResponse, error)
- func (m *MockEVMKeeper) DerivedEVMCall(ctx types.Context, abi abi.ABI, from, contract common.Address, ...) (*types0.MsgEthereumTxResponse, error)
- func (m *MockEVMKeeper) EXPECT() *MockEVMKeeperMockRecorder
- func (m *MockEVMKeeper) GetCodeHash(ctx types.Context, addr common.Address) common.Hash
- func (m *MockEVMKeeper) NewStateDB(ctx types.Context) *statedb.StateDB
- func (m *MockEVMKeeper) SetAccount(ctx types.Context, addr common.Address, account statedb.Account) error
- func (m *MockEVMKeeper) SetCode(ctx types.Context, codeHash, code []byte)
- func (m *MockEVMKeeper) SetState(ctx types.Context, addr common.Address, key common.Hash, value []byte)
- type MockEVMKeeperMockRecorder
- func (mr *MockEVMKeeperMockRecorder) CallEVM(...) *gomock.Call
- func (mr *MockEVMKeeperMockRecorder) DerivedEVMCall(...) *gomock.Call
- func (mr *MockEVMKeeperMockRecorder) GetCodeHash(ctx, addr interface{}) *gomock.Call
- func (mr *MockEVMKeeperMockRecorder) NewStateDB(ctx interface{}) *gomock.Call
- func (mr *MockEVMKeeperMockRecorder) SetAccount(ctx, addr, account interface{}) *gomock.Call
- func (mr *MockEVMKeeperMockRecorder) SetCode(ctx, codeHash, code interface{}) *gomock.Call
- func (mr *MockEVMKeeperMockRecorder) SetState(ctx, addr, key, value interface{}) *gomock.Call
- type MockUregistryKeeper
- func (m *MockUregistryKeeper) EXPECT() *MockUregistryKeeperMockRecorder
- func (m *MockUregistryKeeper) GetChainConfig(ctx context.Context, chain string) (uregistrytypes.ChainConfig, error)
- func (m *MockUregistryKeeper) GetTokenConfig(ctx context.Context, chain, address string) (uregistrytypes.TokenConfig, error)
- func (m *MockUregistryKeeper) GetTokenConfigByPRC20(ctx context.Context, chain, prc20Addr string) (uregistrytypes.TokenConfig, error)
- func (m *MockUregistryKeeper) IsChainInboundEnabled(ctx context.Context, chain string) (bool, error)
- func (m *MockUregistryKeeper) IsChainOutboundEnabled(ctx context.Context, chain string) (bool, error)
- type MockUregistryKeeperMockRecorder
- func (mr *MockUregistryKeeperMockRecorder) GetChainConfig(ctx, chain interface{}) *gomock.Call
- func (mr *MockUregistryKeeperMockRecorder) GetTokenConfig(ctx, chain, address interface{}) *gomock.Call
- func (mr *MockUregistryKeeperMockRecorder) GetTokenConfigByPRC20(ctx, chain, prc20Addr interface{}) *gomock.Call
- func (mr *MockUregistryKeeperMockRecorder) IsChainInboundEnabled(ctx, chain interface{}) *gomock.Call
- func (mr *MockUregistryKeeperMockRecorder) IsChainOutboundEnabled(ctx, chain interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) GetBalance ¶ added in v0.0.27
func (m *MockBankKeeper) GetBalance(ctx context.Context, addr types.AccAddress, denom string) types.Coin
GetBalance 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, moduleName, amt interface{}) *gomock.Call
BurnCoins indicates an expected call of BurnCoins.
func (*MockBankKeeperMockRecorder) GetBalance ¶ added in v0.0.27
func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call
GetBalance indicates an expected call of GetBalance.
func (*MockBankKeeperMockRecorder) MintCoins ¶
func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt interface{}) *gomock.Call
MintCoins indicates an expected call of MintCoins.
func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.
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) CallEVM ¶
func (m *MockEVMKeeper) CallEVM(ctx types.Context, stateDB *statedb.StateDB, abi abi.ABI, from, contract common.Address, commit, callFromPrecompile bool, gasCap *big.Int, method string, args ...interface{}) (*types0.MsgEthereumTxResponse, error)
CallEVM mocks base method.
func (*MockEVMKeeper) DerivedEVMCall ¶
func (m *MockEVMKeeper) DerivedEVMCall(ctx types.Context, abi abi.ABI, from, contract common.Address, value, gasLimit *big.Int, commit, gasless, isModuleSender bool, manualNonce *uint64, method string, args ...interface{}) (*types0.MsgEthereumTxResponse, error)
DerivedEVMCall mocks base method.
func (*MockEVMKeeper) EXPECT ¶
func (m *MockEVMKeeper) EXPECT() *MockEVMKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEVMKeeper) GetCodeHash ¶ added in v0.0.27
GetCodeHash mocks base method.
func (*MockEVMKeeper) NewStateDB ¶ added in v0.0.41
func (m *MockEVMKeeper) NewStateDB(ctx types.Context) *statedb.StateDB
NewStateDB mocks base method.
func (*MockEVMKeeper) SetAccount ¶
func (m *MockEVMKeeper) SetAccount(ctx types.Context, addr common.Address, account statedb.Account) error
SetAccount mocks base method.
type MockEVMKeeperMockRecorder ¶
type MockEVMKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockEVMKeeperMockRecorder is the mock recorder for MockEVMKeeper.
func (*MockEVMKeeperMockRecorder) CallEVM ¶
func (mr *MockEVMKeeperMockRecorder) CallEVM(ctx, stateDB, abi, from, contract, commit, callFromPrecompile, gasCap, method interface{}, args ...interface{}) *gomock.Call
CallEVM indicates an expected call of CallEVM.
func (*MockEVMKeeperMockRecorder) DerivedEVMCall ¶
func (mr *MockEVMKeeperMockRecorder) DerivedEVMCall(ctx, abi, from, contract, value, gasLimit, commit, gasless, isModuleSender, manualNonce, method interface{}, args ...interface{}) *gomock.Call
DerivedEVMCall indicates an expected call of DerivedEVMCall.
func (*MockEVMKeeperMockRecorder) GetCodeHash ¶ added in v0.0.27
func (mr *MockEVMKeeperMockRecorder) GetCodeHash(ctx, addr interface{}) *gomock.Call
GetCodeHash indicates an expected call of GetCodeHash.
func (*MockEVMKeeperMockRecorder) NewStateDB ¶ added in v0.0.41
func (mr *MockEVMKeeperMockRecorder) NewStateDB(ctx interface{}) *gomock.Call
NewStateDB indicates an expected call of NewStateDB.
func (*MockEVMKeeperMockRecorder) SetAccount ¶
func (mr *MockEVMKeeperMockRecorder) SetAccount(ctx, addr, account interface{}) *gomock.Call
SetAccount indicates an expected call of SetAccount.
func (*MockEVMKeeperMockRecorder) SetCode ¶
func (mr *MockEVMKeeperMockRecorder) SetCode(ctx, codeHash, code interface{}) *gomock.Call
SetCode indicates an expected call of SetCode.
func (*MockEVMKeeperMockRecorder) SetState ¶
func (mr *MockEVMKeeperMockRecorder) SetState(ctx, addr, key, value interface{}) *gomock.Call
SetState indicates an expected call of SetState.
type MockUregistryKeeper ¶
type MockUregistryKeeper struct {
// contains filtered or unexported fields
}
MockUregistryKeeper is a mock of UregistryKeeper interface.
func NewMockUregistryKeeper ¶
func NewMockUregistryKeeper(ctrl *gomock.Controller) *MockUregistryKeeper
NewMockUregistryKeeper creates a new mock instance.
func (*MockUregistryKeeper) EXPECT ¶
func (m *MockUregistryKeeper) EXPECT() *MockUregistryKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUregistryKeeper) GetChainConfig ¶
func (m *MockUregistryKeeper) GetChainConfig(ctx context.Context, chain string) (uregistrytypes.ChainConfig, error)
GetChainConfig mocks base method.
func (*MockUregistryKeeper) GetTokenConfig ¶
func (m *MockUregistryKeeper) GetTokenConfig(ctx context.Context, chain, address string) (uregistrytypes.TokenConfig, error)
GetTokenConfig mocks base method.
func (*MockUregistryKeeper) GetTokenConfigByPRC20 ¶ added in v0.0.13
func (m *MockUregistryKeeper) GetTokenConfigByPRC20(ctx context.Context, chain, prc20Addr string) (uregistrytypes.TokenConfig, error)
GetTokenConfigByPRC20 mocks base method.
func (*MockUregistryKeeper) IsChainInboundEnabled ¶
func (m *MockUregistryKeeper) IsChainInboundEnabled(ctx context.Context, chain string) (bool, error)
IsChainInboundEnabled mocks base method.
func (*MockUregistryKeeper) IsChainOutboundEnabled ¶
func (m *MockUregistryKeeper) IsChainOutboundEnabled(ctx context.Context, chain string) (bool, error)
IsChainOutboundEnabled mocks base method.
type MockUregistryKeeperMockRecorder ¶
type MockUregistryKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockUregistryKeeperMockRecorder is the mock recorder for MockUregistryKeeper.
func (*MockUregistryKeeperMockRecorder) GetChainConfig ¶
func (mr *MockUregistryKeeperMockRecorder) GetChainConfig(ctx, chain interface{}) *gomock.Call
GetChainConfig indicates an expected call of GetChainConfig.
func (*MockUregistryKeeperMockRecorder) GetTokenConfig ¶
func (mr *MockUregistryKeeperMockRecorder) GetTokenConfig(ctx, chain, address interface{}) *gomock.Call
GetTokenConfig indicates an expected call of GetTokenConfig.
func (*MockUregistryKeeperMockRecorder) GetTokenConfigByPRC20 ¶ added in v0.0.13
func (mr *MockUregistryKeeperMockRecorder) GetTokenConfigByPRC20(ctx, chain, prc20Addr interface{}) *gomock.Call
GetTokenConfigByPRC20 indicates an expected call of GetTokenConfigByPRC20.
func (*MockUregistryKeeperMockRecorder) IsChainInboundEnabled ¶
func (mr *MockUregistryKeeperMockRecorder) IsChainInboundEnabled(ctx, chain interface{}) *gomock.Call
IsChainInboundEnabled indicates an expected call of IsChainInboundEnabled.
func (*MockUregistryKeeperMockRecorder) IsChainOutboundEnabled ¶
func (mr *MockUregistryKeeperMockRecorder) IsChainOutboundEnabled(ctx, chain interface{}) *gomock.Call
IsChainOutboundEnabled indicates an expected call of IsChainOutboundEnabled.