The HorseStore.sol::TokenURI()
and HorseStore.huff::TokenURI()
functions return an empty string. So there aren't present the metadata (including the image) of the NFTs.
In HorseStore.sol
, there is no explicit implementation of the tokenURI()
function. This means that the function is inherited from the ERC721 standard without being overridden.
In HorseStore.huff
, the tokenURI()
function is defined as follows:
This macro simply stores 0x20 and 0x00 in memory and then returns the contents of memory starting at 0x00 for 0x20 bytes. This effectively returns an empty string because it does not actually load any meaningful data into memory before returning it.
Manual review
To fix this issue, it is necessary to implement the tokenURI()
function in both HorseStore.sol
and HorseStore.huff
to return a valid URI for each NFT. This involves constructing a string that points to a resource with metadata about the token, such as a JSON file hosted on IPFS.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.