★ Flash-loanable voting weight
Venus Protocol's assessment for RD-F-036 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
GovernorBravoDelegate uses xvsVault.getPriorVotes(voter, proposal.startBlock) for voting weight — checkpointed balance at proposal-start block. XVS token implements checkpoints mapping and getPriorVotes. Flash-loan attack on voting not possible: staked vault balance cannot be flash-borrowed and the checkpoint is historical.
Sources #
- GitHubGovernorBravo — xvsVault.getPriorVotes(voter, proposal.startBlock) confirmedGovernorBravoDelegate.sol getPriorVotes callretrieved 2026-04-28
- XVS token — getPriorVotes + checkpoints mapping; delegation enabledXVS.sol checkpoints and getPriorVotesretrieved 2026-04-28
Methodology #
Determine whether governance voting power is a function of current token balance of a transferable token with no lock or checkpoint, making it flash-loan susceptible.
See the full factor methodology and distribution across all protocols →
rubric_version v1.7.0 protocol venus factor RD-F-036 score green collected_at 2026-04-28 18:30:49