const Wrapper = artifacts.require("CurioERC1155Wrapper"); module.exports = async (callback) => { const wrapper = await Wrapper.deployed(); const name = await wrapper.name(); const symbol = await wrapper.symbol(); console.log(`Name: "${name}", symbol: "${symbol}"`); const { 0:receiver, 1:hexAmount} = await wrapper.royaltyInfo(1, "1000000000000000000"); console.log(`Default royalty recipient: ${receiver}`); const ubiqAmount = web3.utils.fromWei(hexAmount, "ether"); console.log(`Royalty on a 1 Ubiq fee: ${ubiqAmount}`); callback(); }