IReceiver
Inherits: IERC165
Title: IReceiver
Author: Vendored minimal subset of Chainlink CRE (https://docs.chain.link/samples/CRE/IReceiver.sol).
Upstream license: MIT.
Consumer interface for receiving Chainlink CRE (Chainlink Runtime Environment) workflow
reports. The KeystoneForwarder validates the DON's report signatures off-chain, then calls
onReport on the consumer.
Vendored — do not add a chainlink dependency. type(IReceiver).interfaceId is the canonical
CRE receiver id (the XOR of onReport's selector only; the inherited supportsInterface is
excluded from a Solidity interface id), which is what CRE tooling queries via ERC-165.
Functions
onReport
Called by the KeystoneForwarder to deliver a CRE workflow report.
function onReport(bytes calldata metadata, bytes calldata report) external;Parameters
| Name | Type | Description |
|---|---|---|
| metadata | bytes | Packed workflow identity: abi.encodePacked(bytes32 workflowId,<br/>bytes10 workflowName, address workflowOwner) (62 bytes) plus a trailing2-byte report id (64 bytes total). |
| report | bytes | The ABI-encoded workflow payload (matches the workflow's runtime.report()). |