In the deposit function, the call to the getLpTokenValue function passed the wrong parameter, resulting in an error in getting the price.
The fifth parameter passed in the deposit function when calling the getLpTokenValue function indicates whether to add mobility or remove mobility. In the deposit function this parameter should be passed true, but in the repository it is passed false.
Getting the wrong lptoken price.
manual
It is recommended to change the incoming parameter from false to true.
Impact: Medium Likelihood: High The impact of using a wrong price (conservative vs optimistic) is limited, especially given the users specify the slippage.
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.