From 4cde56044c470441223d4bef5a53a1768ed209f1 Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Thu, 12 Dec 2024 13:03:56 +0300 Subject: [PATCH] chore: mainnet Gateway addreses, testnet USDC Solana and Amoy (#438) --- v2/data/addresses.mainnet.json | 35 +++++++++++++++++++++++++++++++ v2/data/addresses.testnet.json | 26 +++++++++++++++++++++++ v2/lib/types.ts | 4 ++-- v2/tasks/addresses.mainnet.json | 37 ++++++++++++++++++++++++++++++++- 4 files changed, 99 insertions(+), 3 deletions(-) diff --git a/v2/data/addresses.mainnet.json b/v2/data/addresses.mainnet.json index da7096d2..0259dcd2 100644 --- a/v2/data/addresses.mainnet.json +++ b/v2/data/addresses.mainnet.json @@ -13,6 +13,13 @@ "chain_name": "eth_mainnet", "type": "erc20Custody" }, + { + "address": "0x48B9AACC350b20147001f88821d31731Ba4C30ed", + "category": "omnichain", + "chain_id": 1, + "chain_name": "eth_mainnet", + "type": "gateway" + }, { "address": "0x70e967acFcC17c3941E87562161406d41676FD83", "category": "omnichain", @@ -76,6 +83,13 @@ "chain_name": "bsc_mainnet", "type": "erc20Custody" }, + { + "address": "0x48B9AACC350b20147001f88821d31731Ba4C30ed", + "category": "omnichain", + "chain_id": 56, + "chain_name": "bsc_mainnet", + "type": "gateway" + }, { "address": "0x70e967acFcC17c3941E87562161406d41676FD83", "category": "omnichain", @@ -104,6 +118,13 @@ "chain_name": "polygon_mainnet", "type": "erc20Custody" }, + { + "address": "0x48B9AACC350b20147001f88821d31731Ba4C30ed", + "category": "omnichain", + "chain_id": 137, + "chain_name": "polygon_mainnet", + "type": "gateway" + }, { "address": "0x70e967acFcC17c3941E87562161406d41676FD83", "category": "omnichain", @@ -132,6 +153,13 @@ "address": "0x735b14BB79463307AAcBED86DAf3322B1e6226aB", "type": "fungibleModule" }, + { + "address": "0xfEDD7A6e3Ef1cC470fbfbF955a22D793dDC0F44E", + "category": "omnichain", + "chain_id": 7000, + "chain_name": "zeta_mainnet", + "type": "gateway" + }, { "address": "0x91d18e54DAf4F677cB28167158d6dd21F6aB3921", "category": "omnichain", @@ -402,6 +430,13 @@ "chain_name": "base_mainnet", "type": "erc20Custody" }, + { + "address": "0x48B9AACC350b20147001f88821d31731Ba4C30ed", + "category": "omnichain", + "chain_id": 8453, + "chain_name": "base_mainnet", + "type": "gateway" + }, { "address": "0x70e967acFcC17c3941E87562161406d41676FD83", "category": "omnichain", diff --git a/v2/data/addresses.testnet.json b/v2/data/addresses.testnet.json index d96c48c9..210dcb7e 100644 --- a/v2/data/addresses.testnet.json +++ b/v2/data/addresses.testnet.json @@ -188,6 +188,19 @@ "symbol": "USDC.SEPOLIA", "type": "zrc20" }, + { + "address": "0xD10932EB3616a937bd4a2652c87E9FeBbAce53e5", + "asset": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr", + "category": "omnichain", + "chain_id": 7001, + "chain_name": "zeta_testnet", + "coin_type": "erc20", + "decimals": 6, + "description": "ZetaChain ZRC20 USDC-Dev on Solana devnet", + "foreign_chain_id": "901", + "symbol": "USDC.SOL", + "type": "zrc20" + }, { "address": "0xd97B1de3619ed2c6BEb3860147E30cA8A7dC9891", "asset": "", @@ -214,6 +227,19 @@ "symbol": "sBTC", "type": "zrc20" }, + { + "address": "0xe573a6e11f8506620F123DBF930222163D46BCB6", + "asset": "0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582", + "category": "omnichain", + "chain_id": 7001, + "chain_name": "zeta_testnet", + "coin_type": "erc20", + "decimals": 6, + "description": "ZetaChain ZRC20 USDC on Polygon Amoy", + "foreign_chain_id": "80002", + "symbol": "USDC.AMOY", + "type": "zrc20" + }, { "address": "0xfC9201f4116aE6b054722E10b98D904829b469c3", "asset": "", diff --git a/v2/lib/types.ts b/v2/lib/types.ts index 72997a9c..ef021306 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" | "sBTC"; +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" | "USDC.SOL" | "tBNB" | "sBTC" | "USDC.AMOY"; export type ParamChainName = "eth_mainnet" | "bsc_mainnet" | "polygon_mainnet" | "zeta_mainnet" | "btc_mainnet" | "base_mainnet" | "bsc_testnet" | "solana_devnet" | "zeta_testnet" | "btc_testnet" | "btc_signet_testnet" | "btc_testnet4" | "amoy_testnet" | "base_sepolia" | "sepolia_testnet"; -export type ParamType = "connector" | "erc20Custody" | "tss" | "uniswapV2Factory" | "uniswapV2Router02" | "uniswapV3Factory" | "uniswapV3Router" | "weth9" | "zetaToken" | "fungibleModule" | "systemContract" | "zrc20" | "custody" | "gateway"; +export type ParamType = "connector" | "erc20Custody" | "gateway" | "tss" | "uniswapV2Factory" | "uniswapV2Router02" | "uniswapV3Factory" | "uniswapV3Router" | "weth9" | "zetaToken" | "fungibleModule" | "systemContract" | "zrc20" | "custody"; diff --git a/v2/tasks/addresses.mainnet.json b/v2/tasks/addresses.mainnet.json index 9c74e830..4e51c805 100644 --- a/v2/tasks/addresses.mainnet.json +++ b/v2/tasks/addresses.mainnet.json @@ -12,5 +12,40 @@ "chain_id": 1, "chain_name": "eth_mainnet", "type": "uniswapV3Router" + }, + { + "address": "0x48B9AACC350b20147001f88821d31731Ba4C30ed", + "category": "omnichain", + "chain_id": 8453, + "chain_name": "base_mainnet", + "type": "gateway" + }, + { + "address": "0x48B9AACC350b20147001f88821d31731Ba4C30ed", + "category": "omnichain", + "chain_id": 1, + "chain_name": "eth_mainnet", + "type": "gateway" + }, + { + "address": "0x48B9AACC350b20147001f88821d31731Ba4C30ed", + "category": "omnichain", + "chain_id": 56, + "chain_name": "bsc_mainnet", + "type": "gateway" + }, + { + "address": "0x48B9AACC350b20147001f88821d31731Ba4C30ed", + "category": "omnichain", + "chain_id": 137, + "chain_name": "polygon_mainnet", + "type": "gateway" + }, + { + "address": "0xfEDD7A6e3Ef1cC470fbfbF955a22D793dDC0F44E", + "category": "omnichain", + "chain_id": 7000, + "chain_name": "zeta_mainnet", + "type": "gateway" } -] +] \ No newline at end of file