ocr2vrf

package
v1.6.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OCR2VRF

type OCR2VRF struct {
	// contains filtered or unexported fields
}

func (*OCR2VRF) Close

func (vrf *OCR2VRF) Close() error

func (*OCR2VRF) Observation

func (vrf *OCR2VRF) Observation(ctx context.Context, repts types.ReportTimestamp, query types.Query) (types.Observation, error)

func (*OCR2VRF) Query

func (vrf *OCR2VRF) Query(ctx context.Context, repts types.ReportTimestamp) (types.Query, error)

func (*OCR2VRF) Report

func (*OCR2VRF) ShouldAcceptFinalizedReport

func (vrf *OCR2VRF) ShouldAcceptFinalizedReport(ctx context.Context, repts types.ReportTimestamp, report types.Report) (bool, error)

func (*OCR2VRF) ShouldTransmitAcceptedReport

func (vrf *OCR2VRF) ShouldTransmitAcceptedReport(ctx context.Context, repts types.ReportTimestamp, report types.Report) (bool, error)

type OCR2VRFContainer

type OCR2VRFContainer struct {
	// contains filtered or unexported fields
}

func NewOCR2VRF

func NewOCR2VRF(l logger.Logger) (*OCR2VRFContainer, error)

func (*OCR2VRFContainer) GetPluginFactory

func (d *OCR2VRFContainer) GetPluginFactory() (ocr2types.ReportingPluginFactory, error)

func (*OCR2VRFContainer) GetServices

func (d *OCR2VRFContainer) GetServices() ([]job.ServiceCtx, error)

type OCR2VRFFactory

type OCR2VRFFactory struct {
	// contains filtered or unexported fields
}

func (OCR2VRFFactory) NewReportingPlugin

type ParsedAttributedObservation

type ParsedAttributedObservation struct {
	Timestamp       uint32
	Value           *big.Int
	JuelsPerFeeCoin *big.Int
	Observer        commontypes.OracleID
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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