From 505fd47faca07a778cbf95c7c13459f59027be76 Mon Sep 17 00:00:00 2001 From: S2kael Date: Thu, 28 Nov 2024 17:04:00 +0700 Subject: [PATCH] [Swap] Add some pairs for swap TAO --- .../chain-list/src/data/AssetLogoMap.json | 4 +- packages/chain-list/src/data/AssetRef.json | 56 +++++++++++++++++++ packages/chain-list/src/data/ChainAsset.json | 34 +++++------ packages/chain-list/src/data/ChainInfo.json | 34 ++--------- .../chain-list/src/data/ChainLogoMap.json | 3 +- 5 files changed, 81 insertions(+), 50 deletions(-) diff --git a/packages/chain-list/src/data/AssetLogoMap.json b/packages/chain-list/src/data/AssetLogoMap.json index ea615250..f2ea1aca 100644 --- a/packages/chain-list/src/data/AssetLogoMap.json +++ b/packages/chain-list/src/data/AssetLogoMap.json @@ -525,6 +525,7 @@ "hydradx_main-local-4pool": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_main-local-4pool.png", "hydradx_main-local-weth": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_main-local-weth.png", "hydradx_main-local-2pool": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_main-local-2pool.png", + "hydradx_main-local-2-pool": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_main-local-2-pool.png", "hydradx_main-local-vdot": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_main-local-vdot.png", "hydradx_main-local-h2o": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_main-local-h2o.png", "hydradx_main-local-dai-18": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_main-local-dai-18.png", @@ -776,7 +777,6 @@ "gnosis-native-xdai": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/gnosis-native-xdai.png", "autonomys-native-ai3": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/autonomys-native-ai3.png", "manta_network_evm-erc20-kma-0x6745cf7a0aaca457f451a4b8c60c8504320f69d0": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/manta_network_evm-erc20-kma-0x6745cf7a0aaca457f451a4b8c60c8504320f69d0.png", - "mordor_testnet-native-metc": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/mordor_testnet-native-metc.png", "statemint-local-lova": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/statemint-local-lova.png", "hydradx_main-local-lova": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_main-local-lova.png", "cyber-native-eth": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/cyber-native-eth.png", @@ -881,4 +881,4 @@ "custom-aleph-psp22-zpf-5eskjbkpva1ppucmrkcmazdhqm9shihws9uqqsoi4vrdcdle": "https://dev.sw-chain-list-assets.pages.dev/assets/custom-chain-assets/zpf_2f06de3f07.png", "custom-custom-substrate-gosnetwork-native-gos": "https://dev.sw-chain-list-assets.pages.dev/assets/custom-chain-assets/gos_a4d1a9cf7a.png", "custom-custom-substrate-gosspectral-native-gost": "https://dev.sw-chain-list-assets.pages.dev/assets/custom-chain-assets/gos_a4d1a9cf7a.png" -} \ No newline at end of file +} diff --git a/packages/chain-list/src/data/AssetRef.json b/packages/chain-list/src/data/AssetRef.json index ff6c66fe..7f72c66b 100644 --- a/packages/chain-list/src/data/AssetRef.json +++ b/packages/chain-list/src/data/AssetRef.json @@ -111,6 +111,13 @@ "destChain": "ethereum", "path": "SWAP" }, + "polkadot-NATIVE-DOT___bittensor-NATIVE-TAO": { + "srcAsset": "polkadot-NATIVE-DOT", + "destAsset": "bittensor-NATIVE-TAO", + "srcChain": "polkadot", + "destChain": "bittensor", + "path": "SWAP" + }, "kusama-NATIVE-KSM___statemine-NATIVE-KSM": { "srcAsset": "kusama-NATIVE-KSM", "destAsset": "statemine-NATIVE-KSM", @@ -202,6 +209,13 @@ "destChain": "polygonZkEvm", "path": "XCM" }, + "ethereum-NATIVE-ETH___bittensor-NATIVE-TAO": { + "srcAsset": "ethereum-NATIVE-ETH", + "destAsset": "bittensor-NATIVE-TAO", + "srcChain": "ethereum", + "destChain": "bittensor", + "path": "SWAP" + }, "moonbeam-NATIVE-GLMR___moonbeam-LOCAL-xcDOT": { "srcAsset": "moonbeam-NATIVE-GLMR", "destAsset": "moonbeam-LOCAL-xcDOT", @@ -845,6 +859,13 @@ "destChain": "ethereum", "path": "SWAP" }, + "ethereum-ERC20-USDT-0xdAC17F958D2ee523a2206206994597C13D831ec7___bittensor-NATIVE-TAO": { + "srcAsset": "ethereum-ERC20-USDT-0xdAC17F958D2ee523a2206206994597C13D831ec7", + "destAsset": "bittensor-NATIVE-TAO", + "srcChain": "ethereum", + "destChain": "bittensor", + "path": "SWAP" + }, "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48___polkadot-NATIVE-DOT": { "srcAsset": "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "destAsset": "polkadot-NATIVE-DOT", @@ -894,6 +915,13 @@ "destChain": "base_mainnet", "path": "SWAP" }, + "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48___bittensor-NATIVE-TAO": { + "srcAsset": "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "destAsset": "bittensor-NATIVE-TAO", + "srcChain": "ethereum", + "destChain": "bittensor", + "path": "SWAP" + }, "ethereum-ERC20-wstETH-0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0___statemint-LOCAL-wstETH": { "srcAsset": "ethereum-ERC20-wstETH-0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0", "destAsset": "statemint-LOCAL-wstETH", @@ -1138,6 +1166,34 @@ "destChain": "statemint", "path": "SWAP" }, + "bittensor-NATIVE-TAO___polkadot-NATIVE-DOT": { + "srcAsset": "bittensor-NATIVE-TAO", + "destAsset": "polkadot-NATIVE-DOT", + "srcChain": "bittensor", + "destChain": "polkadot", + "path": "SWAP" + }, + "bittensor-NATIVE-TAO___ethereum-NATIVE-ETH": { + "srcAsset": "bittensor-NATIVE-TAO", + "destAsset": "ethereum-NATIVE-ETH", + "srcChain": "bittensor", + "destChain": "ethereum", + "path": "SWAP" + }, + "bittensor-NATIVE-TAO___ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": { + "srcAsset": "bittensor-NATIVE-TAO", + "destAsset": "ethereum-ERC20-USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "srcChain": "bittensor", + "destChain": "ethereum", + "path": "SWAP" + }, + "bittensor-NATIVE-TAO___ethereum-ERC20-USDT-0xdAC17F958D2ee523a2206206994597C13D831ec7": { + "srcAsset": "bittensor-NATIVE-TAO", + "destAsset": "ethereum-ERC20-USDT-0xdAC17F958D2ee523a2206206994597C13D831ec7", + "srcChain": "bittensor", + "destChain": "ethereum", + "path": "SWAP" + }, "hydradx_main-LOCAL-USDC___statemint-LOCAL-USDC": { "srcAsset": "hydradx_main-LOCAL-USDC", "destAsset": "statemint-LOCAL-USDC", diff --git a/packages/chain-list/src/data/ChainAsset.json b/packages/chain-list/src/data/ChainAsset.json index 30ae84ef..299b342c 100644 --- a/packages/chain-list/src/data/ChainAsset.json +++ b/packages/chain-list/src/data/ChainAsset.json @@ -12354,6 +12354,22 @@ "hasValue": false, "icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/sepolia_ethereum-erc20-flip-0xcd079eab6b5443b545788fd210c8800feadd87fa.png" }, + "hydradx_main-LOCAL-2-Pool": { + "originChain": "hydradx_main", + "slug": "hydradx_main-LOCAL-2-Pool", + "name": "USDT- USDC", + "symbol": "2-Pool", + "decimals": 18, + "priceId": null, + "minAmount": "1000", + "assetType": "LOCAL", + "metadata": { + "assetId": "102" + }, + "multiChainAsset": null, + "hasValue": true, + "icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/hydradx_main-local-2-pool.png" + }, "base_mainnet-ERC20-USDC-0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913": { "originChain": "base_mainnet", "slug": "base_mainnet-ERC20-USDC-0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", @@ -12892,27 +12908,13 @@ "hasValue": true, "icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/manta_network_evm-erc20-kma-0x6745cf7a0aaca457f451a4b8c60c8504320f69d0.png" }, - "mordor_testnet-NATIVE-METC": { - "originChain": "mordor_testnet", - "slug": "mordor_testnet-NATIVE-METC", - "name": "Mordor Testnet", - "symbol": "METC", - "decimals": 18, - "priceId": null, - "minAmount": "0", - "assetType": "NATIVE", - "metadata": null, - "multiChainAsset": null, - "hasValue": false, - "icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/mordor_testnet-native-metc.png" - }, "statemint-LOCAL-LOVA": { "originChain": "statemint", "slug": "statemint-LOCAL-LOVA", "name": "AIWeb3", "symbol": "LOVA", "decimals": 12, - "priceId": "bitcoin", + "priceId": null, "minAmount": "1000000000000", "assetType": "LOCAL", "metadata": { @@ -12966,4 +12968,4 @@ "hasValue": true, "icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/cyber-native-eth.png" } -} \ No newline at end of file +} diff --git a/packages/chain-list/src/data/ChainInfo.json b/packages/chain-list/src/data/ChainInfo.json index a26b129a..bc7172b1 100644 --- a/packages/chain-list/src/data/ChainInfo.json +++ b/packages/chain-list/src/data/ChainInfo.json @@ -896,9 +896,9 @@ }, "bitcountry": { "slug": "bitcountry", - "name": "BitTEST.Country - Alpha Net", + "name": "BitCountry - Alpha Net", "isTestnet": true, - "chainStatus": "ACTIVE", + "chainStatus": "INACTIVE", "icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chains/bitcountry.png", "providers": { "Metaverse Foundation": "wss://alphanet-rpc-gcp.bit.country" @@ -9771,7 +9771,7 @@ "slug": "storyPublic_testnet", "name": "Story Public Testnet", "isTestnet": true, - "chainStatus": "ACTIVE", + "chainStatus": "INACTIVE", "icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chains/storypublic_testnet.png", "providers": { "Story Testnet": "https://testnet.storyrpc.io/" @@ -10508,32 +10508,6 @@ "bitcoinInfo": null, "tonInfo": null }, - "mordor_testnet": { - "slug": "mordor_testnet", - "name": "Mordor Testnet", - "isTestnet": true, - "chainStatus": "ACTIVE", - "icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chains/mordor_testnet.png", - "providers": { - "mordor": "https://rpc.mordor.etccooperative.org" - }, - "evmInfo": { - "evmChainId": 63, - "blockExplorer": "https://etc-mordor.blockscout.com/", - "existentialDeposit": "0", - "symbol": "METC", - "decimals": 18, - "supportSmartContract": [ - "ERC20", - "ERC721" - ], - "abiExplorer": null - }, - "substrateInfo": null, - "extraInfo": null, - "bitcoinInfo": null, - "tonInfo": null - }, "fraxtal": { "slug": "fraxtal", "name": "Fraxtal Mainnet L2", @@ -10586,4 +10560,4 @@ "bitcoinInfo": null, "tonInfo": null } -} \ No newline at end of file +} diff --git a/packages/chain-list/src/data/ChainLogoMap.json b/packages/chain-list/src/data/ChainLogoMap.json index c0b7d6ad..ff39a9c2 100644 --- a/packages/chain-list/src/data/ChainLogoMap.json +++ b/packages/chain-list/src/data/ChainLogoMap.json @@ -305,9 +305,8 @@ "autonomys_taurus": "https://dev.sw-chain-list-assets.pages.dev/assets/chains/autonomys_taurus.png", "gnosis": "https://dev.sw-chain-list-assets.pages.dev/assets/chains/gnosis.png", "autonomys": "https://dev.sw-chain-list-assets.pages.dev/assets/chains/autonomys.png", - "mordor_testnet": "https://dev.sw-chain-list-assets.pages.dev/assets/chains/mordor_testnet.png", "fraxtal": "https://dev.sw-chain-list-assets.pages.dev/assets/default.png", "cyber": "https://dev.sw-chain-list-assets.pages.dev/assets/default.png", "custom-Substrate-gosnetwork": "https://dev.sw-chain-list-assets.pages.dev/assets/custom-chains/gos_37cd7c233c.png", "custom-Substrate-gosspectral": "https://dev.sw-chain-list-assets.pages.dev/assets/custom-chains/gos_37cd7c233c.png" -} \ No newline at end of file +}