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 |
DelegateCallVoucher
A single-use permission to execute a specific delegate call from the context of the application contract.
function DelegateCallVoucher(address destination, bytes calldata payload) external;
Parameters
Name | Type | Description |
---|---|---|
destination | address | The address that will be called |
payload | bytes | The payload, which—in the case of Solidity libraries—encodes a function call |