The withdraw
function allows bidders to withdraw their bids when the auction has ended, however, the bid_values
state variable isn't updated, thus allowing bidders to keep withdrawing till the contract is drained.
The function transfers a bidder's bid to the bidder after the auction has ended but the bid_values
is not being set to zero. This allows a bidder to withdraw multiple times.
Bidders can withdraw more than their bids
Manual
bid_values
should be set to 0
The `withdraw` function doesn't reset the `bid_values` to 0 after the withdraw. That means the bidder can call multiple time the `withdraw` function and receive the whole balance of the protocol.
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.