mocks

package
v0.0.42 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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

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

BurnCoins mocks base method.

func (*MockBankKeeper) EXPECT

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

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

MintCoins 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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEVMKeeper) GetCodeHash added in v0.0.27

func (m *MockEVMKeeper) GetCodeHash(ctx types.Context, addr common.Address) common.Hash

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.

func (*MockEVMKeeper) SetCode

func (m *MockEVMKeeper) SetCode(ctx types.Context, codeHash, code []byte)

SetCode mocks base method.

func (*MockEVMKeeper) SetState

func (m *MockEVMKeeper) SetState(ctx types.Context, addr common.Address, key common.Hash, value []byte)

SetState 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

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.

Jump to

Keyboard shortcuts

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