division before multiplication result in precision loss
division before multiplication result in precision loss which may cause loss of funds of the user,
and if the usdAmountInWei
is much more bigger than price
it will lead to round down to zero that will cause huge loss of funds
perform the multiplication first then the 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.