Some tokens don't revert on transfers, rather they return false. For these tokens, the logic for this protocol breaks.
In the setPool
function there is the following code for token transfers:
For tokens which return false on failed transfers, this logic will not work as intended.
The logic for this protocol will not work for tokens which return false on failed transfers.
Manual review
Replace all transfer
and transferFrom
calls with safeTransfer
and safeTransferFrom
.
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.