harb/onchain/src/interfaces/IWETH9.sol

14 lines
367 B
Solidity
Raw Normal View History

2024-03-14 12:40:57 +01:00
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity ^0.8.13;
2025-07-08 10:33:10 +02:00
import "@openzeppelin/token/ERC20/IERC20.sol";
2024-03-14 12:40:57 +01:00
/// @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;
}