Add WETH9 and mirations
This commit is contained in:
@@ -20,6 +20,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 tokenReg = await deployer.deployAndSaveAsync('TokenRegistry');
|
||||
|
||||
const exchangeArgs = [zrxToken.address, tokenTransferProxy.address];
|
||||
@@ -68,6 +69,18 @@ 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 = [
|
||||
|
Reference in New Issue
Block a user