script for supportsInterface
This commit is contained in:
parent
bd2cb5aea9
commit
a5f9d9f139
|
@ -0,0 +1,12 @@
|
|||
const Wrapper = artifacts.require("CurioERC1155Wrapper");
|
||||
|
||||
const interfaceId = process.argv[6];
|
||||
|
||||
module.exports = async (callback) => {
|
||||
const wrapper = await Wrapper.deployed();
|
||||
|
||||
const supports = await wrapper.supportsInterface(interfaceId);
|
||||
console.log(`Supports interface: ${supports}`);
|
||||
|
||||
callback();
|
||||
}
|
Loading…
Reference in New Issue