Snowman Merkle Airdrop

First Flight #42
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Impact: low
Likelihood: low
Invalid

Array `SnowmanAirdrop::s_claimers` never used.

Description:
The SnowmanAirdrop::s_claimers array is never used on the entirely protocol.

.
.
// >>> TYPE
struct SnowmanClaim {
address receiver;
uint256 amount;
}
// >>> VARIABLES
@> address[] private s_claimers; // array to store addresses of claimers
bytes32 private immutable i_merkleRoot; // Merkle root used to validate airdrop claims
Snow private immutable i_snow; // Snow token to be staked for the airdrop
Snowman private immutable i_snowman; // Snowman nft to be claimed
mapping(address => bool) private s_hasClaimedSnowman; // mapping to verify if an address has claimed Snowman
.
.

Recommended Mitigation:
Remove or use it

Updates

Lead Judging Commences

yeahchibyke Lead Judge about 2 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.