dvm updatefeeratemodel test case

This commit is contained in:
杨新刚
2021-01-13 12:15:55 +08:00
parent 3afca0f7a0
commit 9aba31faf8
2 changed files with 56 additions and 6 deletions

View File

@@ -39,6 +39,7 @@ export class ProxyContext {
//Functions
DODOIncentive: Contract;
mtFeeRateModel: Contract;
MtFeeRateModelLogic: Contract;
MtFeeRateModelLogicUpdate: Contract;
@@ -80,6 +81,7 @@ export class ProxyContext {
var dppAdminTemplate = await contracts.newContract(contracts.DPP_ADMIN_NAME)
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));