The calculation of the costInEuros in the distributeAssets() suffers from a rounding down issue, resulting in a small precision loss that can be improved.
Division before multiplication can lead to rounding down issue since Solidity has no fixed-point numbers. During the calculation of the variable costInEuros in the distributeAssets() function, division is done before multiplication. Hence, the computed result can suffer from the rounding down issue, resulting in a small precision loss.
The computed result by costInEuros variable can suffer from the rounding down issue.
Manual Testing
Do multiplication before division
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.