Documentation
¶
Index ¶
- Variables
- type ReportCodec
- func (r *ReportCodec) BenchmarkPriceFromReport(ctx context.Context, report ocrtypes.Report) (*big.Int, error)
- func (r *ReportCodec) BuildReport(ctx context.Context, rf v4.ReportFields) (ocrtypes.Report, error)
- func (r *ReportCodec) Decode(ctx context.Context, report ocrtypes.Report) (*reporttypes.Report, error)
- func (r *ReportCodec) MaxReportLength(ctx context.Context, n int) (int, error)
- func (r *ReportCodec) ObservationTimestampFromReport(ctx context.Context, report ocrtypes.Report) (uint32, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ReportTypes = reporttypes.GetSchema()
Functions ¶
This section is empty.
Types ¶
type ReportCodec ¶
type ReportCodec struct {
// contains filtered or unexported fields
}
func NewReportCodec ¶
func NewReportCodec(feedID [32]byte, lggr logger.Logger) *ReportCodec
func (*ReportCodec) BenchmarkPriceFromReport ¶
func (*ReportCodec) BuildReport ¶
func (r *ReportCodec) BuildReport(ctx context.Context, rf v4.ReportFields) (ocrtypes.Report, error)
func (*ReportCodec) MaxReportLength ¶
func (*ReportCodec) ObservationTimestampFromReport ¶
Click to show internal directories.
Click to hide internal directories.