mocks

package
v2.9.1-vrf-20240219 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ETHClient

type ETHClient struct {
	mock.Mock
}

ETHClient is an autogenerated mock type for the ethClient type

func NewETHClient

func NewETHClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ETHClient

NewETHClient creates a new instance of ETHClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ETHClient) CallContract

func (_m *ETHClient) CallContract(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)

CallContract provides a mock function with given fields: ctx, msg, blockNumber

type L1Oracle

type L1Oracle struct {
	mock.Mock
}

L1Oracle is an autogenerated mock type for the L1Oracle type

func NewL1Oracle

func NewL1Oracle(t interface {
	mock.TestingT
	Cleanup(func())
}) *L1Oracle

NewL1Oracle creates a new instance of L1Oracle. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*L1Oracle) Close

func (_m *L1Oracle) Close() error

Close provides a mock function with given fields:

func (*L1Oracle) GasPrice

func (_m *L1Oracle) GasPrice(ctx context.Context) (*assets.Wei, error)

GasPrice provides a mock function with given fields: ctx

func (*L1Oracle) HealthReport

func (_m *L1Oracle) HealthReport() map[string]error

HealthReport provides a mock function with given fields:

func (*L1Oracle) Name

func (_m *L1Oracle) Name() string

Name provides a mock function with given fields:

func (*L1Oracle) Ready

func (_m *L1Oracle) Ready() error

Ready provides a mock function with given fields:

func (*L1Oracle) Start

func (_m *L1Oracle) Start(_a0 context.Context) error

Start provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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