When a user profile is burned, the funds sent to the contract from likes are kept in the contract and not sent back to the user.
When a user is burned using the SoulboundProfileNFT::burnProfile
or the SoulboundProfileNFT::blockProfile
, the funds sent to the contract from likes are kept in the contract and not sent back to the user.
Users who delete their accounts are not returned their funds.
N/A
Decide whether the owner of the contract should keep the money obtained from burned users, or the money should be sent back to the user.
If the money is to be sent back to the user, add a transfer in the SoulboundProfileNFT::burnProfile
and the SoulboundProfileNFT::blockProfile
functions to send the money back to the user.
Likelihood: Low, burning with money in it would be a user mistake, and being blocked is Low. Impact: High, loss of funds
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.