2020-11-20 10:32:17 +00:00
|
|
|
import { task } from 'hardhat/config';
|
|
|
|
import { deployWalletBalancerProvider } from '../../helpers/contracts-deployments';
|
2020-11-02 13:45:00 +00:00
|
|
|
|
2020-11-20 10:32:17 +00:00
|
|
|
import { getLendingPoolAddressesProvider } from '../../helpers/contracts-getters';
|
2020-11-02 13:45:00 +00:00
|
|
|
|
|
|
|
task('dev:wallet-balance-provider', 'Initialize lending pool configuration.')
|
|
|
|
.addFlag('verify', 'Verify contracts at Etherscan')
|
2020-11-20 10:32:17 +00:00
|
|
|
.setAction(async ({ verify }, localBRE) => {
|
2020-11-05 12:44:20 +00:00
|
|
|
await localBRE.run('set-DRE');
|
2020-11-02 13:45:00 +00:00
|
|
|
|
2020-11-20 10:32:17 +00:00
|
|
|
await deployWalletBalancerProvider(verify);
|
2020-11-02 13:45:00 +00:00
|
|
|
});
|