Module L2Bridge

Source
Expand description

L2Bridge contract for finalizing deposits from Layer 1.

contract L2Bridge {
    function finalizeDeposit(address _l1Sender, address _l2Receiver, address _l1Token, uint256 _amount, bytes calldata _data);
}

Structs§

L2BridgeInstance
A L2Bridge instance.
finalizeDepositCall
Finalizes a deposit from Layer 1 to Layer 2.
finalizeDepositReturn
Finalizes a deposit from Layer 1 to Layer 2.

Enums§

L2BridgeCalls
Container for all the L2Bridge function calls.

Functions§

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