24 lines
541 B
Solidity
24 lines
541 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.6.12;
|
|
|
|
interface IWETH {
|
|
function balanceOf(address account) external view returns (uint256);
|
|
|
|
function deposit() external payable;
|
|
|
|
function withdraw(uint256 wad) external;
|
|
|
|
function totalSupply() external view returns (uint256);
|
|
|
|
function approve(address guy, uint256 wad) external returns (bool);
|
|
|
|
function transfer(address dst, uint256 wad) external returns (bool);
|
|
|
|
function transferFrom(
|
|
address src,
|
|
address dst,
|
|
uint256 wad
|
|
) external returns (bool);
|
|
}
|