Skip to content

Commit

Permalink
chore(eth): Add tomochain (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
m30m authored Nov 7, 2023
1 parent 8e11d4f commit 16832ab
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 0 deletions.
12 changes: 12 additions & 0 deletions contract_manager/store/chains/EvmChains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -424,3 +424,15 @@
rpcUrl: https://rpc3.coredao.org
networkId: 1116
type: EvmChain
- id: tomochain
wormholeChainName: tomochain
mainnet: true
rpcUrl: https://rpc.tomochain.com
networkId: 88
type: EvmChain
- id: tomochain_testnet
wormholeChainName: tomochain
mainnet: false
rpcUrl: https://rpc.testnet.tomochain.com
networkId: 89
type: EvmChain
6 changes: 6 additions & 0 deletions contract_manager/store/contracts/EvmContracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,9 @@
- chain: shimmer_testnet
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
type: EvmContract
- chain: tomochain_testnet
address: "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509"
type: EvmContract
- chain: tomochain
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
type: EvmContract
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 @@ -49,6 +49,7 @@ export const RECEIVER_CHAINS = {
zetachain: 60034,
astar: 60035,
coredao: 60036,
tomochain: 60037,
};

// If there is any overlapping value the receiver chain will replace the wormhole
Expand Down
16 changes: 16 additions & 0 deletions target_chains/ethereum/contracts/networks/88.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
},
{
"contractName": "WormholeReceiver",
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
"transactionHash": "0xb6f85817783bd5127cfc462131f049b202eef30681a9a09109cbdb071e501001"
},
{
"contractName": "PythUpgradable",
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
"transactionHash": "0x77ed4e03e897a5134dba0a81be64f851049cb837d36bda8fbe401d275d32d1b4"
}
]
16 changes: 16 additions & 0 deletions target_chains/ethereum/contracts/networks/89.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0xe9d69CdD6Fe41e7B621B4A688C5D1a68cB5c8ADc"
},
{
"contractName": "WormholeReceiver",
"address": "0x98046Bd286715D3B0BC227Dd7a956b83D8978603",
"transactionHash": "0xe1dba0ad8e34fff53f9bcca6f1efd7a771ee09400e89d7f171334078f229a550"
},
{
"contractName": "PythUpgradable",
"address": "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509",
"transactionHash": "0xd1b29ca2e4973a19b06b6aa96fe6150f40c1f252cfa698401c2581ba17111a64"
}
]

1 comment on commit 16832ab

@vercel
Copy link

@vercel vercel bot commented on 16832ab Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

xc-admin-frontend – ./

xc-admin-frontend-pyth-web.vercel.app
xc-admin-frontend-git-main-pyth-web.vercel.app
xc-admin-frontend.vercel.app

Please sign in to comment.