Module L1Bridge

Source
Expand description

L1Bridge contract for interacting with Layer 2 bridges.

contract L1Bridge {
    function l2BridgeAddress(uint256 _chainId) external view returns (address);
}

Structs§

L1BridgeInstance
A L1Bridge instance.
l2BridgeAddressCall
Retrieves the address of the L2 bridge for a given chain ID.
l2BridgeAddressReturn
Retrieves the address of the L2 bridge for a given chain ID.

Enums§

L1BridgeCalls
Container for all the L1Bridge function calls.

Functions§

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