The feeTypes
mapping assumes that the FeeType
struct fits within the specified 100% distribution, but there is no explicit check in place to ensure that the sum of the veRAACShare
, burnShare
, repairShare
, and treasuryShare
equals 100%. If this is not enforced, the contract could experience overflow or unintended behavior.
Incorrect fee distributions could occur, leading to potential mismanagement of protocol funds.
Enforce a validation check to ensure that the sum of the shares always equals 100% (or 10,000 basis points).
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.