Skip to content

Commit e371428

Browse files
authored
chore(pricefee&entropy) Deploy Sonic Mainnet (#2164)
1 parent 7e99d6f commit e371428

File tree

8 files changed

+22
-6
lines changed

8 files changed

+22
-6
lines changed

contract_manager/scripts/deploy_evm_entropy_contracts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ async function topupAccountsIfNecessary(
134134
const accountAddress = chain.isMainnet()
135135
? defaultAddresses.mainnet
136136
: defaultAddresses.testnet;
137-
const web3 = new Web3(chain.getRpcUrl());
137+
const web3 = chain.getWeb3();
138138
const balance = Number(
139139
web3.utils.fromWei(await web3.eth.getBalance(accountAddress), "ether")
140140
);

contract_manager/store/chains/EvmChains.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,3 +810,8 @@
810810
rpcUrl: https://rpc.blaze.soniclabs.com
811811
networkId: 57054
812812
type: EvmChain
813+
- id: fantom_sonic_mainnet
814+
mainnet: true
815+
rpcUrl: https://rpc.soniclabs.com
816+
networkId: 146
817+
type: EvmChain

contract_manager/store/contracts/EvmEntropyContracts.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,6 @@
130130
- chain: unichain_sepolia
131131
address: "0x8D254a21b3C86D32F7179855531CE99164721933"
132132
type: EvmEntropyContract
133+
- chain: fantom_sonic_mainnet
134+
address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320"
135+
type: EvmEntropyContract

contract_manager/store/contracts/EvmPriceFeedContracts.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@
439439
- chain: mathematician_in_heart
440440
address: "0x8739d5024B5143278E2b15Bd9e7C26f6CEc658F1"
441441
type: EvmPriceFeedContract
442-
- chain: happy_bird_song_ends_with_tio # stable contract
442+
- chain: happy_bird_song_ends_with_tio
443443
address: "0x2880aB155794e7179c9eE2e38200202908C17B43"
444444
type: EvmPriceFeedContract
445445
- chain: eventum_testnet
@@ -448,6 +448,9 @@
448448
- chain: fantom_sonic_devnet
449449
address: "0x2880aB155794e7179c9eE2e38200202908C17B43"
450450
type: EvmPriceFeedContract
451-
- chain: happy_bird_song_ends_with_tio # beta contract
451+
- chain: happy_bird_song_ends_with_tio
452452
address: "0xDd24F84d36BF92C65F92307595335bdFab5Bbd21"
453453
type: EvmPriceFeedContract
454+
- chain: fantom_sonic_mainnet
455+
address: "0x2880aB155794e7179c9eE2e38200202908C17B43"
456+
type: EvmPriceFeedContract

contract_manager/store/contracts/EvmWormholeContracts.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@
433433
- chain: mathematician_in_heart
434434
address: "0x056f829183Ec806A78c26C98961678c24faB71af"
435435
type: EvmWormholeContract
436-
- chain: happy_bird_song_ends_with_tio # stable wormhole
436+
- chain: happy_bird_song_ends_with_tio
437437
address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
438438
type: EvmWormholeContract
439439
- chain: eventum_testnet
@@ -442,6 +442,9 @@
442442
- chain: fantom_sonic_devnet
443443
address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
444444
type: EvmWormholeContract
445-
- chain: happy_bird_song_ends_with_tio # beta wormhole
445+
- chain: happy_bird_song_ends_with_tio
446446
address: "0x0708325268dF9F66270F1401206434524814508b"
447447
type: EvmWormholeContract
448+
- chain: fantom_sonic_mainnet
449+
address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
450+
type: EvmWormholeContract

governance/xc_admin/packages/xc_admin_common/src/chains.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export const RECEIVER_CHAINS = {
9898
ton_mainnet: 60069,
9999
horse_dream: 60070,
100100
mathematician_in_heart: 60071,
101+
fantom_sonic_mainnet: 60072,
101102

102103
// Testnets as a separate chain ids (to use stable data sources and governance for them)
103104
injective_testnet: 60013,

target_chains/ethereum/sdk/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/pyth-evm-js",
3-
"version": "1.77.0",
3+
"version": "1.78.0",
44
"description": "Pyth Network EVM Utils in JS",
55
"homepage": "https://pyth.network",
66
"author": {

target_chains/ethereum/sdk/js/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const CONTRACT_ADDR: Record<string, string> = {
3333
ethereum: "0x4305FB66699C3B2702D4d05CF36551390A4c69C6",
3434
etherlink: "0x2880aB155794e7179c9eE2e38200202908C17B43",
3535
fantom: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
36+
fantom_sonic_mainnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
3637
filecoin: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
3738
flow_mainnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
3839
gnosis: "0x2880aB155794e7179c9eE2e38200202908C17B43",

0 commit comments

Comments
 (0)