@snowbridge/registry 0.3.3 → 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/.turbo/turbo-build.log +1 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +27 -2
- 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 +331 -0
- package/dist/paseo_sepolia_bridge_info.g.d.ts.map +1 -0
- package/dist/paseo_sepolia_bridge_info.g.js +351 -0
- package/dist/polkadot_mainnet_bridge_info.g.d.ts +2137 -0
- package/dist/polkadot_mainnet_bridge_info.g.d.ts.map +1 -0
- package/dist/polkadot_mainnet_bridge_info.g.js +2454 -0
- package/dist/transfers.d.ts +3 -8
- package/dist/transfers.d.ts.map +1 -1
- package/dist/transfers.js +73 -215
- package/dist/westend_sepolia_bridge_info.g.d.ts +432 -0
- package/dist/westend_sepolia_bridge_info.g.d.ts.map +1 -0
- package/dist/westend_sepolia_bridge_info.g.js +487 -0
- package/package.json +7 -7
- package/scripts/buildRegistry.ts +609 -37
- package/src/index.ts +27 -2
- package/src/local_e2e_bridge_info.g.ts +140 -0
- package/src/paseo_sepolia_bridge_info.g.ts +350 -0
- package/src/polkadot_mainnet_bridge_info.g.ts +2477 -0
- package/src/transfers.ts +72 -265
- package/src/westend_sepolia_bridge_info.g.ts +495 -0
- package/dist/environment.d.ts +0 -3
- package/dist/environment.d.ts.map +0 -1
- package/dist/environment.js +0 -181
- package/dist/local_e2e.registry.json +0 -391
- package/dist/paseo_sepolia.registry.json +0 -231
- package/dist/polkadot_mainnet.registry.json +0 -1805
- package/dist/registry.d.ts +0 -3
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js +0 -61
- package/dist/westend_sepolia.registry.json +0 -283
- package/src/environment.ts +0 -185
- package/src/local_e2e.registry.json +0 -391
- package/src/paseo_sepolia.registry.json +0 -231
- package/src/polkadot_mainnet.registry.json +0 -1805
- package/src/registry.ts +0 -63
- package/src/westend_sepolia.registry.json +0 -283
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paseo_sepolia_bridge_info.g.d.ts","sourceRoot":"","sources":["../src/paseo_sepolia_bridge_info.g.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4VJ,CAAA;AACV,eAAe,QAAQ,CAAA"}
|
|
@@ -0,0 +1,351 @@
|
|
|
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-02-16T10:23:33.158Z",
|
|
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: 2000006,
|
|
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: 2000006,
|
|
137
|
+
},
|
|
138
|
+
ethereumChains: {
|
|
139
|
+
ethereum_11155111: {
|
|
140
|
+
kind: "ethereum",
|
|
141
|
+
id: 11155111,
|
|
142
|
+
name: "sepolia",
|
|
143
|
+
assets: {
|
|
144
|
+
"0x0000000000000000000000000000000000000000": {
|
|
145
|
+
token: "0x0000000000000000000000000000000000000000",
|
|
146
|
+
name: "Ether",
|
|
147
|
+
symbol: "ETH",
|
|
148
|
+
decimals: 18,
|
|
149
|
+
},
|
|
150
|
+
"0xb34a6924a02100ba6ef12af1c798285e8f7a16ee": {
|
|
151
|
+
token: "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee",
|
|
152
|
+
name: "Muse",
|
|
153
|
+
symbol: "MUSE",
|
|
154
|
+
decimals: 18,
|
|
155
|
+
deliveryGas: 80000n,
|
|
156
|
+
},
|
|
157
|
+
"0x22e12ed4e6bcde652a73552dde340fcb972eef89": {
|
|
158
|
+
token: "0x22e12ed4e6bcde652a73552dde340fcb972eef89",
|
|
159
|
+
name: "Wrapped PILT",
|
|
160
|
+
symbol: "wPILT",
|
|
161
|
+
decimals: 15,
|
|
162
|
+
deliveryGas: 80000n,
|
|
163
|
+
},
|
|
164
|
+
"0xef32abea56beff54f61da319a7311098d6fbcea9": {
|
|
165
|
+
token: "0xef32abea56beff54f61da319a7311098d6fbcea9",
|
|
166
|
+
name: "OriginTrail TRAC",
|
|
167
|
+
symbol: "TRAC",
|
|
168
|
+
decimals: 18,
|
|
169
|
+
deliveryGas: 80000n,
|
|
170
|
+
},
|
|
171
|
+
"0x99e743964c036bc28931fb564817db428aa7f752": {
|
|
172
|
+
token: "0x99e743964c036bc28931fb564817db428aa7f752",
|
|
173
|
+
name: "KILT",
|
|
174
|
+
symbol: "KILT",
|
|
175
|
+
decimals: 15,
|
|
176
|
+
deliveryGas: 80000n,
|
|
177
|
+
},
|
|
178
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14": {
|
|
179
|
+
token: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
180
|
+
name: "Wrapped Ether",
|
|
181
|
+
symbol: "WETH",
|
|
182
|
+
decimals: 18,
|
|
183
|
+
deliveryGas: 80000n,
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
key: "ethereum_11155111",
|
|
187
|
+
baseDeliveryGas: 120000n,
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
parachains: {
|
|
191
|
+
polkadot_1000: {
|
|
192
|
+
id: 1000,
|
|
193
|
+
kind: "polkadot",
|
|
194
|
+
key: "polkadot_1000",
|
|
195
|
+
features: {
|
|
196
|
+
hasPalletXcm: true,
|
|
197
|
+
hasDryRunApi: true,
|
|
198
|
+
hasTxPaymentApi: true,
|
|
199
|
+
hasDryRunRpc: true,
|
|
200
|
+
hasDotBalance: true,
|
|
201
|
+
hasEthBalance: true,
|
|
202
|
+
hasXcmPaymentApi: true,
|
|
203
|
+
supportsAliasOrigin: true,
|
|
204
|
+
xcmVersion: "v5",
|
|
205
|
+
supportsV2: true,
|
|
206
|
+
},
|
|
207
|
+
info: {
|
|
208
|
+
tokenSymbols: "PAS",
|
|
209
|
+
tokenDecimals: 10,
|
|
210
|
+
ss58Format: 0,
|
|
211
|
+
isEthereum: false,
|
|
212
|
+
accountType: "AccountId32",
|
|
213
|
+
name: "Paseo Asset Hub",
|
|
214
|
+
specName: "asset-hub-paseo",
|
|
215
|
+
specVersion: 2000006,
|
|
216
|
+
},
|
|
217
|
+
assets: {
|
|
218
|
+
"0x0000000000000000000000000000000000000000": {
|
|
219
|
+
token: "0x0000000000000000000000000000000000000000",
|
|
220
|
+
name: "Ether",
|
|
221
|
+
minimumBalance: 15000000000000n,
|
|
222
|
+
symbol: "ETH",
|
|
223
|
+
decimals: 18,
|
|
224
|
+
isSufficient: true,
|
|
225
|
+
},
|
|
226
|
+
"0xb34a6924a02100ba6ef12af1c798285e8f7a16ee": {
|
|
227
|
+
token: "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee",
|
|
228
|
+
name: "",
|
|
229
|
+
minimumBalance: 1n,
|
|
230
|
+
symbol: "",
|
|
231
|
+
decimals: 0,
|
|
232
|
+
isSufficient: false,
|
|
233
|
+
},
|
|
234
|
+
"0x22e12ed4e6bcde652a73552dde340fcb972eef89": {
|
|
235
|
+
token: "0x22e12ed4e6bcde652a73552dde340fcb972eef89",
|
|
236
|
+
name: "",
|
|
237
|
+
minimumBalance: 1n,
|
|
238
|
+
symbol: "",
|
|
239
|
+
decimals: 0,
|
|
240
|
+
isSufficient: false,
|
|
241
|
+
},
|
|
242
|
+
"0xef32abea56beff54f61da319a7311098d6fbcea9": {
|
|
243
|
+
token: "0xef32abea56beff54f61da319a7311098d6fbcea9",
|
|
244
|
+
name: "",
|
|
245
|
+
minimumBalance: 1n,
|
|
246
|
+
symbol: "",
|
|
247
|
+
decimals: 0,
|
|
248
|
+
isSufficient: false,
|
|
249
|
+
},
|
|
250
|
+
"0x99e743964c036bc28931fb564817db428aa7f752": {
|
|
251
|
+
token: "0x99e743964c036bc28931fb564817db428aa7f752",
|
|
252
|
+
name: "",
|
|
253
|
+
minimumBalance: 1n,
|
|
254
|
+
symbol: "",
|
|
255
|
+
decimals: 0,
|
|
256
|
+
isSufficient: false,
|
|
257
|
+
},
|
|
258
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14": {
|
|
259
|
+
token: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
260
|
+
name: "Wrapped Ether",
|
|
261
|
+
minimumBalance: 15000000000000n,
|
|
262
|
+
symbol: "WETH",
|
|
263
|
+
decimals: 18,
|
|
264
|
+
isSufficient: true,
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
estimatedExecutionFeeDOT: 0n,
|
|
268
|
+
estimatedDeliveryFeeDOT: 0n,
|
|
269
|
+
},
|
|
270
|
+
polkadot_2043: {
|
|
271
|
+
id: 2043,
|
|
272
|
+
kind: "polkadot",
|
|
273
|
+
key: "polkadot_2043",
|
|
274
|
+
features: {
|
|
275
|
+
hasPalletXcm: true,
|
|
276
|
+
hasDryRunApi: true,
|
|
277
|
+
hasTxPaymentApi: true,
|
|
278
|
+
hasDryRunRpc: true,
|
|
279
|
+
hasDotBalance: false,
|
|
280
|
+
hasEthBalance: false,
|
|
281
|
+
hasXcmPaymentApi: true,
|
|
282
|
+
supportsAliasOrigin: false,
|
|
283
|
+
xcmVersion: "v4",
|
|
284
|
+
supportsV2: false,
|
|
285
|
+
},
|
|
286
|
+
info: {
|
|
287
|
+
tokenSymbols: "NEURO",
|
|
288
|
+
tokenDecimals: 12,
|
|
289
|
+
ss58Format: 101,
|
|
290
|
+
isEthereum: false,
|
|
291
|
+
accountType: "AccountId32",
|
|
292
|
+
name: "Neuro Testnet",
|
|
293
|
+
specName: "origintrail-parachain",
|
|
294
|
+
specVersion: 151,
|
|
295
|
+
},
|
|
296
|
+
assets: {
|
|
297
|
+
"0xef32abea56beff54f61da319a7311098d6fbcea9": {
|
|
298
|
+
token: "0xef32abea56beff54f61da319a7311098d6fbcea9",
|
|
299
|
+
name: "Trac",
|
|
300
|
+
minimumBalance: 1000000000000000n,
|
|
301
|
+
symbol: "TRAC",
|
|
302
|
+
decimals: 18,
|
|
303
|
+
isSufficient: true,
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
estimatedExecutionFeeDOT: 306833n,
|
|
307
|
+
estimatedDeliveryFeeDOT: 307250000n,
|
|
308
|
+
},
|
|
309
|
+
polkadot_3369: {
|
|
310
|
+
id: 3369,
|
|
311
|
+
kind: "polkadot",
|
|
312
|
+
key: "polkadot_3369",
|
|
313
|
+
features: {
|
|
314
|
+
hasPalletXcm: true,
|
|
315
|
+
hasDryRunApi: true,
|
|
316
|
+
hasTxPaymentApi: true,
|
|
317
|
+
hasDryRunRpc: true,
|
|
318
|
+
hasDotBalance: false,
|
|
319
|
+
hasEthBalance: false,
|
|
320
|
+
hasXcmPaymentApi: true,
|
|
321
|
+
supportsAliasOrigin: true,
|
|
322
|
+
xcmVersion: "v5",
|
|
323
|
+
supportsV2: false,
|
|
324
|
+
},
|
|
325
|
+
info: {
|
|
326
|
+
tokenSymbols: "MUSE",
|
|
327
|
+
tokenDecimals: 18,
|
|
328
|
+
ss58Format: 29972,
|
|
329
|
+
isEthereum: true,
|
|
330
|
+
accountType: "AccountId20",
|
|
331
|
+
name: "Muse Testnet",
|
|
332
|
+
specName: "muse",
|
|
333
|
+
specVersion: 1029,
|
|
334
|
+
},
|
|
335
|
+
assets: {
|
|
336
|
+
"0xb34a6924a02100ba6ef12af1c798285e8f7a16ee": {
|
|
337
|
+
token: "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee",
|
|
338
|
+
name: "Muse",
|
|
339
|
+
minimumBalance: 10000000000000000n,
|
|
340
|
+
symbol: "MUSE",
|
|
341
|
+
decimals: 18,
|
|
342
|
+
isSufficient: true,
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
estimatedExecutionFeeDOT: 1000000000n,
|
|
346
|
+
estimatedDeliveryFeeDOT: 306650000n,
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
};
|
|
351
|
+
exports.default = registry;
|