The calculateLiquidityRate
function computes protocol fees but fails to implement proper fee collection and distribution mechanisms, potentially resulting in lost protocol revenue.
Protocol fee revenue remains uncollected
Potential discrepancies in downstream calculations
Implement state tracking for protocolFeeAmount
Add fee distribution logic to designated recipient
Return both rate and fee values separately for proper handling
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.