aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils/erc20_wrapper.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-04-23 10:30:04 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-24 00:57:13 +0800
commit32e77753b518e0821d75c404b9dcd16af8f2cd8b (patch)
treeeda93b3795120fa55837e816e814b812d62f52bb /packages/contracts/src/utils/erc20_wrapper.ts
parentf427a736a39d716e5d3c796ffe7648a79469e6ec (diff)
downloaddexon-sol-tools-32e77753b518e0821d75c404b9dcd16af8f2cd8b.tar.gz
dexon-sol-tools-32e77753b518e0821d75c404b9dcd16af8f2cd8b.tar.zst
dexon-sol-tools-32e77753b518e0821d75c404b9dcd16af8f2cd8b.zip
Define numbers of dummy tokens to deploy in constants
Diffstat (limited to 'packages/contracts/src/utils/erc20_wrapper.ts')
-rw-r--r--packages/contracts/src/utils/erc20_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/src/utils/erc20_wrapper.ts b/packages/contracts/src/utils/erc20_wrapper.ts
index 950b20c99..212a639ff 100644
--- a/packages/contracts/src/utils/erc20_wrapper.ts
+++ b/packages/contracts/src/utils/erc20_wrapper.ts
@@ -24,7 +24,7 @@ export class ERC20Wrapper {
}
public async deployDummyERC20TokensAsync(): Promise<DummyERC20TokenContract[]> {
const tokenContractInstances = await Promise.all(
- _.map(this._tokenOwnerAddresses, tokenOwnerAddress =>
+ _.map(_.range(constants.NUM_DUMMY_ERC20_TO_DEPLOY), () =>
this._deployer.deployAsync(ContractName.DummyERC20Token, constants.DUMMY_ERC20_TOKEN_ARGS),
),
);