The veRAACToken::getLockedBalance
and veRAACToken::getLockEndTime
functions access the uninitialized locks mapping instead of _lockState.locks
, causing them to always return zero values.
Likelihood: Medium
Affects all calls to these view functions
External integrations likely use these functions
Impact: Low
Returns incorrect data about user positions
May affect UI displays and external integrations
The fix updates view functions to read from the correct storage
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.