Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(eth) Add bttc #1172

Merged
merged 2 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions contract_manager/store/chains/EvmChains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -368,3 +368,13 @@
rpcUrl: https://mainnet.mode.network/
networkId: 34443
type: EvmChain
- id: bttc_testnet
mainnet: false
rpcUrl: https://pre-rpc.bt.io
networkId: 1029
type: EvmChain
- id: bttc
mainnet: true
rpcUrl: https://rpc.bt.io
networkId: 199
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 @@ -220,3 +220,9 @@
- chain: mode_testnet
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
type: EvmContract
- chain: bttc_testnet
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
type: EvmContract
- chain: bttc
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
type: EvmContract
2 changes: 2 additions & 0 deletions governance/xc_admin/packages/xc_admin_common/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const RECEIVER_CHAINS = {
tomochain: 60037,
stacks: 60038,
mode: 60039,
bttc: 60040,

// Testnets as a separate chain ids (to use stable data sources and governance for them)
injective_testnet: 60013,
Expand Down Expand Up @@ -105,6 +106,7 @@ export const RECEIVER_CHAINS = {
tomochain_testnet: 50038,
stacks_testnet: 50039,
mode_testnet: 50040,
bttc_testnet: 50041,
};

// 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/1029.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
},
{
"contractName": "WormholeReceiver",
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
"transactionHash": "0x81c70e14de2e8d75377ebb68e4085061cc96a8928b9bca4f64c5e893c1f76494"
},
{
"contractName": "PythUpgradable",
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
"transactionHash": "0xd1b65bcd805807114f238be5b12c145a6e5e66a9e3d396ea771716e3712285f5"
}
]
16 changes: 16 additions & 0 deletions target_chains/ethereum/contracts/networks/199.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
},
{
"contractName": "WormholeReceiver",
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
"transactionHash": "0xddce4e39eb328ad88883cebff7f73e3062e797d5d47c12ba4b670da969863df3"
},
{
"contractName": "PythUpgradable",
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
"transactionHash": "0xd0075226cd6f3b7295f28572c5d2b58c3225cc5cf806ac6aaa2fd1cd70d326ec"
}
]
Loading