Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of nameless ERC-20 tokens #523

Merged
merged 1 commit into from Jun 14, 2023

Conversation

csillag
Copy link
Contributor

@csillag csillag commented Jun 13, 2023

There are some ERC-20 tokens which don't have a name or a ticker, because these are (strictly speaking) not mandatory parts of the contract specification. We still need to display something on the UI.

This can be tested with account 0x0df7C50f085345a12A2d06cE0D5519607b6E9B47 (Sapphire, Testnet.)

Before:

image

After:

image

@github-actions
Copy link

github-actions bot commented Jun 13, 2023

Deployed to Cloudflare Pages

Latest commit: 89a7d4705b4c18aac5f75150f43880afd5aa9306
Status:✅ Deploy successful!
Preview URL: https://495e16c6.oasis-explorer.pages.dev

@donouwens
Copy link
Collaborator

Could we replace the '???' with 'n/a', please @csillag

@csillag csillag force-pushed the csillag/handle-nameless-tokens branch from 840ee69 to 4cfa0d0 Compare June 14, 2023 04:13
@csillag
Copy link
Contributor Author

csillag commented Jun 14, 2023

OK, so now it looks like this:
image

@csillag csillag force-pushed the csillag/handle-nameless-tokens branch from 4cfa0d0 to 12e7565 Compare June 14, 2023 08:57
@csillag csillag force-pushed the csillag/handle-nameless-tokens branch from 12e7565 to 89a7d47 Compare June 14, 2023 09:00
@csillag csillag merged commit 6cef319 into master Jun 14, 2023
6 checks passed
@csillag csillag deleted the csillag/handle-nameless-tokens branch June 14, 2023 09:03
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.

None yet

3 participants