chore: update chain138 dvm deployment config

This commit is contained in:
defiQUG
2026-04-18 12:04:43 -07:00
parent d946606870
commit 2e0a364743
2 changed files with 15 additions and 4 deletions

View File

@@ -11,12 +11,12 @@ const DvmTemplate = artifacts.require("DVM");
const DvmFactory = artifacts.require("DVMFactory");
module.exports = async function (deployer, network, accounts) {
if (network !== "chain138") return;
if (network !== "chain138" && network !== "celo") return;
const multiSig = accounts[0];
const defaultMaintainer = accounts[0];
console.log("Deploying DVM stack on Chain 138 with maintainer:", multiSig);
console.log(`Deploying DVM stack on ${network} with maintainer:`, multiSig);
await deployer.deploy(CloneFactory);
const CloneFactoryAddress = CloneFactory.address;
@@ -56,7 +56,7 @@ module.exports = async function (deployer, network, accounts) {
const dvmFactoryInstance = await DvmFactory.at(dvmFactoryAddress);
await dvmFactoryInstance.initOwner(multiSig);
console.log("\n=== Chain 138 DVM deployment summary ===");
console.log(`\n=== ${network} DVM deployment summary ===`);
console.log("DVMFactory (use this with an adapter for createDVM):", dvmFactoryAddress);
console.log("Set DODO_VENDING_MACHINE_ADDRESS to the DVMFactoryAdapter address (deploy separately).");
};