moneyversed
medium
The collateral value calculation in the CollateralManager.sol file may result in incorrect ratios when dealing with tokens that have different decimal values, which could lead to under-collateralized loans.
In the CollateralManager.sol contract, the collateral value calculation may be inaccurate when handling tokens with different decimal values. This could potentially result in under-collateralized loans, putting the platform and its users at risk.
Potential under-collateralized loans, leading to increased risk for the platform and its users.
Manual Review
Ensure that the collateral value calculation takes into account the decimal values of the tokens involved, and verify the accuracy of the calculations to prevent under-collateralized loans.