aave-protocol-v2/tasks/misc/set-bre.ts
2020-07-13 11:54:08 +03:00

10 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;
}
);