Judge has assessed an item in Issue #82 as 2 risk. The relevant finding follows:
Low-15 Collected fees are locked in the contract due to no sweeping or claiming methods
Instances(1)
In src/lib/pools/Pool.sol, fees are collected during loan repayments or loan liquidation flows and added to uint256 public getCollectedFees;. However, there are no methods to collect these fees, causing fees to be locked.
Recommendations:
Add a method to claim getCollectedFees.
Judge has assessed an item in Issue #82 as 2 risk. The relevant finding follows:
Low-15 Collected fees are locked in the contract due to no sweeping or claiming methods
Instances(1) In src/lib/pools/Pool.sol, fees are collected during loan repayments or loan liquidation flows and added to
uint256 public getCollectedFees;
. However, there are no methods to collect these fees, causing fees to be locked.Recommendations: Add a method to claim
getCollectedFees
.