mock_listener

package
v1.0.27 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

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 MockChainClient

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

MockChainClient is a mock of ChainClient interface.

func NewMockChainClient

func NewMockChainClient(ctrl *gomock.Controller) *MockChainClient

NewMockChainClient creates a new mock instance.

func (*MockChainClient) CallContract

func (m *MockChainClient) CallContract(ctx context.Context, callArgs map[string]interface{}, blockNumber *big.Int) ([]byte, error)

CallContract mocks base method.

func (*MockChainClient) EXPECT

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

func (*MockChainClient) FetchDepositLogs

func (m *MockChainClient) FetchDepositLogs(ctx context.Context, address common.Address, startBlock, endBlock *big.Int) ([]*evmclient.DepositLogs, error)

FetchDepositLogs mocks base method.

func (*MockChainClient) LatestBlock

func (m *MockChainClient) LatestBlock() (*big.Int, error)

LatestBlock mocks base method.

type MockChainClientMockRecorder

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

MockChainClientMockRecorder is the mock recorder for MockChainClient.

func (*MockChainClientMockRecorder) CallContract

func (mr *MockChainClientMockRecorder) CallContract(ctx, callArgs, blockNumber interface{}) *gomock.Call

CallContract indicates an expected call of CallContract.

func (*MockChainClientMockRecorder) FetchDepositLogs

func (mr *MockChainClientMockRecorder) FetchDepositLogs(ctx, address, startBlock, endBlock interface{}) *gomock.Call

FetchDepositLogs indicates an expected call of FetchDepositLogs.

func (*MockChainClientMockRecorder) LatestBlock

func (mr *MockChainClientMockRecorder) LatestBlock() *gomock.Call

LatestBlock indicates an expected call of LatestBlock.

type MockEventHandler

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

MockEventHandler is a mock of EventHandler interface.

func NewMockEventHandler

func NewMockEventHandler(ctrl *gomock.Controller) *MockEventHandler

NewMockEventHandler creates a new mock instance.

func (*MockEventHandler) EXPECT

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

func (*MockEventHandler) HandleEvent

func (m *MockEventHandler) HandleEvent(sourceID, destID uint8, nonce uint64, resourceID types.ResourceID, calldata, handlerResponse []byte) (*message.Message, error)

HandleEvent mocks base method.

func (*MockEventHandler) SignaturesContract

func (m *MockEventHandler) SignaturesContract() signatures.SignaturesContract

type MockEventHandlerMockRecorder

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

MockEventHandlerMockRecorder is the mock recorder for MockEventHandler.

func (*MockEventHandlerMockRecorder) HandleEvent

func (mr *MockEventHandlerMockRecorder) HandleEvent(sourceID, destID, nonce, resourceID, calldata, handlerResponse interface{}) *gomock.Call

HandleEvent indicates an expected call of HandleEvent.

Jump to

Keyboard shortcuts

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