mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
aa6ab1d4ee
- Add configurations - Add tasks for minor interaction - Add a delay in `withSaveAndVerify` to handle rate limiting
14 lines
641 B
TypeScript
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);
|
|
});
|