EIP20 states that:
Callers MUST handle false
from returns (bool success)
. Callers MUST NOT assume that false
is never returned!
However CapitalPool:approve ()
does not check the return value of the low lvl call to approve(address,uint256)
Inproper approval handling of ERC20 tokens. Allowance might not be achieved and subsequent transfers with allowance will fail
Manual review
Use OpenZeppelin SafeERC20.sol lib when interacting with ERC20 tokens
Invalid, low level call will always return true as long as the call succeeds without reverting, so this has no impact described, given approvals can only fail when some weird tokens do not allow a uint256.max approval, which is not described in any of the issues below.
Invalid, low level call will always return true as long as the call succeeds without reverting, so this has no impact described, given approvals can only fail when some weird tokens do not allow a uint256.max approval, which is not described in any of the issues below.
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.