aave-protocol-v2/tasks/misc/set-bre.ts
2020-05-29 16:55:31 +02:00

11 lines
251 B
TypeScript

import { task } from "@nomiclabs/buidler/config";
import { setBRE } from "../../helpers/misc-utils";
task(
`set-bre`,
`Inits the BRE, to have access to all the plugins' objects`
).setAction(async (_, _BRE) => {
setBRE(_BRE);
return _BRE;
});