Skip to main content

Module IZoneOutbox

Module IZoneOutbox 

Source
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§

IZoneOutboxInstance
A IZoneOutbox instance.
WithdrawalRequested
Event with signature WithdrawalRequested(uint64,address,address,address,uint128,uint128,bytes32,uint64,uint64,bytes,bytes) and selector 0x34ca953f3eed14157d2f660c7e92a5bd9c05be0d61a188830f3bf1cb7d094f96.
calculateWithdrawalFeeCall
Function with signature calculateWithdrawalFee(uint64) and selector 0x7b9c9aa4.
calculateWithdrawalFeeReturn
Container type for the return parameters of the calculateWithdrawalFee(uint64) function.
requestWithdrawalCall
Function with signature requestWithdrawal(address,address,uint128,bytes32,uint64,address,bytes,bytes) and selector 0xb3b200aa.
requestWithdrawalReturn
Container type for the return parameters of the requestWithdrawal(address,address,uint128,bytes32,uint64,address,bytes,bytes) function.

Enums§

IZoneOutboxCalls
Container for all the IZoneOutbox function calls.
IZoneOutboxEvents
Container for all the IZoneOutbox events.

Functions§

new
Creates a new wrapper around an on-chain IZoneOutbox contract instance.