Build
Architecture
protocol
contracts
evm
interfaces
IZetaConnector.sol
Interface.izetaconnectorevents

Git Source (opens in a new tab)

Interface for the events emitted by the ZetaConnector contracts.

Withdrawn

Emitted when tokens are withdrawn.

event Withdrawn(address indexed to, uint256 amount);

Parameters

NameTypeDescription
toaddressThe address to which the tokens are withdrawn.
amountuint256The amount of tokens withdrawn.

WithdrawnAndCalled

Emitted when tokens are withdrawn and a contract is called.

event WithdrawnAndCalled(address indexed to, uint256 amount, bytes data);

Parameters

NameTypeDescription
toaddressThe address to which the tokens are withdrawn.
amountuint256The amount of tokens withdrawn.
databytesThe calldata passed to the contract call.

WithdrawnAndReverted

Emitted when tokens are withdrawn and a contract is called with a revert callback.

event WithdrawnAndReverted(address indexed to, uint256 amount, bytes data, RevertContext revertContext);

Parameters

NameTypeDescription
toaddressThe address to which the tokens are withdrawn.
amountuint256The amount of tokens withdrawn.
databytesThe calldata passed to the contract call.
revertContextRevertContextRevert context to pass to onRevert.