If protocol ever adds token with more than 18 it will completly break the pool.
If token with more than 18 decimals will be added as accepted token it will ruin the liquidation pool and the liquidation process itself.
It all because of (18 - asset.token.dec) subtraction in distributeAssets. This will always revert and not allow for liquidation and assets distribution.
Pool will be broken due to incompatibility.
Do not add tokens with more than 18 decimals or change the calculation logic to account for such scenario.
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.