Repository navigation
Release: v0.2.2
Minor update that fixes a bug in the StandardBridge contract. Further, it unifies the interface for the following functions in the CrossChainMessenger:
deposit_eth/deposit_erc20: deposits ETH/ERC20 to theaccount_l1deposit_eth_to/deposit_erc20_to: deposits ETH/ERC20 to whoever is specified in thetoargumentwithdraw_eth/withdraw_erc20: withdraws ETH/ERC20 to theaccount_l2withdraw_eth_to/withdraw_erc20_to: withdraws ETH/ERC20 to whoever is specified in thetoargument
So if one wants to deposit ETH to the account_l2, the deposit_eth_to function has to be used with the to argument set to account_l2.address.