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

11 lines
251 B
TypeScript
Raw Normal View History

2020-05-29 14:55:31 +00:00
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;
});