Skip to content

Commit

Permalink
[Swap] Add some pairs for swap TAO
Browse files Browse the repository at this point in the history
  • Loading branch information
S2kael committed Nov 28, 2024
1 parent 5d5fe1b commit 505fd47
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 50 deletions.
4 changes: 2 additions & 2 deletions packages/chain-list/src/data/AssetLogoMap.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"
}
}
56 changes: 56 additions & 0 deletions packages/chain-list/src/data/AssetRef.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
34 changes: 18 additions & 16 deletions packages/chain-list/src/data/ChainAsset.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -12966,4 +12968,4 @@
"hasValue": true,
"icon": "https://dev.sw-chain-list-assets.pages.dev/assets/chain-assets/cyber-native-eth.png"
}
}
}
34 changes: 4 additions & 30 deletions packages/chain-list/src/data/ChainInfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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/"
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -10586,4 +10560,4 @@
"bitcoinInfo": null,
"tonInfo": null
}
}
}
3 changes: 1 addition & 2 deletions packages/chain-list/src/data/ChainLogoMap.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 505fd47

Please sign in to comment.