The withdraw
function transfers the total amount_raised
to the creator but does not reset fund.amount_raised
to 0
afterward. This allows the creator to repeatedly withdraw the same funds, draining the fund account.
Fund Drainage: The creator can withdraw the amount_raised
multiple times, even after funds have already been transferred.
Protocol Integrity Loss: The amount_raised
value becomes untrustworthy, breaking fund accounting logic.
Reset amount_raised
to 0
after withdrawal:
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.