The ReserveLibrary::calculateTimeWeightedAverage
function contains an inverted temporal comparison(timestamp <= periods[i].startTime
) that fundamentally breaks its logic
Incorrect Calculation of Time-Weighted Average
Manual Review
Replace timestamp <= periods[i].startTime
with timestamp >= periods[i].startTime
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.