This commit is contained in:
owen05
2021-03-09 15:43:02 +08:00
parent 94ba7fbd21
commit 01c5447802
5 changed files with 65 additions and 3 deletions

View File

@@ -97,7 +97,8 @@ module.exports = async (deployer, network, accounts) => {
logger.log("network type: " + network);
logger.log("Deploy time: " + new Date().toLocaleString());
logger.log("Deploy type: V2");
logger.log("multiSigAddress: ", multiSigAddress)
if (DODOTokenAddress == "") return;
//Helper
if (DODOSellHelperAddress == "") {
@@ -282,7 +283,7 @@ module.exports = async (deployer, network, accounts) => {
logger.log("Init DODOProxyV2 Tx:", tx.tx);
if (network == 'kovan') {
if (network == 'kovan' || network == 'mbtestnet') {
const DODOApproveProxyInstance = await DODOApproveProxy.at(DODOApproveProxyAddress);
var tx = await DODOApproveProxyInstance.init(multiSigAddress, [DODOProxyV2.address]);