mocks

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

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 *felt.Felt) (ocr2.BillingDetails, error)

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

func (*OCR2Reader) ConfigFromEventAt

func (_m *OCR2Reader) ConfigFromEventAt(_a0 context.Context, _a1 *felt.Felt, _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 *felt.Felt) (ocr2.ContractConfigDetails, error)

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

func (*OCR2Reader) LatestRoundData

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

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

func (*OCR2Reader) LatestTransmissionDetails

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

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

func (*OCR2Reader) LinkAvailableForPayment

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

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

func (*OCR2Reader) NewTransmissionsFromEventsAt

func (_m *OCR2Reader) NewTransmissionsFromEventsAt(_a0 context.Context, _a1 *felt.Felt, _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