aave-protocol-v2/tasks/misc/set-bre.ts

10 lines
244 B
TypeScript
Raw Normal View History

import { task } from 'hardhat/config';
import { setDRE } from '../../helpers/misc-utils';
2020-05-29 14:55:31 +00:00
task(`set-DRE`, `Inits the DRE, to have access to all the plugins' objects`).setAction(
async (_, _DRE) => {
setDRE(_DRE);
return _DRE;
2020-07-13 08:54:08 +00:00
}
);