The FlowNFTDescriptor contract, which generates the token URI for NFTs representing payment streams in Sablier Flow, lacks owner-restricted functions for modifying key properties like the NFT name and external URL.
The tokenURI function provides static metadata, making attributes such as name, external_url, and description immutable after deployment. Future changes would require redeploying the contract, leading to inefficiencies.
Lack of Flexibility: Inability to update metadata could lead to outdated information.
User Experience: Users may encounter incorrect or misleading NFT details.
Deployment Costs: Changes necessitate new contract deployments, increasing costs.
Risk of Abandonment: An inflexible contract may be perceived as outdated or abandoned.
Manual Code Review
Implement onlyOwner Modifiers: Add functions to update the name and external_url.
In addition, the updated variables should be used instead inside the tokenURI instead of having hardcoded name and external_url.
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.