16 lines
429 B
JavaScript
16 lines
429 B
JavaScript
|
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 royaltyInfo = await wrapper.royaltyInfo(1, "10000000000");
|
||
|
console.log(JSON.stringify(royaltyInfo, null, 4));
|
||
|
|
||
|
callback();
|
||
|
}
|