On-Chain
EVM
If your project uses on-chain calls for token owner
, replace them with streamNFT contract calls using the streamNFT ABI
For ERC721 token, you need to update on-chain call with \
(ERC721) ownerOf(tokenId) -> (streamNFT) ownerOf(tokenAddress,tokenId) (ERC721) balanceOf(user) -> (streamNFT) balanceOf(tokenAddress,user)
For ERC1155 token, you need to update on-chain call with
(ERC1155) balanceOf(tokenId,user) -> (streamNFT) balanceOf(tokenAddress,tokenId,user)
Last updated