const Factory = artifacts.require('logic/MinterFactory'); const UserFactory = artifacts.require('logic/UserMinterFactory'); module.exports = async function (deployer, network, accounts) { await deployer.deploy(Factory); const factoryInstance = await Factory.deployed(); if(factoryInstance) { console.log("Mint Factory successfully deployed.") } await deployer.deploy(UserFactory); const userFactoryInstance = await UserFactory.deployed(); if(userFactoryInstance) { console.log("User Mint Factory successfully deployed.") } }