const LuckyBox = artifacts.require('mysterybox/BEMysteryBox'); const BoxProxy = artifacts.require('mysterybox/MysteryBoxProxy'); 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.") } }