Repository navigation
feat: add tokenized equities token list - #224
Open
iamvukasin wants to merge 10 commits into
Open
iamvukasin wants to merge 10 commits into
iamvukasin wants to merge 10 commits into
Conversation
iamvukasin
requested review from
Im-Madhur-Gupta,
QEDK and
keone
as code owners
October 15, 2026 15:44
|
Verified commit
|
gimme-shelter
previously approved these changes
Oct 16, 2026
iamvukasin
dismissed stale reviews from gimme-shelter and Im-Madhur-Gupta
via
October 27, 2026 12:31
6ace7c8
iamvukasin
force-pushed
the
feat/equities-token-list
branch
from
October 27, 2026 12:31
a9e2a12 to
6ace7c8
Compare
Add tokenlist-equities.json, a separate list of tokenized stocks and ETFs on Monad, generated weekly from issuer sources (xStocks and Anchored) and published as @monad-crypto/equities-token-list. - scripts/sync_equities.py builds the list: addresses, logos and cross-chain deployments come from each issuer, name/symbol/decimals are read on-chain, CoinGecko IDs are matched by address. Issuers fail independently and keep their previous tokens. - scripts/validate_equities.py checks the list's structure (CI) and, without --skip-onchain, compares metadata with the chain. - Versioning, diffing and writing move from generate_token_list_file.py to utils/token_list.py, shared by both lists. - npm/ becomes a pnpm workspace with token-list and equities packages sharing codegen; publishing and signed PR creation move into composite actions. - New Sync Equities and Release Equities workflows.
- Anchored: verify each cross-chain address on-chain by comparing symbol() on Ethereum, Base and Arbitrum, dropping addresses that do not match; follow redirects when checking logos; note why the funds table is skipped. - Check duplicates per issuer in build_source_tokens, so one issuer's bad rows no longer block the others; the global check stays for duplicates across issuers. - load_existing_token_list raises on an unreadable or non-object file instead of returning None, which restarted the version at 1.0.0. - compare_tokens sorts symbols so change reports are stable between runs. - Sync Equities runs validate_equities.py --skip-onchain before opening the PR, since PRs opened with GITHUB_TOKEN do not trigger CI.
A commit that updates a token list without its package.json (e.g. a local sync) left the manifest version stale, so the registry check saw it as already published and skipped the build, publish and tag. Run codegen first so the check, publish and tag all use the list's version.
find_deployed_addresses discarded the metadata error map, so an RPC timeout silently dropped valid cross-chain addresses. An address is now dropped only when its symbol is read and differs, or its read fails and eth_getCode (with retry, via the new fetch_code_with_retry) returns empty code. Any other failure raises RuntimeError, so the sync keeps the previous Anchored tokens. The dropped-chain log lists chains in check order.
iamvukasin
force-pushed
the
feat/equities-token-list
branch
from
October 28, 2026 11:21
6ace7c8 to
de26902
Compare
Im-Madhur-Gupta
previously approved these changes
Oct 28, 2026
gimme-shelter
previously approved these changes
Oct 30, 2026
iamvukasin
dismissed stale reviews from gimme-shelter, QEDK, and Im-Madhur-Gupta
via
November 13, 2026 12:14
1ec624e
gimme-shelter
approved these changes
Nov 13, 2026
gimme-shelter
approved these changes
Nov 20, 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.
Add
tokenlist-equities.json, a separate list of tokenized stocks and ETFs on Monad, generated weekly from issuer sources (xStocks and Anchored) and published as@monad-crypto/equities-token-list.scripts/sync_equities.pybuilds the list: addresses, logos and cross-chain deployments come from each issuer, name/symbol/decimals are read on-chain, CoinGecko IDs are matched by address. Issuers fail independently and keep their previous tokens.scripts/validate_equities.pychecks the list's structure (CI) and, without--skip-onchain, compares metadata with the chain.generate_token_list_file.pytoutils/token_list.py, shared by both lists.npm/becomes a pnpm workspace with token-list and equities packages sharing codegen; publishing and signed PR creation move into composite actions.