AaveDIVAWrapperCore::_registerCollateralToken
function will not work for some tokens that don't support approve type(uint256).max
amount.
There are tokens that doesn't support approve spender type(uint256).max
amount. So the AaveDIVAWrapperCore::_registerCollateralToken
will not work for some tokens like UNI
or COMP
who will revert when approve type(uint256).max
amount.
Tokens that don't support approve type(uint256).max
amount could not be registered as a collateral token and be deposited by users.
Manual Review
Try approving a very large amount instead of type(uint256).max
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.