aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/deploy/migrations/migrate.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-20 21:53:38 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-20 21:53:38 +0800
commit9ed05f56d360d9566d3f749fc5335768e67a87c1 (patch)
treef72c3454bf1d0902d3539e718a6187aabb1b25eb /packages/contracts/deploy/migrations/migrate.ts
parent455f74d449738d43abb5caee3aa02ea86286866c (diff)
downloaddexon-sol-tools-9ed05f56d360d9566d3f749fc5335768e67a87c1.tar
dexon-sol-tools-9ed05f56d360d9566d3f749fc5335768e67a87c1.tar.gz
dexon-sol-tools-9ed05f56d360d9566d3f749fc5335768e67a87c1.tar.bz2
dexon-sol-tools-9ed05f56d360d9566d3f749fc5335768e67a87c1.tar.lz
dexon-sol-tools-9ed05f56d360d9566d3f749fc5335768e67a87c1.tar.xz
dexon-sol-tools-9ed05f56d360d9566d3f749fc5335768e67a87c1.tar.zst
dexon-sol-tools-9ed05f56d360d9566d3f749fc5335768e67a87c1.zip
Replace our EtherTokens with WETH9 from maker
Diffstat (limited to 'packages/contracts/deploy/migrations/migrate.ts')
-rw-r--r--packages/contracts/deploy/migrations/migrate.ts15
1 files changed, 1 insertions, 14 deletions
diff --git a/packages/contracts/deploy/migrations/migrate.ts b/packages/contracts/deploy/migrations/migrate.ts
index e2c220f68..d21d48a82 100644
--- a/packages/contracts/deploy/migrations/migrate.ts
+++ b/packages/contracts/deploy/migrations/migrate.ts
@@ -19,8 +19,7 @@ export const migrator = {
const tokenTransferProxy = await deployer.deployAndSaveAsync('TokenTransferProxy');
const zrxToken = await deployer.deployAndSaveAsync('ZRXToken');
- const etherToken = await deployer.deployAndSaveAsync('EtherToken');
- const makerEtherToken = await deployer.deployAndSaveAsync('WETH9');
+ const etherToken = await deployer.deployAndSaveAsync('WETH9');
const tokenReg = await deployer.deployAndSaveAsync('TokenRegistry');
const exchangeArgs = [zrxToken.address, tokenTransferProxy.address];
@@ -69,18 +68,6 @@ export const migrator = {
gas: addTokenGasEstimate,
},
);
- await tokenReg.addToken.sendTransactionAsync(
- makerEtherToken.address,
- 'Maker Ether Token',
- 'WETH9',
- 18,
- constants.NULL_BYTES,
- constants.NULL_BYTES,
- {
- from: owner,
- gas: addTokenGasEstimate,
- },
- );
for (const token of tokenInfo) {
const totalSupply = new BigNumber(0);
const args = [