Repository navigation
token-list: name the yield sources of the Stellar IBTs - #438
Merged
Merged
Conversation
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
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>
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.
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.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 id0x00010000000000040000000000000001.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