Replace our EtherTokens with WETH9 from maker

This commit is contained in:
Leonid Logvinov
2017-12-20 14:53:38 +01:00
parent 455f74d449
commit 9ed05f56d3
6 changed files with 2 additions and 303 deletions

View File

@@ -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 = [