16 lines
575 B
JavaScript
16 lines
575 B
JavaScript
const EvolveFactory = artifacts.require('logic/EvolveFactory');
|
|
const UserEvolveFactory = artifacts.require('logic/UserEvolveFactory');
|
|
|
|
module.exports = async function (deployer, network, accounts) {
|
|
await deployer.deploy(EvolveFactory);
|
|
const proxyInstance = await EvolveFactory.deployed();
|
|
if(proxyInstance) {
|
|
console.log("EvolveFactory successfully deployed.")
|
|
}
|
|
await deployer.deploy(UserEvolveFactory);
|
|
const userProxyInstance = await EvolveFactory.deployed();
|
|
if(userProxyInstance) {
|
|
console.log("UserEvolveFactory successfully deployed.")
|
|
}
|
|
}
|