Pieces Protocol

First Flight #32
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

Unused storage variable TokenDivder::erc20ToNft

Summary

mapping(address erc20 => address nft) erc20ToNft;

this mapping is being updated in TokenDivider::divideNft to map each erc20 to the nft address collection but is unused anywhere else in the code logic. This by default has an internal visibility only so it is remaining unused.

Tools Used

Manual Review

Recommendations

Remove the mapping

Updates

Lead Judging Commences

fishy Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.