The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

LiquidationPoolManager.setPoolFeePercentage should distribute fees

Summary

LiquidationPoolManager.setPoolFeePercentage should distribute fees before changing fee rate.

Vulnerability Details

LiquidationPoolManager.setPoolFeePercentage function allows to change fee percentage that goes to the pool. Once it's done, then current accrued fees will be distributed in wrong ratio, when next distributeFees call will be done. Thus, users will get wrong percentage of fees.

Impact

Pool will get incorrect fees percentage for previous period.

Tools Used

VsCode

Recommendations

When you change fee rate, then call distributeFees before.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.