fdcutils

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: May 14, 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.Signer
}

func NewProcessor

func NewProcessor(sig node.Signer) Processor

NewProcessor creates an FDC proof processor backed by the provided signer.

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