-
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
refactor: remove legacy v1 token supports in sdk #458
base: master
Are you sure you want to change the base?
Conversation
Deploying with Cloudflare Pages
|
379aead
to
5d472e1
Compare
7cd2aa9
to
ea7276a
Compare
ea7276a
to
4072756
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.
Definitely a step in the right direction.
apps/ui/src/hooks/interaction/useCrossChainEvmToEvmSwapInteractionMutation.ts
Outdated
Show resolved
Hide resolved
4072756
to
e390122
Compare
e390122
to
1587efb
Compare
icon: USN_SVG, | ||
isStablecoin: true, | ||
isLp: false, | ||
tokenNumber: 0x0102, |
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.
Is there anything note-worthy about removing a token project that may have allocated a token number? Is this token number re-usable?
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.
It would need to be changed in all the routing contracts. Not sure if that's possible. @swimivan? @swimricky?
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.
We never had a (test)pool for it so the SwimRouter never heard of it in the first place.
And the SwimRouter also allows reuse of token numbers, so it's doubly not an issue.
So remove away.
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.
Reviewed for USN removal, looks good. Can also remove mention of USN in apps/scripts
4c0979b
to
87becf7
Compare
wrappedDetails: EMPTY_MAP, | ||
}, | ||
], | ||
pools: [], |
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.
Is the plan to add these in a later PR?
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.
I will see if I can include it in next pr easily, if not I will create another PR for that
Notion ticket: https://www.notion.so/exsphere/Remove-any-kind-of-legacy-support-from-the-SDK-e2bb36ec76164d2e98de8a270296e9d8
Checklist