From 981aa0244d2d6d38354e4872684304b782effe36 Mon Sep 17 00:00:00 2001 From: ConjunctiveNormalForm Date: Wed, 27 Mar 2024 17:45:06 -0400 Subject: [PATCH] add orderQuoter as part of v2 deployment --- script/DeployDutchV2.s.sol | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/script/DeployDutchV2.s.sol b/script/DeployDutchV2.s.sol index 78c78d8c..9c12dc85 100644 --- a/script/DeployDutchV2.s.sol +++ b/script/DeployDutchV2.s.sol @@ -5,10 +5,12 @@ import "forge-std/console2.sol"; import "forge-std/Script.sol"; import {IPermit2} from "permit2/src/interfaces/IPermit2.sol"; import {V2DutchOrderReactor} from "../src/reactors/V2DutchOrderReactor.sol"; +import {OrderQuoter} from "../src/lens/OrderQuoter.sol"; struct V2DutchOrderDeployment { IPermit2 permit2; V2DutchOrderReactor reactor; + OrderQuoter quoter; } contract DeployDutchV2 is Script { @@ -22,10 +24,12 @@ contract DeployDutchV2 is Script { vm.startBroadcast(); V2DutchOrderReactor reactor = new V2DutchOrderReactor{salt: 0x00}(IPermit2(PERMIT2), owner); + OrderQuoter quoter = new OrderQuoter{salt: 0x00}(); console2.log("Reactor", address(reactor)); + console2.log("Quoter", address(quoter)); vm.stopBroadcast(); - return V2DutchOrderDeployment(IPermit2(PERMIT2), reactor); + return V2DutchOrderDeployment(IPermit2(PERMIT2), reactor, quoter); } }