The transferFrom
function does not check the return value, which means the function could fail silently, resulting in the auction being created without the transfer of tokens.
The transferFrom
function in the createAuction
method transfers tokens from the caller to the auction contract but does not verify if the transfer was successful. If the transfer fails, the auction would be created without the necessary tokens, which could lead to an invalid auction state.
Silent Failure: The auction contract could be created without the required tokens, leading to an invalid auction state or potential financial loss.
Manual Code Review
Check the Return Value: Ensure that the return value of the transferFrom
call is checked, and handle any failure appropriately to avoid creating an invalid auction state.
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.