mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
12 lines
300 B
TypeScript
12 lines
300 B
TypeScript
import {ExternalProvider} from '@ethersproject/providers';
|
|
|
|
import {task} from 'hardhat/config';
|
|
import {setDRE} from '../../helpers/misc-utils';
|
|
|
|
task(`set-DRE`, `Inits the DRE, to have access to all the plugins' objects`).setAction(
|
|
async (_, _DRE) => {
|
|
setDRE(_DRE);
|
|
return _DRE;
|
|
}
|
|
);
|