-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add token configs to SDK #411
Conversation
packages/solana/src/ecosystem.ts
Outdated
tokens: [ | ||
{ | ||
isDisabled: !process.env.REACT_APP_ENABLE_POOL_RESTRUCTURE, | ||
id: "testnet-swimusd", | ||
projectId: TokenProjectId.SwimLpSolanaUsdcUsdt, | ||
nativeDetails: { | ||
address: "3ngTtoyP9GFybFifX1dr7gCFXFiM2Wr6NfXn6EuU7k6C", // TODO: Update | ||
decimals: 6, | ||
}, | ||
wrappedDetails: new Map([ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually the swimUSD used by the restructured pools. Since we want to bring back the Wormhole form I guess we have to add a swimUSD wrappedDetails
section to the chain config and remove this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry this was a stupid comment. The wrapped details here will be the native details on each other chain.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
I guess we could use them in ui/src/config/tokens
too, right? Is it left for later?
Yes, that's the plan but that's a bigger refactoring job. |
19a4805
to
0995776
Compare
Deploying with Cloudflare Pages
|
✨ Deployment complete! Take a peek over at https://1865fd2e.ui-storybook.pages.dev |
8aa210d
to
b5584ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good 👍
Notion ticket: Part of https://www.notion.so/exsphere/Use-SDK-configs-be0f3d23cae54f1594777a2d00de0007
Checklist