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

10 lines
251 B
TypeScript
Raw Normal View History

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