diff --git a/lib/forge-std b/lib/forge-std index bb4ceea..beb836e 160000 --- a/lib/forge-std +++ b/lib/forge-std @@ -1 +1 @@ -Subproject commit bb4ceea94d6f10eeb5b41dc2391c6c8bf8e734ef +Subproject commit beb836e33f9a207f4927abb7cd09ad0afe4b3f9f diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol new file mode 100644 index 0000000..53a6cb2 --- /dev/null +++ b/script/Deploy.s.sol @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: UNLICENSED +pragma solidity ^0.8.0; + +import { Script } from "forge-std/Script.sol"; +import { ReservoirPriceOracle, PriceType } from "src/ReservoirPriceOracle.sol"; + +contract Deploy is Script { + function run() external { + vm.startBroadcast(address(1)); + string memory lTestnetRpcUrl = vm.rpcUrl("sepolia"); + +// uint256 lForkId = vm.createFork(lTestnetRpcUrl); + + ReservoirPriceOracle asd = new ReservoirPriceOracle(15 minutes, 200_000, PriceType.CLAMPED_PRICE); + + vm.stopBroadcast(); + } +}