Callable
Title: Callable (ZetaChain) — vendored subset
The ZetaChain inbound receiver hook. The GatewayEVM (invoked by the ZetaChain TSS/observer set)
calls onCall on the destination-chain receiver to deliver a message.
Verbatim mirror of the canonical Callable interface (zeta-chain/protocol-contracts
contracts/evm/interfaces/IGatewayEVM.sol, MIT).
Functions
onCall
Inbound delivery hook invoked by the GatewayEVM on message arrival.
function onCall(MessageContext calldata context, bytes calldata message) external payable returns (bytes memory);Parameters
| Name | Type | Description |
|---|---|---|
| context | MessageContext | The ZetaChain message context (sender = the ZEVM universal app that originated the call). |
| message | bytes | The delivered message payload. |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | bytes | The receiver's result bytes (may be empty). |