mocks

package
v0.0.0-...-3674750 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoopRelayAdapter

type LoopRelayAdapter struct {
	mock.Mock
}

LoopRelayAdapter is an autogenerated mock type for the LoopRelayAdapter type

func NewLoopRelayAdapter

func NewLoopRelayAdapter(t interface {
	mock.TestingT
	Cleanup(func())
}) *LoopRelayAdapter

NewLoopRelayAdapter creates a new instance of LoopRelayAdapter. 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 (*LoopRelayAdapter) Chain

func (_m *LoopRelayAdapter) Chain() legacyevm.Chain

Chain provides a mock function with given fields:

func (*LoopRelayAdapter) Close

func (_m *LoopRelayAdapter) Close() error

Close provides a mock function with given fields:

func (*LoopRelayAdapter) GetChainStatus

func (_m *LoopRelayAdapter) GetChainStatus(ctx context.Context) (types.ChainStatus, error)

GetChainStatus provides a mock function with given fields: ctx

func (*LoopRelayAdapter) HealthReport

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

HealthReport provides a mock function with given fields:

func (*LoopRelayAdapter) ListNodeStatuses

func (_m *LoopRelayAdapter) ListNodeStatuses(ctx context.Context, pageSize int32, pageToken string) ([]types.NodeStatus, string, int, error)

ListNodeStatuses provides a mock function with given fields: ctx, pageSize, pageToken

func (*LoopRelayAdapter) Name

func (_m *LoopRelayAdapter) Name() string

Name provides a mock function with given fields:

func (*LoopRelayAdapter) Ready

func (_m *LoopRelayAdapter) Ready() error

Ready provides a mock function with given fields:

func (*LoopRelayAdapter) Start

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

Start provides a mock function with given fields: _a0

func (*LoopRelayAdapter) Transact

func (_m *LoopRelayAdapter) Transact(ctx context.Context, from string, to string, amount *big.Int, balanceCheck bool) error

Transact provides a mock function with given fields: ctx, from, to, amount, balanceCheck

type RequestRoundDB

type RequestRoundDB struct {
	mock.Mock
}

RequestRoundDB is an autogenerated mock type for the RequestRoundDB type

func NewRequestRoundDB

func NewRequestRoundDB(t interface {
	mock.TestingT
	Cleanup(func())
}) *RequestRoundDB

NewRequestRoundDB creates a new instance of RequestRoundDB. 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 (*RequestRoundDB) LoadLatestRoundRequested

func (_m *RequestRoundDB) LoadLatestRoundRequested() (ocr2aggregator.OCR2AggregatorRoundRequested, error)

LoadLatestRoundRequested provides a mock function with given fields:

func (*RequestRoundDB) SaveLatestRoundRequested

func (_m *RequestRoundDB) SaveLatestRoundRequested(tx pg.Queryer, rr ocr2aggregator.OCR2AggregatorRoundRequested) error

SaveLatestRoundRequested provides a mock function with given fields: tx, rr

Jump to

Keyboard shortcuts

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