i programatically figure out if its an ERC1155 or ERC721 contract?
id call a method to see if it implements something specific to one of them, pretty sure you could do a condition around what balanceOf returns – or something similar.
Erc165
Обсуждают сегодня