@snowbridge/registry 1.0.5 → 1.0.6
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/.prettierrc +23 -0
- package/.turbo/turbo-build.log +4 -0
- package/README.md +1 -3
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +30 -47
- package/dist/local_e2e_bridge_info.g.d.ts +158 -0
- package/dist/local_e2e_bridge_info.g.d.ts.map +1 -0
- package/dist/local_e2e_bridge_info.g.js +159 -0
- package/dist/paseo_sepolia_bridge_info.g.d.ts +353 -0
- package/dist/paseo_sepolia_bridge_info.g.d.ts.map +1 -0
- package/dist/paseo_sepolia_bridge_info.g.js +373 -0
- package/dist/polkadot_mainnet_bridge_info.g.d.ts +2249 -0
- package/dist/polkadot_mainnet_bridge_info.g.d.ts.map +1 -0
- package/dist/polkadot_mainnet_bridge_info.g.js +2573 -0
- package/dist/transfers.d.ts +4 -0
- package/dist/transfers.d.ts.map +1 -0
- package/dist/transfers.js +96 -0
- package/dist/westend_sepolia_bridge_info.g.d.ts +469 -0
- package/dist/westend_sepolia_bridge_info.g.d.ts.map +1 -0
- package/dist/westend_sepolia_bridge_info.g.js +526 -0
- package/package.json +21 -15
- package/scripts/buildRegistry.ts +1258 -0
- package/scripts/friendlyChains.ts +74 -0
- package/src/index.ts +22 -57
- package/src/local_e2e_bridge_info.g.ts +157 -0
- package/src/paseo_sepolia_bridge_info.g.ts +372 -0
- package/src/polkadot_mainnet_bridge_info.g.ts +2597 -0
- package/src/transfers.ts +97 -0
- package/src/westend_sepolia_bridge_info.g.ts +534 -0
- package/tsconfig.json +1 -1
- package/tsconfig.scripts.json +23 -0
- package/build.ts +0 -35
- package/dist/local_e2e.registry.json +0 -347
- package/dist/paseo_sepolia.registry.json +0 -150
- package/dist/polkadot_mainnet.registry.json +0 -1484
- package/dist/westend_sepolia.registry.json +0 -227
- package/src/local_e2e.registry.json +0 -347
- package/src/paseo_sepolia.registry.json +0 -150
- package/src/polkadot_mainnet.registry.json +0 -1484
- package/src/westend_sepolia.registry.json +0 -227
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const registry = {
|
|
4
|
+
environment: {
|
|
5
|
+
name: "westend_sepolia",
|
|
6
|
+
ethChainId: 11155111,
|
|
7
|
+
beaconApiUrl: "https://lodestar-sepolia.chainsafe.io",
|
|
8
|
+
ethereumChains: {
|
|
9
|
+
"84532": "https://base-sepolia-rpc.publicnode.com",
|
|
10
|
+
"421614": "https://arbitrum-sepolia-rpc.publicnode.com",
|
|
11
|
+
"11155111": "https://ethereum-sepolia-rpc.publicnode.com",
|
|
12
|
+
},
|
|
13
|
+
relaychainUrl: "https://westend-rpc.polkadot.io",
|
|
14
|
+
parachains: {
|
|
15
|
+
"1000": "https://westend-asset-hub-rpc.polkadot.io",
|
|
16
|
+
"1002": "https://westend-bridge-hub-rpc.polkadot.io",
|
|
17
|
+
},
|
|
18
|
+
gatewayContract: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9",
|
|
19
|
+
beefyContract: "0xebd1cfcf82baa170b86bde532f69a6a49c6c790d",
|
|
20
|
+
assetHubParaId: 1000,
|
|
21
|
+
bridgeHubParaId: 1002,
|
|
22
|
+
v2_parachains: [1000],
|
|
23
|
+
indexerGraphQlUrl: "https://snowbridge.squids.live/snowbridge-subsquid-westend@v1/api/graphql",
|
|
24
|
+
l2Bridge: {
|
|
25
|
+
acrossAPIUrl: "https://testnet.across.to/api",
|
|
26
|
+
l1AdapterAddress: "0xcda9bff39cdf39e95f4b699422e422195091126d",
|
|
27
|
+
l1HandlerAddress: "0x924a9f036260ddd5808007e1aa95f08ed08aa569",
|
|
28
|
+
l1FeeTokenAddress: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
29
|
+
l1SwapRouterAddress: "0x3bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e",
|
|
30
|
+
l1SwapQuoterAddress: "0xed1f6473345f45b75f8179591dd5ba1888cf2fb3",
|
|
31
|
+
l2Chains: {
|
|
32
|
+
"84532": {
|
|
33
|
+
adapterAddress: "0xf06939613a3838af11104c898758220db9093679",
|
|
34
|
+
feeTokenAddress: "0x4200000000000000000000000000000000000006",
|
|
35
|
+
swapRoutes: [
|
|
36
|
+
{
|
|
37
|
+
inputToken: "0x4200000000000000000000000000000000000006",
|
|
38
|
+
outputToken: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
39
|
+
swapFee: 0,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
inputToken: "0x036cbd53842c5426634e7929541ec2318f3dcf7e",
|
|
43
|
+
outputToken: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
44
|
+
swapFee: 500,
|
|
45
|
+
},
|
|
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
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
routes: [
|
|
68
|
+
{
|
|
69
|
+
from: {
|
|
70
|
+
kind: "ethereum",
|
|
71
|
+
id: 11155111,
|
|
72
|
+
},
|
|
73
|
+
to: {
|
|
74
|
+
kind: "polkadot",
|
|
75
|
+
id: 1000,
|
|
76
|
+
},
|
|
77
|
+
assets: [
|
|
78
|
+
"0x0000000000000000000000000000000000000000",
|
|
79
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
80
|
+
"0x7169d38820dfd117c3fa1f22a697dba58d90ba06",
|
|
81
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
82
|
+
"0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f",
|
|
83
|
+
"0xb8a0f2703ac6bdd352096c90c2945a097e8f4055",
|
|
84
|
+
"0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e",
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
from: {
|
|
89
|
+
kind: "polkadot",
|
|
90
|
+
id: 1000,
|
|
91
|
+
},
|
|
92
|
+
to: {
|
|
93
|
+
kind: "ethereum",
|
|
94
|
+
id: 11155111,
|
|
95
|
+
},
|
|
96
|
+
assets: [
|
|
97
|
+
"0x0000000000000000000000000000000000000000",
|
|
98
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
99
|
+
"0x7169d38820dfd117c3fa1f22a697dba58d90ba06",
|
|
100
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
101
|
+
"0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f",
|
|
102
|
+
"0xb8a0f2703ac6bdd352096c90c2945a097e8f4055",
|
|
103
|
+
"0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e",
|
|
104
|
+
],
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
from: {
|
|
108
|
+
kind: "polkadot",
|
|
109
|
+
id: 1000,
|
|
110
|
+
},
|
|
111
|
+
to: {
|
|
112
|
+
kind: "ethereum_l2",
|
|
113
|
+
id: 84532,
|
|
114
|
+
},
|
|
115
|
+
assets: [
|
|
116
|
+
"0x0000000000000000000000000000000000000000",
|
|
117
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
118
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
119
|
+
],
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
from: {
|
|
123
|
+
kind: "ethereum_l2",
|
|
124
|
+
id: 84532,
|
|
125
|
+
},
|
|
126
|
+
to: {
|
|
127
|
+
kind: "polkadot",
|
|
128
|
+
id: 1000,
|
|
129
|
+
},
|
|
130
|
+
assets: [
|
|
131
|
+
"0x0000000000000000000000000000000000000000",
|
|
132
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
133
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
134
|
+
],
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
from: {
|
|
138
|
+
kind: "polkadot",
|
|
139
|
+
id: 1000,
|
|
140
|
+
},
|
|
141
|
+
to: {
|
|
142
|
+
kind: "ethereum_l2",
|
|
143
|
+
id: 421614,
|
|
144
|
+
},
|
|
145
|
+
assets: [
|
|
146
|
+
"0x0000000000000000000000000000000000000000",
|
|
147
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
148
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
149
|
+
],
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
from: {
|
|
153
|
+
kind: "ethereum_l2",
|
|
154
|
+
id: 421614,
|
|
155
|
+
},
|
|
156
|
+
to: {
|
|
157
|
+
kind: "polkadot",
|
|
158
|
+
id: 1000,
|
|
159
|
+
},
|
|
160
|
+
assets: [
|
|
161
|
+
"0x0000000000000000000000000000000000000000",
|
|
162
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
163
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
164
|
+
],
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
registry: {
|
|
168
|
+
timestamp: "2026-03-12T12:21:19.866Z",
|
|
169
|
+
environment: "westend_sepolia",
|
|
170
|
+
ethChainId: 11155111,
|
|
171
|
+
gatewayAddress: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9",
|
|
172
|
+
assetHubParaId: 1000,
|
|
173
|
+
bridgeHubParaId: 1002,
|
|
174
|
+
relaychain: {
|
|
175
|
+
tokenSymbols: "WND",
|
|
176
|
+
tokenDecimals: 12,
|
|
177
|
+
ss58Format: 42,
|
|
178
|
+
isEthereum: false,
|
|
179
|
+
accountType: "AccountId32",
|
|
180
|
+
name: "Westend",
|
|
181
|
+
specName: "westend",
|
|
182
|
+
specVersion: 1022000,
|
|
183
|
+
},
|
|
184
|
+
bridgeHub: {
|
|
185
|
+
tokenSymbols: "WND",
|
|
186
|
+
tokenDecimals: 12,
|
|
187
|
+
ss58Format: 42,
|
|
188
|
+
isEthereum: false,
|
|
189
|
+
accountType: "AccountId32",
|
|
190
|
+
name: "Westend BridgeHub",
|
|
191
|
+
specName: "bridge-hub-westend",
|
|
192
|
+
specVersion: 1022000,
|
|
193
|
+
},
|
|
194
|
+
ethereumChains: {
|
|
195
|
+
ethereum_l2_84532: {
|
|
196
|
+
kind: "ethereum_l2",
|
|
197
|
+
id: 84532,
|
|
198
|
+
name: "base-sepolia",
|
|
199
|
+
assets: {
|
|
200
|
+
"0x4200000000000000000000000000000000000006": {
|
|
201
|
+
token: "0x4200000000000000000000000000000000000006",
|
|
202
|
+
name: "Wrapped Ether",
|
|
203
|
+
symbol: "WETH",
|
|
204
|
+
decimals: 18,
|
|
205
|
+
swapTokenAddress: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
206
|
+
swapFee: 0,
|
|
207
|
+
},
|
|
208
|
+
"0x036cbd53842c5426634e7929541ec2318f3dcf7e": {
|
|
209
|
+
token: "0x036cbd53842c5426634e7929541ec2318f3dcf7e",
|
|
210
|
+
name: "USDC",
|
|
211
|
+
symbol: "USDC",
|
|
212
|
+
decimals: 6,
|
|
213
|
+
swapTokenAddress: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
214
|
+
swapFee: 500,
|
|
215
|
+
},
|
|
216
|
+
"0x0000000000000000000000000000000000000000": {
|
|
217
|
+
token: "0x0000000000000000000000000000000000000000",
|
|
218
|
+
name: "Ether",
|
|
219
|
+
symbol: "Ether",
|
|
220
|
+
decimals: 18,
|
|
221
|
+
swapTokenAddress: "0x0000000000000000000000000000000000000000",
|
|
222
|
+
swapFee: 0,
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
key: "ethereum_l2_84532",
|
|
226
|
+
},
|
|
227
|
+
ethereum_l2_421614: {
|
|
228
|
+
kind: "ethereum_l2",
|
|
229
|
+
id: 421614,
|
|
230
|
+
name: "arbitrum-sepolia",
|
|
231
|
+
assets: {
|
|
232
|
+
"0x980b62da83eff3d4576c647993b0c1d7faf17c73": {
|
|
233
|
+
token: "0x980b62da83eff3d4576c647993b0c1d7faf17c73",
|
|
234
|
+
name: "WETH",
|
|
235
|
+
symbol: "WETH",
|
|
236
|
+
decimals: 18,
|
|
237
|
+
swapTokenAddress: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
238
|
+
swapFee: 0,
|
|
239
|
+
},
|
|
240
|
+
"0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d": {
|
|
241
|
+
token: "0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
242
|
+
name: "USD Coin",
|
|
243
|
+
symbol: "USDC",
|
|
244
|
+
decimals: 6,
|
|
245
|
+
swapTokenAddress: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
246
|
+
swapFee: 500,
|
|
247
|
+
},
|
|
248
|
+
"0x0000000000000000000000000000000000000000": {
|
|
249
|
+
token: "0x0000000000000000000000000000000000000000",
|
|
250
|
+
name: "Ether",
|
|
251
|
+
symbol: "Ether",
|
|
252
|
+
decimals: 18,
|
|
253
|
+
swapTokenAddress: "0x0000000000000000000000000000000000000000",
|
|
254
|
+
swapFee: 0,
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
key: "ethereum_l2_421614",
|
|
258
|
+
},
|
|
259
|
+
ethereum_11155111: {
|
|
260
|
+
kind: "ethereum",
|
|
261
|
+
id: 11155111,
|
|
262
|
+
name: "sepolia",
|
|
263
|
+
assets: {
|
|
264
|
+
"0x0000000000000000000000000000000000000000": {
|
|
265
|
+
token: "0x0000000000000000000000000000000000000000",
|
|
266
|
+
name: "Ether",
|
|
267
|
+
symbol: "Ether",
|
|
268
|
+
decimals: 18,
|
|
269
|
+
},
|
|
270
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238": {
|
|
271
|
+
token: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
272
|
+
name: "USDC",
|
|
273
|
+
symbol: "USDC",
|
|
274
|
+
decimals: 6,
|
|
275
|
+
deliveryGas: 80000n,
|
|
276
|
+
},
|
|
277
|
+
"0x7169d38820dfd117c3fa1f22a697dba58d90ba06": {
|
|
278
|
+
token: "0x7169d38820dfd117c3fa1f22a697dba58d90ba06",
|
|
279
|
+
name: "Test Tether USD",
|
|
280
|
+
symbol: "USDT",
|
|
281
|
+
decimals: 6,
|
|
282
|
+
deliveryGas: 80000n,
|
|
283
|
+
},
|
|
284
|
+
"0x72c610e05eaafcdf1fa7a2da15374ee90edb1620": {
|
|
285
|
+
token: "0x72c610e05eaafcdf1fa7a2da15374ee90edb1620",
|
|
286
|
+
name: "Frequency",
|
|
287
|
+
symbol: "eFRQCY",
|
|
288
|
+
decimals: 12,
|
|
289
|
+
deliveryGas: 80000n,
|
|
290
|
+
},
|
|
291
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14": {
|
|
292
|
+
token: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
293
|
+
name: "Wrapped Ether",
|
|
294
|
+
symbol: "WETH",
|
|
295
|
+
decimals: 18,
|
|
296
|
+
deliveryGas: 80000n,
|
|
297
|
+
},
|
|
298
|
+
"0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f": {
|
|
299
|
+
token: "0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f",
|
|
300
|
+
name: "Frequency",
|
|
301
|
+
symbol: "XRQCY",
|
|
302
|
+
decimals: 8,
|
|
303
|
+
foreignId: "0xaf13384cf9612ef1ff4b87470ab247d6f8d8110d4f5af2fe290ce6767818712c",
|
|
304
|
+
deliveryGas: 80000n,
|
|
305
|
+
},
|
|
306
|
+
"0xb8a0f2703ac6bdd352096c90c2945a097e8f4055": {
|
|
307
|
+
token: "0xb8a0f2703ac6bdd352096c90c2945a097e8f4055",
|
|
308
|
+
name: "WND",
|
|
309
|
+
symbol: "WND",
|
|
310
|
+
decimals: 12,
|
|
311
|
+
foreignId: "0x2121cfe35065c0c33465fbada265f08e9613428a4b9eb4bb717cd7db2abf622e",
|
|
312
|
+
deliveryGas: 80000n,
|
|
313
|
+
},
|
|
314
|
+
"0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e": {
|
|
315
|
+
token: "0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e",
|
|
316
|
+
name: "WND",
|
|
317
|
+
symbol: "WND",
|
|
318
|
+
decimals: 12,
|
|
319
|
+
foreignId: "0x9441dceeeffa7e032eedaccf9b7632e60e86711551a82ffbbb0dda8afd9e4ef7",
|
|
320
|
+
deliveryGas: 80000n,
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
key: "ethereum_11155111",
|
|
324
|
+
baseDeliveryGas: 120000n,
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
parachains: {
|
|
328
|
+
polkadot_1000: {
|
|
329
|
+
id: 1000,
|
|
330
|
+
kind: "polkadot",
|
|
331
|
+
key: "polkadot_1000",
|
|
332
|
+
features: {
|
|
333
|
+
hasPalletXcm: true,
|
|
334
|
+
hasDryRunApi: true,
|
|
335
|
+
hasTxPaymentApi: true,
|
|
336
|
+
hasDryRunRpc: true,
|
|
337
|
+
hasDotBalance: true,
|
|
338
|
+
hasEthBalance: true,
|
|
339
|
+
hasXcmPaymentApi: true,
|
|
340
|
+
supportsAliasOrigin: true,
|
|
341
|
+
xcmVersion: "v5",
|
|
342
|
+
supportsV2: true,
|
|
343
|
+
},
|
|
344
|
+
info: {
|
|
345
|
+
tokenSymbols: "WND",
|
|
346
|
+
tokenDecimals: 12,
|
|
347
|
+
ss58Format: 42,
|
|
348
|
+
isEthereum: false,
|
|
349
|
+
accountType: "AccountId32",
|
|
350
|
+
name: "Westend Asset Hub",
|
|
351
|
+
specName: "westmint",
|
|
352
|
+
specVersion: 1022000,
|
|
353
|
+
},
|
|
354
|
+
assets: {
|
|
355
|
+
"0x0000000000000000000000000000000000000000": {
|
|
356
|
+
token: "0x0000000000000000000000000000000000000000",
|
|
357
|
+
name: "Ether",
|
|
358
|
+
minimumBalance: 15000n,
|
|
359
|
+
symbol: "Ether",
|
|
360
|
+
decimals: 18,
|
|
361
|
+
isSufficient: true,
|
|
362
|
+
},
|
|
363
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238": {
|
|
364
|
+
token: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
365
|
+
name: "",
|
|
366
|
+
minimumBalance: 1n,
|
|
367
|
+
symbol: "",
|
|
368
|
+
decimals: 0,
|
|
369
|
+
isSufficient: false,
|
|
370
|
+
},
|
|
371
|
+
"0x7169d38820dfd117c3fa1f22a697dba58d90ba06": {
|
|
372
|
+
token: "0x7169d38820dfd117c3fa1f22a697dba58d90ba06",
|
|
373
|
+
name: "",
|
|
374
|
+
minimumBalance: 1n,
|
|
375
|
+
symbol: "",
|
|
376
|
+
decimals: 0,
|
|
377
|
+
isSufficient: false,
|
|
378
|
+
},
|
|
379
|
+
"0x72c610e05eaafcdf1fa7a2da15374ee90edb1620": {
|
|
380
|
+
token: "0x72c610e05eaafcdf1fa7a2da15374ee90edb1620",
|
|
381
|
+
name: "",
|
|
382
|
+
minimumBalance: 1n,
|
|
383
|
+
symbol: "",
|
|
384
|
+
decimals: 0,
|
|
385
|
+
isSufficient: false,
|
|
386
|
+
},
|
|
387
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14": {
|
|
388
|
+
token: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
389
|
+
name: "Wrapped Ether",
|
|
390
|
+
minimumBalance: 15000000000000n,
|
|
391
|
+
symbol: "WETH",
|
|
392
|
+
decimals: 18,
|
|
393
|
+
isSufficient: true,
|
|
394
|
+
},
|
|
395
|
+
"0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f": {
|
|
396
|
+
token: "0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f",
|
|
397
|
+
name: "",
|
|
398
|
+
symbol: "",
|
|
399
|
+
decimals: 0,
|
|
400
|
+
locationOnEthereum: {
|
|
401
|
+
parents: 1,
|
|
402
|
+
interior: {
|
|
403
|
+
x2: [
|
|
404
|
+
{
|
|
405
|
+
globalConsensus: {
|
|
406
|
+
byGenesis: "0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e",
|
|
407
|
+
},
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
parachain: 2313,
|
|
411
|
+
},
|
|
412
|
+
],
|
|
413
|
+
},
|
|
414
|
+
},
|
|
415
|
+
location: {
|
|
416
|
+
parents: 1,
|
|
417
|
+
interior: {
|
|
418
|
+
x1: [
|
|
419
|
+
{
|
|
420
|
+
parachain: 2313,
|
|
421
|
+
},
|
|
422
|
+
],
|
|
423
|
+
},
|
|
424
|
+
},
|
|
425
|
+
locationOnAH: {
|
|
426
|
+
parents: 1,
|
|
427
|
+
interior: {
|
|
428
|
+
x1: [
|
|
429
|
+
{
|
|
430
|
+
parachain: 2313,
|
|
431
|
+
},
|
|
432
|
+
],
|
|
433
|
+
},
|
|
434
|
+
},
|
|
435
|
+
foreignId: "0xaf13384cf9612ef1ff4b87470ab247d6f8d8110d4f5af2fe290ce6767818712c",
|
|
436
|
+
minimumBalance: 1n,
|
|
437
|
+
isSufficient: false,
|
|
438
|
+
},
|
|
439
|
+
"0xb8a0f2703ac6bdd352096c90c2945a097e8f4055": {
|
|
440
|
+
token: "0xb8a0f2703ac6bdd352096c90c2945a097e8f4055",
|
|
441
|
+
name: "",
|
|
442
|
+
symbol: "WND",
|
|
443
|
+
decimals: 12,
|
|
444
|
+
locationOnEthereum: {
|
|
445
|
+
parents: 1,
|
|
446
|
+
interior: {
|
|
447
|
+
x1: [
|
|
448
|
+
{
|
|
449
|
+
globalConsensus: {
|
|
450
|
+
byGenesis: "0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e",
|
|
451
|
+
},
|
|
452
|
+
},
|
|
453
|
+
],
|
|
454
|
+
},
|
|
455
|
+
},
|
|
456
|
+
location: {
|
|
457
|
+
parents: 1,
|
|
458
|
+
interior: "Here",
|
|
459
|
+
},
|
|
460
|
+
locationOnAH: {
|
|
461
|
+
parents: 1,
|
|
462
|
+
interior: "Here",
|
|
463
|
+
},
|
|
464
|
+
foreignId: "0x2121cfe35065c0c33465fbada265f08e9613428a4b9eb4bb717cd7db2abf622e",
|
|
465
|
+
minimumBalance: 1000000000n,
|
|
466
|
+
isSufficient: true,
|
|
467
|
+
},
|
|
468
|
+
"0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e": {
|
|
469
|
+
token: "0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e",
|
|
470
|
+
name: "",
|
|
471
|
+
symbol: "WND",
|
|
472
|
+
decimals: 12,
|
|
473
|
+
locationOnEthereum: {
|
|
474
|
+
parents: 1,
|
|
475
|
+
interior: {
|
|
476
|
+
x1: [
|
|
477
|
+
{
|
|
478
|
+
globalConsensus: {
|
|
479
|
+
byGenesis: "0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e",
|
|
480
|
+
},
|
|
481
|
+
},
|
|
482
|
+
],
|
|
483
|
+
},
|
|
484
|
+
},
|
|
485
|
+
location: {
|
|
486
|
+
parents: 1,
|
|
487
|
+
interior: "Here",
|
|
488
|
+
},
|
|
489
|
+
locationOnAH: {
|
|
490
|
+
parents: 1,
|
|
491
|
+
interior: "Here",
|
|
492
|
+
},
|
|
493
|
+
foreignId: "0x9441dceeeffa7e032eedaccf9b7632e60e86711551a82ffbbb0dda8afd9e4ef7",
|
|
494
|
+
minimumBalance: 1000000000n,
|
|
495
|
+
isSufficient: true,
|
|
496
|
+
},
|
|
497
|
+
},
|
|
498
|
+
estimatedExecutionFeeDOT: 0n,
|
|
499
|
+
estimatedDeliveryFeeDOT: 0n,
|
|
500
|
+
},
|
|
501
|
+
},
|
|
502
|
+
},
|
|
503
|
+
chains: {
|
|
504
|
+
baseSepolia: {
|
|
505
|
+
key: "ethereum_l2_84532",
|
|
506
|
+
kind: "ethereum_l2",
|
|
507
|
+
id: 84532,
|
|
508
|
+
},
|
|
509
|
+
arbitrumSepolia: {
|
|
510
|
+
key: "ethereum_l2_421614",
|
|
511
|
+
kind: "ethereum_l2",
|
|
512
|
+
id: 421614,
|
|
513
|
+
},
|
|
514
|
+
sepolia: {
|
|
515
|
+
key: "ethereum_11155111",
|
|
516
|
+
kind: "ethereum",
|
|
517
|
+
id: 11155111,
|
|
518
|
+
},
|
|
519
|
+
assetHub: {
|
|
520
|
+
key: "polkadot_1000",
|
|
521
|
+
kind: "polkadot",
|
|
522
|
+
id: 1000,
|
|
523
|
+
},
|
|
524
|
+
},
|
|
525
|
+
};
|
|
526
|
+
exports.default = registry;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snowbridge/registry",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Snowbridge Asset Registry",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -11,24 +11,30 @@
|
|
|
11
11
|
"main": "dist/index.js",
|
|
12
12
|
"types": "dist/index.d.ts",
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@
|
|
15
|
-
"@
|
|
16
|
-
"@
|
|
17
|
-
"eslint": "
|
|
18
|
-
"eslint
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
14
|
+
"@polkadot/api": "16.5.4",
|
|
15
|
+
"@polkadot/util": "14.0.3",
|
|
16
|
+
"@types/node": "24.6.2",
|
|
17
|
+
"@typescript-eslint/eslint-plugin": "8.45.0",
|
|
18
|
+
"@typescript-eslint/parser": "8.45.0",
|
|
19
|
+
"dotenv": "^17.2.3",
|
|
20
|
+
"eslint": "9.37.0",
|
|
21
|
+
"eslint-config-prettier": "10.1.8",
|
|
22
|
+
"ethers": "6.16.0",
|
|
23
|
+
"prettier": "3.6.2",
|
|
24
|
+
"ts-node": "10.9.2",
|
|
25
|
+
"tsconfig-paths": "4.2.0",
|
|
26
|
+
"typescript": "5.9.3",
|
|
27
|
+
"@snowbridge/contract-types": "1.0.6",
|
|
28
|
+
"@snowbridge/api": "1.0.6",
|
|
29
|
+
"@snowbridge/provider-ethers": "1.0.0"
|
|
24
30
|
},
|
|
25
31
|
"dependencies": {
|
|
26
|
-
"@snowbridge/base-types": "1.0.
|
|
32
|
+
"@snowbridge/base-types": "1.0.6"
|
|
27
33
|
},
|
|
28
34
|
"scripts": {
|
|
29
|
-
"build": "tsc --build --force",
|
|
30
|
-
"build-registry": "npx ts-node
|
|
35
|
+
"build": "tsc --build --force && tsc -p tsconfig.scripts.json",
|
|
36
|
+
"build-registry": "npx ts-node scripts/buildRegistry.ts && pnpm format",
|
|
31
37
|
"lint": "eslint .",
|
|
32
|
-
"format": "prettier src --write"
|
|
38
|
+
"format": "prettier src --write && prettier scripts --write"
|
|
33
39
|
}
|
|
34
40
|
}
|