Skip to main content

OptimismL1StandardBridge

OptimismL1StandardBridge#

The L1 ETH and ERC20 Bridge is a contract which stores deposited L1 funds and standard tokens that are in use on L2. It synchronizes a corresponding L2 Bridge, informing it of deposits and listening to it for newly finalized withdrawals.

Functions#

depositETH(uint32 _l2Gas, bytes _data) (external)
depositERC20(address _l1Token, address _l2Token, uint256 _amount, uint32 _l2Gas, bytes _data) (external)