aave-protocol-v2/tasks/dev/1_mock_tokens.ts

10 lines
362 B
TypeScript

import {task} from 'hardhat/config';
import {deployAllMockTokens} from '../../helpers/contracts-deployments';
task('dev:deploy-mock-tokens', 'Deploy mock tokens for dev enviroment')
.addFlag('verify', 'Verify contracts at Etherscan')
.setAction(async ({verify}, localBRE) => {
await localBRE.run('set-DRE');
await deployAllMockTokens(verify);
});