The addMigratedUnderlying
function does not account for tokens with fee on transfer.
The function addMigratedUnderlying
may not transfer exactly unripeToken
amount of tokens, for tokens with a fee on transfer. This means that the incrementUnderlying
call in the next line would be less tokens than what was received, leading to accounting issues.
Manual Review
It is recommended to find the balance of the current contract before and after the transferFrom to see how much tokens were received, and incrementUnderlying only what was received.
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.