feat(state-growth): add ERC20/ERC721 storage-slot share chart#436
Merged
Conversation
weiihann
commented
Jun 19, 2026
Contributor
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.
Savid
approved these changes
Jun 19, 2026
Savid
approved these changes
Jun 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.