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.
This pull request enhances the token supply page in
src/modules/[chain]/supply/index.vueby integrating metadata and asset configuration to provide more detailed and visually enriched token information. The changes include updates to the data model, new utility functions, and improvements to the UI for displaying token details.Backend Enhancements:
mergeDenomMetadatafunction to merge token metadata (DenomMetadata) with global asset configuration, enabling enriched token details such as logos and display names. (src/modules/[chain]/supply/index.vueL2-R66)findGlobalAssetConfigutility function to retrieve asset configuration for a specific token denomination from the chain store. (src/modules/[chain]/supply/index.vueL2-R66)Data Model Updates:
listdata structure to include additional fields (denom,amount,base,info,logo) for each token, allowing for more comprehensive token information. (src/modules/[chain]/supply/index.vueL2-R66)SupplyAssetinterface to extend asset metadata with alogofield for better type safety and clarity. (src/modules/[chain]/supply/index.vueL2-R66)UI Improvements:
Logo,Info, andBase, providing users with more context about each token. (src/modules/[chain]/supply/index.vueR75-R89)Example Using: https://github.com/ping-pub/ping.pub/blob/7d168867a8f5c3114a33676dff3515745684b835/chains/mainnet/xion.json
