lib_sol8->lib_uniswap
This commit is contained in:
14
lib_uniswap/v3-periphery/contracts/interfaces/external/IWETH9.sol
vendored
Normal file
14
lib_uniswap/v3-periphery/contracts/interfaces/external/IWETH9.sol
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
// pragma solidity =0.7.6;
|
||||
pragma solidity >=0.8.0;
|
||||
|
||||
import '@openzeppelin/contracts/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;
|
||||
}
|
||||
Reference in New Issue
Block a user