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.
Click to show internal directories.
Click to hide internal directories.