The protocol has a hardcoded 20% platform fee that cannot be modified. This means the fee percentage is permanently set in the code and cannot be adjusted by protocol governance or administrators. In dynamic market conditions, the ability to adjust fees is crucial - during bull markets, users might be willing to pay higher fees, while in bear markets, lower fees could help maintain user activity and protocol revenue.
1. The fee is hardcoded at 20% in the joinDAO function
2. No function exists to modify this fee percentage
3. The fee calculation is done using basic integer division which can lead to rounding issues
1.Protocol cannot adjust fees based on market conditions which might result in:
Lost revenue during bull markets
Reduced user activity during bear markets
2. For small payment amounts, due to integer division:
Fees might round down to zero
Protocol loses revenue
Manual review
Implement a configurable fee system that allows protocol administrators to adjust the fee percentage through a governance process. This should include a maximum fee cap to protect users.
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.