LiquidationPoolManager.setPoolFeePercentage should distribute fees before changing fee rate.
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.
Pool will get incorrect fees percentage for previous period.
VsCode
When you change fee rate, then call distributeFees
before.
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.