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

10 lines
274 B
TypeScript
Raw Normal View History

2020-11-05 11:18:20 +00:00
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();
}
);