The BaseGauge::voteDirection contract implements a voting mechanism through where users with veRAACToken can vote on emission directions (0-10000). The system tracks votes in the userVotes mapping and maintains a totalVotes counter, but these values are never utilized to affect the emission rate or any other parameter in the system.
While the contract stores vote information and emits events, the voting data is never used to influence the system's behavior. The weightPeriod variable, which is intended to track time-weighted averages, is never updated with the voting results. In this way, votes cast by veRAACToken holders have no effect on the system. User believe to partecipate with their vote but their votes have no impact.
The emission rate control mechanism described in the documentation is non-functional (ref. RAACGauge.md and RWAGaude.md BaseGauge inheritance notes section: Time-weighted vote tracking for RAAC token emissions directionality voting).
Manual review
Implement proper integration or delete the voting process.
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.