const LuckyBox = artifacts.require('mysterybox/BEMysteryBox'); const BoxProxy = artifacts.require('mysterybox/MysteryBoxProxy'); const Hero = artifacts.require('BEHero'); const Equip = artifacts.require('BEEquipment'); const Chip = artifacts.require('BEChip'); const config = require("../config/config"); module.exports = async function (deployer, network, accounts) { await deployer.deploy( LuckyBox ); const luckyBoxInstance = await LuckyBox.deployed(); if(luckyBoxInstance) { console.log("BELuckyBox successfully deployed.") } await deployer.deploy( BoxProxy ); const boxProxyInstance = await BoxProxy.deployed(); if(boxProxyInstance) { console.log("LuckyBoxProxy successfully deployed.") } }