The lpTokenDepositValueChange
calculation currently lacks sufficient precision. To ensure accurate results, the precision of the computation should be increased.
The calculation for lpTokenDepositValueChange
is as follows:
This calculation is not performed using a fixed-point arithmetic approach, making it susceptible to precision loss, especially when the denominator is larger than the numerator—a common scenario.
Inaccurate lpTokenDepositValueChange
calculations can lead to improper fee assessment, potentially disrupting the protocol’s ability to collect fees correctly.
Manual Review
use fixed-point arithmetic
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.