add dodoRouteProxy
This commit is contained in:
@@ -17,6 +17,7 @@ const UpCrowdPoolingFactory = artifacts.require("UpCrowdPoolingFactory");
|
||||
const CpFactory = artifacts.require("CrowdPoolingFactory");
|
||||
const MultiCall = artifacts.require("Multicall");
|
||||
const LockedTokenVault = artifacts.require("LockedTokenVault");
|
||||
const DODORouteProxy = artifacts.require("DODORouteProxy");
|
||||
|
||||
const DspTemplate = artifacts.require("DSP");
|
||||
const DspFactory = artifacts.require("DSPFactory");
|
||||
@@ -279,6 +280,21 @@ module.exports = async (deployer, network, accounts) => {
|
||||
logger.log("Init DODORechargeAddress Tx:", tx.tx);
|
||||
}
|
||||
|
||||
if (deploySwitch.MULTIHOP) {
|
||||
logger.log("====================================================");
|
||||
logger.log("network type: " + network);
|
||||
logger.log("Deploy time: " + new Date().toLocaleString());
|
||||
logger.log("Deploy type: DODORouteProxy");
|
||||
|
||||
await deployer.deploy(
|
||||
DODORouteProxy,
|
||||
WETHAddress,
|
||||
DODOApproveProxyAddress
|
||||
);
|
||||
|
||||
logger.log("DODORouteProxy Address: ", DODORouteProxy.address);
|
||||
}
|
||||
|
||||
|
||||
if (deploySwitch.vDODOToken) {
|
||||
logger.log("====================================================");
|
||||
|
||||
Reference in New Issue
Block a user