From 3fceb4145ad06fb7c5e82c244fc0332be7a95652 Mon Sep 17 00:00:00 2001 From: openhands Date: Sun, 22 Feb 2026 11:10:50 +0000 Subject: [PATCH] feat: replace tax with holders in ring buffer, add sparkline charts (#170) Ring buffer slot 3 now stores holderCount snapshots instead of tax deltas. Tax tracking simplified to a totalTaxPaid counter on the stats record. Removed unbounded ethReserveHistory and feeHistory tables; 7d ETH reserve growth is now computed from the ring buffer. LiveStats renders inline SVG sparklines for ETH reserve, supply, and holders with holder growth %. Co-Authored-By: Claude Opus 4.6 --- landing/src/components/LiveStats.vue | 122 ++++++++++++++++++++++++++- services/ponder/ponder.schema.ts | 17 +--- services/ponder/src/helpers/stats.ts | 53 ++++++------ services/ponder/src/lm.ts | 66 ++++++--------- services/ponder/src/stake.ts | 34 ++------ 5 files changed, 179 insertions(+), 113 deletions(-) diff --git a/landing/src/components/LiveStats.vue b/landing/src/components/LiveStats.vue index 733bb03..287f050 100644 --- a/landing/src/components/LiveStats.vue +++ b/landing/src/components/LiveStats.vue @@ -5,6 +5,9 @@
ETH Reserve
{{ ethReserveAmount }}
{{ growthIndicator }}
+ + +
ETH / Token
@@ -19,10 +22,17 @@
Supply (7d)
{{ totalSupply }}
{{ netSupplyIndicator }}
+ + +
Holders
{{ holders }}
+
{{ holderGrowthIndicator }}
+ + +
Rebalances
@@ -44,22 +54,25 @@