The ContestManager::fundContest
function transfers tokens through the transferFrom
function which returns a bool, but there is no check if the function fails.
There a several tokens that don't revert if the transferFrom
returns false. The owner of the contract who created the contest would believe the pot would be funded without the any tokens being sent to the pot. Would classify vulnerability as low since it's only the owner of the contract funding the contract.
Manual code inspection
Could use the SafeERC20 library.
Or add a custom error to the ContestManager
contract and add these lines to the ConstestManager::fundContest
function:
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.