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

This commit is contained in:
牛涛涛
2021-01-21 17:49:17 +08:00
3 changed files with 19 additions and 22 deletions

View File

@@ -60,7 +60,6 @@ export class DVMContext {
mtFeeRateModel: Contract;
MtFeeRateModelLogic: Contract;
MtFeeRateModelLogicUpdate: Contract;
constructor() { }
@@ -101,7 +100,8 @@ export class DVMContext {
// permissionManager.options.address,
// gasPriceSource.options.address,
config.i,
config.k
config.k,
true
).send(this.sendParam(this.Deployer))
await gasPriceSource.methods.initOwner(this.Deployer).send(this.sendParam(this.Deployer))
@@ -111,7 +111,6 @@ export class DVMContext {
this.MtFeeRateModelLogic = await contracts.newContract(contracts.FEE_RATE_MODEL_LOGIC_NAME)
this.MtFeeRateModelLogicUpdate = await contracts.newContract(contracts.FEE_RATE_MODEL_LOGIC_UPDATE_NAME)
console.log(log.blueText("[Init DVM context]"));
}

View File

@@ -41,7 +41,6 @@ export class ProxyContext {
DODOIncentive: Contract;
mtFeeRateModel: Contract;
MtFeeRateModelLogic: Contract;
MtFeeRateModelLogicUpdate: Contract;
Deployer: string;
Maintainer: string;
@@ -158,7 +157,6 @@ export class ProxyContext {
this.MtFeeRateModelLogic = await contracts.newContract(contracts.FEE_RATE_MODEL_LOGIC_NAME)
this.MtFeeRateModelLogicUpdate = await contracts.newContract(contracts.FEE_RATE_MODEL_LOGIC_UPDATE_NAME)
console.log(log.blueText("[Init DVM context]"));