Skip to main content

Module IZonePortal

Module IZonePortal 

Source
Expand description

Module containing a contract’s types and functions.

interface IZonePortal {
    function zoneId() external view returns (uint32);
    event WithdrawalProcessed(address indexed to, bytes32 indexed senderTag, address token, uint128 amount, bool callbackSuccess);
    function encryptionKeyAtBlock(uint64 tempoBlockNumber) external view returns (bytes32 x, uint8 yParity, uint256 keyIndex);
    function deposit(address token, uint128 amount, uint256 keyIndex, DepositPayload encrypted, address tempoRefundRecipient) external returns (bytes32 newCurrentDepositQueueHash);
}

Structs§

IZonePortalInstance
A IZonePortal instance.
WithdrawalProcessed
Event with signature WithdrawalProcessed(address,bytes32,address,uint128,bool) and selector 0x65042ea6dad60c26f055e80ec401b3437c854ed586a0704d305bb4e9ea4518cf.
depositCall
Function with signature deposit(address,uint128,uint256,(bytes32,uint8,bytes,bytes12,bytes16),address) and selector 0x03dd6f34.
depositReturn
Container type for the return parameters of the deposit(address,uint128,uint256,(bytes32,uint8,bytes,bytes12,bytes16),address) function.
encryptionKeyAtBlockCall
Function with signature encryptionKeyAtBlock(uint64) and selector 0x39dc015d.
encryptionKeyAtBlockReturn
Container type for the return parameters of the encryptionKeyAtBlock(uint64) function.
zoneIdCall
Function with signature zoneId() and selector 0xd179978a.
zoneIdReturn
Container type for the return parameters of the zoneId() function.

Enums§

IZonePortalCalls
Container for all the IZonePortal function calls.
IZonePortalEvents
Container for all the IZonePortal events.

Functions§

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