SoulboundProfileNFT.tokenURI checks if (ownerOf(tokenId) == address(0)) revert ERC721Metadata__URI_QueryFor_NonExistentToken(); — but ERC721.ownerOf reverts (ERC721NonexistentToken) for nonexistent/burned tokens; it never returns address(0). The branch is unreachable; the custom error can never fire. Harmless but misleading.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.