Skip to content

Commit

Permalink
chore(pricefeeds/evm): Deploy new chains (#1955)
Browse files Browse the repository at this point in the history
* (chore) Add flow and fantom

* fix
  • Loading branch information
aditya520 authored Sep 23, 2024
1 parent fd354ae commit 661feaf
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 14 deletions.
7 changes: 6 additions & 1 deletion contract_manager/store/chains/EvmChains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@
type: EvmChain
- id: fantom_sonic_testnet
mainnet: false
rpcUrl: https://rpc.sonic.fantom.network/
rpcUrl: https://rpc.testnet.soniclabs.com
networkId: 64165
type: EvmChain
- id: dela_deperp_testnet
Expand Down Expand Up @@ -714,3 +714,8 @@
rpcUrl: https://apechain.calderachain.xyz/http
networkId: 33139
type: EvmChain
- id: flow_mainnet
mainnet: true
rpcUrl: https://mainnet.evm.nodes.onflow.org
networkId: 747
type: EvmChain
3 changes: 0 additions & 3 deletions contract_manager/store/contracts/EvmEntropyContracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
- chain: arbitrum_sepolia
address: "0x549Ebba8036Ab746611B4fFA1423eb0A4Df61440"
type: EvmEntropyContract
- chain: fantom_sonic_testnet
address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
type: EvmEntropyContract
- chain: blast_s2_testnet
address: "0x98046Bd286715D3B0BC227Dd7a956b83D8978603"
type: EvmEntropyContract
Expand Down
9 changes: 6 additions & 3 deletions contract_manager/store/contracts/EvmPriceFeedContracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,6 @@
- chain: lightlink_pegasus_testnet
address: "0x5D289Ad1CE59fCC25b6892e7A303dfFf3a9f7167"
type: EvmPriceFeedContract
- chain: fantom_sonic_testnet
address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320"
type: EvmPriceFeedContract
- chain: dela_deperp_testnet
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
type: EvmPriceFeedContract
Expand Down Expand Up @@ -397,3 +394,9 @@
- chain: apechain_mainnet
address: "0x2880aB155794e7179c9eE2e38200202908C17B43"
type: EvmPriceFeedContract
- chain: flow_mainnet
address: "0x2880aB155794e7179c9eE2e38200202908C17B43"
type: EvmPriceFeedContract
- chain: fantom_sonic_testnet
address: "0x96124d1F6E44FfDf1fb5D6d74BB2DE1B7Fbe7376"
type: EvmPriceFeedContract
9 changes: 6 additions & 3 deletions contract_manager/store/contracts/EvmWormholeContracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,6 @@
- chain: lightlink_pegasus_testnet
address: "0x5f3c61944CEb01B3eAef861251Fb1E0f14b848fb"
type: EvmWormholeContract
- chain: fantom_sonic_testnet
address: "0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E"
type: EvmWormholeContract
- chain: dela_deperp_testnet
address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
type: EvmWormholeContract
Expand Down Expand Up @@ -385,3 +382,9 @@
- chain: apechain_mainnet
address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
type: EvmWormholeContract
- chain: flow_mainnet
address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
type: EvmWormholeContract
- chain: fantom_sonic_testnet
address: "0xb700C2f6D14e2cfbD0845Bb102701dBDFf5d1bC4"
type: EvmWormholeContract
1 change: 1 addition & 0 deletions governance/xc_admin/packages/xc_admin_common/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export const RECEIVER_CHAINS = {
cronos_zkevm_mainnet: 60059,
idex_xchain_mainnet: 60060,
apechain_mainnet: 60061,
flow_mainnet: 60062,

// Testnets as a separate chain ids (to use stable data sources and governance for them)
injective_testnet: 60013,
Expand Down
2 changes: 1 addition & 1 deletion target_chains/ethereum/sdk/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pythnetwork/pyth-evm-js",
"version": "1.67.0",
"version": "1.68.0",
"description": "Pyth Network EVM Utils in JS",
"homepage": "https://pyth.network",
"author": {
Expand Down
6 changes: 3 additions & 3 deletions target_chains/ethereum/sdk/js/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const CONTRACT_ADDR: Record<string, string> = {
etherlink: "0x2880aB155794e7179c9eE2e38200202908C17B43",
fantom: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
filecoin: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
flow_previewnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
flow_mainnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
gnosis: "0x2880aB155794e7179c9eE2e38200202908C17B43",
gravity: "0x2880aB155794e7179c9eE2e38200202908C17B43",
hedera: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
Expand Down Expand Up @@ -95,10 +95,10 @@ export const CONTRACT_ADDR: Record<string, string> = {
etherlink_testnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
eos_testnet: "0x0708325268dF9F66270F1401206434524814508b",
evmos_testnet: "0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E",
fantom_sonic_testnet: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320",
fantom_sonic_testnet: "0x96124d1F6E44FfDf1fb5D6d74BB2DE1B7Fbe7376",
fantom_testnet: "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb",
filecoin_calibration: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
flow_testnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
flow_previewnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
fuji: "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509",
hedera_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
idex_xchain_testnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
Expand Down

0 comments on commit 661feaf

Please sign in to comment.