The platformFee is always 0 if the tierPrice is less than 5 which leads to loss of fees for the platform
In the function joinDAO
you are calculating the platform fee with the following code:
Where the tierPrice is variable of type uint256. However if the tier price is 1,2,3,4 the platform fee is always 0 because of the precision loss.
Loss of fees
manual review
Fix the precision loss or create minimum amount for tierPrice
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.