The updateTotalWeight
returns incorrect values due to veTokens
not being transferrable .
When calculating boost , the updateWeight gets called to calculate the current weight without modifying the state
The issue with this is that, the veToken
is a non-transferrable token, meaning the token after minting cannot be transferred, but the updateTotalWeight is returning the locked position
of address(this)
, meaning the boostController
address, but the veTokens
are never minted to the boostController
contract , meaning , it would always return zero.
The boostParameters
are incorrectly applied, this will lead to an incorrect state like the totalWeight
and the votingPower
.
Manual
Make the function to return that for a specific address that has veTokens
and not the boostController
which has no veTokens
.
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.