feat(explorer): TIP-20 Token tab and native precompile info#603
Merged
Conversation
Bundle Size Report
Chunk changes (>1KB)
Compared against main branch (baseline from 2/4/2026, 5:13:51 PM) |
Cloudflare Deployments
|
3d281df to
6eab9b4
Compare
o-az
approved these changes
Feb 20, 2026
- New Tip20ContractInfo component showing configuration (supply cap, currency, transfer policy, paused state), creation details (date, deployer address, creation tx), and role holders with grant dates - New /api/tip20-roles endpoint querying indexed RoleMembershipUpdated events to determine current role holders - Extended address metadata API to return createdTxHash and createdBy (deployer) from the oldest transaction - Responsive layout: addresses use Midcut truncation, roles stay single-row on all screen sizes, dates hidden on mobile - Bytecode section hidden for TIP-20 precompiles (bytecode is 0xef) - Links to TIP-20 spec, Solidity reference impl, and Rust impl Amp-Thread-ID: https://ampcode.com/threads/T-019c78f2-7e7e-7572-b57f-064c64d9b457 Co-authored-by: Amp <amp@ampcode.com> Amp-Thread-ID: https://ampcode.com/threads/T-019c78f2-7e7e-7572-b57f-064c64d9b457 Co-authored-by: Amp <amp@ampcode.com>
6eab9b4 to
1abe67b
Compare
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.
Summary
Adds a dedicated Token tab for TIP-20 native token addresses and a precompile banner on the Contract tab.
What's new
/api/tip20-rolesendpoint — queries indexedRoleMembershipUpdatedevents and fetches TIP-20 config via server-side RPCcreatedTxHashandcreatedBy(deployer)Screenshots
Token tab (desktop)
Contract tab (desktop)
Token tab (mobile)
Testing
Test with any TIP-20 address, e.g. USDC.e (Stargate):
0x20c000000000000000000000b9537d11c60e8b50on presto (mainnet).