Description:
The ERC20ToGenerateNftFraccion
contract has a mint
function that allows anyone to mint tokens to any address.
making the total supply of the token inconsistent with the actual amount of NFTs divided.
Impact:
currently tokenDivider
uses local state to manage the fractional token balance, this free mint does not directly break the function,
but recommend to remove this function to avoid potential misuse.
Recommended Mitigation:
remove the mint
function in ERC20ToGenerateNftFraccion
contract, instead, mint the token in the constructor. So the total supply of the token is fixed at the actual amount of NFTs divided.
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.