aave-protocol-v2/tasks/misc/print-contracts.ts

10 lines
274 B
TypeScript

import {task} from 'hardhat/config';
import {printContracts} from '../../helpers/misc-utils';
task('print-contracts', 'Inits the DRE, to have access to all the plugins').setAction(
async ({}, localBRE) => {
await localBRE.run('set-DRE');
printContracts();
}
);