ICoprocessorCallback

Git Source

Defines the callback mechanism for handling coprocessor outputs

Functions

coprocessorCallbackOutputsOnly

Handles outputs from the coprocessor

function coprocessorCallbackOutputsOnly(bytes32 machineHash, bytes32 payloadHash, bytes[] calldata outputs) external;

Parameters

NameTypeDescription
machineHashbytes32The hash of the machine that processed the task
payloadHashbytes32The hash of the input payload that generated these outputs
outputsbytes[]Array of ABI-encoded outputs from the coprocessor