infrastructure-upgrade/script/TornadoRouter.s.sol
AlienTornadosaurusHex 5765376121 Move deprected to top level
Signed-off-by: AlienTornadosaurusHex <>
2023-06-16 22:47:51 +00:00

29 lines
619 B
Solidity
Executable File

// 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 { TornadoAddresses } from "../src/common/TornadoAddresses.sol";
import { TornadoRouter } from "../src/v2/TornadoRouter.sol";
contract DeployScript is TornadoAddresses, Script {
function run() external {
uint256 key = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(key);
new TornadoRouter(getGovernanceProxyAddress());
vm.stopBroadcast();
}
}