After an NFT is divided to ERC20 tokens, a token can be burned by any owner of the token, which makes the NFT unclaimable.
When an NFT is divided into ERC20 tokens using the TokenDivider
contract, the resulting ERC20 tokens can be burned by any token holder. This can lead to a situation where the total supply of ERC20 tokens is reduced, making it impossible to claim the original NFT, as the required amount of ERC20 tokens no longer exists.
High - Lost of funds(ERC721 Token)
Foundry Tests
Instead of using a contract mapping for the minted amount:
Use the ERC20 standard function totalSupply
to check the total supply of ERC20 tokens:
Any person can mint the ERC20 token generated in representation of the NFT
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.