Hi @DonkeVerse @jeffreyscholz
I am building two ERC1155 NFT implementations that also restricts themselves for 1/1 NFTs applications, and I am wondering whether we can have a common interface that can potentially be a standard in the future.
Since the implementation of ERC1155Delta doesn't allow querying the ownership information from the id in order to achieve constant-gas batch minting. Therefore, ownerOfERC721Like will not work in this implementation.
Instead, I am proposing to use the following interface for the ownership verification purpose.
function isOwnerOf(address account, uint256 id) external view returns(bool);
Also, adding this interface to supportsInterface so the third-party contract can recognise it and enables applications that is only available to 1/1 NFTs.
Hi @DonkeVerse @jeffreyscholz
I am building two ERC1155 NFT implementations that also restricts themselves for 1/1 NFTs applications, and I am wondering whether we can have a common interface that can potentially be a standard in the future.
Since the implementation of
ERC1155Deltadoesn't allow querying the ownership information from theidin order to achieve constant-gas batch minting. Therefore,ownerOfERC721Likewill not work in this implementation.Instead, I am proposing to use the following interface for the ownership verification purpose.
Also, adding this interface to
supportsInterfaceso the third-party contract can recognise it and enables applications that is only available to 1/1 NFTs.