@snowbridge/registry 0.4.0 → 0.4.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/local_e2e_bridge_info.g.d.ts +141 -0
- package/dist/local_e2e_bridge_info.g.d.ts.map +1 -0
- package/dist/local_e2e_bridge_info.g.js +142 -0
- package/dist/paseo_sepolia_bridge_info.g.d.ts +8 -7
- package/dist/paseo_sepolia_bridge_info.g.d.ts.map +1 -1
- package/dist/paseo_sepolia_bridge_info.g.js +8 -7
- package/dist/polkadot_mainnet_bridge_info.g.d.ts +187 -33
- package/dist/polkadot_mainnet_bridge_info.g.d.ts.map +1 -1
- package/dist/polkadot_mainnet_bridge_info.g.js +223 -33
- package/dist/transfers.d.ts.map +1 -1
- package/dist/transfers.js +57 -38
- package/dist/westend_sepolia_bridge_info.g.d.ts +102 -14
- package/dist/westend_sepolia_bridge_info.g.d.ts.map +1 -1
- package/dist/westend_sepolia_bridge_info.g.js +125 -14
- package/package.json +6 -6
- package/scripts/buildRegistry.ts +170 -35
- package/src/index.ts +4 -1
- package/src/local_e2e_bridge_info.g.ts +140 -0
- package/src/paseo_sepolia_bridge_info.g.ts +8 -7
- package/src/polkadot_mainnet_bridge_info.g.ts +223 -33
- package/src/transfers.ts +50 -35
- package/src/westend_sepolia_bridge_info.g.ts +125 -14
|
@@ -5,29 +5,30 @@ declare const registry: {
|
|
|
5
5
|
readonly beaconApiUrl: "https://lodestar-sepolia.chainsafe.io";
|
|
6
6
|
readonly ethereumChains: {
|
|
7
7
|
readonly "84532": "https://base-sepolia-rpc.publicnode.com";
|
|
8
|
+
readonly "421614": "https://arbitrum-sepolia-rpc.publicnode.com";
|
|
8
9
|
readonly "11155111": "https://ethereum-sepolia-rpc.publicnode.com";
|
|
9
10
|
};
|
|
10
|
-
readonly relaychainUrl: "
|
|
11
|
+
readonly relaychainUrl: "https://westend-rpc.polkadot.io";
|
|
11
12
|
readonly parachains: {
|
|
12
|
-
readonly "1000": "
|
|
13
|
-
readonly "1002": "
|
|
13
|
+
readonly "1000": "https://westend-asset-hub-rpc.polkadot.io";
|
|
14
|
+
readonly "1002": "https://westend-bridge-hub-rpc.polkadot.io";
|
|
14
15
|
};
|
|
15
16
|
readonly gatewayContract: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9";
|
|
16
|
-
readonly beefyContract: "
|
|
17
|
+
readonly beefyContract: "0xebd1cfcf82baa170b86bde532f69a6a49c6c790d";
|
|
17
18
|
readonly assetHubParaId: 1000;
|
|
18
19
|
readonly bridgeHubParaId: 1002;
|
|
19
20
|
readonly v2_parachains: readonly [1000];
|
|
20
21
|
readonly indexerGraphQlUrl: "https://snowbridge.squids.live/snowbridge-subsquid-westend@v1/api/graphql";
|
|
21
22
|
readonly l2Bridge: {
|
|
22
23
|
readonly acrossAPIUrl: "https://testnet.across.to/api";
|
|
23
|
-
readonly l1AdapterAddress: "
|
|
24
|
-
readonly l1HandlerAddress: "
|
|
25
|
-
readonly l1FeeTokenAddress: "
|
|
26
|
-
readonly l1SwapRouterAddress: "
|
|
27
|
-
readonly l1SwapQuoterAddress: "
|
|
24
|
+
readonly l1AdapterAddress: "0xcda9bff39cdf39e95f4b699422e422195091126d";
|
|
25
|
+
readonly l1HandlerAddress: "0x924a9f036260ddd5808007e1aa95f08ed08aa569";
|
|
26
|
+
readonly l1FeeTokenAddress: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14";
|
|
27
|
+
readonly l1SwapRouterAddress: "0x3bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e";
|
|
28
|
+
readonly l1SwapQuoterAddress: "0xed1f6473345f45b75f8179591dd5ba1888cf2fb3";
|
|
28
29
|
readonly l2Chains: {
|
|
29
30
|
readonly "84532": {
|
|
30
|
-
readonly adapterAddress: "
|
|
31
|
+
readonly adapterAddress: "0xf06939613a3838af11104c898758220db9093679";
|
|
31
32
|
readonly feeTokenAddress: "0x4200000000000000000000000000000000000006";
|
|
32
33
|
readonly swapRoutes: readonly [{
|
|
33
34
|
readonly inputToken: "0x4200000000000000000000000000000000000006";
|
|
@@ -39,6 +40,19 @@ declare const registry: {
|
|
|
39
40
|
readonly swapFee: 500;
|
|
40
41
|
}];
|
|
41
42
|
};
|
|
43
|
+
readonly "421614": {
|
|
44
|
+
readonly adapterAddress: "0xcb3d8043bdbfb0d9b30de279a09132073d1de561";
|
|
45
|
+
readonly feeTokenAddress: "0x980b62da83eff3d4576c647993b0c1d7faf17c73";
|
|
46
|
+
readonly swapRoutes: readonly [{
|
|
47
|
+
readonly inputToken: "0x980b62da83eff3d4576c647993b0c1d7faf17c73";
|
|
48
|
+
readonly outputToken: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14";
|
|
49
|
+
readonly swapFee: 0;
|
|
50
|
+
}, {
|
|
51
|
+
readonly inputToken: "0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d";
|
|
52
|
+
readonly outputToken: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238";
|
|
53
|
+
readonly swapFee: 500;
|
|
54
|
+
}];
|
|
55
|
+
};
|
|
42
56
|
};
|
|
43
57
|
};
|
|
44
58
|
};
|
|
@@ -62,9 +76,49 @@ declare const registry: {
|
|
|
62
76
|
readonly id: 11155111;
|
|
63
77
|
};
|
|
64
78
|
readonly assets: readonly ["0x0000000000000000000000000000000000000000", "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238", "0xfff9976782d46cc05630d1f6ebab18b2324d6b14", "0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f", "0xb8a0f2703ac6bdd352096c90c2945a097e8f4055", "0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e"];
|
|
79
|
+
}, {
|
|
80
|
+
readonly from: {
|
|
81
|
+
readonly kind: "polkadot";
|
|
82
|
+
readonly id: 1000;
|
|
83
|
+
};
|
|
84
|
+
readonly to: {
|
|
85
|
+
readonly kind: "ethereum_l2";
|
|
86
|
+
readonly id: 84532;
|
|
87
|
+
};
|
|
88
|
+
readonly assets: readonly ["0x0000000000000000000000000000000000000000", "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238", "0xfff9976782d46cc05630d1f6ebab18b2324d6b14"];
|
|
89
|
+
}, {
|
|
90
|
+
readonly from: {
|
|
91
|
+
readonly kind: "ethereum_l2";
|
|
92
|
+
readonly id: 84532;
|
|
93
|
+
};
|
|
94
|
+
readonly to: {
|
|
95
|
+
readonly kind: "polkadot";
|
|
96
|
+
readonly id: 1000;
|
|
97
|
+
};
|
|
98
|
+
readonly assets: readonly ["0x0000000000000000000000000000000000000000", "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238", "0xfff9976782d46cc05630d1f6ebab18b2324d6b14"];
|
|
99
|
+
}, {
|
|
100
|
+
readonly from: {
|
|
101
|
+
readonly kind: "polkadot";
|
|
102
|
+
readonly id: 1000;
|
|
103
|
+
};
|
|
104
|
+
readonly to: {
|
|
105
|
+
readonly kind: "ethereum_l2";
|
|
106
|
+
readonly id: 421614;
|
|
107
|
+
};
|
|
108
|
+
readonly assets: readonly ["0x0000000000000000000000000000000000000000", "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238", "0xfff9976782d46cc05630d1f6ebab18b2324d6b14"];
|
|
109
|
+
}, {
|
|
110
|
+
readonly from: {
|
|
111
|
+
readonly kind: "ethereum_l2";
|
|
112
|
+
readonly id: 421614;
|
|
113
|
+
};
|
|
114
|
+
readonly to: {
|
|
115
|
+
readonly kind: "polkadot";
|
|
116
|
+
readonly id: 1000;
|
|
117
|
+
};
|
|
118
|
+
readonly assets: readonly ["0x0000000000000000000000000000000000000000", "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238", "0xfff9976782d46cc05630d1f6ebab18b2324d6b14"];
|
|
65
119
|
}];
|
|
66
120
|
readonly registry: {
|
|
67
|
-
readonly timestamp: "2026-
|
|
121
|
+
readonly timestamp: "2026-02-16T10:24:33.190Z";
|
|
68
122
|
readonly environment: "westend_sepolia";
|
|
69
123
|
readonly ethChainId: 11155111;
|
|
70
124
|
readonly gatewayAddress: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9";
|
|
@@ -78,7 +132,7 @@ declare const registry: {
|
|
|
78
132
|
readonly accountType: "AccountId32";
|
|
79
133
|
readonly name: "Westend";
|
|
80
134
|
readonly specName: "westend";
|
|
81
|
-
readonly specVersion:
|
|
135
|
+
readonly specVersion: 1021002;
|
|
82
136
|
};
|
|
83
137
|
readonly bridgeHub: {
|
|
84
138
|
readonly tokenSymbols: "WND";
|
|
@@ -88,12 +142,13 @@ declare const registry: {
|
|
|
88
142
|
readonly accountType: "AccountId32";
|
|
89
143
|
readonly name: "Westend BridgeHub";
|
|
90
144
|
readonly specName: "bridge-hub-westend";
|
|
91
|
-
readonly specVersion:
|
|
145
|
+
readonly specVersion: 1021001;
|
|
92
146
|
};
|
|
93
147
|
readonly ethereumChains: {
|
|
94
148
|
readonly ethereum_l2_84532: {
|
|
95
149
|
readonly kind: "ethereum_l2";
|
|
96
150
|
readonly id: 84532;
|
|
151
|
+
readonly name: "base-sepolia";
|
|
97
152
|
readonly assets: {
|
|
98
153
|
readonly "0x4200000000000000000000000000000000000006": {
|
|
99
154
|
readonly token: "0x4200000000000000000000000000000000000006";
|
|
@@ -122,9 +177,42 @@ declare const registry: {
|
|
|
122
177
|
};
|
|
123
178
|
readonly key: "ethereum_l2_84532";
|
|
124
179
|
};
|
|
180
|
+
readonly ethereum_l2_421614: {
|
|
181
|
+
readonly kind: "ethereum_l2";
|
|
182
|
+
readonly id: 421614;
|
|
183
|
+
readonly name: "arbitrum-sepolia";
|
|
184
|
+
readonly assets: {
|
|
185
|
+
readonly "0x980b62da83eff3d4576c647993b0c1d7faf17c73": {
|
|
186
|
+
readonly token: "0x980b62da83eff3d4576c647993b0c1d7faf17c73";
|
|
187
|
+
readonly name: "WETH";
|
|
188
|
+
readonly symbol: "WETH";
|
|
189
|
+
readonly decimals: 18;
|
|
190
|
+
readonly swapTokenAddress: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14";
|
|
191
|
+
readonly swapFee: 0;
|
|
192
|
+
};
|
|
193
|
+
readonly "0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d": {
|
|
194
|
+
readonly token: "0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d";
|
|
195
|
+
readonly name: "USD Coin";
|
|
196
|
+
readonly symbol: "USDC";
|
|
197
|
+
readonly decimals: 6;
|
|
198
|
+
readonly swapTokenAddress: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238";
|
|
199
|
+
readonly swapFee: 500;
|
|
200
|
+
};
|
|
201
|
+
readonly "0x0000000000000000000000000000000000000000": {
|
|
202
|
+
readonly token: "0x0000000000000000000000000000000000000000";
|
|
203
|
+
readonly name: "Ether";
|
|
204
|
+
readonly symbol: "Ether";
|
|
205
|
+
readonly decimals: 18;
|
|
206
|
+
readonly swapTokenAddress: "0x0000000000000000000000000000000000000000";
|
|
207
|
+
readonly swapFee: 0;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
readonly key: "ethereum_l2_421614";
|
|
211
|
+
};
|
|
125
212
|
readonly ethereum_11155111: {
|
|
126
213
|
readonly kind: "ethereum";
|
|
127
214
|
readonly id: 11155111;
|
|
215
|
+
readonly name: "sepolia";
|
|
128
216
|
readonly assets: {
|
|
129
217
|
readonly "0x0000000000000000000000000000000000000000": {
|
|
130
218
|
readonly token: "0x0000000000000000000000000000000000000000";
|
|
@@ -207,7 +295,7 @@ declare const registry: {
|
|
|
207
295
|
readonly accountType: "AccountId32";
|
|
208
296
|
readonly name: "Westend Asset Hub";
|
|
209
297
|
readonly specName: "westmint";
|
|
210
|
-
readonly specVersion:
|
|
298
|
+
readonly specVersion: 1021003;
|
|
211
299
|
};
|
|
212
300
|
readonly assets: {
|
|
213
301
|
readonly "0x0000000000000000000000000000000000000000": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"westend_sepolia_bridge_info.g.d.ts","sourceRoot":"","sources":["../src/westend_sepolia_bridge_info.g.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"westend_sepolia_bridge_info.g.d.ts","sourceRoot":"","sources":["../src/westend_sepolia_bridge_info.g.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6eJ,CAAA;AACV,eAAe,QAAQ,CAAA"}
|
|
@@ -7,29 +7,30 @@ const registry = {
|
|
|
7
7
|
beaconApiUrl: "https://lodestar-sepolia.chainsafe.io",
|
|
8
8
|
ethereumChains: {
|
|
9
9
|
"84532": "https://base-sepolia-rpc.publicnode.com",
|
|
10
|
+
"421614": "https://arbitrum-sepolia-rpc.publicnode.com",
|
|
10
11
|
"11155111": "https://ethereum-sepolia-rpc.publicnode.com",
|
|
11
12
|
},
|
|
12
|
-
relaychainUrl: "
|
|
13
|
+
relaychainUrl: "https://westend-rpc.polkadot.io",
|
|
13
14
|
parachains: {
|
|
14
|
-
"1000": "
|
|
15
|
-
"1002": "
|
|
15
|
+
"1000": "https://westend-asset-hub-rpc.polkadot.io",
|
|
16
|
+
"1002": "https://westend-bridge-hub-rpc.polkadot.io",
|
|
16
17
|
},
|
|
17
18
|
gatewayContract: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9",
|
|
18
|
-
beefyContract: "
|
|
19
|
+
beefyContract: "0xebd1cfcf82baa170b86bde532f69a6a49c6c790d",
|
|
19
20
|
assetHubParaId: 1000,
|
|
20
21
|
bridgeHubParaId: 1002,
|
|
21
22
|
v2_parachains: [1000],
|
|
22
23
|
indexerGraphQlUrl: "https://snowbridge.squids.live/snowbridge-subsquid-westend@v1/api/graphql",
|
|
23
24
|
l2Bridge: {
|
|
24
25
|
acrossAPIUrl: "https://testnet.across.to/api",
|
|
25
|
-
l1AdapterAddress: "
|
|
26
|
-
l1HandlerAddress: "
|
|
27
|
-
l1FeeTokenAddress: "
|
|
28
|
-
l1SwapRouterAddress: "
|
|
29
|
-
l1SwapQuoterAddress: "
|
|
26
|
+
l1AdapterAddress: "0xcda9bff39cdf39e95f4b699422e422195091126d",
|
|
27
|
+
l1HandlerAddress: "0x924a9f036260ddd5808007e1aa95f08ed08aa569",
|
|
28
|
+
l1FeeTokenAddress: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
29
|
+
l1SwapRouterAddress: "0x3bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e",
|
|
30
|
+
l1SwapQuoterAddress: "0xed1f6473345f45b75f8179591dd5ba1888cf2fb3",
|
|
30
31
|
l2Chains: {
|
|
31
32
|
"84532": {
|
|
32
|
-
adapterAddress: "
|
|
33
|
+
adapterAddress: "0xf06939613a3838af11104c898758220db9093679",
|
|
33
34
|
feeTokenAddress: "0x4200000000000000000000000000000000000006",
|
|
34
35
|
swapRoutes: [
|
|
35
36
|
{
|
|
@@ -44,6 +45,22 @@ const registry = {
|
|
|
44
45
|
},
|
|
45
46
|
],
|
|
46
47
|
},
|
|
48
|
+
"421614": {
|
|
49
|
+
adapterAddress: "0xcb3d8043bdbfb0d9b30de279a09132073d1de561",
|
|
50
|
+
feeTokenAddress: "0x980b62da83eff3d4576c647993b0c1d7faf17c73",
|
|
51
|
+
swapRoutes: [
|
|
52
|
+
{
|
|
53
|
+
inputToken: "0x980b62da83eff3d4576c647993b0c1d7faf17c73",
|
|
54
|
+
outputToken: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
55
|
+
swapFee: 0,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
inputToken: "0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
59
|
+
outputToken: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
60
|
+
swapFee: 500,
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
},
|
|
47
64
|
},
|
|
48
65
|
},
|
|
49
66
|
},
|
|
@@ -84,9 +101,69 @@ const registry = {
|
|
|
84
101
|
"0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e",
|
|
85
102
|
],
|
|
86
103
|
},
|
|
104
|
+
{
|
|
105
|
+
from: {
|
|
106
|
+
kind: "polkadot",
|
|
107
|
+
id: 1000,
|
|
108
|
+
},
|
|
109
|
+
to: {
|
|
110
|
+
kind: "ethereum_l2",
|
|
111
|
+
id: 84532,
|
|
112
|
+
},
|
|
113
|
+
assets: [
|
|
114
|
+
"0x0000000000000000000000000000000000000000",
|
|
115
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
116
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
117
|
+
],
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
from: {
|
|
121
|
+
kind: "ethereum_l2",
|
|
122
|
+
id: 84532,
|
|
123
|
+
},
|
|
124
|
+
to: {
|
|
125
|
+
kind: "polkadot",
|
|
126
|
+
id: 1000,
|
|
127
|
+
},
|
|
128
|
+
assets: [
|
|
129
|
+
"0x0000000000000000000000000000000000000000",
|
|
130
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
131
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
132
|
+
],
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
from: {
|
|
136
|
+
kind: "polkadot",
|
|
137
|
+
id: 1000,
|
|
138
|
+
},
|
|
139
|
+
to: {
|
|
140
|
+
kind: "ethereum_l2",
|
|
141
|
+
id: 421614,
|
|
142
|
+
},
|
|
143
|
+
assets: [
|
|
144
|
+
"0x0000000000000000000000000000000000000000",
|
|
145
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
146
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
147
|
+
],
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
from: {
|
|
151
|
+
kind: "ethereum_l2",
|
|
152
|
+
id: 421614,
|
|
153
|
+
},
|
|
154
|
+
to: {
|
|
155
|
+
kind: "polkadot",
|
|
156
|
+
id: 1000,
|
|
157
|
+
},
|
|
158
|
+
assets: [
|
|
159
|
+
"0x0000000000000000000000000000000000000000",
|
|
160
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
161
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
162
|
+
],
|
|
163
|
+
},
|
|
87
164
|
],
|
|
88
165
|
registry: {
|
|
89
|
-
timestamp: "2026-
|
|
166
|
+
timestamp: "2026-02-16T10:24:33.190Z",
|
|
90
167
|
environment: "westend_sepolia",
|
|
91
168
|
ethChainId: 11155111,
|
|
92
169
|
gatewayAddress: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9",
|
|
@@ -100,7 +177,7 @@ const registry = {
|
|
|
100
177
|
accountType: "AccountId32",
|
|
101
178
|
name: "Westend",
|
|
102
179
|
specName: "westend",
|
|
103
|
-
specVersion:
|
|
180
|
+
specVersion: 1021002,
|
|
104
181
|
},
|
|
105
182
|
bridgeHub: {
|
|
106
183
|
tokenSymbols: "WND",
|
|
@@ -110,12 +187,13 @@ const registry = {
|
|
|
110
187
|
accountType: "AccountId32",
|
|
111
188
|
name: "Westend BridgeHub",
|
|
112
189
|
specName: "bridge-hub-westend",
|
|
113
|
-
specVersion:
|
|
190
|
+
specVersion: 1021001,
|
|
114
191
|
},
|
|
115
192
|
ethereumChains: {
|
|
116
193
|
ethereum_l2_84532: {
|
|
117
194
|
kind: "ethereum_l2",
|
|
118
195
|
id: 84532,
|
|
196
|
+
name: "base-sepolia",
|
|
119
197
|
assets: {
|
|
120
198
|
"0x4200000000000000000000000000000000000006": {
|
|
121
199
|
token: "0x4200000000000000000000000000000000000006",
|
|
@@ -144,9 +222,42 @@ const registry = {
|
|
|
144
222
|
},
|
|
145
223
|
key: "ethereum_l2_84532",
|
|
146
224
|
},
|
|
225
|
+
ethereum_l2_421614: {
|
|
226
|
+
kind: "ethereum_l2",
|
|
227
|
+
id: 421614,
|
|
228
|
+
name: "arbitrum-sepolia",
|
|
229
|
+
assets: {
|
|
230
|
+
"0x980b62da83eff3d4576c647993b0c1d7faf17c73": {
|
|
231
|
+
token: "0x980b62da83eff3d4576c647993b0c1d7faf17c73",
|
|
232
|
+
name: "WETH",
|
|
233
|
+
symbol: "WETH",
|
|
234
|
+
decimals: 18,
|
|
235
|
+
swapTokenAddress: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
236
|
+
swapFee: 0,
|
|
237
|
+
},
|
|
238
|
+
"0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d": {
|
|
239
|
+
token: "0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
240
|
+
name: "USD Coin",
|
|
241
|
+
symbol: "USDC",
|
|
242
|
+
decimals: 6,
|
|
243
|
+
swapTokenAddress: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
244
|
+
swapFee: 500,
|
|
245
|
+
},
|
|
246
|
+
"0x0000000000000000000000000000000000000000": {
|
|
247
|
+
token: "0x0000000000000000000000000000000000000000",
|
|
248
|
+
name: "Ether",
|
|
249
|
+
symbol: "Ether",
|
|
250
|
+
decimals: 18,
|
|
251
|
+
swapTokenAddress: "0x0000000000000000000000000000000000000000",
|
|
252
|
+
swapFee: 0,
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
key: "ethereum_l2_421614",
|
|
256
|
+
},
|
|
147
257
|
ethereum_11155111: {
|
|
148
258
|
kind: "ethereum",
|
|
149
259
|
id: 11155111,
|
|
260
|
+
name: "sepolia",
|
|
150
261
|
assets: {
|
|
151
262
|
"0x0000000000000000000000000000000000000000": {
|
|
152
263
|
token: "0x0000000000000000000000000000000000000000",
|
|
@@ -229,7 +340,7 @@ const registry = {
|
|
|
229
340
|
accountType: "AccountId32",
|
|
230
341
|
name: "Westend Asset Hub",
|
|
231
342
|
specName: "westmint",
|
|
232
|
-
specVersion:
|
|
343
|
+
specVersion: 1021003,
|
|
233
344
|
},
|
|
234
345
|
assets: {
|
|
235
346
|
"0x0000000000000000000000000000000000000000": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snowbridge/registry",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1-beta.1",
|
|
4
4
|
"description": "Snowbridge Asset Registry",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"main": "dist/index.js",
|
|
12
12
|
"types": "dist/index.d.ts",
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@polkadot/api": "16.4
|
|
15
|
-
"@polkadot/util": "
|
|
14
|
+
"@polkadot/api": "16.5.4",
|
|
15
|
+
"@polkadot/util": "14.0.1",
|
|
16
16
|
"@types/node": "24.6.2",
|
|
17
17
|
"@typescript-eslint/eslint-plugin": "8.45.0",
|
|
18
18
|
"@typescript-eslint/parser": "8.45.0",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"ts-node": "10.9.2",
|
|
25
25
|
"tsconfig-paths": "4.2.0",
|
|
26
26
|
"typescript": "5.9.3",
|
|
27
|
-
"@snowbridge/contract-types": "0.4.
|
|
28
|
-
"@snowbridge/api": "0.4.
|
|
27
|
+
"@snowbridge/contract-types": "0.4.1-beta.1",
|
|
28
|
+
"@snowbridge/api": "0.4.1-beta.1"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@snowbridge/base-types": "0.4.
|
|
31
|
+
"@snowbridge/base-types": "0.4.1-beta.1"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "tsc --build --force && tsc -p tsconfig.scripts.json",
|