From 5368eb80e842a0f42eb52e6f94b6b0119671c4a7 Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Tue, 26 Nov 2024 18:50:10 +0300 Subject: [PATCH] chore: update Base & Polygon ERC-20 custody addresses (#430) --- v2/data/addresses.mainnet.json | 10 ++++------ v2/data/addresses.testnet.json | 22 ++++++++++++++++++++-- v2/lib/types.ts | 4 ++-- 3 files changed, 26 insertions(+), 10 deletions(-) diff --git a/v2/data/addresses.mainnet.json b/v2/data/addresses.mainnet.json index a0cd1c4d..da7096d2 100644 --- a/v2/data/addresses.mainnet.json +++ b/v2/data/addresses.mainnet.json @@ -1,5 +1,3 @@ - - [ { "address": "0x000007Cf399229b2f5A4D043F20E90C9C98B7C6a", @@ -9,7 +7,7 @@ "type": "connector" }, { - "address": "0x0000030Ec64DF25301d8414eE5a29588C4B0dE10", + "address": "0x0Bad40D9e9C369f2223c835E108f43a45fd223B5", "category": "omnichain", "chain_id": 1, "chain_name": "eth_mainnet", @@ -72,7 +70,7 @@ "type": "connector" }, { - "address": "0x00000fF8fA992424957F97688015814e707A0115", + "address": "0x0Bad40D9e9C369f2223c835E108f43a45fd223B5", "category": "omnichain", "chain_id": 56, "chain_name": "bsc_mainnet", @@ -100,7 +98,7 @@ "type": "connector" }, { - "address": "0x69727Ef241ebD6e42Fc3A798092077069B415B2D", + "address": "0x0Bad40D9e9C369f2223c835E108f43a45fd223B5", "category": "omnichain", "chain_id": 137, "chain_name": "polygon_mainnet", @@ -398,7 +396,7 @@ "type": "connector" }, { - "address": "0x53b0705194e686Ba745eF8A80cB1Ef355dE645D0", + "address": "0x0Bad40D9e9C369f2223c835E108f43a45fd223B5", "category": "omnichain", "chain_id": 8453, "chain_name": "base_mainnet", diff --git a/v2/data/addresses.testnet.json b/v2/data/addresses.testnet.json index bceab956..0f6e4985 100644 --- a/v2/data/addresses.testnet.json +++ b/v2/data/addresses.testnet.json @@ -1,5 +1,3 @@ - - [ { "address": "0x0000ecb8cdd25a18f12daa23f6422e07fbf8b9e1", @@ -203,6 +201,19 @@ "symbol": "tBNB", "type": "zrc20" }, + { + "address": "0xdbfF6471a79E5374d771922F2194eccc42210B9F", + "asset": "", + "category": "omnichain", + "chain_id": 7001, + "chain_name": "zeta_testnet", + "coin_type": "gas", + "decimals": 8, + "description": "sBTC.sBTC", + "foreign_chain_id": "18333", + "symbol": "sBTC", + "type": "zrc20" + }, { "address": "tb1qy9pqmk2pd9sv63g27jt8r657wy0d9ueeh0nqur", "category": "omnichain", @@ -210,6 +221,13 @@ "chain_name": "btc_testnet", "type": "tss" }, + { + "address": "tb1qy9pqmk2pd9sv63g27jt8r657wy0d9ueeh0nqur", + "category": "omnichain", + "chain_id": 18333, + "chain_name": "empty", + "type": "tss" + }, { "address": "0x60E6b70bC2761f878Ff992276612F67FbABC1761", "category": "messaging", diff --git a/v2/lib/types.ts b/v2/lib/types.ts index 9380445e..269c48a7 100644 --- a/v2/lib/types.ts +++ b/v2/lib/types.ts @@ -1,4 +1,4 @@ -export type ParamSymbol = "USDC.BSC" | "USDC.ETH" | "BTC.BTC" | "ETH.BASE" | "PEPE.ETH" | "BNB.BSC" | "SHIB.ETH" | "USDT.ETH" | "USDT.BSC" | "USDC.BASE" | "POL.POLYGON" | "DAI.ETH" | "ULTI.BSC" | "ETH.ETH" | "USDT.POL" | "ULTI.ETH" | "USDC.POL" | "sETH.SEPOLIA" | "ETH.BASESEPOLIA" | "tBTC" | "MATIC.AMOY" | "USDC" | "SOL.SOLANA" | "USDC.SEPOLIA" | "tBNB"; -export type ParamChainName = "eth_mainnet" | "bsc_mainnet" | "polygon_mainnet" | "zeta_mainnet" | "btc_mainnet" | "base_mainnet" | "bsc_testnet" | "solana_devnet" | "zeta_testnet" | "btc_testnet" | "amoy_testnet" | "base_sepolia" | "sepolia_testnet"; +export type ParamSymbol = "USDC.BSC" | "USDC.ETH" | "BTC.BTC" | "ETH.BASE" | "PEPE.ETH" | "BNB.BSC" | "SHIB.ETH" | "USDT.ETH" | "USDT.BSC" | "USDC.BASE" | "POL.POLYGON" | "DAI.ETH" | "ULTI.BSC" | "ETH.ETH" | "USDT.POL" | "ULTI.ETH" | "USDC.POL" | "sETH.SEPOLIA" | "ETH.BASESEPOLIA" | "tBTC" | "MATIC.AMOY" | "USDC" | "SOL.SOLANA" | "USDC.SEPOLIA" | "tBNB" | "sBTC"; +export type ParamChainName = "eth_mainnet" | "bsc_mainnet" | "polygon_mainnet" | "zeta_mainnet" | "btc_mainnet" | "base_mainnet" | "bsc_testnet" | "solana_devnet" | "zeta_testnet" | "btc_testnet" | "empty" | "amoy_testnet" | "base_sepolia" | "sepolia_testnet"; export type ParamType = "connector" | "erc20Custody" | "tss" | "uniswapV2Factory" | "uniswapV2Router02" | "uniswapV3Factory" | "uniswapV3Router" | "weth9" | "zetaToken" | "fungibleModule" | "systemContract" | "zrc20" | "custody" | "gateway";