Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into feature/V2

This commit is contained in:
mingda
2020-11-25 22:22:14 +08:00
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]"));
}