This commit is contained in:
owen05
2020-11-25 22:12:51 +08:00
parent 8da583d5a8
commit 3a16e0e7e1
5 changed files with 94 additions and 32 deletions

View File

@@ -48,7 +48,7 @@ export class ProxyContext {
this.Maintainer = allAccounts[1];
this.SpareAccounts = allAccounts.slice(2, 10);
var WETH = await contracts.newContract(
this.WETH = await contracts.newContract(
contracts.WETH_CONTRACT_NAME
);
@@ -101,7 +101,7 @@ export class ProxyContext {
[
this.DVMFactory.options.address,
this.DPPFactory.options.address,
WETH.options.address,
this.WETH.options.address,
this.SmartApprove.options.address,
dodoSellHelper.options.address
]
@@ -117,9 +117,6 @@ export class ProxyContext {
contracts.MINTABLE_ERC20_CONTRACT_NAME,
["USDT Token", "USDT", 6]
);
this.WETH = await contracts.newContract(
contracts.WETH_CONTRACT_NAME
);
console.log(log.blueText("[Init DVM context]"));
}