From d5b15f12c37d56998b3dc1ad43eb7c50f5782da4 Mon Sep 17 00:00:00 2001 From: Aditya Arora Date: Tue, 10 Dec 2024 09:28:22 -0500 Subject: [PATCH] chore(networks) Add new networks (#2178) --- contract_manager/store/chains/EvmChains.yaml | 25 +++++++++++++++++++ .../store/contracts/EvmEntropyContracts.yaml | 3 +++ .../contracts/EvmPriceFeedContracts.yaml | 9 +++++++ .../store/contracts/EvmWormholeContracts.yaml | 9 +++++++ .../packages/xc_admin_common/src/chains.ts | 4 ++- target_chains/ethereum/sdk/js/package.json | 2 +- target_chains/ethereum/sdk/js/src/index.ts | 2 ++ 7 files changed, 52 insertions(+), 2 deletions(-) diff --git a/contract_manager/store/chains/EvmChains.yaml b/contract_manager/store/chains/EvmChains.yaml index 63c579dda..d941a2981 100644 --- a/contract_manager/store/chains/EvmChains.yaml +++ b/contract_manager/store/chains/EvmChains.yaml @@ -815,3 +815,28 @@ rpcUrl: https://rpc.soniclabs.com networkId: 146 type: EvmChain +# - id: bittensor +# mainnet: true +# rpcUrl: https://entrypoint-finney.opentensor.ai:443 +# networkId: 945 +# type: EvmChain +# - id: bittensor_testnet +# mainnet: false +# rpcUrl: https://test.finney.opentensor.ai:443 +# networkId: 945 +# type: EvmChain +- id: threat_level_midnight + mainnet: true + rpcUrl: $ENV_THREAT_LEVEL_MIDNIGHT_RPC_URL + networkId: 1868 + type: EvmChain +- id: story_testnet + mainnet: false + rpcUrl: https://rpc.odyssey.storyrpc.io/ + networkId: 1516 + type: EvmChain +- id: eventum_mainnet + mainnet: true + rpcUrl: https://mainnet-rpc.evedex.com + networkId: 161803 + type: EvmChain diff --git a/contract_manager/store/contracts/EvmEntropyContracts.yaml b/contract_manager/store/contracts/EvmEntropyContracts.yaml index 07be234ea..1df835421 100644 --- a/contract_manager/store/contracts/EvmEntropyContracts.yaml +++ b/contract_manager/store/contracts/EvmEntropyContracts.yaml @@ -133,3 +133,6 @@ - chain: fantom_sonic_mainnet address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320" type: EvmEntropyContract +- chain: tabi_testnet + address: "0xEbe57e8045F2F230872523bbff7374986E45C486" + type: EvmEntropyContract diff --git a/contract_manager/store/contracts/EvmPriceFeedContracts.yaml b/contract_manager/store/contracts/EvmPriceFeedContracts.yaml index e5df533f1..894678312 100644 --- a/contract_manager/store/contracts/EvmPriceFeedContracts.yaml +++ b/contract_manager/store/contracts/EvmPriceFeedContracts.yaml @@ -454,3 +454,12 @@ - chain: fantom_sonic_mainnet address: "0x2880aB155794e7179c9eE2e38200202908C17B43" type: EvmPriceFeedContract +- chain: eventum_mainnet + address: "0x2880aB155794e7179c9eE2e38200202908C17B43" + type: EvmPriceFeedContract +- chain: threat_level_midnight + address: "0x2880aB155794e7179c9eE2e38200202908C17B43" + type: EvmPriceFeedContract +- chain: story_testnet + address: "0x2880aB155794e7179c9eE2e38200202908C17B43" + type: EvmPriceFeedContract diff --git a/contract_manager/store/contracts/EvmWormholeContracts.yaml b/contract_manager/store/contracts/EvmWormholeContracts.yaml index 0caaa1bc7..7c46b5e16 100644 --- a/contract_manager/store/contracts/EvmWormholeContracts.yaml +++ b/contract_manager/store/contracts/EvmWormholeContracts.yaml @@ -448,3 +448,12 @@ - chain: fantom_sonic_mainnet address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" type: EvmWormholeContract +- chain: eventum_mainnet + address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" + type: EvmWormholeContract +- chain: threat_level_midnight + address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" + type: EvmWormholeContract +- chain: story_testnet + address: "0xb27e5ca259702f209a29225d0eDdC131039C9933" + type: EvmWormholeContract diff --git a/governance/xc_admin/packages/xc_admin_common/src/chains.ts b/governance/xc_admin/packages/xc_admin_common/src/chains.ts index d9e5c47af..86de06a26 100644 --- a/governance/xc_admin/packages/xc_admin_common/src/chains.ts +++ b/governance/xc_admin/packages/xc_admin_common/src/chains.ts @@ -99,7 +99,8 @@ export const RECEIVER_CHAINS = { horse_dream: 60070, mathematician_in_heart: 60071, fantom_sonic_mainnet: 60072, - + eventum_mainnet: 60073, + threat_level_midnight: 60074, // Testnets as a separate chain ids (to use stable data sources and governance for them) injective_testnet: 60013, osmosis_testnet_4: 60015, @@ -218,6 +219,7 @@ export const RECEIVER_CHAINS = { eventum_testnet: 50110, fantom_sonic_devnet: 50111, movement_bardock_testnet: 50112, + story_testnet: 50113, }; // If there is any overlapping value the receiver chain will replace the wormhole diff --git a/target_chains/ethereum/sdk/js/package.json b/target_chains/ethereum/sdk/js/package.json index d7b7dab3f..3891eaa46 100644 --- a/target_chains/ethereum/sdk/js/package.json +++ b/target_chains/ethereum/sdk/js/package.json @@ -1,6 +1,6 @@ { "name": "@pythnetwork/pyth-evm-js", - "version": "1.78.0", + "version": "1.79.0", "description": "Pyth Network EVM Utils in JS", "homepage": "https://pyth.network", "author": { diff --git a/target_chains/ethereum/sdk/js/src/index.ts b/target_chains/ethereum/sdk/js/src/index.ts index cb7739b81..aef7a9c74 100644 --- a/target_chains/ethereum/sdk/js/src/index.ts +++ b/target_chains/ethereum/sdk/js/src/index.ts @@ -32,6 +32,7 @@ export const CONTRACT_ADDR: Record = { evmos: "0x354bF866A4B006C9AF9d9e06d9364217A8616E12", ethereum: "0x4305FB66699C3B2702D4d05CF36551390A4c69C6", etherlink: "0x2880aB155794e7179c9eE2e38200202908C17B43", + eventum_mainnet: "0x2880aB155794e7179c9eE2e38200202908C17B43", fantom: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C", fantom_sonic_mainnet: "0x2880aB155794e7179c9eE2e38200202908C17B43", filecoin: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729", @@ -154,6 +155,7 @@ export const CONTRACT_ADDR: Record = { shimmer_testnet: "0x8D254a21b3C86D32F7179855531CE99164721933", skate_testnet: "0x2880aB155794e7179c9eE2e38200202908C17B43", soneium_minato_testnet: "0x2880aB155794e7179c9eE2e38200202908C17B43", + story_testnet: "0x2880aB155794e7179c9eE2e38200202908C17B43", superseed_testnet: "0x2880aB155794e7179c9eE2e38200202908C17B43", tabi_testnet: "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb", taiko_hekla: "0x2880aB155794e7179c9eE2e38200202908C17B43",