aave-protocol-v2/tasks/arbitrum/deploy-tokens.ts
Lasse Herskind aa6ab1d4ee feat: Add config + additional tasks + delay in withSaveAndVerify
- Add configurations
- Add tasks for minor interaction
- Add a delay in `withSaveAndVerify` to handle rate limiting
2021-08-02 11:25:21 +02:00

14 lines
641 B
TypeScript

import { task } from 'hardhat/config';
import { ConfigNames, loadPoolConfig } from '../../helpers/configuration';
import { deployAllMockTokens, deployMockTokens } from '../../helpers/contracts-deployments';
import { getFirstSigner, getMockedTokens } from '../../helpers/contracts-getters';
import { getParamPerNetwork } from '../../helpers/contracts-helpers';
import { eEthereumNetwork } from '../../helpers/types';
task('arbitrum:deploy-mock-tokens', 'Deploy mock tokens').setAction(async ({}, localBRE) => {
await localBRE.run('set-DRE');
const conf = loadPoolConfig(ConfigNames.Arbitrum);
await deployMockTokens(conf, false);
});