File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ pragma solidity ^0.8.0;
4
4
import {ScriptUtil} from "./ScriptUtil.s.sol " ;
5
5
import {EulerSwapFactory} from "../src/EulerSwapFactory.sol " ;
6
6
import {EulerSwapPeriphery} from "../src/EulerSwapPeriphery.sol " ;
7
+ import {IPoolManager} from "@uniswap/v4-core/src/interfaces/IPoolManager.sol " ;
7
8
8
9
/// @title Script to deploy EulerSwapFactory & EulerSwapPeriphery.
9
10
contract DeployProtocol is ScriptUtil {
@@ -17,10 +18,11 @@ contract DeployProtocol is ScriptUtil {
17
18
string memory json = _getJsonFile (inputScriptFileName);
18
19
19
20
address evc = vm.parseJsonAddress (json, ".evc " );
21
+ address poolManager = vm.parseJsonAddress (json, ".poolManager " );
20
22
21
23
vm.startBroadcast (deployerAddress);
22
24
23
- new EulerSwapFactory (evc);
25
+ new EulerSwapFactory (IPoolManager (poolManager), evc);
24
26
new EulerSwapPeriphery ();
25
27
26
28
vm.stopBroadcast ();
Original file line number Diff line number Diff line change 1
1
{
2
- "evc" : " 0x0C9a3dd6b8F28529d72d7f9cE918D493519EE383"
2
+ "evc" : " 0x0C9a3dd6b8F28529d72d7f9cE918D493519EE383" ,
3
+ "poolManager" : " 0x000000000004444c5dc75cB358380D2e3dE08A90"
3
4
}
You can’t perform that action at this time.
0 commit comments