This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: AGPL-3.0-or-later | |
| // Copyright (C) 2017, 2018, 2019 dbrock, rain, mrchico | |
| // Copyright (C) 2021 Dai Foundation | |
| // This program is free software: you can redistribute it and/or modify | |
| // it under the terms of the GNU Affero General Public License as published by | |
| // the Free Software Foundation, either version 3 of the License, or | |
| // (at your option) any later version. | |
| // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.6.12; | |
| interface IERC20 { | |
| function allowance(address src, address dst) external view returns (uint); | |
| function approve(address dst, uint amt) external returns (bool); | |
| } | |
| interface IWETH { | |
| function deposit() payable external; | |
| function withdraw(uint wad) external; |