update deploy script

This commit is contained in:
owen05
2021-07-06 22:50:57 +08:00
parent 304e2b0b6a
commit 940b1f9ee1

View File

@@ -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);
}
}