@@ -4,10 +4,10 @@ import { Signer } from 'ethers';
44import { getDefenderRelaySigner } from '../../helpers/defender-utils' ;
55
66task ( 'proposal-stk-extensions' , 'Deploy implementations and create proposal' )
7- . addOptionalParam ( 'stkAaveImpl ' )
8- . addOptionalParam ( 'stkBptImpl ' )
7+ . addOptionalParam ( 'stkaaveimpl ' )
8+ . addOptionalParam ( 'stkbptimpl ' )
99 . addFlag ( 'defender' )
10- . setAction ( async ( { defender, stkAaveImpl , stkBptImpl } , localBRE : any ) => {
10+ . setAction ( async ( { defender, stkaaveimpl , stkbptimpl } , localBRE : any ) => {
1111 await localBRE . run ( 'set-dre' ) ;
1212
1313 let deployer : Signer ;
@@ -21,7 +21,7 @@ task('proposal-stk-extensions', 'Deploy implementations and create proposal')
2121
2222 const {
2323 AAVE_TOKEN = '0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9' ,
24- IPFS_HASH = 'QmT9qk3CRYbFDWpDFYeAv8T8H1gnongwKhh5J68NLkLir6 ' , // WIP
24+ IPFS_HASH = '0x4d4a4bda3036f8da3f6911941df8c185f0e4ec248de44b44253dae5a4798a001 ' ,
2525 AAVE_GOVERNANCE_V2 = '0xEC568fffba86c094cf06b22134B23074DFE2252c' , // mainnet
2626 AAVE_LONG_EXECUTOR = '0x61910ecd7e8e942136ce7fe7943f956cea1cc2f7' , // mainnet
2727 } = process . env ;
@@ -33,26 +33,26 @@ task('proposal-stk-extensions', 'Deploy implementations and create proposal')
3333 const AAVE_STAKE = '0x4da27a545c0c5B758a6BA100e3a049001de870f5' ;
3434 const STK_BPT_STAKE = '0xa1116930326D21fB917d5A27F1E9943A9595fb47' ;
3535
36- if ( ! stkAaveImpl ) {
37- stkAaveImpl = await DRE . run ( 'deploy-staked-aave-rev3' , { defender : ! ! defender } ) ;
36+ if ( ! stkaaveimpl ) {
37+ stkaaveimpl = await DRE . run ( 'deploy-staked-aave-rev3' , { defender : ! ! defender } ) ;
3838 }
39- if ( ! stkBptImpl ) {
40- stkBptImpl = await DRE . run ( 'deploy-staked-bpt-rev2' , { defender : ! ! defender } ) ;
39+ if ( ! stkbptimpl ) {
40+ stkbptimpl = await DRE . run ( 'deploy-staked-bpt-rev2' , { defender : ! ! defender } ) ;
4141 }
4242
4343 await DRE . run ( 'propose-extension' , {
4444 stkAaveProxy : AAVE_STAKE ,
45- stkAaveImpl,
45+ stkAaveImpl : stkaaveimpl ,
4646 stkBptProxy : STK_BPT_STAKE ,
47- stkBptImpl,
47+ stkBptImpl : stkbptimpl ,
4848 aaveGovernance : AAVE_GOVERNANCE_V2 ,
4949 longExecutor : AAVE_LONG_EXECUTOR ,
5050 ipfsHash : IPFS_HASH ,
5151 defender : ! ! defender ,
5252 } ) ;
5353
5454 return {
55- stkAaveImpl ,
56- stkBptImpl ,
55+ stkaaveimpl ,
56+ stkbptimpl ,
5757 } ;
5858 } ) ;
0 commit comments