mock_listener

package
v0.0.0-...-1b15b10 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_listener is a generated GoMock package.

Package mock_listener is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlockstorer

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

MockBlockstorer is a mock of Blockstorer interface.

func NewMockBlockstorer

func NewMockBlockstorer(ctrl *gomock.Controller) *MockBlockstorer

NewMockBlockstorer creates a new mock instance.

func (*MockBlockstorer) EXPECT

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

func (*MockBlockstorer) StoreBlock

func (m *MockBlockstorer) StoreBlock(arg0 *big.Int) error

StoreBlock mocks base method.

type MockBlockstorerMockRecorder

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

MockBlockstorerMockRecorder is the mock recorder for MockBlockstorer.

func (*MockBlockstorerMockRecorder) StoreBlock

func (mr *MockBlockstorerMockRecorder) StoreBlock(arg0 interface{}) *gomock.Call

StoreBlock indicates an expected call of StoreBlock.

type MockIBridge

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

MockIBridge is a mock of IBridge interface

func NewMockIBridge

func NewMockIBridge(ctrl *gomock.Controller) *MockIBridge

NewMockIBridge creates a new mock instance

func (*MockIBridge) EXPECT

func (m *MockIBridge) EXPECT() *MockIBridgeMockRecorder

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

func (*MockIBridge) ResourceIDToHandlerAddress

func (m *MockIBridge) ResourceIDToHandlerAddress(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)

ResourceIDToHandlerAddress mocks base method

type MockIBridgeMockRecorder

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

MockIBridgeMockRecorder is the mock recorder for MockIBridge

func (*MockIBridgeMockRecorder) ResourceIDToHandlerAddress

func (mr *MockIBridgeMockRecorder) ResourceIDToHandlerAddress(opts, arg0 interface{}) *gomock.Call

ResourceIDToHandlerAddress indicates an expected call of ResourceIDToHandlerAddress

type MockIERC20Handler

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

MockIERC20Handler is a mock of IERC20Handler interface

func NewMockIERC20Handler

func NewMockIERC20Handler(ctrl *gomock.Controller) *MockIERC20Handler

NewMockIERC20Handler creates a new mock instance

func (*MockIERC20Handler) EXPECT

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

func (*MockIERC20Handler) GetDepositRecord

func (m *MockIERC20Handler) GetDepositRecord(opts *bind.CallOpts, depositNonce uint64, destId uint8) (ERC20Handler.ERC20HandlerDepositRecord, error)

GetDepositRecord mocks base method

type MockIERC20HandlerMockRecorder

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

MockIERC20HandlerMockRecorder is the mock recorder for MockIERC20Handler

func (*MockIERC20HandlerMockRecorder) GetDepositRecord

func (mr *MockIERC20HandlerMockRecorder) GetDepositRecord(opts, depositNonce, destId interface{}) *gomock.Call

GetDepositRecord indicates an expected call of GetDepositRecord

type MockIERC721Handler

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

MockIERC721Handler is a mock of IERC721Handler interface

func NewMockIERC721Handler

func NewMockIERC721Handler(ctrl *gomock.Controller) *MockIERC721Handler

NewMockIERC721Handler creates a new mock instance

func (*MockIERC721Handler) EXPECT

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

func (*MockIERC721Handler) GetDepositRecord

func (m *MockIERC721Handler) GetDepositRecord(opts *bind.CallOpts, depositNonce uint64, destId uint8) (ERC721Handler.ERC721HandlerDepositRecord, error)

GetDepositRecord mocks base method

type MockIERC721HandlerMockRecorder

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

MockIERC721HandlerMockRecorder is the mock recorder for MockIERC721Handler

func (*MockIERC721HandlerMockRecorder) GetDepositRecord

func (mr *MockIERC721HandlerMockRecorder) GetDepositRecord(opts, depositNonce, destId interface{}) *gomock.Call

GetDepositRecord indicates an expected call of GetDepositRecord

type MockIGenericHandler

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

MockIGenericHandler is a mock of IGenericHandler interface

func NewMockIGenericHandler

func NewMockIGenericHandler(ctrl *gomock.Controller) *MockIGenericHandler

NewMockIGenericHandler creates a new mock instance

func (*MockIGenericHandler) EXPECT

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

func (*MockIGenericHandler) GetDepositRecord

func (m *MockIGenericHandler) GetDepositRecord(opts *bind.CallOpts, depositNonce uint64, destId uint8) (GenericHandler.GenericHandlerDepositRecord, error)

GetDepositRecord mocks base method

type MockIGenericHandlerMockRecorder

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

MockIGenericHandlerMockRecorder is the mock recorder for MockIGenericHandler

func (*MockIGenericHandlerMockRecorder) GetDepositRecord

func (mr *MockIGenericHandlerMockRecorder) GetDepositRecord(opts, depositNonce, destId interface{}) *gomock.Call

GetDepositRecord indicates an expected call of GetDepositRecord

type MockIRouter

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

MockIRouter is a mock of IRouter interface.

func NewMockIRouter

func NewMockIRouter(ctrl *gomock.Controller) *MockIRouter

NewMockIRouter creates a new mock instance.

func (*MockIRouter) EXPECT

func (m *MockIRouter) EXPECT() *MockIRouterMockRecorder

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

func (*MockIRouter) Send

func (m *MockIRouter) Send(msg *utils.Message) error

Send mocks base method.

type MockIRouterMockRecorder

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

MockIRouterMockRecorder is the mock recorder for MockIRouter.

func (*MockIRouterMockRecorder) Send

func (mr *MockIRouterMockRecorder) Send(msg interface{}) *gomock.Call

Send indicates an expected call of Send.

type MockValidatorsAggregator

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

MockValidatorsAggregator is a mock of ValidatorsAggregator interface.

func NewMockValidatorsAggregator

func NewMockValidatorsAggregator(ctrl *gomock.Controller) *MockValidatorsAggregator

NewMockValidatorsAggregator creates a new mock instance.

func (*MockValidatorsAggregator) EXPECT

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

func (*MockValidatorsAggregator) GetAPKForBlock

func (m *MockValidatorsAggregator) GetAPKForBlock(block *big.Int, chainID uint8, epochSize uint64) ([]byte, error)

GetAPKForBlock mocks base method.

type MockValidatorsAggregatorMockRecorder

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

MockValidatorsAggregatorMockRecorder is the mock recorder for MockValidatorsAggregator.

func (*MockValidatorsAggregatorMockRecorder) GetAPKForBlock

func (mr *MockValidatorsAggregatorMockRecorder) GetAPKForBlock(block, chainID, epochSize interface{}) *gomock.Call

GetAPKForBlock indicates an expected call of GetAPKForBlock.

Jump to

Keyboard shortcuts

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