The current implementation of the divideNft
function in the smart contract allows for the minting of an infinite number of ERC20 tokens representing NFT fractions. This creates an issue where users can't buy all the fractions of the ERC20 tokens, as the minted supply is infinite. As a result, users are unable to reach the required token balance to claim the original NFT, undermining the fractionalization process.
type(uint256).max
), which creates an issue where users cannot buy enough fractions to redeem the original NFT.With infinite tokens minted, users are unable to obtain the full set of fractions required to claim the NFT, which defeats the purpose of fractionalizing the asset.
Even if a user manages to buy some tokens, they cannot buy all the fractions because the total number of minted tokens exceeds the expected amount, preventing the proper claim process.
Minting Abuse: The ability to mint infinite tokens disrupts the fractionalized token model.
Claim Process Failure: Users can’t obtain enough tokens to claim the original NFT, breaking the intended functionality.
User Experience: The inability to redeem the original NFT after acquiring all fractions results in frustration and confusion for users.
Limit Minting Supply: Implement a maximum limit for the minted ERC20 tokens representing NFT fractions. This ensures the total minted amount stays within a reasonable range that aligns with the fractionalization logic.
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.