@@ -14,7 +14,7 @@ const {
1414} = require ( "../utils/deploy" ) ;
1515const {
1616 metapoolLPCRVPid,
17- alusdMetapoolLPCRVPid ,
17+ lusdMetapoolLPCRVPid ,
1818} = require ( "../utils/constants" ) ;
1919
2020/**
@@ -301,45 +301,45 @@ const deployConvexStrategy = async () => {
301301} ;
302302
303303/**
304- * Deploys a Convex Generalized Meta Strategy with alUSD token configuration
304+ * Deploys a Convex Generalized Meta Strategy with LUSD token configuration
305305 */
306- const deployConvexalUSDMetaStrategy = async ( ) => {
306+ const deployConvexLUSDMetaStrategy = async ( ) => {
307307 const assetAddresses = await getAssetAddresses ( deployments ) ;
308308 const { deployerAddr, governorAddr } = await getNamedAccounts ( ) ;
309309 // Signers
310310 const sDeployer = await ethers . provider . getSigner ( deployerAddr ) ;
311311 const sGovernor = await ethers . provider . getSigner ( governorAddr ) ;
312312
313- await deployWithConfirmation ( "ConvexalUSDMetaStrategyProxy " ) ;
314- const cConvexalUSDMetaStrategyProxy = await ethers . getContract (
315- "ConvexalUSDMetaStrategyProxy "
313+ await deployWithConfirmation ( "ConvexLUSDMetaStrategyProxy " ) ;
314+ const cConvexLUSDMetaStrategyProxy = await ethers . getContract (
315+ "ConvexLUSDMetaStrategyProxy "
316316 ) ;
317317
318- const dConvexalUSDMetaStrategy = await deployWithConfirmation (
318+ const dConvexLUSDMetaStrategy = await deployWithConfirmation (
319319 "ConvexGeneralizedMetaStrategy"
320320 ) ;
321- const cConvexalUSDMetaStrategy = await ethers . getContractAt (
321+ const cConvexLUSDMetaStrategy = await ethers . getContractAt (
322322 "ConvexGeneralizedMetaStrategy" ,
323- cConvexalUSDMetaStrategyProxy . address
323+ cConvexLUSDMetaStrategyProxy . address
324324 ) ;
325325
326326 await withConfirmation (
327- cConvexalUSDMetaStrategyProxy [ "initialize(address,address,bytes)" ] (
328- dConvexalUSDMetaStrategy . address ,
327+ cConvexLUSDMetaStrategyProxy [ "initialize(address,address,bytes)" ] (
328+ dConvexLUSDMetaStrategy . address ,
329329 deployerAddr ,
330330 [ ]
331331 )
332332 ) ;
333- log ( "Initialized ConvexalUSDMetaStrategyProxy " ) ;
333+ log ( "Initialized ConvexLUSDMetaStrategyProxy " ) ;
334334
335335 // Initialize Strategies
336336 const cVaultProxy = await ethers . getContract ( "VaultProxy" ) ;
337337 const mockBooster = await ethers . getContract ( "MockBooster" ) ;
338338 const mockRewardPool = await ethers . getContract ( "MockRewardPool" ) ;
339339
340- const alUsd = await ethers . getContract ( "MockalUSD " ) ;
340+ const LUSD = await ethers . getContract ( "MockLUSD " ) ;
341341 await withConfirmation (
342- cConvexalUSDMetaStrategy
342+ cConvexLUSDMetaStrategy
343343 . connect ( sDeployer )
344344 [
345345 "initialize(address[],address[],address[],(address,address,address,address,address,address,address,uint256))"
@@ -355,32 +355,32 @@ const deployConvexalUSDMetaStrategy = async () => {
355355 assetAddresses . ThreePool ,
356356 cVaultProxy . address ,
357357 mockBooster . address , // _cvxDepositorAddress,
358- assetAddresses . ThreePoolalUSDMetapool , // metapool address,
359- alUsd . address , // alUsd
358+ assetAddresses . ThreePoolLUSDMetapool , // metapool address,
359+ LUSD . address , // LUSD
360360 mockRewardPool . address , // _cvxRewardStakerAddress,
361- assetAddresses . alUSDMetapoolToken , // metapoolLpToken
362- alusdMetapoolLPCRVPid , // _cvxDepositorPTokenId
361+ assetAddresses . LUSDMetapoolToken , // metapoolLpToken
362+ lusdMetapoolLPCRVPid , // _cvxDepositorPTokenId
363363 ]
364364 )
365365 ) ;
366- log ( "Initialized ConvexalUSDMetaStrategy " ) ;
366+ log ( "Initialized ConvexLUSDMetaStrategy " ) ;
367367
368368 await withConfirmation (
369- cConvexalUSDMetaStrategy . connect ( sDeployer ) . transferGovernance ( governorAddr )
369+ cConvexLUSDMetaStrategy . connect ( sDeployer ) . transferGovernance ( governorAddr )
370370 ) ;
371- log ( `ConvexalUSDMetaStrategy transferGovernance(${ governorAddr } ) called` ) ;
371+ log ( `ConvexLUSDMetaStrategy transferGovernance(${ governorAddr } ) called` ) ;
372372 // On Mainnet the governance transfer gets executed separately, via the
373373 // multi-sig wallet. On other networks, this migration script can claim
374374 // governance by the governor.
375375 if ( ! isMainnet ) {
376376 await withConfirmation (
377- cConvexalUSDMetaStrategy
377+ cConvexLUSDMetaStrategy
378378 . connect ( sGovernor ) // Claim governance with governor
379379 . claimGovernance ( )
380380 ) ;
381- log ( "Claimed governance for ConvexalUSDMetaStrategy " ) ;
381+ log ( "Claimed governance for ConvexLUSDMetaStrategy " ) ;
382382 }
383- return cConvexalUSDMetaStrategy ;
383+ return cConvexLUSDMetaStrategy ;
384384} ;
385385
386386/**
@@ -614,17 +614,17 @@ const configureStrategies = async (harvesterProxy) => {
614614 metaStrategy . connect ( sGovernor ) . setHarvesterAddress ( harvesterProxy . address )
615615 ) ;
616616
617- const alUSDMetaStrategyProxy = await ethers . getContract (
618- "ConvexalUSDMetaStrategyProxy "
617+ const LUSDMetaStrategyProxy = await ethers . getContract (
618+ "ConvexLUSDMetaStrategyProxy "
619619 ) ;
620- const alUSDMetaStrategy = await ethers . getContractAt (
620+ const LUSDMetaStrategy = await ethers . getContractAt (
621621 "ConvexGeneralizedMetaStrategy" ,
622- alUSDMetaStrategyProxy . address
622+ LUSDMetaStrategyProxy . address
623623 ) ;
624624 await withConfirmation (
625- alUSDMetaStrategy
626- . connect ( sGovernor )
627- . setHarvesterAddress ( harvesterProxy . address )
625+ LUSDMetaStrategy . connect ( sGovernor ) . setHarvesterAddress (
626+ harvesterProxy . address
627+ )
628628 ) ;
629629
630630 const threePoolProxy = await ethers . getContract ( "ThreePoolStrategyProxy" ) ;
@@ -823,20 +823,20 @@ const deployCurveMetapoolMocks = async () => {
823823} ;
824824
825825// deploy curve metapool mocks
826- const deployCurvealUSDMetapoolMocks = async ( ) => {
826+ const deployCurveLUSDMetapoolMocks = async ( ) => {
827827 const { deployerAddr } = await hre . getNamedAccounts ( ) ;
828828 const assetAddresses = await getAssetAddresses ( deployments ) ;
829829
830- const alUsd = await ethers . getContract ( "MockalUSD " ) ;
830+ const LUSD = await ethers . getContract ( "MockLUSD " ) ;
831831
832- await hre . deployments . deploy ( "MockCurvealUSDMetapool " , {
832+ await hre . deployments . deploy ( "MockCurveLUSDMetapool " , {
833833 from : deployerAddr ,
834- args : [ [ alUsd . address , assetAddresses . ThreePoolToken ] ] ,
834+ args : [ [ LUSD . address , assetAddresses . ThreePoolToken ] ] ,
835835 } ) ;
836836
837- const alUSDMetapoolToken = await ethers . getContract ( "MockCurvealUSDMetapool " ) ;
837+ const LUSDMetapoolToken = await ethers . getContract ( "MockCurveLUSDMetapool " ) ;
838838 const mockBooster = await ethers . getContract ( "MockBooster" ) ;
839- await mockBooster . setPool ( alusdMetapoolLPCRVPid , alUSDMetapoolToken . address ) ;
839+ await mockBooster . setPool ( lusdMetapoolLPCRVPid , LUSDMetapoolToken . address ) ;
840840} ;
841841
842842// Deploy the Flipper trading contract
@@ -967,13 +967,13 @@ const main = async () => {
967967 await deployOracles ( ) ;
968968 await deployCore ( ) ;
969969 await deployCurveMetapoolMocks ( ) ;
970- await deployCurvealUSDMetapoolMocks ( ) ;
970+ await deployCurveLUSDMetapoolMocks ( ) ;
971971 await deployCompoundStrategy ( ) ;
972972 await deployAaveStrategy ( ) ;
973973 await deployThreePoolStrategy ( ) ;
974974 await deployConvexStrategy ( ) ;
975975 await deployConvexOUSDMetaStrategy ( ) ;
976- await deployConvexalUSDMetaStrategy ( ) ;
976+ await deployConvexLUSDMetaStrategy ( ) ;
977977 const harvesterProxy = await deployHarvester ( ) ;
978978 await configureVault ( harvesterProxy ) ;
979979 await configureStrategies ( harvesterProxy ) ;
0 commit comments