The RAACNFT contract allows users to mint NFTs by transferring ERC20 tokens. However, there is no function to withdraw or use these funds, causing them to be permanently locked in the contract.
In RAACNFT#mint(), users send ERC20 tokens (_amount) to the RAACNFT contract:
However, there is no function to withdraw or manage the accumulated tokens.
As a result, all tokens for minted NFTs will be locked in the contract forever.
Funds for minted NFTs are permanently locked
manual
Add a withdraw function to allow the contract owner to transfer funds to a treasury or operational wallet.
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.