aave-protocol-v2/tasks/dev-deployment/1_mock_tokens.ts
2020-08-25 14:15:35 +02:00

9 lines
373 B
TypeScript

import {task} from '@nomiclabs/buidler/config';
import {deployAllMockTokens} from '../../helpers/contracts-helpers';
task('deploy-mock-tokens', 'Deploy mock tokens for dev enviroment')
.addOptionalParam('verify', 'Verify contracts at Etherscan')
.setAction(async ({verify}, localBRE) => {
await localBRE.run('set-bre');
await deployAllMockTokens(verify);
});