A highest bidder (the auction winner) can withdraw assets, which means they can get the auctioned item for free.
The function withdraw()
will be active once function end()
is successfully executed.
However, it does not prevent the auction winner (the highest_bidder
) from withdrawing asset. If this occurs, then the highest bidder gets the auctioned item for free. The contract will not be able to return the assets of the losing bidders in full if the auction owner also withdraws.
The auction winner gets free item.
Manual review.
Consider preventing the auction winner from withdrawing.
The `withdraw` function allows the participants to receive back the value of all their unsuccessful bids. The problem is that the winner of the auction will receive all bids including the `highest_bid` that should be paid to the NFT owner.
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.