ICoprocessorOutputs

Git Source

Defines the outputs that can be generated by a coprocessor

Functions

Notice

Emits a notice event with the given payload

function Notice(bytes calldata payload) external;

Parameters

NameTypeDescription
payloadbytesThe ABI-encoded payload containing notice data

Voucher

Issues a voucher to execute a specific action

function Voucher(address destination, uint256 value, bytes calldata payload) external;

Parameters

NameTypeDescription
destinationaddressThe address to which the voucher is directed
valueuint256The amount of ETH to transfer with the voucher
payloadbytesThe ABI-encoded payload containing the action data