From 940b1f9ee116c5d27106771091b17af236916efd Mon Sep 17 00:00:00 2001 From: owen05 Date: Tue, 6 Jul 2021 22:50:57 +0800 Subject: [PATCH] update deploy script --- migrations/4_deploy_periphery.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/migrations/4_deploy_periphery.js b/migrations/4_deploy_periphery.js index aae7ef6..166cd51 100644 --- a/migrations/4_deploy_periphery.js +++ b/migrations/4_deploy_periphery.js @@ -117,6 +117,13 @@ module.exports = async (deployer, network, accounts) => { const dodoMineV3RegistryInstance = await DODOMineV3Registry.at(DODOMineV3RegistryAddress); var tx = await dodoMineV3RegistryInstance.addAdminList(DODOMineV3ProxyAddress); logger.log("DODOMineV3RegistryAddress Init tx: ", tx.tx); + + const DODOApproveProxyInstance = await DODOApproveProxy.at(DODOApproveProxyAddress); + tx = await DODOApproveProxyInstance.unlockAddProxy(DODOMineV3ProxyAddress); + logger.log("DODOApproveProxy Unlock tx: ", tx.tx); + + tx = await DODOApproveProxyInstance.addDODOProxy(); + logger.log("DODOApproveProxy AddProxy tx: ", tx.tx); } }