Skip to content

feat(dao): voting-power distribution (votable sum, accounts, staked-excluded)#150

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

feat(dao): voting-power distribution (votable sum, accounts, staked-excluded)#150
marinom2 merged 1 commit into
mainfrom
feat/dao-voting-power

Conversation

@marinom2

@marinom2 marinom2 commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Adds the voting-power breakdown the header was missing:

  • Votable sum: getTotalVotingPower (~9.97B LCAI).
  • Staked (excluded): getPastTotalSupply - getTotalVotingPower (735,000 LCAI worker stake out of the quorum base).
  • Accounts: ~1,188 from the explorer index (no on-chain holder enumerator exists - the precompile gives votes==balance per account but no list).

Rendered as a 'Voting power: … votable across ~K accounts · X staked (excluded from quorum)' line under the treasury stats. Holder-count fetch is best-effort (null on failure). Both changed files typecheck clean.

…aked-excluded

The governance header now surfaces the voting-power breakdown for LightChain:
the votable voting-power sum (getTotalVotingPower), the staked LCAI excluded from
the quorum base (getPastTotalSupply - getTotalVotingPower), and the ecosystem
account count from the explorer index (there is no on-chain holder enumerator).
Rendered as a 'Voting power: N LCAI votable across ~K accounts - X LCAI staked
(excluded from quorum)' line under the treasury stats.
@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:11am

Request Review

@marinom2 marinom2 merged commit b9d41ed 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