Documentation ¶
Index ¶
- type OCR2Reader
- func (_m *OCR2Reader) BaseReader() starknet.Reader
- func (_m *OCR2Reader) BillingDetails(_a0 context.Context, _a1 *felt.Felt) (ocr2.BillingDetails, error)
- func (_m *OCR2Reader) ConfigFromEventAt(_a0 context.Context, _a1 *felt.Felt, _a2 uint64) (ocr2.ContractConfig, error)
- func (_m *OCR2Reader) LatestConfigDetails(_a0 context.Context, _a1 *felt.Felt) (ocr2.ContractConfigDetails, error)
- func (_m *OCR2Reader) LatestRoundData(_a0 context.Context, _a1 *felt.Felt) (ocr2.RoundData, error)
- func (_m *OCR2Reader) LatestTransmissionDetails(_a0 context.Context, _a1 *felt.Felt) (ocr2.TransmissionDetails, error)
- func (_m *OCR2Reader) LinkAvailableForPayment(_a0 context.Context, _a1 *felt.Felt) (*big.Int, error)
- func (_m *OCR2Reader) NewTransmissionsFromEventsAt(_a0 context.Context, _a1 *felt.Felt, _a2 uint64) ([]ocr2.NewTransmissionEvent, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OCR2Reader ¶
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 ¶
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