From 36d59e0416a399203092f4435af09f3c097e3962 Mon Sep 17 00:00:00 2001 From: matteen Date: Thu, 10 Oct 2024 17:28:45 -0400 Subject: [PATCH] Add wc tokens (#1874) * add wc tokens * 12.22.0 * checksum address --- package.json | 2 +- src/buildList.js | 2 ++ src/tokens/worldchain.json | 26 ++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 src/tokens/worldchain.json diff --git a/package.json b/package.json index 3de0ed1a..a1c6cec8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@uniswap/default-token-list", - "version": "12.21.0", + "version": "12.22.0", "description": "The Uniswap default token list", "main": "build/uniswap-default.tokenlist.json", "scripts": { diff --git a/src/buildList.js b/src/buildList.js index 1f5d230a..929eaf4b 100644 --- a/src/buildList.js +++ b/src/buildList.js @@ -15,6 +15,7 @@ const avalanche = require("./tokens/avalanche.json"); const base = require("./tokens/base.json"); const blast = require("./tokens/blast.json"); const zksync = require("./tokens/zksync.json"); +const worldchain = require("./tokens/worldchain.json"); const bridgeUtils = require("@uniswap/token-list-bridge-utils"); @@ -48,6 +49,7 @@ module.exports = function buildList() { ...base, ...blast, ...zksync, + ...worldchain, ] // sort them by symbol for easy readability .sort((t1, t2) => { diff --git a/src/tokens/worldchain.json b/src/tokens/worldchain.json new file mode 100644 index 00000000..5281e036 --- /dev/null +++ b/src/tokens/worldchain.json @@ -0,0 +1,26 @@ +[ + { + "chainId": 480, + "address": "0x79A02482A880bCE3F13e09Da970dC34db4CD24d1", + "name": "Bridged USDC", + "symbol": "USDC.e", + "decimals": 6, + "logoURI": "https://assets.coingecko.com/coins/images/35218/large/USDC_Icon.png?1707908537" + }, + { + "chainId": 480, + "address": "0x4200000000000000000000000000000000000006", + "name": "Wrapped Ether", + "symbol": "WETH", + "decimals": 18, + "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png" + }, + { + "chainId": 480, + "address": "0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3", + "name": "Wrapped BTC", + "symbol": "WBTC", + "decimals": 8, + "logoURI": "https://assets.coingecko.com/coins/images/7598/large/wrapped_bitcoin_wbtc.png?1696507857" + } +]