ICoprocessorOutputs
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
Name | Type | Description |
---|---|---|
payload | bytes | The 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
Name | Type | Description |
---|---|---|
destination | address | The address to which the voucher is directed |
value | uint256 | The amount of ETH to transfer with the voucher |
payload | bytes | The ABI-encoded payload containing the action data |