Documentation ¶
Index ¶
- 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 MercuryOCR3Plugin
- func (p *MercuryOCR3Plugin) Close() error
- func (p *MercuryOCR3Plugin) Observation(ctx context.Context, outctx ocr3types.OutcomeContext, query types.Query) (types.Observation, error)
- func (p *MercuryOCR3Plugin) Outcome(outctx ocr3types.OutcomeContext, query types.Query, ...) (ocr3types.Outcome, error)
- func (p *MercuryOCR3Plugin) Query(ctx context.Context, outctx ocr3types.OutcomeContext) (types.Query, error)
- func (p *MercuryOCR3Plugin) Reports(seqNr uint64, outcome ocr3types.Outcome) ([]ocr3types.ReportWithInfo[MercuryReportInfo], error)
- func (p *MercuryOCR3Plugin) ShouldAcceptFinalizedReport(context.Context, uint64, ocr3types.ReportWithInfo[MercuryReportInfo]) (bool, error)
- func (p *MercuryOCR3Plugin) ShouldTransmitAcceptedReport(context.Context, uint64, ocr3types.ReportWithInfo[MercuryReportInfo]) (bool, error)
- func (p *MercuryOCR3Plugin) ValidateObservation(outctx ocr3types.OutcomeContext, query types.Query, ...) error
- type MercuryReportInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MercuryOCR3ContractTransmitter ¶
type MercuryOCR3ContractTransmitter struct {
// contains filtered or unexported fields
}
func NewMercuryOCR3ContractTransmitter ¶
func NewMercuryOCR3ContractTransmitter(ocr2ContractTransmitter types.ContractTransmitter) *MercuryOCR3ContractTransmitter
func (*MercuryOCR3ContractTransmitter) FromAccount ¶
func (t *MercuryOCR3ContractTransmitter) FromAccount() (types.Account, error)
func (*MercuryOCR3ContractTransmitter) Transmit ¶
func (t *MercuryOCR3ContractTransmitter) Transmit( ctx context.Context, configDigest types.ConfigDigest, 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 MercuryOCR3Plugin ¶
type MercuryOCR3Plugin struct { Config ocr3types.OCR3PluginConfig Plugin ocr3types.MercuryPlugin }
func (*MercuryOCR3Plugin) Close ¶
func (p *MercuryOCR3Plugin) Close() error
func (*MercuryOCR3Plugin) Observation ¶
func (p *MercuryOCR3Plugin) Observation(ctx context.Context, outctx ocr3types.OutcomeContext, query types.Query) (types.Observation, error)
func (*MercuryOCR3Plugin) Outcome ¶
func (p *MercuryOCR3Plugin) Outcome(outctx ocr3types.OutcomeContext, query types.Query, aos []types.AttributedObservation) (ocr3types.Outcome, error)
func (*MercuryOCR3Plugin) Query ¶
func (p *MercuryOCR3Plugin) Query(ctx context.Context, outctx ocr3types.OutcomeContext) (types.Query, error)
func (*MercuryOCR3Plugin) Reports ¶
func (p *MercuryOCR3Plugin) Reports(seqNr uint64, outcome ocr3types.Outcome) ([]ocr3types.ReportWithInfo[MercuryReportInfo], error)
func (*MercuryOCR3Plugin) ShouldAcceptFinalizedReport ¶
func (p *MercuryOCR3Plugin) ShouldAcceptFinalizedReport(context.Context, uint64, ocr3types.ReportWithInfo[MercuryReportInfo]) (bool, error)
func (*MercuryOCR3Plugin) ShouldTransmitAcceptedReport ¶
func (p *MercuryOCR3Plugin) ShouldTransmitAcceptedReport(context.Context, uint64, ocr3types.ReportWithInfo[MercuryReportInfo]) (bool, error)
func (*MercuryOCR3Plugin) ValidateObservation ¶
func (p *MercuryOCR3Plugin) ValidateObservation(outctx ocr3types.OutcomeContext, query types.Query, ao types.AttributedObservation) error
type MercuryReportInfo ¶
Click to show internal directories.
Click to hide internal directories.