mocks

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractListener

type ContractListener struct {
	mock.Mock
}

ContractListener is an autogenerated mock type for the ContractListener type

func NewContractListener

func NewContractListener(t mockConstructorTestingTNewContractListener) *ContractListener

NewContractListener creates a new instance of ContractListener. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ContractListener) Address

func (_m *ContractListener) Address() common.Address

Address provides a mock function with given fields:

func (*ContractListener) LatestBlock

func (_m *ContractListener) LatestBlock() uint64

LatestBlock provides a mock function with given fields:

func (*ContractListener) Listen

func (_m *ContractListener) Listen(ctx context.Context, handler listener.HandleLog) error

Listen provides a mock function with given fields: ctx, handler

Jump to

Keyboard shortcuts

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