Skip to content

feat(dao): split voting power into castable vs votable (exclude non-voting treasury)#151

Merged
marinom2 merged 1 commit into
mainfrom
feat/dao-castable
Jul 1, 2026
Merged

feat(dao): split voting power into castable vs votable (exclude non-voting treasury)#151
marinom2 merged 1 commit into
mainfrom
feat/dao-castable

Conversation

@marinom2

@marinom2 marinom2 commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Follow-up: the votable sum (getTotalVotingPower ~9.97B) includes the Treasury's 4.5B, which a contract can't vote. API now returns castableSupplyWei (votable − Treasury − FeePool ≈ 5.47B) + nonCastableWei; the header shows 'X castable of Y votable (Z in the treasury, non-votable)'. votes==balance on the precompile so the Treasury/FeePool balances are their non-castable voting power. Typecheck clean.

…oting treasury)

The votable sum (getTotalVotingPower ~9.97B) includes the Treasury's 4.5B, which
is held by a contract that cannot cast a vote. The overview API now also returns
castableSupplyWei (votable - Treasury - FeePool ~5.47B) and nonCastableWei, and
the voting-power line shows 'X castable of Y votable (Z in the treasury,
non-votable)' so the real castable power is clear.
@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightnode Ready Ready Preview, Comment Jul 1, 2026 9:43am

Request Review

@marinom2 marinom2 merged commit f7924c3 into main Jul 1, 2026
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant