@snowbridge/registry 0.3.3 → 0.4.0

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 (39) hide show
  1. package/.turbo/turbo-build.log +1 -2
  2. package/dist/index.d.ts +6 -2
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +24 -2
  5. package/dist/paseo_sepolia_bridge_info.g.d.ts +330 -0
  6. package/dist/paseo_sepolia_bridge_info.g.d.ts.map +1 -0
  7. package/dist/paseo_sepolia_bridge_info.g.js +350 -0
  8. package/dist/polkadot_mainnet_bridge_info.g.d.ts +1983 -0
  9. package/dist/polkadot_mainnet_bridge_info.g.d.ts.map +1 -0
  10. package/dist/polkadot_mainnet_bridge_info.g.js +2264 -0
  11. package/dist/transfers.d.ts +3 -8
  12. package/dist/transfers.d.ts.map +1 -1
  13. package/dist/transfers.js +54 -215
  14. package/dist/westend_sepolia_bridge_info.g.d.ts +344 -0
  15. package/dist/westend_sepolia_bridge_info.g.d.ts.map +1 -0
  16. package/dist/westend_sepolia_bridge_info.g.js +376 -0
  17. package/package.json +5 -5
  18. package/scripts/buildRegistry.ts +466 -29
  19. package/src/index.ts +24 -2
  20. package/src/paseo_sepolia_bridge_info.g.ts +349 -0
  21. package/src/polkadot_mainnet_bridge_info.g.ts +2287 -0
  22. package/src/transfers.ts +58 -266
  23. package/src/westend_sepolia_bridge_info.g.ts +384 -0
  24. package/dist/environment.d.ts +0 -3
  25. package/dist/environment.d.ts.map +0 -1
  26. package/dist/environment.js +0 -181
  27. package/dist/local_e2e.registry.json +0 -391
  28. package/dist/paseo_sepolia.registry.json +0 -231
  29. package/dist/polkadot_mainnet.registry.json +0 -1805
  30. package/dist/registry.d.ts +0 -3
  31. package/dist/registry.d.ts.map +0 -1
  32. package/dist/registry.js +0 -61
  33. package/dist/westend_sepolia.registry.json +0 -283
  34. package/src/environment.ts +0 -185
  35. package/src/local_e2e.registry.json +0 -391
  36. package/src/paseo_sepolia.registry.json +0 -231
  37. package/src/polkadot_mainnet.registry.json +0 -1805
  38. package/src/registry.ts +0 -63
  39. package/src/westend_sepolia.registry.json +0 -283
@@ -0,0 +1,350 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const registry = {
4
+ environment: {
5
+ name: "paseo_sepolia",
6
+ ethChainId: 11155111,
7
+ beaconApiUrl: "https://lodestar-sepolia.chainsafe.io",
8
+ ethereumChains: {
9
+ "11155111": "https://ethereum-sepolia-rpc.publicnode.com",
10
+ },
11
+ relaychainUrl: "wss://paseo-rpc.n.dwellir.com",
12
+ parachains: {
13
+ "1000": "wss://asset-hub-paseo-rpc.n.dwellir.com",
14
+ "1002": "wss://bridge-hub-paseo.dotters.network",
15
+ "2043": "wss://parachain-testnet-rpc.origin-trail.network",
16
+ "3369": "wss://paseo-muse-rpc.polkadot.io",
17
+ },
18
+ gatewayContract: "0x1607C1368bc943130258318c91bBd8cFf3D063E6",
19
+ beefyContract: "0x2c780945beb1241fE9c645800110cb9C4bBbb639",
20
+ assetHubParaId: 1000,
21
+ bridgeHubParaId: 1002,
22
+ v2_parachains: [1000],
23
+ indexerGraphQlUrl: "https://snowbridge.squids.live/snowbridge-subsquid-paseo@v1/api/graphql",
24
+ metadataOverrides: {
25
+ "0xef32abea56beff54f61da319a7311098d6fbcea9": {
26
+ name: "OriginTrail TRAC",
27
+ symbol: "TRAC",
28
+ },
29
+ },
30
+ },
31
+ routes: [
32
+ {
33
+ from: {
34
+ kind: "ethereum",
35
+ id: 11155111,
36
+ },
37
+ to: {
38
+ kind: "polkadot",
39
+ id: 1000,
40
+ },
41
+ assets: [
42
+ "0x0000000000000000000000000000000000000000",
43
+ "0x22e12ed4e6bcde652a73552dde340fcb972eef89",
44
+ "0xef32abea56beff54f61da319a7311098d6fbcea9",
45
+ "0x99e743964c036bc28931fb564817db428aa7f752",
46
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
47
+ ],
48
+ },
49
+ {
50
+ from: {
51
+ kind: "polkadot",
52
+ id: 1000,
53
+ },
54
+ to: {
55
+ kind: "ethereum",
56
+ id: 11155111,
57
+ },
58
+ assets: [
59
+ "0x0000000000000000000000000000000000000000",
60
+ "0x22e12ed4e6bcde652a73552dde340fcb972eef89",
61
+ "0xef32abea56beff54f61da319a7311098d6fbcea9",
62
+ "0x99e743964c036bc28931fb564817db428aa7f752",
63
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
64
+ ],
65
+ },
66
+ {
67
+ from: {
68
+ kind: "ethereum",
69
+ id: 11155111,
70
+ },
71
+ to: {
72
+ kind: "polkadot",
73
+ id: 2043,
74
+ },
75
+ assets: ["0xef32abea56beff54f61da319a7311098d6fbcea9"],
76
+ },
77
+ {
78
+ from: {
79
+ kind: "polkadot",
80
+ id: 2043,
81
+ },
82
+ to: {
83
+ kind: "ethereum",
84
+ id: 11155111,
85
+ },
86
+ assets: ["0xef32abea56beff54f61da319a7311098d6fbcea9"],
87
+ },
88
+ {
89
+ from: {
90
+ kind: "ethereum",
91
+ id: 11155111,
92
+ },
93
+ to: {
94
+ kind: "polkadot",
95
+ id: 3369,
96
+ },
97
+ assets: ["0xb34a6924a02100ba6ef12af1c798285e8f7a16ee"],
98
+ },
99
+ {
100
+ from: {
101
+ kind: "polkadot",
102
+ id: 3369,
103
+ },
104
+ to: {
105
+ kind: "ethereum",
106
+ id: 11155111,
107
+ },
108
+ assets: ["0xb34a6924a02100ba6ef12af1c798285e8f7a16ee"],
109
+ },
110
+ ],
111
+ registry: {
112
+ timestamp: "2026-01-28T21:31:42.998Z",
113
+ environment: "paseo_sepolia",
114
+ ethChainId: 11155111,
115
+ gatewayAddress: "0x1607C1368bc943130258318c91bBd8cFf3D063E6",
116
+ assetHubParaId: 1000,
117
+ bridgeHubParaId: 1002,
118
+ relaychain: {
119
+ tokenSymbols: "PAS",
120
+ tokenDecimals: 10,
121
+ ss58Format: 0,
122
+ isEthereum: false,
123
+ accountType: "AccountId32",
124
+ name: "Paseo Testnet",
125
+ specName: "paseo",
126
+ specVersion: 2000005,
127
+ },
128
+ bridgeHub: {
129
+ tokenSymbols: "PAS",
130
+ tokenDecimals: 10,
131
+ ss58Format: 0,
132
+ isEthereum: false,
133
+ accountType: "AccountId32",
134
+ name: "Paseo Bridge Hub",
135
+ specName: "bridge-hub-paseo",
136
+ specVersion: 2000005,
137
+ },
138
+ ethereumChains: {
139
+ ethereum_11155111: {
140
+ kind: "ethereum",
141
+ id: 11155111,
142
+ assets: {
143
+ "0x0000000000000000000000000000000000000000": {
144
+ token: "0x0000000000000000000000000000000000000000",
145
+ name: "Ether",
146
+ symbol: "ETH",
147
+ decimals: 18,
148
+ },
149
+ "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee": {
150
+ token: "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee",
151
+ name: "Muse",
152
+ symbol: "MUSE",
153
+ decimals: 18,
154
+ deliveryGas: 80000n,
155
+ },
156
+ "0x22e12ed4e6bcde652a73552dde340fcb972eef89": {
157
+ token: "0x22e12ed4e6bcde652a73552dde340fcb972eef89",
158
+ name: "Wrapped PILT",
159
+ symbol: "wPILT",
160
+ decimals: 15,
161
+ deliveryGas: 80000n,
162
+ },
163
+ "0xef32abea56beff54f61da319a7311098d6fbcea9": {
164
+ token: "0xef32abea56beff54f61da319a7311098d6fbcea9",
165
+ name: "OriginTrail TRAC",
166
+ symbol: "TRAC",
167
+ decimals: 18,
168
+ deliveryGas: 80000n,
169
+ },
170
+ "0x99e743964c036bc28931fb564817db428aa7f752": {
171
+ token: "0x99e743964c036bc28931fb564817db428aa7f752",
172
+ name: "KILT",
173
+ symbol: "KILT",
174
+ decimals: 15,
175
+ deliveryGas: 80000n,
176
+ },
177
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14": {
178
+ token: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
179
+ name: "Wrapped Ether",
180
+ symbol: "WETH",
181
+ decimals: 18,
182
+ deliveryGas: 80000n,
183
+ },
184
+ },
185
+ key: "ethereum_11155111",
186
+ baseDeliveryGas: 120000n,
187
+ },
188
+ },
189
+ parachains: {
190
+ polkadot_1000: {
191
+ id: 1000,
192
+ kind: "polkadot",
193
+ key: "polkadot_1000",
194
+ features: {
195
+ hasPalletXcm: true,
196
+ hasDryRunApi: true,
197
+ hasTxPaymentApi: true,
198
+ hasDryRunRpc: true,
199
+ hasDotBalance: true,
200
+ hasEthBalance: true,
201
+ hasXcmPaymentApi: true,
202
+ supportsAliasOrigin: true,
203
+ xcmVersion: "v5",
204
+ supportsV2: true,
205
+ },
206
+ info: {
207
+ tokenSymbols: "PAS",
208
+ tokenDecimals: 10,
209
+ ss58Format: 0,
210
+ isEthereum: false,
211
+ accountType: "AccountId32",
212
+ name: "Paseo Asset Hub",
213
+ specName: "asset-hub-paseo",
214
+ specVersion: 2000005,
215
+ },
216
+ assets: {
217
+ "0x0000000000000000000000000000000000000000": {
218
+ token: "0x0000000000000000000000000000000000000000",
219
+ name: "Ether",
220
+ minimumBalance: 15000000000000n,
221
+ symbol: "ETH",
222
+ decimals: 18,
223
+ isSufficient: true,
224
+ },
225
+ "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee": {
226
+ token: "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee",
227
+ name: "",
228
+ minimumBalance: 1n,
229
+ symbol: "",
230
+ decimals: 0,
231
+ isSufficient: false,
232
+ },
233
+ "0x22e12ed4e6bcde652a73552dde340fcb972eef89": {
234
+ token: "0x22e12ed4e6bcde652a73552dde340fcb972eef89",
235
+ name: "",
236
+ minimumBalance: 1n,
237
+ symbol: "",
238
+ decimals: 0,
239
+ isSufficient: false,
240
+ },
241
+ "0xef32abea56beff54f61da319a7311098d6fbcea9": {
242
+ token: "0xef32abea56beff54f61da319a7311098d6fbcea9",
243
+ name: "",
244
+ minimumBalance: 1n,
245
+ symbol: "",
246
+ decimals: 0,
247
+ isSufficient: false,
248
+ },
249
+ "0x99e743964c036bc28931fb564817db428aa7f752": {
250
+ token: "0x99e743964c036bc28931fb564817db428aa7f752",
251
+ name: "",
252
+ minimumBalance: 1n,
253
+ symbol: "",
254
+ decimals: 0,
255
+ isSufficient: false,
256
+ },
257
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14": {
258
+ token: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
259
+ name: "Wrapped Ether",
260
+ minimumBalance: 15000000000000n,
261
+ symbol: "WETH",
262
+ decimals: 18,
263
+ isSufficient: true,
264
+ },
265
+ },
266
+ estimatedExecutionFeeDOT: 0n,
267
+ estimatedDeliveryFeeDOT: 0n,
268
+ },
269
+ polkadot_2043: {
270
+ id: 2043,
271
+ kind: "polkadot",
272
+ key: "polkadot_2043",
273
+ features: {
274
+ hasPalletXcm: true,
275
+ hasDryRunApi: true,
276
+ hasTxPaymentApi: true,
277
+ hasDryRunRpc: true,
278
+ hasDotBalance: false,
279
+ hasEthBalance: false,
280
+ hasXcmPaymentApi: true,
281
+ supportsAliasOrigin: false,
282
+ xcmVersion: "v4",
283
+ supportsV2: false,
284
+ },
285
+ info: {
286
+ tokenSymbols: "NEURO",
287
+ tokenDecimals: 12,
288
+ ss58Format: 101,
289
+ isEthereum: false,
290
+ accountType: "AccountId32",
291
+ name: "Neuro Testnet",
292
+ specName: "origintrail-parachain",
293
+ specVersion: 151,
294
+ },
295
+ assets: {
296
+ "0xef32abea56beff54f61da319a7311098d6fbcea9": {
297
+ token: "0xef32abea56beff54f61da319a7311098d6fbcea9",
298
+ name: "Trac",
299
+ minimumBalance: 1000000000000000n,
300
+ symbol: "TRAC",
301
+ decimals: 18,
302
+ isSufficient: true,
303
+ },
304
+ },
305
+ estimatedExecutionFeeDOT: 306833n,
306
+ estimatedDeliveryFeeDOT: 307250000n,
307
+ },
308
+ polkadot_3369: {
309
+ id: 3369,
310
+ kind: "polkadot",
311
+ key: "polkadot_3369",
312
+ features: {
313
+ hasPalletXcm: true,
314
+ hasDryRunApi: true,
315
+ hasTxPaymentApi: true,
316
+ hasDryRunRpc: true,
317
+ hasDotBalance: false,
318
+ hasEthBalance: false,
319
+ hasXcmPaymentApi: true,
320
+ supportsAliasOrigin: true,
321
+ xcmVersion: "v5",
322
+ supportsV2: false,
323
+ },
324
+ info: {
325
+ tokenSymbols: "MUSE",
326
+ tokenDecimals: 18,
327
+ ss58Format: 29972,
328
+ isEthereum: true,
329
+ accountType: "AccountId20",
330
+ name: "Muse Testnet",
331
+ specName: "muse",
332
+ specVersion: 1029,
333
+ },
334
+ assets: {
335
+ "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee": {
336
+ token: "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee",
337
+ name: "Muse",
338
+ minimumBalance: 10000000000000000n,
339
+ symbol: "MUSE",
340
+ decimals: 18,
341
+ isSufficient: true,
342
+ },
343
+ },
344
+ estimatedExecutionFeeDOT: 1000000000n,
345
+ estimatedDeliveryFeeDOT: 306650000n,
346
+ },
347
+ },
348
+ },
349
+ };
350
+ exports.default = registry;