ZetaReceiver
Git Source (opens in a new tab)
Functions
onZetaMessage
onZetaMessage is called when a cross-chain message reaches a contract
function onZetaMessage(ZetaInterfaces.ZetaMessage calldata zetaMessage) external;
onZetaRevert
onZetaRevert is called when a cross-chain message reverts. It's useful to rollback to the original state
function onZetaRevert(ZetaInterfaces.ZetaRevert calldata zetaRevert) external;