20 lines
565 B
JavaScript
20 lines
565 B
JavaScript
const UserFactory = artifacts.require("logic/UserMinterFactory");
|
|
const base = require("../scripts/base");
|
|
|
|
module.exports = async function (deployer, network, accounts) {
|
|
await deployer.deploy(UserFactory);
|
|
const userFactoryInstance = await UserFactory.deployed();
|
|
if (userFactoryInstance) {
|
|
console.log("User Mint Factory successfully deployed.");
|
|
}
|
|
|
|
let cfgs = base.updateArray({
|
|
name: "UserMinterFactory",
|
|
type: "logic",
|
|
json: "assets/contracts/UserMinterFactory.json",
|
|
address: userFactoryInstance.address,
|
|
network,
|
|
});
|
|
|
|
};
|