add gas token && deploy kovan script
This commit is contained in:
@@ -15,7 +15,7 @@ import {ReentrancyGuard} from "../../lib/ReentrancyGuard.sol";
|
||||
|
||||
contract DODOCalleeHelper is ReentrancyGuard {
|
||||
using SafeERC20 for IERC20;
|
||||
address payable public _WETH_;
|
||||
address public immutable _WETH_;
|
||||
|
||||
fallback() external payable {
|
||||
require(msg.sender == _WETH_, "WE_SAVED_YOUR_ETH");
|
||||
@@ -25,7 +25,7 @@ contract DODOCalleeHelper is ReentrancyGuard {
|
||||
require(msg.sender == _WETH_, "WE_SAVED_YOUR_ETH");
|
||||
}
|
||||
|
||||
constructor(address payable weth) public {
|
||||
constructor(address weth) public {
|
||||
_WETH_ = weth;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user