Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Commit 9bdbc12

Browse files
config placeholders for testnet chains
1 parent 788e553 commit 9bdbc12

File tree

6 files changed

+143
-13
lines changed

6 files changed

+143
-13
lines changed

deployment/config/testnet/chains.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@
99
"chainId": 2,
1010
"rpc": "https://eth.llamarpc.com"
1111
},
12+
{
13+
"description": "Polygon (amoy)",
14+
"externalId": 80002,
15+
"chainId": 5,
16+
"rpc": "https://polygon-amoy-bor-rpc.publicnode.com"
17+
},
18+
{
19+
"description": "Avalanche",
20+
"externalId": 43113,
21+
"chainId": 6,
22+
"rpc": "https://rpc.ankr.com/avalanche_fuji"
23+
},
1224
{
1325
"description": "Arbitrum",
1426
"externalId": 42161,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

deployment/config/testnet/dependencies.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,36 @@
11
[
22
{
3-
"chainId": 1,
3+
"chainId": 2,
4+
"wormhole": "",
5+
"token": "",
6+
"tokenMessenger": ""
7+
},
8+
{
9+
"chainId": 5,
10+
"wormhole": "",
11+
"token": "",
12+
"tokenMessenger": ""
13+
},
14+
{
15+
"chainId": 6,
16+
"wormhole": "",
17+
"token": "",
18+
"tokenMessenger": ""
19+
},
20+
{
21+
"chainId": 23,
22+
"wormhole": "",
23+
"token": "",
24+
"tokenMessenger": ""
25+
},
26+
{
27+
"chainId": 24,
28+
"wormhole": "",
29+
"token": "",
30+
"tokenMessenger": ""
31+
},
32+
{
33+
"chainId": 30,
434
"wormhole": "",
535
"token": "",
636
"tokenMessenger": ""
Lines changed: 62 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,62 @@
1-
{
2-
"chainId": 1,
3-
"ownerAssistant": "",
4-
"feeRecipient": "",
5-
"userPenaltyRewardBps": "",
6-
"initialPenaltyBps": "",
7-
"auctionDuration": "",
8-
"auctionGracePeriod": "",
9-
"auctionPenaltyBlocks": ""
10-
}
1+
[
2+
{
3+
"chainId": 2,
4+
"ownerAssistant": "",
5+
"feeRecipient": "",
6+
"userPenaltyRewardBps": "",
7+
"initialPenaltyBps": "",
8+
"auctionDuration": "",
9+
"auctionGracePeriod": "",
10+
"auctionPenaltyBlocks": ""
11+
},
12+
{
13+
"chainId": 5,
14+
"ownerAssistant": "",
15+
"feeRecipient": "",
16+
"userPenaltyRewardBps": "",
17+
"initialPenaltyBps": "",
18+
"auctionDuration": "",
19+
"auctionGracePeriod": "",
20+
"auctionPenaltyBlocks": ""
21+
},
22+
{
23+
"chainId": 6,
24+
"ownerAssistant": "",
25+
"feeRecipient": "",
26+
"userPenaltyRewardBps": "",
27+
"initialPenaltyBps": "",
28+
"auctionDuration": "",
29+
"auctionGracePeriod": "",
30+
"auctionPenaltyBlocks": ""
31+
},
32+
{
33+
"chainId": 23,
34+
"ownerAssistant": "",
35+
"feeRecipient": "",
36+
"userPenaltyRewardBps": "",
37+
"initialPenaltyBps": "",
38+
"auctionDuration": "",
39+
"auctionGracePeriod": "",
40+
"auctionPenaltyBlocks": ""
41+
},
42+
{
43+
"chainId": 24,
44+
"ownerAssistant": "",
45+
"feeRecipient": "",
46+
"userPenaltyRewardBps": "",
47+
"initialPenaltyBps": "",
48+
"auctionDuration": "",
49+
"auctionGracePeriod": "",
50+
"auctionPenaltyBlocks": ""
51+
},
52+
{
53+
"chainId": 30,
54+
"ownerAssistant": "",
55+
"feeRecipient": "",
56+
"userPenaltyRewardBps": "",
57+
"initialPenaltyBps": "",
58+
"auctionDuration": "",
59+
"auctionGracePeriod": "",
60+
"auctionPenaltyBlocks": ""
61+
}
62+
]

deployment/config/testnet/token-router.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,41 @@
11
[
22
{
3-
"chainId": "",
3+
"chainId": 2,
4+
"ownerAssistant": "",
5+
"matchingEngineMintRecipient": "",
6+
"matchingEngineChain": "",
7+
"matchingEngineDomain": ""
8+
},
9+
{
10+
"chainId": 5,
11+
"ownerAssistant": "",
12+
"matchingEngineMintRecipient": "",
13+
"matchingEngineChain": "",
14+
"matchingEngineDomain": ""
15+
},
16+
{
17+
"chainId": 6,
18+
"ownerAssistant": "",
19+
"matchingEngineMintRecipient": "",
20+
"matchingEngineChain": "",
21+
"matchingEngineDomain": ""
22+
},
23+
{
24+
"chainId": 23,
25+
"ownerAssistant": "",
26+
"matchingEngineMintRecipient": "",
27+
"matchingEngineChain": "",
28+
"matchingEngineDomain": ""
29+
},
30+
{
31+
"chainId": 24,
32+
"ownerAssistant": "",
33+
"matchingEngineMintRecipient": "",
34+
"matchingEngineChain": "",
35+
"matchingEngineDomain": ""
36+
},
37+
{
38+
"chainId": 30,
439
"ownerAssistant": "",
540
"matchingEngineMintRecipient": "",
641
"matchingEngineChain": "",

deployment/scripts/evm/deploy-matching-engine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { ethers } from "ethers";
22
import { runOnEvms, ChainInfo, getChainConfig, LoggerFn, getDependencyAddress, writeDeployedContract } from "../../helpers";
33
import { MatchingEngineConfiguration } from "../../config/config-types";
44

5-
import { MatchingEngine__factory, ERC1967Upgrade__factory } from "../../contract-bindings";
5+
import { MatchingEngine__factory } from "../../contract-bindings";
66
import { ERC1967Proxy__factory } from "@certusone/wormhole-sdk/lib/cjs/ethers-contracts";
77

88
runOnEvms("deploy-matching-engine", async (chain: ChainInfo, signer: ethers.Signer, log: LoggerFn) => {

0 commit comments

Comments
 (0)