Expand description
Module containing a contract’s types and functions.
interface IZoneOutbox {
event WithdrawalRequested(uint64 indexed withdrawalIndex, address indexed sender, address token, address to, uint128 amount, uint128 fee, bytes32 memo, uint64 gasLimit, uint64 fallbackNonce, bytes data, bytes revealTo);
function calculateWithdrawalFee(uint64 gasLimit) external view returns (uint128 fee);
function requestWithdrawal(address token, address to, uint128 amount, bytes32 memo, uint64 gasLimit, address fallbackRecipient, bytes callbackData, bytes revealTo) external;
}Structs§
- IZone
Outbox Instance - A
IZoneOutboxinstance. - Withdrawal
Requested - Event with signature
WithdrawalRequested(uint64,address,address,address,uint128,uint128,bytes32,uint64,uint64,bytes,bytes)and selector0x34ca953f3eed14157d2f660c7e92a5bd9c05be0d61a188830f3bf1cb7d094f96. - calculate
Withdrawal FeeCall - Function with signature
calculateWithdrawalFee(uint64)and selector0x7b9c9aa4. - calculate
Withdrawal FeeReturn - Container type for the return parameters of the
calculateWithdrawalFee(uint64)function. - request
Withdrawal Call - Function with signature
requestWithdrawal(address,address,uint128,bytes32,uint64,address,bytes,bytes)and selector0xb3b200aa. - request
Withdrawal Return - Container type for the return parameters of the
requestWithdrawal(address,address,uint128,bytes32,uint64,address,bytes,bytes)function.
Enums§
- IZone
Outbox Calls - Container for all the
IZoneOutboxfunction calls. - IZone
Outbox Events - Container for all the
IZoneOutboxevents.
Functions§
- new
- Creates a new wrapper around an on-chain
IZoneOutboxcontract instance.