Skip to content
Lattice

Callable

Git Source

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

NameTypeDescription
contextMessageContextThe ZetaChain message context (sender = the ZEVM universal app that originated the call).
messagebytesThe delivered message payload.

Returns

NameTypeDescription
<none>bytesThe receiver's result bytes (may be empty).