39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
pragma solidity ^0.6.12;
|
||
|
pragma experimental ABIEncoderV2;
|
||
|
|
||
|
// STD imports
|
||
|
|
||
|
import { Script } from "forge-std/Script.sol";
|
||
|
|
||
|
import { console2 } from "forge-std/console2.sol";
|
||
|
|
||
|
// Local imports
|
||
|
|
||
|
import { ITornadoInstance } from "tornado-anonymity-mining/contracts/interfaces/ITornadoInstance.sol";
|
||
|
|
||
|
import { FeeManager } from "../src/v1/tornado-proxy/FeeManager.sol";
|
||
|
|
||
|
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||
|
|
||
|
contract DeployScript is Script {
|
||
|
IERC20 public constant WETH = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
|
||
|
IERC20 public constant TORN = IERC20(0x77777FeDdddFfC19Ff86DB637967013e6C6A116C);
|
||
|
|
||
|
function run() external {
|
||
|
uint256 key = vm.envUint("PRIVATE_KEY");
|
||
|
|
||
|
vm.startBroadcast(key);
|
||
|
|
||
|
FeeManager fees = FeeManager(0x5f6c97C6AD7bdd0AE7E0Dd4ca33A4ED3fDabD4D7);
|
||
|
|
||
|
fees.updateFee(ITornadoInstance(0x910Cbd523D972eb0a6f4cAe4618aD62622b39DbF));
|
||
|
fees.updateFee(ITornadoInstance(0xA160cdAB225685dA1d56aa342Ad8841c3b53f291));
|
||
|
fees.updateFee(ITornadoInstance(0x07687e702b410Fa43f4cB4Af7FA097918ffD2730));
|
||
|
fees.updateFee(ITornadoInstance(0x23773E65ed146A459791799d01336DB287f25334));
|
||
|
|
||
|
vm.stopBroadcast();
|
||
|
}
|
||
|
}
|