Skip to content

feat(web): DAO who-decides - voter participation + delegate power leaderboard#73

Merged
marinom2 merged 1 commit into
mainfrom
feat/dao-voter-delegate-leaderboard
Jun 10, 2026
Merged

feat(web): DAO who-decides - voter participation + delegate power leaderboard#73
marinom2 merged 1 commit into
mainfrom
feat/dao-voter-delegate-leaderboard

Conversation

@marinom2

Copy link
Copy Markdown
Owner

DAO intelligence tool #1: governance concentration the official DAO doesn't show.

What

  • New /api/dao-voters scans the governor's VoteCast events into a voter participation leaderboard (votes cast + For/Against/Abstain split) and the vote-token's DelegateVotesChanged events into a delegate voting-power leaderboard, plus headline stats: total votes, unique voters, delegate count, and top-5 power concentration.
  • Live Ethereum: 4,854 votes from 909 voters across 127 delegates; the top 5 control 38% of delegated weight.
  • Generalized the chunked event scanner into lib/dao-governor-scan (findEvents); findGovernorEvents is now a thin wrapper.
  • Pure aggregation in lib/dao-votes, unit-tested (+6). Read-only; every address links to the explorer.

LightChain degrades cleanly (0 votes; the native predeploy may not emit DelegateVotesChanged).

Verification

tsc / next build / ESLint clean, 491/491 tests. Verified live against the Ethereum governor.

…eaderboard

Surface governance concentration the official DAO doesn't show: who holds the
voting power and who actually shows up.

- New dao-voters route scans the governor's VoteCast events into a voter
  participation leaderboard (votes cast + For/Against/Abstain breakdown) and
  the vote-token's DelegateVotesChanged events into a delegate voting-power
  leaderboard, plus headline stats: total votes, unique voters, delegate
  count, and top-5 power concentration. Live Ethereum: 4,854 votes from 909
  voters across 127 delegates, top 5 control 38%.
- Generalized the chunked event scanner in lib/dao-governor-scan (findEvents);
  findGovernorEvents is now a thin wrapper over it.
- Pure aggregation in lib/dao-votes, unit-tested (+6). Read-only; the panel
  links each address to the explorer.
@vercel

vercel Bot commented Jun 10, 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 Jun 10, 2026 1:37pm

Request Review

@marinom2 marinom2 merged commit d79a2b5 into main Jun 10, 2026
5 checks passed
@marinom2 marinom2 deleted the feat/dao-voter-delegate-leaderboard branch June 10, 2026 13:56
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