harb/onchain/src/interfaces/IWETH9.sol
2025-07-08 10:33:10 +02:00

13 lines
367 B
Solidity

// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.13;
import "@openzeppelin/token/ERC20/IERC20.sol";
/// @title Interface for WETH9
interface IWETH9 is IERC20 {
/// @notice Deposit ether to get wrapped ether
function deposit() external payable;
/// @notice Withdraw wrapped ether to get ether
function withdraw(uint256) external;
}