The distributePoints
function uses the pointsPerEpoch
variable to calculate the points to distribute. However, if pointsPerEpoch
is set incorrectly (e.g., to a very high value), it could cause excessive inflation or unintended distribution of tokens.
Risk: Improper setting of pointsPerEpoch
could lead to severe economic consequences for the contract, including token devaluation.
Solution: Implement validation checks or limits on how high pointsPerEpoch
can be set to avoid excessive distribution.
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.