mocks

package
v0.0.1-beta-test Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OCR2Reader

type OCR2Reader struct {
	mock.Mock
}

OCR2Reader is an autogenerated mock type for the OCR2Reader type

func NewOCR2Reader

func NewOCR2Reader(t mockConstructorTestingTNewOCR2Reader) *OCR2Reader

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

func (*OCR2Reader) BaseReader

func (_m *OCR2Reader) BaseReader() starknet.Reader

BaseReader provides a mock function with given fields:

func (*OCR2Reader) BillingDetails

func (_m *OCR2Reader) BillingDetails(_a0 context.Context, _a1 types.Hash) (ocr2.BillingDetails, error)

BillingDetails provides a mock function with given fields: _a0, _a1

func (*OCR2Reader) ConfigFromEventAt

func (_m *OCR2Reader) ConfigFromEventAt(_a0 context.Context, _a1 types.Hash, _a2 uint64) (ocr2.ContractConfig, error)

ConfigFromEventAt provides a mock function with given fields: _a0, _a1, _a2

func (*OCR2Reader) LatestConfigDetails

func (_m *OCR2Reader) LatestConfigDetails(_a0 context.Context, _a1 types.Hash) (ocr2.ContractConfigDetails, error)

LatestConfigDetails provides a mock function with given fields: _a0, _a1

func (*OCR2Reader) LatestRoundData

func (_m *OCR2Reader) LatestRoundData(_a0 context.Context, _a1 types.Hash) (ocr2.RoundData, error)

LatestRoundData provides a mock function with given fields: _a0, _a1

func (*OCR2Reader) LatestTransmissionDetails

func (_m *OCR2Reader) LatestTransmissionDetails(_a0 context.Context, _a1 types.Hash) (ocr2.TransmissionDetails, error)

LatestTransmissionDetails provides a mock function with given fields: _a0, _a1

func (*OCR2Reader) LinkAvailableForPayment

func (_m *OCR2Reader) LinkAvailableForPayment(_a0 context.Context, _a1 types.Hash) (*big.Int, error)

LinkAvailableForPayment provides a mock function with given fields: _a0, _a1

func (*OCR2Reader) NewTransmissionsFromEventsAt

func (_m *OCR2Reader) NewTransmissionsFromEventsAt(_a0 context.Context, _a1 types.Hash, _a2 uint64) ([]ocr2.NewTransmissionEvent, error)

NewTransmissionsFromEventsAt provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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