@@ -4,7 +4,14 @@ import { HardhatRuntimeEnvironment } from "hardhat/types"
4
4
task ( "deploy:Vesting" , "Deploys the Vesting contract" )
5
5
. addParam ( "admin" , "The admin of the Vesting contract" )
6
6
. addParam ( "lockedClaimPenaltyReceiver" , "Address that receives the penalty" )
7
- . setAction ( async ( { admin, lockedClaimPenaltyReceiver } , { ethers, upgrades } : HardhatRuntimeEnvironment ) => {
7
+ . addParam ( "pool" , "Address of the pool" )
8
+ . addParam ( "router" , "Address of the router" )
9
+ . addParam ( "permit2" , "Address of the permit2" )
10
+ . addParam ( "vault" , "Address of the vault" )
11
+ . addParam ( "symm" , "Address of symm token" )
12
+ . addParam ( "usdc" , "Address of usdc token" )
13
+ . addParam ( "symmLp" , "Address of symmLp token" )
14
+ . setAction ( async ( { admin, lockedClaimPenaltyReceiver, pool, router, permit2, vault, symm, usdc, symmLp } , { ethers, upgrades } : HardhatRuntimeEnvironment ) => {
8
15
console . log ( "deploy:Vesting" )
9
16
10
17
const VestingPlanOps = await ethers . getContractFactory ( "VestingPlanOps" )
@@ -16,7 +23,7 @@ task("deploy:Vesting", "Deploys the Vesting contract")
16
23
VestingPlanOps : await vestingPlanOps . getAddress ( ) ,
17
24
} ,
18
25
} )
19
- const vestingContract = await upgrades . deployProxy ( VestingFactory , [ admin , lockedClaimPenaltyReceiver ] , {
26
+ const vestingContract = await upgrades . deployProxy ( VestingFactory , [ admin , lockedClaimPenaltyReceiver , pool , router , permit2 , vault , symm , usdc , symmLp ] , {
20
27
unsafeAllow : [ "external-library-linking" ] ,
21
28
initializer : "initialize" ,
22
29
} )
0 commit comments