Bid Beasts

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

[I-1] Value Name Misspelling

[I-1]Value Name Misspelling

Description

  • The code contains a spelling typo: the variable is named CurrenTokenID (missing a "t")

@> uint256 public CurrenTokenID;
constructor() ERC721("Goddie_NFT", "GDNFT") {}
function mint(address to) public onlyOwner returns (uint256) {
uint256 _tokenId = CurrenTokenID;
_safeMint(to, _tokenId);
emit BidBeastsMinted(to, _tokenId);
CurrenTokenID++;
return _tokenId;
}

Risk

Likelihood: LOW

  • This is a simple typographical error introduced at development time.

Impact: INFO / NONE

  • No functional impact on contract logic — the variable functions as intended.

Recommended Mitigation

Rename to fix typo for clarity before mainnet deployment:

- uint256 public CurrenTokenID;
+ uint256 public CurrentTokenID;
Updates

Lead Judging Commences

cryptoghost Lead Judge about 1 month ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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