ICoprocessor
Defines the interface for interacting with a coprocessor contract
Functions
issueTask
Issues a task to the coprocessor
function issueTask(bytes32 machineHash, bytes calldata input, address callbackAddress) external;
Parameters
Name | Type | Description |
---|---|---|
machineHash | bytes32 | The hash of the machine to which the task is assigned |
input | bytes | The ABI-encoded input data for the task |
callbackAddress | address | The address to which the callback will be sent upon task completion |