The distributeAssets() function in the LiquidationPool contract performs a division before multiplication.
Solidity's integer division truncates. Thus, performing division before multiplication can lead to precision loss and should be avoided
Solidity's integer division truncates and can lead to false calculations due to precision loss
Manual Review
Perform multiplications before any divisions and use the following formula:
instead of:
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.