location : FlowNFTDescriptor.sol
The tokenURI
function is intended to return metadata specific to each NFT based on its streamId
. However, in the current implementation, the function does not utilize the streamId
parameter or the sablierFlow
contract reference. As a result, it generates the same metadata for every NFT, regardless of its unique identifier.
NFT Uniqueness Compromised: Each NFT should have unique metadata to reflect its specific attributes and ownership details. Identical metadata can cause confusion and make it difficult for platforms and users to distinguish between different NFTs.
Potential for Misrepresentation: Without unique identifiers in the metadata, there is an increased risk of misrepresentation or fraudulent activities, as all tokens appear identical in metadata content.
Manual Review
Utilize the streamId
and sablierFlow
Parameters: Modify the tokenURI
function to incorporate the streamId
and interact with the sablierFlow
contract to retrieve stream-specific data.
Generate Dynamic Metadata: Include stream-specific details such as stream amount, recipient, sender, start and end times in the metadata JSON.
Customize SVG Content: Consider generating the SVG image dynamically to reflect unique aspects of each stream, enhancing the visual distinction between NFTs.
Example Modification:
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.