You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 theid
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.
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.The text was updated successfully, but these errors were encountered: