Skip to content

feat(state-growth): add ERC20/ERC721 storage-slot share chart#436

Merged
Savid merged 2 commits into
ethpandaops:masterfrom
weiihann:feat/token-state
Jun 19, 2026
Merged

feat(state-growth): add ERC20/ERC721 storage-slot share chart#436
Savid merged 2 commits into
ethpandaops:masterfrom
weiihann:feat/token-state

Conversation

@weiihann

Copy link
Copy Markdown
Contributor
image

weiihann added 2 commits June 19, 2026 11:58
Ran pnpm generate:api with the pinned openapi-ts 0.92.3 (node_modules had a
stale 0.87.4 that produced bogus output). Brings src/api up to the current
prod openapi.yaml: adds the token_contract tables this feature needs, plus
unrelated upstream add/removes that had accumulated since the last regen.

Left client.gen.ts's default baseUrl as committed (it is overridden at runtime
via VITE_API_URL in utils/api-config.ts).
New TokenStorageShareCard on the State Growth page: a horizontal stacked bar
showing the share of total storage slots owned by ERC20 vs ERC721 contracts
vs Others, from fct_token_contract_storage_state_by_block_daily. Reuses the
page's existing storage-leaves total as the denominator (no extra state-size
query). Adds a labelFontSize prop to the shared StackedBar.
@weiihann weiihann requested a review from Savid as a code owner June 19, 2026 03:59
@Savid Savid merged commit f7071ce into ethpandaops:master Jun 19, 2026
2 of 3 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.

2 participants