types

package
v2.11.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PriceFeedMissingCount = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "mercury_price_feed_missing",
		Help: "Running count of times mercury tried to query a price feed for billing from mercury server, but it was missing",
	},
		[]string{"queriedFeedID"},
	)
	PriceFeedErrorCount = promauto.NewCounterVec(prometheus.CounterOpts{
		Name: "mercury_price_feed_errors",
		Help: "Running count of times mercury tried to query a price feed for billing from mercury server, but got an error",
	},
		[]string{"queriedFeedID"},
	)
)

Functions

This section is empty.

Types

type DataSourceORM

type DataSourceORM interface {
	LatestReport(ctx context.Context, feedID [32]byte, qopts ...pg.QOpt) (report []byte, err error)
}

type ReportCodec added in v2.6.0

type ReportCodec interface {
	BenchmarkPriceFromReport(report ocrtypes.Report) (*big.Int, error)
}

Jump to

Keyboard shortcuts

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