5765376121
Signed-off-by: AlienTornadosaurusHex <>
29 lines
619 B
Solidity
Executable File
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();
|
|
}
|
|
}
|