add audit report
This commit is contained in:
@@ -15,6 +15,7 @@ const WETH9 = artifacts.require("WETH9");
|
||||
const DODOToken = artifacts.require("DODOToken");
|
||||
const UpCrowdPoolingFactory = artifacts.require("UpCrowdPoolingFactory");
|
||||
const CpFactory = artifacts.require("CrowdPoolingFactory");
|
||||
const MultiCall = artifacts.require("Multicall");
|
||||
|
||||
module.exports = async (deployer, network, accounts) => {
|
||||
let CONFIG = GetConfig(network, accounts)
|
||||
@@ -58,6 +59,12 @@ module.exports = async (deployer, network, accounts) => {
|
||||
logger.log("Init UpCpFactory Tx:", tx.tx);
|
||||
}
|
||||
|
||||
if (deploySwitch.MultiCall) {
|
||||
await deployer.deploy(MultiCall);
|
||||
MultiCallAddress = MultiCall.address;
|
||||
logger.log("MultiCallAddress: ", MultiCallAddress);
|
||||
}
|
||||
|
||||
if (deploySwitch.CPFactory) {
|
||||
logger.log("====================================================");
|
||||
logger.log("network type: " + network);
|
||||
@@ -78,7 +85,7 @@ module.exports = async (deployer, network, accounts) => {
|
||||
logger.log("Init CpFactory Tx:", tx.tx);
|
||||
}
|
||||
|
||||
if(deploySwitch.DVM) {
|
||||
if (deploySwitch.DVM) {
|
||||
await deployer.deploy(DvmTemplate);
|
||||
DvmTemplateAddress = DvmTemplate.address;
|
||||
logger.log("DvmTemplateAddress: ", DvmTemplateAddress);
|
||||
|
||||
Reference in New Issue
Block a user