Skip to content

Commit

Permalink
feat: add signet and testnet4 addresses (#435)
Browse files Browse the repository at this point in the history
Co-authored-by: Denis Fadeev <[email protected]>
  • Loading branch information
gartnera and fadeev authored Dec 11, 2024
1 parent b1a5aea commit 81dbeb9
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 108 deletions.
60 changes: 0 additions & 60 deletions .github/workflows/generated-files_v1.yaml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/test_v1.yaml

This file was deleted.

14 changes: 14 additions & 0 deletions v1/data/addresses.testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,20 @@
"chain_name": "btc_testnet",
"type": "tss"
},
{
"address": "tb1qy9pqmk2pd9sv63g27jt8r657wy0d9ueeh0nqur",
"category": "omnichain",
"chain_id": 18333,
"chain_name": "btc_signet",
"type": "tss"
},
{
"address": "tb1qy9pqmk2pd9sv63g27jt8r657wy0d9ueeh0nqur",
"category": "omnichain",
"chain_id": 18334,
"chain_name": "btc_testnet4",
"type": "tss"
},
{
"address": "0x60E6b70bC2761f878Ff992276612F67FbABC1761",
"category": "messaging",
Expand Down
14 changes: 14 additions & 0 deletions v1/tasks/addresses.testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,19 @@
"chain_id": 97,
"chain_name": "bsc_testnet",
"type": "uniswapV3Router"
},
{
"address": "tb1qy9pqmk2pd9sv63g27jt8r657wy0d9ueeh0nqur",
"category": "omnichain",
"chain_id": 18333,
"chain_name": "btc_signet",
"type": "tss"
},
{
"address": "tb1qy9pqmk2pd9sv63g27jt8r657wy0d9ueeh0nqur",
"category": "omnichain",
"chain_id": 18334,
"chain_name": "btc_testnet4",
"type": "tss"
}
]
22 changes: 21 additions & 1 deletion v2/data/addresses.testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,19 @@
"symbol": "sBTC",
"type": "zrc20"
},
{
"address": "0xfC9201f4116aE6b054722E10b98D904829b469c3",
"asset": "",
"category": "omnichain",
"chain_id": 7001,
"chain_name": "zeta_testnet",
"coin_type": "gas",
"decimals": 8,
"description": "ZetaChain ZRC20 Bitcoin Testnet4",
"foreign_chain_id": "18334",
"symbol": "tBTC",
"type": "zrc20"
},
{
"address": "tb1qy9pqmk2pd9sv63g27jt8r657wy0d9ueeh0nqur",
"category": "omnichain",
Expand All @@ -225,7 +238,14 @@
"address": "tb1qy9pqmk2pd9sv63g27jt8r657wy0d9ueeh0nqur",
"category": "omnichain",
"chain_id": 18333,
"chain_name": "empty",
"chain_name": "btc_signet_testnet",
"type": "tss"
},
{
"address": "tb1qy9pqmk2pd9sv63g27jt8r657wy0d9ueeh0nqur",
"category": "omnichain",
"chain_id": 18334,
"chain_name": "btc_testnet4",
"type": "tss"
},
{
Expand Down
2 changes: 1 addition & 1 deletion v2/lib/types.ts
Original file line number Diff line number Diff line change
@@ -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 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 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";

2 changes: 1 addition & 1 deletion v2/tasks/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const fetchTssData = async (chains: any, addresses: any, network: Network) => {
address: isBitcoin ? btc : eth,
category: "omnichain",
chain_id: parseInt(chain.chain_id),
chain_name: chain.chain_name,
chain_name: chain.name,
type: "tss",
});
}
Expand Down

0 comments on commit 81dbeb9

Please sign in to comment.