@snowbridge/registry 0.4.0 → 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/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- 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 +8 -7
- package/dist/paseo_sepolia_bridge_info.g.d.ts.map +1 -1
- package/dist/paseo_sepolia_bridge_info.g.js +8 -7
- package/dist/polkadot_mainnet_bridge_info.g.d.ts +187 -33
- package/dist/polkadot_mainnet_bridge_info.g.d.ts.map +1 -1
- package/dist/polkadot_mainnet_bridge_info.g.js +223 -33
- package/dist/transfers.d.ts.map +1 -1
- package/dist/transfers.js +57 -38
- package/dist/westend_sepolia_bridge_info.g.d.ts +102 -14
- package/dist/westend_sepolia_bridge_info.g.d.ts.map +1 -1
- package/dist/westend_sepolia_bridge_info.g.js +125 -14
- package/package.json +6 -6
- package/scripts/buildRegistry.ts +170 -35
- package/src/index.ts +4 -1
- package/src/local_e2e_bridge_info.g.ts +140 -0
- package/src/paseo_sepolia_bridge_info.g.ts +8 -7
- package/src/polkadot_mainnet_bridge_info.g.ts +223 -33
- package/src/transfers.ts +50 -35
- package/src/westend_sepolia_bridge_info.g.ts +125 -14
|
@@ -5,15 +5,16 @@ const registry = {
|
|
|
5
5
|
beaconApiUrl: "https://lodestar-sepolia.chainsafe.io",
|
|
6
6
|
ethereumChains: {
|
|
7
7
|
"84532": "https://base-sepolia-rpc.publicnode.com",
|
|
8
|
+
"421614": "https://arbitrum-sepolia-rpc.publicnode.com",
|
|
8
9
|
"11155111": "https://ethereum-sepolia-rpc.publicnode.com",
|
|
9
10
|
},
|
|
10
|
-
relaychainUrl: "
|
|
11
|
+
relaychainUrl: "https://westend-rpc.polkadot.io",
|
|
11
12
|
parachains: {
|
|
12
|
-
"1000": "
|
|
13
|
-
"1002": "
|
|
13
|
+
"1000": "https://westend-asset-hub-rpc.polkadot.io",
|
|
14
|
+
"1002": "https://westend-bridge-hub-rpc.polkadot.io",
|
|
14
15
|
},
|
|
15
16
|
gatewayContract: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9",
|
|
16
|
-
beefyContract: "
|
|
17
|
+
beefyContract: "0xebd1cfcf82baa170b86bde532f69a6a49c6c790d",
|
|
17
18
|
assetHubParaId: 1000,
|
|
18
19
|
bridgeHubParaId: 1002,
|
|
19
20
|
v2_parachains: [1000],
|
|
@@ -21,14 +22,14 @@ const registry = {
|
|
|
21
22
|
"https://snowbridge.squids.live/snowbridge-subsquid-westend@v1/api/graphql",
|
|
22
23
|
l2Bridge: {
|
|
23
24
|
acrossAPIUrl: "https://testnet.across.to/api",
|
|
24
|
-
l1AdapterAddress: "
|
|
25
|
-
l1HandlerAddress: "
|
|
26
|
-
l1FeeTokenAddress: "
|
|
27
|
-
l1SwapRouterAddress: "
|
|
28
|
-
l1SwapQuoterAddress: "
|
|
25
|
+
l1AdapterAddress: "0xcda9bff39cdf39e95f4b699422e422195091126d",
|
|
26
|
+
l1HandlerAddress: "0x924a9f036260ddd5808007e1aa95f08ed08aa569",
|
|
27
|
+
l1FeeTokenAddress: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
28
|
+
l1SwapRouterAddress: "0x3bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e",
|
|
29
|
+
l1SwapQuoterAddress: "0xed1f6473345f45b75f8179591dd5ba1888cf2fb3",
|
|
29
30
|
l2Chains: {
|
|
30
31
|
"84532": {
|
|
31
|
-
adapterAddress: "
|
|
32
|
+
adapterAddress: "0xf06939613a3838af11104c898758220db9093679",
|
|
32
33
|
feeTokenAddress: "0x4200000000000000000000000000000000000006",
|
|
33
34
|
swapRoutes: [
|
|
34
35
|
{
|
|
@@ -43,6 +44,22 @@ const registry = {
|
|
|
43
44
|
},
|
|
44
45
|
],
|
|
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
|
+
},
|
|
46
63
|
},
|
|
47
64
|
},
|
|
48
65
|
},
|
|
@@ -83,9 +100,69 @@ const registry = {
|
|
|
83
100
|
"0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e",
|
|
84
101
|
],
|
|
85
102
|
},
|
|
103
|
+
{
|
|
104
|
+
from: {
|
|
105
|
+
kind: "polkadot",
|
|
106
|
+
id: 1000,
|
|
107
|
+
},
|
|
108
|
+
to: {
|
|
109
|
+
kind: "ethereum_l2",
|
|
110
|
+
id: 84532,
|
|
111
|
+
},
|
|
112
|
+
assets: [
|
|
113
|
+
"0x0000000000000000000000000000000000000000",
|
|
114
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
115
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
116
|
+
],
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
from: {
|
|
120
|
+
kind: "ethereum_l2",
|
|
121
|
+
id: 84532,
|
|
122
|
+
},
|
|
123
|
+
to: {
|
|
124
|
+
kind: "polkadot",
|
|
125
|
+
id: 1000,
|
|
126
|
+
},
|
|
127
|
+
assets: [
|
|
128
|
+
"0x0000000000000000000000000000000000000000",
|
|
129
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
130
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
131
|
+
],
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
from: {
|
|
135
|
+
kind: "polkadot",
|
|
136
|
+
id: 1000,
|
|
137
|
+
},
|
|
138
|
+
to: {
|
|
139
|
+
kind: "ethereum_l2",
|
|
140
|
+
id: 421614,
|
|
141
|
+
},
|
|
142
|
+
assets: [
|
|
143
|
+
"0x0000000000000000000000000000000000000000",
|
|
144
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
145
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
146
|
+
],
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
from: {
|
|
150
|
+
kind: "ethereum_l2",
|
|
151
|
+
id: 421614,
|
|
152
|
+
},
|
|
153
|
+
to: {
|
|
154
|
+
kind: "polkadot",
|
|
155
|
+
id: 1000,
|
|
156
|
+
},
|
|
157
|
+
assets: [
|
|
158
|
+
"0x0000000000000000000000000000000000000000",
|
|
159
|
+
"0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
160
|
+
"0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
161
|
+
],
|
|
162
|
+
},
|
|
86
163
|
],
|
|
87
164
|
registry: {
|
|
88
|
-
timestamp: "2026-
|
|
165
|
+
timestamp: "2026-02-16T10:24:33.190Z",
|
|
89
166
|
environment: "westend_sepolia",
|
|
90
167
|
ethChainId: 11155111,
|
|
91
168
|
gatewayAddress: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9",
|
|
@@ -99,7 +176,7 @@ const registry = {
|
|
|
99
176
|
accountType: "AccountId32",
|
|
100
177
|
name: "Westend",
|
|
101
178
|
specName: "westend",
|
|
102
|
-
specVersion:
|
|
179
|
+
specVersion: 1021002,
|
|
103
180
|
},
|
|
104
181
|
bridgeHub: {
|
|
105
182
|
tokenSymbols: "WND",
|
|
@@ -109,12 +186,13 @@ const registry = {
|
|
|
109
186
|
accountType: "AccountId32",
|
|
110
187
|
name: "Westend BridgeHub",
|
|
111
188
|
specName: "bridge-hub-westend",
|
|
112
|
-
specVersion:
|
|
189
|
+
specVersion: 1021001,
|
|
113
190
|
},
|
|
114
191
|
ethereumChains: {
|
|
115
192
|
ethereum_l2_84532: {
|
|
116
193
|
kind: "ethereum_l2",
|
|
117
194
|
id: 84532,
|
|
195
|
+
name: "base-sepolia",
|
|
118
196
|
assets: {
|
|
119
197
|
"0x4200000000000000000000000000000000000006": {
|
|
120
198
|
token: "0x4200000000000000000000000000000000000006",
|
|
@@ -143,9 +221,42 @@ const registry = {
|
|
|
143
221
|
},
|
|
144
222
|
key: "ethereum_l2_84532",
|
|
145
223
|
},
|
|
224
|
+
ethereum_l2_421614: {
|
|
225
|
+
kind: "ethereum_l2",
|
|
226
|
+
id: 421614,
|
|
227
|
+
name: "arbitrum-sepolia",
|
|
228
|
+
assets: {
|
|
229
|
+
"0x980b62da83eff3d4576c647993b0c1d7faf17c73": {
|
|
230
|
+
token: "0x980b62da83eff3d4576c647993b0c1d7faf17c73",
|
|
231
|
+
name: "WETH",
|
|
232
|
+
symbol: "WETH",
|
|
233
|
+
decimals: 18,
|
|
234
|
+
swapTokenAddress: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
|
|
235
|
+
swapFee: 0,
|
|
236
|
+
},
|
|
237
|
+
"0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d": {
|
|
238
|
+
token: "0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d",
|
|
239
|
+
name: "USD Coin",
|
|
240
|
+
symbol: "USDC",
|
|
241
|
+
decimals: 6,
|
|
242
|
+
swapTokenAddress: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
|
|
243
|
+
swapFee: 500,
|
|
244
|
+
},
|
|
245
|
+
"0x0000000000000000000000000000000000000000": {
|
|
246
|
+
token: "0x0000000000000000000000000000000000000000",
|
|
247
|
+
name: "Ether",
|
|
248
|
+
symbol: "Ether",
|
|
249
|
+
decimals: 18,
|
|
250
|
+
swapTokenAddress: "0x0000000000000000000000000000000000000000",
|
|
251
|
+
swapFee: 0,
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
key: "ethereum_l2_421614",
|
|
255
|
+
},
|
|
146
256
|
ethereum_11155111: {
|
|
147
257
|
kind: "ethereum",
|
|
148
258
|
id: 11155111,
|
|
259
|
+
name: "sepolia",
|
|
149
260
|
assets: {
|
|
150
261
|
"0x0000000000000000000000000000000000000000": {
|
|
151
262
|
token: "0x0000000000000000000000000000000000000000",
|
|
@@ -231,7 +342,7 @@ const registry = {
|
|
|
231
342
|
accountType: "AccountId32",
|
|
232
343
|
name: "Westend Asset Hub",
|
|
233
344
|
specName: "westmint",
|
|
234
|
-
specVersion:
|
|
345
|
+
specVersion: 1021003,
|
|
235
346
|
},
|
|
236
347
|
assets: {
|
|
237
348
|
"0x0000000000000000000000000000000000000000": {
|