mercuryshim

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

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 (*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 (*MercuryOCR3Plugin) Outcome

func (*MercuryOCR3Plugin) Query

func (*MercuryOCR3Plugin) Reports

func (*MercuryOCR3Plugin) ShouldAcceptFinalizedReport

func (*MercuryOCR3Plugin) ShouldTransmitAcceptedReport

func (*MercuryOCR3Plugin) ValidateObservation

func (p *MercuryOCR3Plugin) ValidateObservation(outctx ocr3types.OutcomeContext, query types.Query, ao types.AttributedObservation) error

type MercuryReportInfo

type MercuryReportInfo struct {
	Epoch uint32
	Round uint8
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL