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

10 lines
285 B
TypeScript

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