Skip to content

Commit

Permalink
fix: update paraswap token list urls (#82)
Browse files Browse the repository at this point in the history
Co-authored-by: Bob Lu <[email protected]>
  • Loading branch information
LuPoYi and Bob Lu authored Oct 24, 2024
1 parent 6502d43 commit 75a48ac
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/modern-lies-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@protocolink/logics': patch
---

update paraswap token list urls
24 changes: 17 additions & 7 deletions src/logics/paraswap-v5/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export const configs: Config[] = [
tokenTransferProxyAddress: '0x216B4B4Ba9F3e719726886d34a177484278Bfcae',
tokenListUrls: [
'https://raw.githubusercontent.com/paraswap/community-token-list/master/src/sources/paraswap.extralist.json',
'https://wispy-bird-88a7.uniswap.workers.dev/?url=http://tokenlist.aave.eth.link',
'https://gateway.ipfs.io/ipns/tokens.uniswap.org',
'https://raw.githubusercontent.com/bgd-labs/aave-address-book/main/tokenlist.json',
'https://tokens.uniswap.org',
],
},
{
Expand All @@ -22,19 +22,24 @@ export const configs: Config[] = [
tokenListUrls: [
'https://static.optimism.io/optimism.tokenlist.json',
'https://tokens.coingecko.com/optimistic-ethereum/all.json',
'https://raw.githubusercontent.com/bgd-labs/aave-address-book/main/tokenlist.json',
],
},
{
chainId: common.ChainId.bnb,
tokenTransferProxyAddress: '0x216B4B4Ba9F3e719726886d34a177484278Bfcae',
tokenListUrls: ['https://tokens.pancakeswap.finance/pancakeswap-extended.json'],
tokenListUrls: [
'https://tokens.pancakeswap.finance/pancakeswap-extended.json',
'https://raw.githubusercontent.com/bgd-labs/aave-address-book/main/tokenlist.json',
],
},
{
chainId: common.ChainId.polygon,
tokenTransferProxyAddress: '0x216B4B4Ba9F3e719726886d34a177484278Bfcae',
tokenListUrls: [
'https://unpkg.com/[email protected]/build/quickswap-default.tokenlist.json',
'https://unpkg.com/@cometh-game/[email protected]/build/comethswap-default.tokenlist.json',
'https://unpkg.com/quickswap-default-token-list@latest/build/quickswap-default.tokenlist.json',
'https://unpkg.com/@cometh-game/default-token-list@latest/build/comethswap-default.tokenlist.json',
'https://raw.githubusercontent.com/bgd-labs/aave-address-book/main/tokenlist.json',
'https://tokens.coingecko.com/polygon-pos/all.json',
],
},
Expand All @@ -46,15 +51,19 @@ export const configs: Config[] = [
{
chainId: common.ChainId.base,
tokenTransferProxyAddress: '0x93aAAe79a53759cD164340E4C8766E4Db5331cD7',
tokenListUrls: ['https://static.optimism.io/optimism.tokenlist.json'],
tokenListUrls: [
'https://static.optimism.io/optimism.tokenlist.json',
'https://raw.githubusercontent.com/bgd-labs/aave-address-book/main/tokenlist.json',
],
},
{
chainId: common.ChainId.arbitrum,
tokenTransferProxyAddress: '0x216B4B4Ba9F3e719726886d34a177484278Bfcae',
tokenListUrls: [
'https://raw.githubusercontent.com/paraswap/community-token-list/master/src/sources/paraswap.extralist.json',
'https://tokenlist.arbitrum.io/ArbTokenLists/arbed_arb_whitelist_era.json',
'https://bridge.arbitrum.io/token-list-42161.json',
'https://tokens.coingecko.com/arbitrum-one/all.json',
'https://raw.githubusercontent.com/bgd-labs/aave-address-book/main/tokenlist.json',
],
},
{
Expand All @@ -64,6 +73,7 @@ export const configs: Config[] = [
'https://raw.githubusercontent.com/pangolindex/tokenlists/main/pangolin.tokenlist.json',
'https://raw.githubusercontent.com/traderjoe-xyz/joe-tokenlists/main/mc.tokenlist.json',
'https://tokens.coingecko.com/avalanche/all.json',
'https://raw.githubusercontent.com/bgd-labs/aave-address-book/main/tokenlist.json',
],
},
];
Expand Down

0 comments on commit 75a48ac

Please sign in to comment.