feat: Wrap and unwrap ETH

--- don't change below this line ---
ENG-4041 Took 2 hours 28 minutes

Took 14 seconds

Took 11 seconds

Took 2 minutes

Took 1 minute


Took 7 minutes
This commit is contained in:
Diana Carvalho
2025-01-24 15:59:12 +00:00
parent 7d35b8bb36
commit 3b2d9fcbdf
4 changed files with 84 additions and 3 deletions

9
foundry/lib/IWETH.sol Normal file
View File

@@ -0,0 +1,9 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.28;
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
interface IWETH is IERC20 {
function deposit() external payable;
function withdraw(uint256) external;
}