Certain ERC20 token does not return bool from transfer and transferFrom and transaction revert
According to: https://github.com/d-xo/weird-erc20#missing-return-values
Some tokens do not return a bool on ERC20 methods and use IERC20 token interface will revert transaction
There are other functions besides these, but they never get executed, since initially the loanTokens
tokens will be reverted when creating the pool with setPool
The same happens with the collateralToken
but in the borrow
function
Some tokens do not return a bool on ERC20 methods and use IERC20 token interface will revert transaction
Manual Review
Use Openzeppelin safeTransfer / 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.