medianpoc

package
v2.12.1-mercury-06182024 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSource

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

func (*DataSource) Observe

func (d *DataSource) Observe(ctx context.Context, reportTimestamp ocrtypes.ReportTimestamp) (*big.Int, error)

type Plugin

type Plugin struct {
	loop.Plugin

	reportingplugins.MedianProviderServer
	// contains filtered or unexported fields
}

func NewPlugin

func NewPlugin(lggr logger.Logger) *Plugin

func (*Plugin) NewReportingPluginFactory

func (p *Plugin) NewReportingPluginFactory(
	ctx context.Context,
	config core.ReportingPluginServiceConfig,
	provider types.MedianProvider,
	pipelineRunner core.PipelineRunnerService,
	telemetry core.TelemetryClient,
	errorLog core.ErrorLog,
	keyValueStore core.KeyValueStore,
	relayerSet core.RelayerSet,
) (types.ReportingPluginFactory, error)

func (*Plugin) NewValidationService added in v2.11.0

func (p *Plugin) NewValidationService(ctx context.Context) (core.ValidationService, error)

type ZeroDataSource added in v2.12.0

type ZeroDataSource struct{}

func (*ZeroDataSource) Observe added in v2.12.0

func (d *ZeroDataSource) Observe(ctx context.Context, reportTimestamp ocrtypes.ReportTimestamp) (*big.Int, error)

Jump to

Keyboard shortcuts

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