// SPDX-License-Identifier: MIT pragma solidity ^0.8.35; import { _IWETH } from './_IWETH.sol'; import { IERC20 } from './IERC20.sol'; import { IERC20Metadata } from './IERC20Metadata.sol'; /** * @title WETH (Wrapped ETH) interface */ interface IWETH is _IWETH, IERC20, IERC20Metadata { /** * @notice convert ETH to WETH */ function deposit() external payable; /** * @notice convert WETH to ETH * @dev if caller is a contract, it should have a fallback or receive function * @param amount quantity of WETH to convert, denominated in wei */ function withdraw(uint256 amount) external; }