wait to test
This commit is contained in:
@@ -37,8 +37,6 @@ export const PERMISSION_MANAGER_NAME = "PermissionManager"
|
||||
export const EXTERNAL_VALUE_NAME = "ExternalValue"
|
||||
export const DODO_PROXY_NAME = "DODOV2Proxy01"
|
||||
export const FEE_RATE_MODEL_NAME = "FeeRateModel"
|
||||
export const FEE_RATE_MODEL_LOGIC_NAME = "FeeRateModelLogic"
|
||||
export const FEE_RATE_MODEL_LOGIC_UPDATE_NAME = "FeeRateModelLogicUpdate"
|
||||
export const DPP_NAME = "DPP"
|
||||
export const DPP_FACTORY_NAME = "DPPFactory"
|
||||
export const SMART_APPROVE = "DODOApprove"
|
||||
|
||||
@@ -130,7 +130,6 @@ export class CPContext {
|
||||
).send(this.sendParam(this.Deployer))
|
||||
|
||||
await defaultGasSource.methods.init(this.Deployer, MAX_UINT256).send(this.sendParam(this.Deployer));
|
||||
await feeRateModel.methods.init(this.Deployer, decimalStr("0.001")).send(this.sendParam(this.Deployer));
|
||||
|
||||
console.log(log.blueText("[Init CrowdPooling context]"));
|
||||
}
|
||||
|
||||
@@ -59,7 +59,6 @@ export class DVMContext {
|
||||
|
||||
mtFeeRateModel: Contract;
|
||||
|
||||
MtFeeRateModelLogic: Contract;
|
||||
|
||||
constructor() { }
|
||||
|
||||
@@ -106,12 +105,8 @@ export class DVMContext {
|
||||
|
||||
await gasPriceSource.methods.initOwner(this.Deployer).send(this.sendParam(this.Deployer))
|
||||
await gasPriceSource.methods.set(MAX_UINT256).send(this.sendParam(this.Deployer))
|
||||
await lpFeeRateModel.methods.init(this.Deployer, config.lpFeeRate).send(this.sendParam(this.Deployer))
|
||||
await mtFeeRateModel.methods.init(this.Deployer, config.mtFeeRate).send(this.sendParam(this.Deployer))
|
||||
|
||||
|
||||
this.MtFeeRateModelLogic = await contracts.newContract(contracts.FEE_RATE_MODEL_LOGIC_NAME)
|
||||
|
||||
console.log(log.blueText("[Init DVM context]"));
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,6 @@ export class ProxyContext {
|
||||
//Functions
|
||||
DODOIncentive: Contract;
|
||||
mtFeeRateModel: Contract;
|
||||
MtFeeRateModelLogic: Contract;
|
||||
|
||||
Deployer: string;
|
||||
Maintainer: string;
|
||||
@@ -81,8 +80,6 @@ export class ProxyContext {
|
||||
var permissionManagerTemplate = await contracts.newContract(contracts.PERMISSION_MANAGER_NAME)
|
||||
var mtFeeRateModelTemplate = await contracts.newContract(contracts.FEE_RATE_MODEL_NAME)
|
||||
this.mtFeeRateModel = mtFeeRateModelTemplate;
|
||||
// await mtFeeRateModelTemplate.methods.init(this.Deployer,decimalStr("0.01")).send(this.sendParam(this.Deployer));
|
||||
await mtFeeRateModelTemplate.methods.init(this.Deployer,decimalStr("0")).send(this.sendParam(this.Deployer));
|
||||
|
||||
|
||||
this.DVMFactory = await contracts.newContract(contracts.DVM_FACTORY_NAME,
|
||||
@@ -155,10 +152,6 @@ export class ProxyContext {
|
||||
[this.WETH.options.address]
|
||||
)
|
||||
|
||||
|
||||
this.MtFeeRateModelLogic = await contracts.newContract(contracts.FEE_RATE_MODEL_LOGIC_NAME)
|
||||
|
||||
|
||||
console.log(log.blueText("[Init DVM context]"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user