on any NFT? some NFTs either lack ownerOf or their balanceOf has different signatures (some take one arg, some take two args)
would be cool to have universal solution
as its an erc1155 and i guess you want to index data from both standards(721 and 1155) i think one way to get the data would be to use first supportsInterface and check if its an ERC721 or an ERC115, you would need to save the different function selectors... quite a job tho
oh i'm dumb it's an erc1155....
Обсуждают сегодня