Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DataSource = staticDataSource{}
View Source
var Fixtures = Parameters{ Report: ocr2plus_types.Report([]byte("mercury v4 report")), ReportFields: mercury_v4_types.ReportFields{ ValidFromTimestamp: 0, Timestamp: 1, NativeFee: big.NewInt(2), LinkFee: big.NewInt(3), ExpiresAt: 4, BenchmarkPrice: big.NewInt(5), MarketStatus: 1, }, MaxReportLength: 20, ObservationTimestamp: 23, ReportTimestamp: ocr2plus_types.ReportTimestamp{ ConfigDigest: [32]byte([]byte("mercury v4 configuration digest!")), Epoch: 0, Round: 1, }, Observation: mercury_v4_types.Observation{ BenchmarkPrice: mercury.ObsResult[*big.Int]{Val: big.NewInt(50)}, MaxFinalizedTimestamp: mercury.ObsResult[int64]{Val: 79}, LinkPrice: mercury.ObsResult[*big.Int]{Val: big.NewInt(30)}, NativePrice: mercury.ObsResult[*big.Int]{Val: big.NewInt(20)}, MarketStatus: mercury.ObsResult[uint32]{Val: 1}, }, }
View Source
var ReportCodec = staticReportCodec{}
Functions ¶
This section is empty.
Types ¶
type DataSourceEvaluator ¶
type DataSourceEvaluator interface { mercury_v4_types.DataSource testtypes.Evaluator[mercury_v4_types.DataSource] }
type Parameters ¶
type Parameters struct { // ReportCodec Report ocr2plus_types.Report ReportFields mercury_v4_types.ReportFields MaxReportLength int ObservationTimestamp uint32 // DataSource ReportTimestamp ocr2plus_types.ReportTimestamp Observation mercury_v4_types.Observation }
type ReportCodecEvaluator ¶
type ReportCodecEvaluator interface { mercury_v4_types.ReportCodec testtypes.Evaluator[mercury_v4_types.ReportCodec] }
Click to show internal directories.
Click to hide internal directories.