fdcutils

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	node.InformerAndSigner
}

func NewProcessor

func NewProcessor(infoAndSig node.InformerAndSigner) Processor

NewProcessor creates an FDC proof processor backed by the provided node, which supplies both the signing key and the chain ID bound into the proof.

func (*Processor) Prove

func (p *Processor) Prove(
	_ context.Context,
	_ types.SubmissionTag,
	dataFixed *instruction.DataFixed,
	variableMessages []hexutil.Bytes,
	signers []common.Address,
	signingPolicy *policy.SigningPolicy,
) ([]byte, []byte, error)

Prove verifies the FDC request, aggregates the data provider and cosigner signatures, and returns the encoded proof payload signed by the TEE.

Jump to

Keyboard shortcuts

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