Skip to content

Add CEG, DRAM, and TSM Base tokens#21

Open
Siddharth2207 wants to merge 24 commits into
2026-05-22-add-sgovfrom
2026-05-18-new-tokens
Open

Add CEG, DRAM, and TSM Base tokens#21
Siddharth2207 wants to merge 24 commits into
2026-05-22-add-sgovfrom
2026-05-18-new-tokens

Conversation

@Siddharth2207

@Siddharth2207 Siddharth2207 commented May 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds three new ST0x wrapped equities to the Base token list and pins Raindex registry URLs to this branch.

Merge order: This PR is stacked on #22 — Add wtSGOV to Base token list (base2026-05-22-add-sgov). Merge #22 first, then #21.

Tokens added in this PR (token-lists/base.json)

Symbol Name Wrapped Unwrapped Receipt TradingView ISIN
wtCEG Constellation Energy Corporation 0x3aF952888Cd89DAD3e8AF67cf4b7E740B36829C3 0x9a5D3cAeC90b0332b18C0B93fEF42F3F8C918289 0xc6bc19df197ccd0db4c02ccd6aaff7b2ce698e08 NYSE:CEG US21037T1097
wtDRAM Roundhill Memory ETF 0x1A91Df4a970EBaB1bB4AF32Eb6d10509028eE4b8 0x96DE077262609298CD891E4Ab21bd34837dE33aB 0x728734768a772c137a5364b10e61943de13921c4 CBOE:DRAM US77926X3200
wtTSM Taiwan Semiconductor Manufacturing Company 0x71C66449d2528E23514A9c197BFD55Ae9DB3B714 0x7001e2974F775f0Fd73a3D2e5914e591f3EC3fBB 0x6553f9a5352ec3ca808138eab56fe4cc496ea5a9 NYSE:TSM US8740391003

Each entry is in both tokens and tokenMap. wtSGOV is included via the merged #22 branch (not introduced in this PR’s diff).

Combined list after merge: version 1.1.1, timestamp 2026-05-22, 18 tokens / 18 tokenMap entries.

Registry pins

  • settings.yaml: using-tokens-from → commit a37cc32 (token list with SGOV + CEG, DRAM, TSM).
  • registry: artifact URLs pinned to 87ce6cd (settings commit that references that token list).

Test plan

  • Merge #22 before this PR
  • Parse token-lists/base.json as JSON; confirm 18 tokens and 18 tokenMap keys
  • Spot-check wrapped, unwrapped, and receipt addresses on Base for wtCEG, wtDRAM, wtTSM
  • Confirm logo URLs resolve (CEG.png, roundhill.png, TSM.png on https://st0x.io/)
  • After merge, verify consumers load settings and token list from the pinned commits

@coderabbitai

coderabbitai Bot commented May 18, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Registry and settings token-source URLs are updated to commit 83f6e7d. The base token list timestamp and version.patch are advanced to 2026-05-20T00:00:00.000Z / patch 1, and three wrapped tokens (wtCEG, wtDRAM, wtTSM) plus matching tokenMap entries are added.

Changes

Registry Synchronization

Layer / File(s) Summary
Upstream registry pointer update
registry, settings.yaml
Registry embedded GitHub URLs and the using-tokens-fromtoken-lists/base.json URL in settings.yaml now reference upstream commit 83f6e7dc40460877fbcd7a6c7ecd5c827589c6f1 instead of the prior commit.
Token list timestamp and additions
token-lists/base.json
timestamp advanced to 2026-05-20T00:00:00.000Z and version.patch bumped to 1. Three wrapped tokens (wtCEG, wtDRAM, wtTSM) were appended to tokens, and matching entries were added to tokenMap with metadata and extensions.

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • alastairong1
  • findolor

Poem

🐰 I hopped through hashes, quick and bright,
I nudged the pointers into light,
Three wrapped tokens tucked in line,
A timestamp bumped — tidy and fine,
Registry settled — hop, goodnight.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title mentions only CEG, DRAM, and TSM but the actual PR objectives show four tokens being added (CEG, DRAM, TSM, and SGOV). The title is incomplete and does not fully reflect the changeset. Update the title to 'Add CEG, DRAM, TSM, and SGOV Base tokens' to accurately reflect all four wrapped assets being added in this pull request.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 2026-05-18-new-tokens

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
token-lists/base.json (1)

3-7: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Bump token list semantic version when adding new assets.

Line 3 updates the list snapshot and new tokens are added, but version remains 1.1.0. Consumers that key refresh behavior off version may not detect this update reliably.

🔧 Proposed fix
   "version": {
       "major": 1,
-      "minor": 1,
+      "minor": 2,
       "patch": 0
   },
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@token-lists/base.json` around lines 3 - 7, The token list was updated but the
semantic version fields under "version" (version.major, version.minor,
version.patch) were not incremented; update the semantic version in the token
list JSON (e.g., bump patch or minor as appropriate) so consumers that rely on
the version value can detect the update—locate the "version" object in
token-lists/base.json and increment the correct field (major/minor/patch) to
reflect the new snapshot timestamp.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@settings.yaml`:
- Line 40: The token-list URL in settings.yaml points to commit c08606126b...
while the registry uses commit 74498bac..., causing config drift; update the URL
in settings.yaml to reference the same registry cohort commit (replace the
commit SHA segment in the URL for the base.json token list with 74498bac...) so
the token source revision matches the registry commit.

---

Outside diff comments:
In `@token-lists/base.json`:
- Around line 3-7: The token list was updated but the semantic version fields
under "version" (version.major, version.minor, version.patch) were not
incremented; update the semantic version in the token list JSON (e.g., bump
patch or minor as appropriate) so consumers that rely on the version value can
detect the update—locate the "version" object in token-lists/base.json and
increment the correct field (major/minor/patch) to reflect the new snapshot
timestamp.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: be09494e-1e08-48ef-bcd4-1de51b6673f0

📥 Commits

Reviewing files that changed from the base of the PR and between 8a57bfe and ec4e3b6.

📒 Files selected for processing (3)
  • registry
  • settings.yaml
  • token-lists/base.json

Comment thread settings.yaml Outdated
@Siddharth2207 Siddharth2207 self-assigned this May 18, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (1)
settings.yaml (1)

40-40: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Pin using-tokens-from to the intended token-list commit.

This URL currently points to 81caa6b..., but the PR objective says this pin should use c08606126bdd3930583992564eff7cdd744d1e53. That drift can make consumers read a different list revision than intended.

🔧 Proposed fix
-  - https://raw.githubusercontent.com/ST0x-Technology/st0x.registry/81caa6b3431c29b818052abd3a464f298a974c98/token-lists/base.json
+  - https://raw.githubusercontent.com/ST0x-Technology/st0x.registry/c08606126bdd3930583992564eff7cdd744d1e53/token-lists/base.json
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@settings.yaml` at line 40, The entry under using-tokens-from currently
references the token-list URL with commit hash
81caa6b3431c29b818052abd3a464f298a974c98; update that URL so it uses the
intended commit c08606126bdd3930583992564eff7cdd744d1e53 (i.e., replace the
commit segment in the URL string with c08606126bdd3930583992564eff7cdd744d1e53)
to pin the token list to the correct revision.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@token-lists/base.json`:
- Around line 358-376: Remove the unintended wtSGOV token entries that were
added outside the PR scope: locate the object with "symbol": "wtSGOV" in the
tokens array and the corresponding key in tokenMap and revert/remove those
entries so only the intended wtCEG, wtDRAM, and wtTSM additions remain; after
removal, verify the tokens and tokenMap counts return to the expected 17/17 and
ensure no other metadata (e.g., extensions.unwrappedAddress/receiptAddress) for
wtSGOV remains in the JSON.

---

Duplicate comments:
In `@settings.yaml`:
- Line 40: The entry under using-tokens-from currently references the token-list
URL with commit hash 81caa6b3431c29b818052abd3a464f298a974c98; update that URL
so it uses the intended commit c08606126bdd3930583992564eff7cdd744d1e53 (i.e.,
replace the commit segment in the URL string with
c08606126bdd3930583992564eff7cdd744d1e53) to pin the token list to the correct
revision.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 64a0130e-591b-43c7-a206-cd6a2481556b

📥 Commits

Reviewing files that changed from the base of the PR and between 841a6d0 and 45d4117.

📒 Files selected for processing (3)
  • registry
  • settings.yaml
  • token-lists/base.json
✅ Files skipped from review due to trivial changes (1)
  • registry

Comment thread token-lists/base.json
@Siddharth2207 Siddharth2207 changed the title Add CEG, DRAM and TSM assets Add CEG, DRAM, TSM, and SGOV Base tokens May 20, 2026
@Siddharth2207 Siddharth2207 changed the title Add CEG, DRAM, TSM, and SGOV Base tokens Add CEG, DRAM, and TSM Base tokens May 22, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (1)
settings.yaml (1)

40-40: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Token source commit still misaligned with registry commit.

This is the same alignment issue flagged in the previous review. Line 40 points to commit 5109c5f154a3f673fcc0f6b0be60fb11b0cd70c9, while the registry file uses commit 83f6e7dc40460877fbcd7a6c7ecd5c827589c6f1. This mismatch can cause config drift and result in loading an unintended token list revision.

The two files should reference the same upstream commit to ensure consistency.

🔧 Proposed fix (after verifying the correct target commit)

If registry has the correct commit:

-  - https://raw.githubusercontent.com/ST0x-Technology/st0x.registry/5109c5f154a3f673fcc0f6b0be60fb11b0cd70c9/token-lists/base.json
+  - https://raw.githubusercontent.com/ST0x-Technology/st0x.registry/83f6e7dc40460877fbcd7a6c7ecd5c827589c6f1/token-lists/base.json

If settings.yaml has the correct commit, then update registry instead.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@settings.yaml` at line 40, settings.yaml currently references commit
5109c5f154a3f673fcc0f6b0be60fb11b0cd70c9 while the registry references
83f6e7dc40460877fbcd7a6c7ecd5c827589c6f1; update the mismatched commit so both
files point to the same upstream commit (either replace 5109c5f... in
settings.yaml with 83f6e7d... or update the registry to 5109c5f... after
verifying which is correct) to prevent config drift when loading the token list.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In `@settings.yaml`:
- Line 40: settings.yaml currently references commit
5109c5f154a3f673fcc0f6b0be60fb11b0cd70c9 while the registry references
83f6e7dc40460877fbcd7a6c7ecd5c827589c6f1; update the mismatched commit so both
files point to the same upstream commit (either replace 5109c5f... in
settings.yaml with 83f6e7d... or update the registry to 5109c5f... after
verifying which is correct) to prevent config drift when loading the token list.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a34ef364-0d20-4763-8ee4-640bfb7f19d7

📥 Commits

Reviewing files that changed from the base of the PR and between 45d4117 and 395ab48.

📒 Files selected for processing (3)
  • registry
  • settings.yaml
  • token-lists/base.json
💤 Files with no reviewable changes (1)
  • token-lists/base.json

@Siddharth2207 Siddharth2207 changed the base branch from main to 2026-05-22-add-sgov May 22, 2026 10:41
@Siddharth2207 Siddharth2207 requested a review from findolor June 2, 2026 08:42
@Siddharth2207 Siddharth2207 changed the base branch from 2026-05-22-add-sgov to main June 2, 2026 08:58
@Siddharth2207 Siddharth2207 changed the base branch from main to 2026-05-22-add-sgov June 2, 2026 09:07
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.

1 participant