bug: Swap page shows contract addresses instead of token symbols #4
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Trading pair and token fields show raw contract addresses instead of human-readable symbols (TSTA/TSTB). Token symbols should be resolved from token_info query.
mentioned in issue #1
Fix pushed in commit
c56e171.What changed:
tokenRegistry.ts— static lookup table built fromtokenlist/tokenlist.jsonmapping all 7 known tokens (LUNC, USTC, CL8Y, USTR, ALPHA, USTRIX, SpaceUSD) by denom/contract address to their symbol + logoURI.tokenDisplay.ts—getCachedTokenSymbol()andgetTokenDisplaySymbol()now check the registry first, so symbols resolve immediately for all known tokens (including the synchronous pair selector dropdown that was the main bug).useTokenDisplayInfohook — now exposeslogoURIfrom the registry.TokenLogocomponent — renders the actual token logo image when alogoURIis available; falls back to blockie identicon if the image fails to load or for unknown CW20 tokens. Native tokens and known tokens without a logo get no icon (same as before for native, but now they'll show their logo if registered).TokenDisplaycomponent — passeslogoURIthrough toTokenLogo.Please verify:
CL8Y / LUNC(etc.) instead of contract addressesVerified fixed — all 20 pairs show token symbols (EMBER, CORAL, JADE, etc.) instead of contract addresses.
mentioned in issue #18
mentioned in issue #242
mentioned in issue #502
mentioned in issue #507
mentioned in issue #529
mentioned in issue #558
ops-worker referenced this issue2026-09-06 12:05:13 +00:00