Use safeTransfer
instead of transfer
as some transfer might fail and contract also doesn't check for the return
status after the auction reward
token transfer in the claimTokens()
function.
The contract assumes that the token transfer is indeed success which silently could fail while claimming the tokens inside the function claimTokens()
in auction contract.
If transfer fails user couldn't claim again as the bidding mapping is re-set. Thus leading to funds lost for valid bidder.
Manual
Check if transfer fails and revert. Use safeTransfer
as well as other parts of code already uses.
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.