mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
14 lines
578 B
TypeScript
14 lines
578 B
TypeScript
|
import {task} from '@nomiclabs/buidler/config';
|
||
|
import {deployWalletBalancerProvider} from '../../helpers/contracts-deployments';
|
||
|
|
||
|
import {getLendingPoolAddressesProvider} from '../../helpers/contracts-getters';
|
||
|
|
||
|
task('dev:wallet-balance-provider', 'Initialize lending pool configuration.')
|
||
|
.addFlag('verify', 'Verify contracts at Etherscan')
|
||
|
.setAction(async ({verify}, localBRE) => {
|
||
|
await localBRE.run('set-bre');
|
||
|
|
||
|
const addressesProvider = await getLendingPoolAddressesProvider();
|
||
|
await deployWalletBalancerProvider(addressesProvider.address, verify);
|
||
|
});
|