-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: add arbitrum one #389
Conversation
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@cowprotocol/[email protected], npm/@cowprotocol/[email protected] |
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.
👍
|
||
const tokenListsByNetwork: Record<SupportedChainId, string> = { | ||
[SupportedChainId.MAINNET]: 'CowSwap.json', | ||
[SupportedChainId.ARBITRUM_ONE]: 'CowSwap.json', |
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.
At some point, we might want to break by network the lists, right?
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.
Not sure. I'm inclined to think now that we should keep them all in the same file, except test chains.
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.
Im fine for now, but if we had 20 chains, and they all had 200 tokens you can easily see how we load data for users they don't need.
Anyways, not a big issue right now, if this is simpler, lets leave it for now
Summary
Part of cowprotocol/cowswap#4310
Testing
For the permit info, I've added it temporarily to CoW Swap.
Try it out on https://swap-dev-git-feat-4310arbitrum-cowswap.vercel.app/
For the token form, this PR needs to be merged first.