MyCut

First Flight #23
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Hardcoded Manager Cut Percentage

Description: The manager cut percentage is hardcoded as a constant

(managerCutPercent = 10).

Impact: This reduces flexibility, as any change to the manager's cut would require redeploying the contract, which can be costly and inconvenient.

Recommended Mitigation: Consider making the manager cut percentage a configurable parameter set during contract deployment or through a function callable by the owner. This allows for greater flexibility and adaptability to changing requirements.

Updates

Lead Judging Commences

equious Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.