mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
12 lines
488 B
TypeScript
12 lines
488 B
TypeScript
|
import { task } from 'hardhat/config';
|
||
|
import { deployLendingPoolAddressesProviderRegistry } from '../../helpers/contracts-deployments';
|
||
|
|
||
|
task('full:deploy-address-provider-registry', 'Deploy address provider registry')
|
||
|
.addFlag('verify', 'Verify contracts at Etherscan')
|
||
|
.setAction(async ({ verify }, DRE) => {
|
||
|
await DRE.run('set-DRE');
|
||
|
|
||
|
const contract = await deployLendingPoolAddressesProviderRegistry(verify);
|
||
|
console.log('Registry Address:', contract.address);
|
||
|
});
|