Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: medium
Valid

no function to give tokens to creators

Summary

no mint function to call from the user or entry point with recommendations

Vulnerability Details

because the function tokenURI(uint256 tokenId) is override from the one in erc721 than it need to use the _ownerOf(tokenId);
that function need the mint function to store nft ids in the mapping

Impact

the creators can't get there tokens

Tools Used

manual review

Recommendations

Implement NFT Minting: Add a function to mint NFTs, ensuring it adheres to the ERC721 standard.
Restrict Access: Ensure only the owner or authorized accounts can call the mint function.
Mint on Creation: Call the mint function within the account creation logic, assigning the NFT to the creator's address.
Emit Event: Optionally, emit an event upon successful minting for transparency.

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

The Wallet doesn't end up owning any nft

Support

FAQs

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