From b33e5368d74824c5f571b2fe12de3cff8efa8fbe Mon Sep 17 00:00:00 2001 From: tracy <25892474+traceurl@users.noreply.github.com> Date: Fri, 25 Aug 2023 11:23:23 +0800 Subject: [PATCH] update comment --- migrations/3_deploy_v2.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/migrations/3_deploy_v2.js b/migrations/3_deploy_v2.js index fb42dc8..4439368 100644 --- a/migrations/3_deploy_v2.js +++ b/migrations/3_deploy_v2.js @@ -315,7 +315,6 @@ module.exports = async (deployer, network, accounts) => { //Factory /* - 疑似废弃 if (ERC20V2FactoryAddress == "") { await deployer.deploy( ERC20V2Factory, @@ -572,7 +571,7 @@ module.exports = async (deployer, network, accounts) => { if (network == 'kovan' || network == 'rinkeby' ||network == "boba_test" || network == "dashboard") { var tx; - //ApproveProxy init以及添加ProxyList + //ApproveProxy init console.log("DODOApproveProxy init") const DODOApproveProxyInstance = await DODOApproveProxy.at(DODOApproveProxyAddress); tx = await DODOApproveProxyInstance.init(multiSigAddress, [DODOV2ProxyAddress, DODODspProxyAddress, DODOCpProxyAddress, DODODppProxyAddress, DODOMineV3ProxyAddress, DODOFeeRouteProxy1Address, DODOFeeRouteProxy2Address]); @@ -589,12 +588,12 @@ module.exports = async (deployer, network, accounts) => { tx = await FeeRateModelInstance.setFeeProxy(FeeRateDIP3ImplAddress); logger.log("Set FeeRateImpl tx: ", tx.tx); - //ERC20V3Factory 设置fee + //ERC20V3Factory set fee // const ERC20V3FactoryInstance = await ERC20V3Factory.at(ERC20V3FactoryAddress); // tx = await ERC20V3FactoryInstance.changeCreateFee("100000000000000000"); // logger.log("Set ERC20V3 fee tx: ", tx.tx); - //DODOMineV2Factory 设置个人账户为owner + //DODOMineV2Factory set owner const dodoMineV2FactoryInstance = await DODOMineV2Factory.at(DODOMineV2FactoryAddress); var tx = await dodoMineV2FactoryInstance.initOwner(multiSigAddress); logger.log("Init DODOMineV2Factory Tx:", tx.tx);