Skip to content

Pool.totalVotesDeposited(USD) reflects a gauge token balance, not veNFT votes #915

Description

@FonsSicca

Source: data-quality audit of deployment 8fcf9a8 (2026-07-07). Full findings: Notion audit.

What to build

Reconcile Pool.totalVotesDeposited(USD) with its name. The field currently holds a gauge token balance, not votes. Measured as votes it is roughly 51x off, and it reads 0 on all leaf chains. The audit confirmed veNFTamountStaked is wei-exact against on-chain Voter.weights on all 14 pools checked, including leaves.

This needs a design decision before implementation:

  • If the field is meant to be votes, re-source it from Voter.weights (or re-point consumers to veNFTamountStaked).
  • If the field is meant to be a gauge balance, rename or document it so the name stops implying votes.

Labeled needs-triage pending that call.

Acceptance criteria

  • Decision recorded on whether the field represents votes or a gauge balance.
  • Field semantics reconciled with its name, or consumers re-pointed to veNFTamountStaked, or the field renamed/documented accordingly.

Blocked by

None — can start immediately (decision required before implementation).

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageMaintainer needs to evaluate this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions