Token Bridge
Deposit Ether
/**
* @dev Deposit an amount of the ETH to the caller's balance on L2.
* @param _data Optional data to forward to L2. This data is provided
* solely as a convenience for external contracts. Aside from enforcing a maximum
* length, these contracts provide no guarantees about its content.
*/
function depositETH(bytes calldata _data) external payable;
/**
* @dev Deposit an amount of ETH to a recipient's balance on L2.
* @param _to L2 address to credit the withdrawal to.
* @param _data Optional data to forward to L2. This data is provided
* solely as a convenience for external contracts. Aside from enforcing a maximum
* length, these contracts provide no guarantees about its content.
*/
function depositETHTo(address _to, bytes calldata _data) external payable;Withdraw Ether
Deposit ERC20 tokens
Withdraw ERC20 tokens
Last updated