@snowbridge/registry 1.0.5 → 1.0.11

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