From 09adfa0ccb6d3593c708b22906b1259549de5bb6 Mon Sep 17 00:00:00 2001 From: foxier25 Date: Fri, 22 Nov 2024 13:00:18 -0600 Subject: [PATCH] add Zoo token lists and remove mock tokens --- src/constants/routing.ts | 8 +-- src/constants/tokens.ts | 28 +++++----- src/tokens-lux/tokens.ts | 108 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 126 insertions(+), 18 deletions(-) diff --git a/src/constants/routing.ts b/src/constants/routing.ts index d2b6f3388..4b5dfb816 100644 --- a/src/constants/routing.ts +++ b/src/constants/routing.ts @@ -35,8 +35,8 @@ import { LUSD, USDT_LUX_TESTNET, USDC_LUX_TESTNET, - USDT_ZOO, - USDC_ZOO, + ZETH, + ZUSD, USDT_OPTIMISM, USDT_POLYGON, WBTC, @@ -198,8 +198,8 @@ export const COMMON_BASES: ChainCurrencyList = { ], [SupportedChainId.ZOO]: [ nativeOnChain(SupportedChainId.ZOO), - USDT_ZOO, - USDC_ZOO, + ZETH, + ZUSD, ], [SupportedChainId.LUX_TESTNET]: [ nativeOnChain(SupportedChainId.LUX_TESTNET), diff --git a/src/constants/tokens.ts b/src/constants/tokens.ts index 7d44d1db8..7eb21bc7d 100644 --- a/src/constants/tokens.ts +++ b/src/constants/tokens.ts @@ -27,18 +27,18 @@ const USDC_ROPSTEN = new Token( ) export const LUSD = new Token( SupportedChainId.LUX, - '0x8031e9b0D02a792cfEFaa2bDCA6E1289d385426F', + '0x848Cff46eb323f323b6Bbe1Df274E40793d7f2c2', 18, - "USDC", - "USD Coin", + "LUSD", + "Lux Dollar", ); -export const USDC_ZOO = new Token( +export const ZETH = new Token( SupportedChainId.ZOO, - '0x8031e9b0D02a792cfEFaa2bDCA6E1289d385426F', + '0x60E0a8167FC13dE89348978860466C9ceC24B9ba', 18, - "USDC", - "USD Coin", + "ZETH", + "Zoo ETH", ); export const USDC_LUX_TESTNET = new Token( @@ -157,17 +157,17 @@ export const USDT_POLYGON = new Token( ) export const LETH = new Token( SupportedChainId.LUX, - '0xdf1De693C31e2A5eb869c329529623556B20AbF3', + '0x60E0a8167FC13dE89348978860466C9ceC24B9ba', 18, - "USDT", - "LUX USDT", + "LETH", + "LUX ETH", ); -export const USDT_ZOO = new Token( +export const ZUSD = new Token( SupportedChainId.ZOO, - '0xdf1De693C31e2A5eb869c329529623556B20AbF3', + '0x848Cff46eb323f323b6Bbe1Df274E40793d7f2c2', 18, - "USDT", - "LUX USDT", + "ZUSD", + "Zoo Dollar", ); export const USDT_LUX_TESTNET = new Token( SupportedChainId.LUX_TESTNET, diff --git a/src/tokens-lux/tokens.ts b/src/tokens-lux/tokens.ts index f5cfd9f7f..a6a85613b 100644 --- a/src/tokens-lux/tokens.ts +++ b/src/tokens-lux/tokens.ts @@ -112,6 +112,114 @@ export const TOKENS_LUX_LIST = { "logoURI": "https://cdn.lux.network/exchange/icon-png/lton.png", "extensions": {} }, + { + "chainId": 200200, + "address": "0x4888E4a2Ee0F03051c72D2BD3ACf755eD3498B3E", + "name": "Wrapped ZOO", + "symbol": "WZOO", + "decimals": 18, + "logoURI": "https://cdn.lux.network/bridge/currencies/zoo.svg", + "extensions": {} + }, + { + "chainId": 200200, + "address": "0x1E48D32a4F5e9f08DB9aE4959163300FaF8A6C8e", + "name": "Zoo BTC", + "symbol": "ZBTC", + "decimals": 18, + "logoURI": "https://cdn.lux.network/bridge/currencies/zoo/zbtc.svg", + "extensions": {} + }, + { + "chainId": 200200, + "address": "0x60E0a8167FC13dE89348978860466C9ceC24B9ba", + "name": "Zoo ETH", + "symbol": "ZETH", + "decimals": 18, + "logoURI": "https://cdn.lux.network/bridge/currencies/zoo/zeth.svg", + "extensions": {} + }, + { + "chainId": 200200, + "address": "0x848Cff46eb323f323b6Bbe1Df274E40793d7f2c2", + "name": "Zoo Dollar", + "symbol": "ZUSD", + "decimals": 18, + "logoURI": "https://cdn.lux.network/bridge/currencies/zoo/zusd.svg", + "extensions": {} + }, + { + "chainId": 200200, + "address": "0x5E5290f350352768bD2bfC59c2DA15DD04A7cB88", + "name": "Zoo LUX", + "symbol": "ZLUX", + "decimals": 18, + "logoURI": "https://cdn.lux.network/bridge/currencies/zoo/zlux.png", + "extensions": {} + }, + { + "chainId": 200200, + "address": "0x6EdcF3645DeF09DB45050638c41157D8B9FEa1cf", + "name": "Zoo BNB", + "symbol": "ZBNB", + "decimals": 18, + "logoURI": "https://cdn.lux.network/bridge/currencies/zoo/zbnb.svg", + "extensions": {} + }, + { + "chainId": 200200, + "address": "0x28BfC5DD4B7E15659e41190983e5fE3df1132bB9", + "name": "Zoo POL", + "symbol": "ZPOL", + "decimals": 18, + "logoURI": "https://cdn.lux.network/bridge/currencies/zoo/zpol.svg", + "extensions": {} + }, + { + "chainId": 200200, + "address": "0x3078847F879A33994cDa2Ec1540ca52b5E0eE2e5", + "name": "Zoo CELO", + "symbol": "ZCELO", + "decimals": 18, + "logoURI": "https://cdn.lux.network/bridge/currencies/zoo/zcelo.svg", + "extensions": {} + }, + { + "chainId": 200200, + "address": "0x8B982132d639527E8a0eAAD385f97719af8f5e04", + "name": "Zoo FTM", + "symbol": "ZFTM", + "decimals": 18, + "logoURI": "https://cdn.lux.network/bridge/currencies/zoo/zftm.svg", + "extensions": {} + }, + { + "chainId": 200200, + "address": "0x7dfb3cBf7CF9c96fd56e3601FBA50AF45C731211", + "name": "Zoo xDAI", + "symbol": "ZXDAI", + "decimals": 18, + "logoURI": "https://cdn.lux.network/bridge/currencies/zoo/zdai.svg", + "extensions": {} + }, + { + "chainId": 200200, + "address": "0x26B40f650156C7EbF9e087Dd0dca181Fe87625B7", + "name": "Zoo SOL", + "symbol": "ZSOL", + "decimals": 18, + "logoURI": "https://cdn.lux.network/bridge/currencies/zoo/zsol.svg", + "extensions": {} + }, + { + "chainId": 200200, + "address": "0x3141b94b89691009b950c96e97Bff48e0C543E3C", + "name": "Zoo TON", + "symbol": "ZTON", + "decimals": 18, + "logoURI": "https://cdn.lux.network/bridge/currencies/zoo/zton.svg", + "extensions": {} + }, { "chainId": 96368, "address": "0xb84112ac9318a0b2319aa11d4d10e9762b25f7f4",