The getUnderlyingPerUnripeToken
will return the amount of underlying per unripe token , However it does not check for division by 0.
The getUnderlyingPerUnripeToken
return the amount of underlying token per Unripe token. It is possible that the unripe token total supply is 0. so in this case it will Dos and return unexpected results
Dos, the contract does not return expected results.
Manual Review
check if totalSupply
of unripeToken
is 0 then return balanceOfUnderlying
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.