Documentation ¶
Index ¶
- func ReportingPluginLimits(mercuryPluginLimits ocr3types.MercuryPluginLimits) ocr3types.ReportingPluginLimits
- type MercuryOCR3ContractTransmitter
- type MercuryOCR3OnchainKeyring
- func (ok *MercuryOCR3OnchainKeyring) MaxSignatureLength() int
- func (ok *MercuryOCR3OnchainKeyring) PublicKey() types.OnchainPublicKey
- func (ok *MercuryOCR3OnchainKeyring) Sign(configDigest types.ConfigDigest, seqNr uint64, ...) (signature []byte, err error)
- func (ok *MercuryOCR3OnchainKeyring) Verify(pubkey types.OnchainPublicKey, configDigest types.ConfigDigest, seqNr uint64, ...) bool
- type MercuryReportInfo
- type MercuryReportingPlugin
- func (p *MercuryReportingPlugin) Close() error
- func (p *MercuryReportingPlugin) Observation(ctx context.Context, outctx ocr3types.OutcomeContext, query types.Query) (types.Observation, error)
- func (p *MercuryReportingPlugin) ObservationQuorum(ctx context.Context, outctx ocr3types.OutcomeContext, query types.Query, ...) (bool, error)
- func (p *MercuryReportingPlugin) Outcome(ctx context.Context, outctx ocr3types.OutcomeContext, query types.Query, ...) (ocr3types.Outcome, error)
- func (p *MercuryReportingPlugin) Query(ctx context.Context, outctx ocr3types.OutcomeContext) (types.Query, error)
- func (p *MercuryReportingPlugin) Reports(ctx context.Context, seqNr uint64, outcome ocr3types.Outcome) ([]ocr3types.ReportPlus[MercuryReportInfo], error)
- func (p *MercuryReportingPlugin) ShouldAcceptAttestedReport(context.Context, uint64, ocr3types.ReportWithInfo[MercuryReportInfo]) (bool, error)
- func (p *MercuryReportingPlugin) ShouldTransmitAcceptedReport(context.Context, uint64, ocr3types.ReportWithInfo[MercuryReportInfo]) (bool, error)
- func (p *MercuryReportingPlugin) ValidateObservation(ctx context.Context, outctx ocr3types.OutcomeContext, query types.Query, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportingPluginLimits ¶
func ReportingPluginLimits(mercuryPluginLimits ocr3types.MercuryPluginLimits) ocr3types.ReportingPluginLimits
Types ¶
type MercuryOCR3ContractTransmitter ¶
type MercuryOCR3ContractTransmitter struct {
// contains filtered or unexported fields
}
func NewMercuryOCR3ContractTransmitter ¶
func NewMercuryOCR3ContractTransmitter(ocr2ContractTransmitter types.ContractTransmitter) *MercuryOCR3ContractTransmitter
func (*MercuryOCR3ContractTransmitter) FromAccount ¶
func (*MercuryOCR3ContractTransmitter) Transmit ¶
func (t *MercuryOCR3ContractTransmitter) Transmit( ctx context.Context, configDigest types.ConfigDigest, seqNr uint64, reportWithInfo ocr3types.ReportWithInfo[MercuryReportInfo], aoss []types.AttributedOnchainSignature, ) error
type MercuryOCR3OnchainKeyring ¶
type MercuryOCR3OnchainKeyring struct {
// contains filtered or unexported fields
}
func NewMercuryOCR3OnchainKeyring ¶
func NewMercuryOCR3OnchainKeyring(ocr2OnchainKeyring types.OnchainKeyring) *MercuryOCR3OnchainKeyring
func (*MercuryOCR3OnchainKeyring) MaxSignatureLength ¶
func (ok *MercuryOCR3OnchainKeyring) MaxSignatureLength() int
func (*MercuryOCR3OnchainKeyring) PublicKey ¶
func (ok *MercuryOCR3OnchainKeyring) PublicKey() types.OnchainPublicKey
func (*MercuryOCR3OnchainKeyring) Sign ¶
func (ok *MercuryOCR3OnchainKeyring) Sign(configDigest types.ConfigDigest, seqNr uint64, reportWithInfo ocr3types.ReportWithInfo[MercuryReportInfo]) (signature []byte, err error)
func (*MercuryOCR3OnchainKeyring) Verify ¶
func (ok *MercuryOCR3OnchainKeyring) Verify(pubkey types.OnchainPublicKey, configDigest types.ConfigDigest, seqNr uint64, reportWithInfo ocr3types.ReportWithInfo[MercuryReportInfo], sig []byte) bool
type MercuryReportInfo ¶
type MercuryReportingPlugin ¶
type MercuryReportingPlugin struct { Config ocr3types.ReportingPluginConfig Logger loghelper.LoggerWithContext Plugin ocr3types.MercuryPlugin PluginLimits ocr3types.MercuryPluginLimits }
func (*MercuryReportingPlugin) Close ¶
func (p *MercuryReportingPlugin) Close() error
func (*MercuryReportingPlugin) Observation ¶
func (p *MercuryReportingPlugin) Observation(ctx context.Context, outctx ocr3types.OutcomeContext, query types.Query) (types.Observation, error)
func (*MercuryReportingPlugin) ObservationQuorum ¶
func (p *MercuryReportingPlugin) ObservationQuorum(ctx context.Context, outctx ocr3types.OutcomeContext, query types.Query, aos []types.AttributedObservation) (bool, error)
func (*MercuryReportingPlugin) Outcome ¶
func (p *MercuryReportingPlugin) Outcome(ctx context.Context, outctx ocr3types.OutcomeContext, query types.Query, aos []types.AttributedObservation) (ocr3types.Outcome, error)
func (*MercuryReportingPlugin) Query ¶
func (p *MercuryReportingPlugin) Query(ctx context.Context, outctx ocr3types.OutcomeContext) (types.Query, error)
func (*MercuryReportingPlugin) Reports ¶
func (p *MercuryReportingPlugin) Reports(ctx context.Context, seqNr uint64, outcome ocr3types.Outcome) ([]ocr3types.ReportPlus[MercuryReportInfo], error)
func (*MercuryReportingPlugin) ShouldAcceptAttestedReport ¶
func (p *MercuryReportingPlugin) ShouldAcceptAttestedReport(context.Context, uint64, ocr3types.ReportWithInfo[MercuryReportInfo]) (bool, error)
func (*MercuryReportingPlugin) ShouldTransmitAcceptedReport ¶
func (p *MercuryReportingPlugin) ShouldTransmitAcceptedReport(context.Context, uint64, ocr3types.ReportWithInfo[MercuryReportInfo]) (bool, error)
func (*MercuryReportingPlugin) ValidateObservation ¶
func (p *MercuryReportingPlugin) ValidateObservation(ctx context.Context, outctx ocr3types.OutcomeContext, query types.Query, ao types.AttributedObservation) error
Click to show internal directories.
Click to hide internal directories.