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