Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 536 Bytes

interface.UniversalContract.md

File metadata and controls

17 lines (10 loc) · 536 Bytes

UniversalContract

Git Source

Interface for contracts that can receive cross-chain calls on ZetaChain.

Contracts implementing this interface can handle incoming cross-chain messages and execute logic based on the provided context, token, and message payload.

Functions

onCall

function onCall(MessageContext calldata context, address zrc20, uint256 amount, bytes calldata message) external;