Documentation ¶
Index ¶
- Variables
- type EVMReportCodec
- func (r *EVMReportCodec) BuildReport(paos []relaymercury.ParsedAttributedObservation, f int, ...) (ocrtypes.Report, error)
- func (r *EVMReportCodec) CurrentBlockNumFromReport(report ocrtypes.Report) (int64, error)
- func (r *EVMReportCodec) MaxReportLength(n int) (int, error)
- func (r *EVMReportCodec) ValidFromBlockNumFromReport(report ocrtypes.Report) (int64, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ReportTypes = getReportTypes()
Functions ¶
This section is empty.
Types ¶
type EVMReportCodec ¶
type EVMReportCodec struct {
// contains filtered or unexported fields
}
func NewEVMReportCodec ¶
func NewEVMReportCodec(feedID [32]byte, lggr logger.Logger) *EVMReportCodec
func (*EVMReportCodec) BuildReport ¶
func (r *EVMReportCodec) BuildReport(paos []relaymercury.ParsedAttributedObservation, f int, validFromBlockNum int64) (ocrtypes.Report, error)
func (*EVMReportCodec) CurrentBlockNumFromReport ¶
func (r *EVMReportCodec) CurrentBlockNumFromReport(report ocrtypes.Report) (int64, error)
func (*EVMReportCodec) MaxReportLength ¶
func (r *EVMReportCodec) MaxReportLength(n int) (int, error)
Maximum length in bytes of Report returned by BuildReport. Used for defending against spam attacks.
func (*EVMReportCodec) ValidFromBlockNumFromReport ¶ added in v2.3.0
func (r *EVMReportCodec) ValidFromBlockNumFromReport(report ocrtypes.Report) (int64, error)
Click to show internal directories.
Click to hide internal directories.