From 5f00cd24088d6e36914d8ea43a63b150c1ce3e06 Mon Sep 17 00:00:00 2001 From: Christophe Date: Wed, 29 May 2024 09:57:18 +0000 Subject: [PATCH] feat: Add L2 native token list closes fs-536 --- .github/workflows/generate-token-lists.yml | 40 ++++++++++++++++++++++ src/Assets/arbitrum_native_token_list.json | 36 +++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 src/Assets/arbitrum_native_token_list.json diff --git a/.github/workflows/generate-token-lists.yml b/.github/workflows/generate-token-lists.yml index f85c771d..130991dd 100644 --- a/.github/workflows/generate-token-lists.yml +++ b/.github/workflows/generate-token-lists.yml @@ -138,30 +138,55 @@ jobs: - ArbTokenLists/660279_arbed_uniswap_labs.json version: true command: yarn arbify --l2NetworkID 660279 --prevArbifiedList https://tokenlist.arbitrum.io/ArbTokenLists/660279_arbed_uniswap_labs.json --tokenList https://tokenlist.arbitrum.io/ArbTokenLists/arbed_uniswap_labs.json --newArbifiedList ./src/ArbTokenLists/660279_arbed_uniswap_labs.json + - name: Xai Arbify Uniswap (L2 Native List) + paths: + - ArbTokenLists/660279_arbed_native_list.json + version: true + command: yarn arbify --l2NetworkID 660279 --ignorePreviousList --tokenList ./src/Assets/arbitrum_native_token_list.json --newArbifiedList ./src/ArbTokenLists/660279_arbed_native_list.json - name: Rari Arbify Uniswap paths: - ArbTokenLists/1380012617_arbed_uniswap_labs.json version: true command: yarn arbify --l2NetworkID 1380012617 --prevArbifiedList https://tokenlist.arbitrum.io/ArbTokenLists/1380012617_arbed_uniswap_labs.json --tokenList https://tokenlist.arbitrum.io/ArbTokenLists/arbed_uniswap_labs.json --newArbifiedList ./src/ArbTokenLists/1380012617_arbed_uniswap_labs.json + - name: Rari Arbify Uniswap (L2 Native List) + paths: + - ArbTokenLists/1380012617_arbed_native_list.json + version: true + command: yarn arbify --l2NetworkID 1380012617 --ignorePreviousList --tokenList ./src/Assets/arbitrum_native_token_list.json --newArbifiedList ./src/ArbTokenLists/1380012617_arbed_native_list.json - name: Muster Arbify Uniswap paths: - ArbTokenLists/4078_arbed_uniswap_labs.json version: true command: yarn arbify --l2NetworkID 4078 --prevArbifiedList https://tokenlist.arbitrum.io/ArbTokenLists/4078_arbed_uniswap_labs.json --tokenList https://tokenlist.arbitrum.io/ArbTokenLists/arbed_uniswap_labs.json --newArbifiedList ./src/ArbTokenLists/4078_arbed_uniswap_labs.json + - name: Muster Arbify Uniswap (L2 Native List) + paths: + - ArbTokenLists/4078_arbed_native_list.json + version: true + command: yarn arbify --l2NetworkID 4078 --ignorePreviousList --tokenList ./src/Assets/arbitrum_native_token_list.json --newArbifiedList ./src/ArbTokenLists/4078_arbed_native_list.json - name: Proof of Play Apex Arbify Uniswap paths: - ArbTokenLists/70700_arbed_uniswap_labs.json version: true command: yarn arbify --l2NetworkID 70700 --prevArbifiedList https://tokenlist.arbitrum.io/ArbTokenLists/70700_arbed_uniswap_labs.json --tokenList https://tokenlist.arbitrum.io/ArbTokenLists/arbed_uniswap_labs.json --newArbifiedList ./src/ArbTokenLists/70700_arbed_uniswap_labs.json + - name: Proof of Play Apex Arbify Uniswap (L2 Native List) + paths: + - ArbTokenLists/70700_arbed_native_list.json + version: true + command: yarn arbify --l2NetworkID 70700 --ignorePreviousList --tokenList ./src/Assets/arbitrum_native_token_list.json --newArbifiedList ./src/ArbTokenLists/70700_arbed_native_list.json - name: L3X Arbify Uniswap paths: - ArbTokenLists/12324_arbed_uniswap_labs.json version: true command: yarn arbify --l2NetworkID 12324 --prevArbifiedList https://tokenlist.arbitrum.io/ArbTokenLists/12324_arbed_uniswap_labs.json --tokenList https://tokenlist.arbitrum.io/ArbTokenLists/arbed_uniswap_labs.json --newArbifiedList ./src/ArbTokenLists/12324_arbed_uniswap_labs.json + - name: L3X Arbify Uniswap (L2 Native List) + paths: + - ArbTokenLists/12324_arbed_native_list.json + version: true + command: yarn arbify --l2NetworkID 12324 --ignorePreviousList --tokenList ./src/Assets/arbitrum_native_token_list.json --newArbifiedList ./src/ArbTokenLists/12324_arbed_native_list.json # Orbit Chains testnet - name: Xai Testnet Arbify Uniswap @@ -169,18 +194,33 @@ jobs: - ArbTokenLists/37714555429_arbed_uniswap_labs.json version: true command: yarn arbify --l2NetworkID 37714555429 --prevArbifiedList https://tokenlist.arbitrum.io/ArbTokenLists/37714555429_arbed_uniswap_labs.json --tokenList https://tokenlist.arbitrum.io/ArbTokenLists/arbed_uniswap_labs.json --newArbifiedList ./src/ArbTokenLists/37714555429_arbed_uniswap_labs.json + - name: Xai Testnet Arbify Uniswap (L2 Native List) + paths: + - ArbTokenLists/37714555429_arbed_native_list.json + version: true + command: yarn arbify --l2NetworkID 37714555429 --ignorePreviousList --tokenList ./src/Assets/arbitrum_native_token_list.json --newArbifiedList ./src/ArbTokenLists/37714555429_arbed_native_list.json - name: Dodochain Testnet Arbify Uniswap paths: - ArbTokenLists/53457_arbed_uniswap_labs.json version: true command: yarn arbify --l2NetworkID 53457 --prevArbifiedList https://tokenlist.arbitrum.io/ArbTokenLists/53457_arbed_uniswap_labs.json --tokenList https://tokenlist.arbitrum.io/ArbTokenLists/arbed_uniswap_labs.json --newArbifiedList ./src/ArbTokenLists/53457_arbed_uniswap_labs.json + - name: Dodochain Testnet Arbify Uniswap (L2 Native List) + paths: + - ArbTokenLists/53457_arbed_native_list.json + version: true + command: yarn arbify --l2NetworkID 53457 --ignorePreviousList --tokenList ./src/Assets/arbitrum_native_token_list.json --newArbifiedList ./src/ArbTokenLists/53457_arbed_native_list.json - name: L3X Testnet Arbify Uniswap paths: - ArbTokenLists/12325_arbed_uniswap_labs.json version: true command: yarn arbify --l2NetworkID 12325 --prevArbifiedList https://tokenlist.arbitrum.io/ArbTokenLists/12325_arbed_uniswap_labs.json --tokenList https://tokenlist.arbitrum.io/ArbTokenLists/arbed_uniswap_labs.json --newArbifiedList ./src/ArbTokenLists/12325_arbed_uniswap_labs.json + - name: L3X Testnet Arbify Uniswap (L2 Native List) + paths: + - ArbTokenLists/12325_arbed_native_list.json + version: true + command: yarn arbify --l2NetworkID 12325 --ignorePreviousList --tokenList ./src/Assets/arbitrum_native_token_list.json --newArbifiedList ./src/ArbTokenLists/12325_arbed_native_list.json env: INFURA_KEY: '${{ secrets.INFURA_KEY }}' diff --git a/src/Assets/arbitrum_native_token_list.json b/src/Assets/arbitrum_native_token_list.json new file mode 100644 index 00000000..6e61fa27 --- /dev/null +++ b/src/Assets/arbitrum_native_token_list.json @@ -0,0 +1,36 @@ +{ + "name": "Arbitrum One Native Token List", + "timestamp": "2024-05-29T09:32:20.831Z", + "version": { + "major": 1, + "minor": 0, + "patch": 0 + }, + "tokens": [ + { + "chainId": 42161, + "address": "0xaf88d065e77c8cc2239327c5edb3a432268e5831", + "name": "USD Coin", + "symbol": "USDC", + "decimals": 6, + "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/arbitrum/assets/0xaf88d065e77c8cC2239327C5EDb3A432268e5831/logo.png" + }, + { + "chainId": 42161, + "address": "0x2416092f143378750bb29b79ed961ab195cceea5", + "name": "Renzo Restaked ETH", + "symbol": "ezETH", + "decimals": 18, + "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xbf5495Efe5DB9ce00f80364C8B423567e58d2110/logo.png" + }, + { + "chainId": 42161, + "address": "0x4186BFC76E2E237523CBC30FD220FE055156b41F", + "name": "KelpDao Restaked ETH", + "symbol": "rsETH", + "decimals": 18, + "logoURI": "https://assets.coingecko.com/coins/images/33800/large/Icon___Dark.png" + } + ], + "logoURI": "https://arbitrum.foundation/logo.png" +}