Skip to content

token-list: name the yield sources of the Stellar IBTs - #438

Merged
Ulydev merged 1 commit into
mainfrom
feat/stellar-yield-sources
Oct 28, 2026
Merged

Ulydev merged 1 commit into
mainfrom
feat/stellar-yield-sources

Conversation

@Ulydev

@Ulydev Ulydev commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

The Stellar catalog (spectra-sdk #324, merged) now sources each IBT's base APY from its token-list entry instead of a map of addresses in code. For that it needs:

  • protocol: "Upshift" on earnUSDC and earnXLM. They are Upshift vaults; sw-USDC and sw-EURC (Blend) and sw-deJTRSY (Centrifuge) already declare their protocol.
  • A new optional extensions.yieldSourceId: the token's id at its protocol's yield data provider, used when the address alone doesn't identify it. It is set on sw-deJTRSY to its Centrifuge share-class token id 0x00010000000000040000000000000001.

Schema change: one optional string property. The edited entries validate against token.schema.json.

Until this ships, those three IBTs show no base APY. I verified the result against mainnet with this list applied: earnXLM 2.11%, earnUSDC 3.85%, sw-deJTRSY 4.10%.

🤖 Generated with Claude Code

earnUSDC and earnXLM are Upshift vaults; they now say so in
extensions.protocol, like sw-USDC/sw-EURC (Blend) and sw-deJTRSY
(Centrifuge) already do.

New optional extensions.yieldSourceId: the token's id at its protocol's
yield data provider when the address alone doesn't identify it. Set on
sw-deJTRSY to its Centrifuge share-class token id. The Stellar catalog
reads these to source each IBT's base APY instead of a code-side map.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Ulydev
Ulydev merged commit ca46e21 into main Oct 28, 2026
1 check passed
@Ulydev
Ulydev deleted the feat/stellar-yield-sources branch October 28, 2026 09:07
Ulydev added a commit that referenced this pull request Oct 28, 2026
sw-deJTRSY is listed under both tokens and wrappers. The Token API's /all
keeps the first entry per address, which is the tokens one, so the
Centrifuge share-class id added to the wrapper entry in #438 never
reached the Stellar catalog. Both entries now carry it.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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