@satora/swap 1.11.1 → 1.12.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.
- package/dist/{chunk-4NVWIR74.cjs → chunk-EL4FUZJO.cjs} +538 -308
- package/dist/chunk-EL4FUZJO.cjs.map +1 -0
- package/dist/{chunk-TT3J2OOS.js → chunk-KECPPSZL.js} +5 -5
- package/dist/{chunk-TT3J2OOS.js.map → chunk-KECPPSZL.js.map} +1 -1
- package/dist/{chunk-Q4TOBBAN.cjs → chunk-QJ4EK6UG.cjs} +5 -5
- package/dist/{chunk-Q4TOBBAN.cjs.map → chunk-QJ4EK6UG.cjs.map} +1 -1
- package/dist/{chunk-WQMAL2VD.js → chunk-YBQPH7NH.js} +260 -30
- package/dist/chunk-YBQPH7NH.js.map +1 -0
- package/dist/delegate.cjs +2 -2
- package/dist/delegate.js +1 -1
- package/dist/dist-R6DUJG36.cjs +396 -0
- package/dist/{dist-MHRQ5FFV.cjs.map → dist-R6DUJG36.cjs.map} +1 -1
- package/dist/{dist-SHY7I6SH.js → dist-Y3ZVHXAJ.js} +5 -3
- package/dist/index.cjs +21 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -6
- package/dist/index.js.map +1 -1
- package/dist/types/cjs/pure/api/client.d.cts +1 -0
- package/dist/types/cjs/pure/client.d.cts +30 -3
- package/dist/types/cjs/pure/compose-quote.d.cts +14 -1
- package/dist/types/cjs/pure/create/index.d.cts +2 -1
- package/dist/types/cjs/pure/create/spark-to-evm.d.cts +7 -0
- package/dist/types/cjs/pure/create/types.d.cts +93 -2
- package/dist/types/cjs/pure/generated/api.d.cts +274 -2
- package/dist/types/cjs/pure/index.d.cts +3 -3
- package/dist/types/cjs/pure/swap-verification.d.cts +3 -1
- package/dist/types/cjs/pure/tokens.d.cts +5 -0
- package/dist/types/cjs/pure/types/chain.d.cts +2 -2
- package/dist/types/cjs/pure/types/index.d.cts +1 -0
- package/dist/types/cjs/pure/types/promo-code.d.cts +15 -0
- package/dist/types/cjs/pure/types/quote.d.cts +7 -0
- package/dist/types/cjs/pure/types/referral-fee.d.cts +8 -0
- package/dist/types/cjs/pure/version.d.cts +4 -4
- package/dist/types/cjs/swap/client.d.cts +2 -0
- package/dist/types/esm/pure/api/client.d.ts +1 -0
- package/dist/types/esm/pure/client.d.ts +30 -3
- package/dist/types/esm/pure/compose-quote.d.ts +14 -1
- package/dist/types/esm/pure/create/index.d.ts +2 -1
- package/dist/types/esm/pure/create/spark-to-evm.d.ts +7 -0
- package/dist/types/esm/pure/create/types.d.ts +93 -2
- package/dist/types/esm/pure/generated/api.d.ts +274 -2
- package/dist/types/esm/pure/index.d.ts +3 -3
- package/dist/types/esm/pure/swap-verification.d.ts +3 -1
- package/dist/types/esm/pure/tokens.d.ts +5 -0
- package/dist/types/esm/pure/types/chain.d.ts +2 -2
- package/dist/types/esm/pure/types/index.d.ts +1 -0
- package/dist/types/esm/pure/types/promo-code.d.ts +15 -0
- package/dist/types/esm/pure/types/quote.d.ts +7 -0
- package/dist/types/esm/pure/types/referral-fee.d.ts +8 -0
- package/dist/types/esm/pure/version.d.ts +4 -4
- package/dist/types/esm/swap/client.d.ts +2 -0
- package/package.json +2 -2
- package/dist/chunk-4NVWIR74.cjs.map +0 -1
- package/dist/chunk-WQMAL2VD.js.map +0 -1
- package/dist/dist-MHRQ5FFV.cjs +0 -394
- /package/dist/{dist-SHY7I6SH.js.map → dist-Y3ZVHXAJ.js.map} +0 -0
package/dist/delegate.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkQJ4EK6UGcjs = require('./chunk-QJ4EK6UG.cjs');
|
|
6
6
|
require('./chunk-BEW62OUT.cjs');
|
|
7
7
|
require('./chunk-BUOHHQOR.cjs');
|
|
8
8
|
require('./chunk-5JR6AJ3Y.cjs');
|
|
@@ -13,5 +13,5 @@ require('./chunk-JEQ2X3Z6.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.delegateClaim =
|
|
16
|
+
exports.delegateClaim = _chunkQJ4EK6UGcjs.delegateClaim; exports.delegateRefund = _chunkQJ4EK6UGcjs.delegateRefund; exports.fetchCosignerPk = _chunkQJ4EK6UGcjs.fetchCosignerPk;
|
|
17
17
|
//# sourceMappingURL=delegate.cjs.map
|
package/dist/delegate.js
CHANGED
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
var _chunkEL4FUZJOcjs = require('./chunk-EL4FUZJO.cjs');
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
var _chunkJZTF4JNHcjs = require('./chunk-JZTF4JNH.cjs');
|
|
148
|
+
require('./chunk-K6TGBXTT.cjs');
|
|
149
|
+
require('./chunk-7BLTE6ET.cjs');
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
var _chunkTKFOVRJRcjs = require('./chunk-TKFOVRJR.cjs');
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
var _chunkTNZW35XAcjs = require('./chunk-TNZW35XA.cjs');
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
var _chunkQJ4EK6UGcjs = require('./chunk-QJ4EK6UG.cjs');
|
|
189
|
+
require('./chunk-BEW62OUT.cjs');
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
var _chunkBUOHHQORcjs = require('./chunk-BUOHHQOR.cjs');
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
var _chunk5JR6AJ3Ycjs = require('./chunk-5JR6AJ3Y.cjs');
|
|
201
|
+
require('./chunk-RYZSWESU.cjs');
|
|
202
|
+
require('./chunk-EWN43VZB.cjs');
|
|
203
|
+
require('./chunk-Q5SVRQU6.cjs');
|
|
204
|
+
require('./chunk-Y462ZDHV.cjs');
|
|
205
|
+
require('./chunk-RYGJYEG3.cjs');
|
|
206
|
+
require('./chunk-4FGIWZAV.cjs');
|
|
207
|
+
require('./chunk-NPS5HD6C.cjs');
|
|
208
|
+
require('./chunk-GIPC4GUZ.cjs');
|
|
209
|
+
require('./chunk-W34QUYVC.cjs');
|
|
210
|
+
require('./chunk-JEQ2X3Z6.cjs');
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
exports.ARKADE_HTLC_SCRIPT_VERSION_STRICT = _chunkQJ4EK6UGcjs.ARKADE_HTLC_SCRIPT_VERSION_STRICT; exports.Asset = _chunkEL4FUZJOcjs.Asset; exports.BTC_ARKADE = _chunkEL4FUZJOcjs.BTC_ARKADE; exports.BTC_ARKADE_INFO = _chunkEL4FUZJOcjs.BTC_ARKADE_INFO; exports.BTC_HTLC_SCRIPT_VERSION_STRICT = _chunkQJ4EK6UGcjs.BTC_HTLC_SCRIPT_VERSION_STRICT; exports.BTC_LIGHTNING = _chunkEL4FUZJOcjs.BTC_LIGHTNING; exports.BTC_LIGHTNING_INFO = _chunkEL4FUZJOcjs.BTC_LIGHTNING_INFO; exports.BTC_ONCHAIN = _chunkEL4FUZJOcjs.BTC_ONCHAIN; exports.BTC_ONCHAIN_INFO = _chunkEL4FUZJOcjs.BTC_ONCHAIN_INFO; exports.CCTP_DOMAINS = _chunkTKFOVRJRcjs.CCTP_DOMAINS; exports.CCTP_STANDARD_ONLY_CHAIN_IDS = _chunkEL4FUZJOcjs.CCTP_STANDARD_ONLY_CHAIN_IDS; exports.CCTP_VIEM_CHAINS = _chunkEL4FUZJOcjs.CCTP_VIEM_CHAINS; exports.CHAIN_ID_TO_CCTP_NAME = _chunkEL4FUZJOcjs.CHAIN_ID_TO_CCTP_NAME; exports.CLIENT_AGENT = _chunkQJ4EK6UGcjs.CLIENT_AGENT; exports.CctpInboundClient = _chunkEL4FUZJOcjs.CctpInboundClient; exports.Client = _chunkEL4FUZJOcjs.Client; exports.ClientBuilder = _chunkEL4FUZJOcjs.ClientBuilder; exports.DEFAULT_ELECTRUM_WS_URLS = _chunkEL4FUZJOcjs.DEFAULT_ELECTRUM_WS_URLS; exports.DIRECT_SOURCE_CHAIN_IDS = _chunkEL4FUZJOcjs.DIRECT_SOURCE_CHAIN_IDS; exports.EURC_ADDRESSES = _chunkTKFOVRJRcjs.EURC_ADDRESSES; exports.ElectrumWsClient = _chunkEL4FUZJOcjs.ElectrumWsClient; exports.FINALITY_FAST = _chunkTKFOVRJRcjs.FINALITY_FAST; exports.FINALITY_STANDARD = _chunkTKFOVRJRcjs.FINALITY_STANDARD; exports.FORWARDING_FEE_ETHEREUM = _chunkTKFOVRJRcjs.FORWARDING_FEE_ETHEREUM; exports.FORWARDING_FEE_OTHER = _chunkTKFOVRJRcjs.FORWARDING_FEE_OTHER; exports.FORWARDING_SERVICE_HOOK_DATA = _chunkTKFOVRJRcjs.FORWARDING_SERVICE_HOOK_DATA; exports.IRIS_API_MAINNET = _chunkTKFOVRJRcjs.IRIS_API_MAINNET; exports.IRIS_API_TESTNET = _chunkTKFOVRJRcjs.IRIS_API_TESTNET; exports.IdbSwapStorage = _chunkEL4FUZJOcjs.IdbSwapStorage; exports.IdbWalletStorage = _chunkEL4FUZJOcjs.IdbWalletStorage; exports.InMemorySwapStorage = _chunkEL4FUZJOcjs.InMemorySwapStorage; exports.InMemoryWalletStorage = _chunkEL4FUZJOcjs.InMemoryWalletStorage; exports.KERNEL_DELEGATION_TARGET = _chunkEL4FUZJOcjs.KERNEL_DELEGATION_TARGET; exports.LZ_EIDS = _chunkEL4FUZJOcjs.LZ_EIDS; exports.MAX_UINT256 = _chunkEL4FUZJOcjs.MAX_UINT256; exports.MESSAGE_TRANSMITTER_ADDRESSES = _chunkTKFOVRJRcjs.MESSAGE_TRANSMITTER_ADDRESSES; exports.MESSAGE_TRANSMITTER_V2 = _chunkTKFOVRJRcjs.MESSAGE_TRANSMITTER_V2; exports.NATIVE_TOKEN_ADDRESS = _chunkJZTF4JNHcjs.NATIVE_TOKEN_ADDRESS; exports.PERMIT2_ADDRESS = _chunkJZTF4JNHcjs.PERMIT2_ADDRESS; exports.PROTOCOL_HEADERS = _chunkQJ4EK6UGcjs.PROTOCOL_HEADERS; exports.PROTOCOL_VERSIONS = _chunkQJ4EK6UGcjs.PROTOCOL_VERSIONS; exports.ProtocolComponent = _chunkQJ4EK6UGcjs.ProtocolComponent; exports.ProtocolEpoch = _chunkQJ4EK6UGcjs.ProtocolEpoch; exports.RIF_SMART_WALLET_INDEX = _chunkEL4FUZJOcjs.RIF_SMART_WALLET_INDEX; exports.RehashNotRecordedError = _chunkEL4FUZJOcjs.RehashNotRecordedError; exports.SATORA_SERVER_VERSION = _chunkQJ4EK6UGcjs.SATORA_SERVER_VERSION; exports.SDK_COMMIT_HASH = _chunkQJ4EK6UGcjs.SDK_COMMIT_HASH; exports.SDK_NAME = _chunkQJ4EK6UGcjs.SDK_NAME; exports.SDK_VERSION = _chunkQJ4EK6UGcjs.SDK_VERSION; exports.SOLANA_MESSAGE_TRANSMITTER_V2 = _chunkTKFOVRJRcjs.SOLANA_MESSAGE_TRANSMITTER_V2; exports.SOLANA_TOKEN_MESSENGER_MINTER_V2 = _chunkTKFOVRJRcjs.SOLANA_TOKEN_MESSENGER_MINTER_V2; exports.SOLANA_USDC_MINT = _chunkTKFOVRJRcjs.SOLANA_USDC_MINT; exports.SWAP_STORAGE_VERSION = _chunkEL4FUZJOcjs.SWAP_STORAGE_VERSION; exports.SdkLogger = _chunkBUOHHQORcjs.SdkLogger; exports.Signer = _chunkEL4FUZJOcjs.Signer; exports.SimulationRevertError = _chunkTNZW35XAcjs.SimulationRevertError; exports.StrictVhtlcScript = _chunkQJ4EK6UGcjs.StrictVhtlcScript; exports.SwapVerificationError = _chunkEL4FUZJOcjs.SwapVerificationError; exports.TOKEN_MESSENGER_ADDRESSES = _chunkTKFOVRJRcjs.TOKEN_MESSENGER_ADDRESSES; exports.TOKEN_MESSENGER_V2 = _chunkTKFOVRJRcjs.TOKEN_MESSENGER_V2; exports.USAT_ADDRESSES = _chunkTKFOVRJRcjs.USAT_ADDRESSES; exports.USDC_ADDRESSES = _chunkTKFOVRJRcjs.USDC_ADDRESSES; exports.USDC_DOMAIN_FIELDS = _chunkEL4FUZJOcjs.USDC_DOMAIN_FIELDS; exports.USDT0_ADDRESSES = _chunkEL4FUZJOcjs.USDT0_ADDRESSES; exports.WalletClaimRequiredError = _chunkEL4FUZJOcjs.WalletClaimRequiredError; exports.addressToBytes32 = _chunkEL4FUZJOcjs.addressToBytes32; exports.addressToBytes32Hex = _chunkJZTF4JNHcjs.addressToBytes32Hex; exports.addressToScriptHash = _chunkEL4FUZJOcjs.addressToScriptHash; exports.approveAndBurn = _chunkEL4FUZJOcjs.approveAndBurn; exports.buildArkadeClaim = _chunkEL4FUZJOcjs.buildArkadeClaim; exports.buildCctpInboundBatch = _chunkJZTF4JNHcjs.buildCctpInboundBatch; exports.buildDomainSeparator = _chunkEL4FUZJOcjs.buildDomainSeparator; exports.buildEvmHtlcCallData = _chunkJZTF4JNHcjs.buildEvmHtlcCallData; exports.buildOnchainClaimTransaction = _chunkEL4FUZJOcjs.buildOnchainClaimTransaction; exports.buildOnchainRefundTransaction = _chunkEL4FUZJOcjs.buildOnchainRefundTransaction; exports.buildPermit2TypedData = _chunkJZTF4JNHcjs.buildPermit2TypedData; exports.bytes32ToAddress = _chunkEL4FUZJOcjs.bytes32ToAddress; exports.bytesToHex = _chunk5JR6AJ3Ycjs.bytesToHex; exports.calculateSourceAmount = _chunkEL4FUZJOcjs.calculateSourceAmount; exports.calculateTargetAmount = _chunkEL4FUZJOcjs.calculateTargetAmount; exports.cctpFundSwap = _chunkEL4FUZJOcjs.cctpFundSwap; exports.cctpMetaForChainId = _chunkEL4FUZJOcjs.cctpMetaForChainId; exports.checkFundingPayload = _chunkJZTF4JNHcjs.checkFundingPayload; exports.computeCctpFastFee = _chunkEL4FUZJOcjs.computeCctpFastFee; exports.computeExchangeRate = _chunkEL4FUZJOcjs.computeExchangeRate; exports.computeHash160 = _chunkEL4FUZJOcjs.computeHash160; exports.createApiClient = _chunkEL4FUZJOcjs.createApiClient; exports.createConsoleLogger = _chunkBUOHHQORcjs.createConsoleLogger; exports.createSdkLogger = _chunkBUOHHQORcjs.createSdkLogger; exports.createSwapSmartAccountClient = _chunkJZTF4JNHcjs.createSwapSmartAccountClient; exports.deriveEvmAddress = _chunkEL4FUZJOcjs.deriveEvmAddress; exports.electrumBroadcastTransaction = _chunkEL4FUZJOcjs.electrumBroadcastTransaction; exports.electrumFetchTransactionOutputs = _chunkEL4FUZJOcjs.electrumFetchTransactionOutputs; exports.electrumFindOutputByAddress = _chunkEL4FUZJOcjs.electrumFindOutputByAddress; exports.electrumWaitForOutputByAddress = _chunkEL4FUZJOcjs.electrumWaitForOutputByAddress; exports.encodeApproveCallData = _chunkJZTF4JNHcjs.encodeApproveCallData; exports.encodeCreateSwapCallData = _chunkJZTF4JNHcjs.encodeCreateSwapCallData; exports.encodeDepositForBurn = _chunkEL4FUZJOcjs.encodeDepositForBurn; exports.encodeExecuteAndCreateWithPermit2 = _chunkJZTF4JNHcjs.encodeExecuteAndCreateWithPermit2; exports.encodeHtlcErc20CreateCallData = _chunkJZTF4JNHcjs.encodeHtlcErc20CreateCallData; exports.encodeHtlcErc20RefundBySigCallData = _chunkJZTF4JNHcjs.encodeHtlcErc20RefundBySigCallData; exports.encodeHtlcErc20RehashCallData = _chunkJZTF4JNHcjs.encodeHtlcErc20RehashCallData; exports.encodeHtlcNativeRefundBySigCallData = _chunkJZTF4JNHcjs.encodeHtlcNativeRefundBySigCallData; exports.encodeHtlcNativeRehashCallData = _chunkJZTF4JNHcjs.encodeHtlcNativeRehashCallData; exports.fetchAttestation = _chunkJZTF4JNHcjs.fetchAttestation; exports.fetchCctpFee = _chunkEL4FUZJOcjs.fetchCctpFee; exports.finalityForChainId = _chunkEL4FUZJOcjs.finalityForChainId; exports.getArkTxid = _chunkEL4FUZJOcjs.getArkTxid; exports.getBridgeTargetChain = _chunkEL4FUZJOcjs.getBridgeTargetChain; exports.getCctpBridgeTokens = _chunkEL4FUZJOcjs.getCctpBridgeTokens; exports.getCctpViemChain = _chunkEL4FUZJOcjs.getCctpViemChain; exports.getCctpViemChainByName = _chunkEL4FUZJOcjs.getCctpViemChainByName; exports.getDomain = _chunkEL4FUZJOcjs.getDomain; exports.getEid = _chunkEL4FUZJOcjs.getEid; exports.getLzExplorerUrl = _chunkEL4FUZJOcjs.getExplorerUrl; exports.getLzMessageStatus = _chunkEL4FUZJOcjs.getMessageStatus; exports.getUsdPrices = _chunkEL4FUZJOcjs.getUsdPrices; exports.getUsdt0BridgeTokens = _chunkEL4FUZJOcjs.getUsdt0BridgeTokens; exports.getVhtlcAmounts = _chunkEL4FUZJOcjs.getVhtlcAmounts; exports.hexToBytes = _chunk5JR6AJ3Ycjs.hexToBytes; exports.idbStorageFactory = _chunkEL4FUZJOcjs.idbStorageFactory; exports.inMemoryStorageFactory = _chunkEL4FUZJOcjs.inMemoryStorageFactory; exports.invoiceAmountMsat = _chunkEL4FUZJOcjs.invoiceAmountMsat; exports.invoicePaymentHash = _chunkEL4FUZJOcjs.invoicePaymentHash; exports.isArbitrumToken = _chunkEL4FUZJOcjs.isArbitrumToken; exports.isArkade = _chunkEL4FUZJOcjs.isArkade; exports.isAvalancheToken = _chunkEL4FUZJOcjs.isAvalancheToken; exports.isBaseToken = _chunkEL4FUZJOcjs.isBaseToken; exports.isBridgeOnlyChain = _chunkEL4FUZJOcjs.isBridgeOnlyChain; exports.isBridgedTarget = _chunkEL4FUZJOcjs.isBridgedTarget; exports.isBtc = _chunkEL4FUZJOcjs.isBtc; exports.isBtcOnchain = _chunkEL4FUZJOcjs.isBtcOnchain; exports.isBtcPegged = _chunkEL4FUZJOcjs.isBtcPegged; exports.isCctpOnlySource = _chunkEL4FUZJOcjs.isCctpOnlySource; exports.isCctpRoutedUsdcTarget = _chunkEL4FUZJOcjs.isCctpRoutedUsdcTarget; exports.isCctpUsdc = _chunkEL4FUZJOcjs.isCctpUsdc; exports.isEthereumToken = _chunkEL4FUZJOcjs.isEthereumToken; exports.isEvmSwapSource = _chunkEL4FUZJOcjs.isEvmSwapSource; exports.isEvmToken = _chunkEL4FUZJOcjs.isEvmToken; exports.isKernelDelegation = _chunkEL4FUZJOcjs.isKernelDelegation; exports.isLightning = _chunkEL4FUZJOcjs.isLightning; exports.isLineaToken = _chunkEL4FUZJOcjs.isLineaToken; exports.isNativeLockTarget = _chunkEL4FUZJOcjs.isNativeLockTarget; exports.isOptimismToken = _chunkEL4FUZJOcjs.isOptimismToken; exports.isPolygonToken = _chunkEL4FUZJOcjs.isPolygonToken; exports.isSolanaToken = _chunkEL4FUZJOcjs.isSolanaToken; exports.isSonicToken = _chunkEL4FUZJOcjs.isSonicToken; exports.isSourceEvmChain = _chunkEL4FUZJOcjs.isSourceEvmChain; exports.isSpark = _chunkEL4FUZJOcjs.isSpark; exports.isTronToken = _chunkEL4FUZJOcjs.isTronToken; exports.isUserRejection = _chunkTNZW35XAcjs.isUserRejection; exports.isValidArkadeAddress = _chunkEL4FUZJOcjs.isValidArkadeAddress; exports.isValidSolanaAddress = _chunkEL4FUZJOcjs.isValidSolanaAddress; exports.isValidTronAddress = _chunkEL4FUZJOcjs.isValidTronAddress; exports.kernelErc1271Digest = _chunkEL4FUZJOcjs.kernelErc1271Digest; exports.needsBridge = _chunkEL4FUZJOcjs.needsBridge; exports.noopLogger = _chunkBUOHHQORcjs.noopLogger; exports.parseArkadeAddress = _chunkEL4FUZJOcjs.parseArkadeAddress; exports.parseEip7702Delegation = _chunkEL4FUZJOcjs.parseEip7702Delegation; exports.protocolHeaderName = _chunkQJ4EK6UGcjs.protocolHeaderName; exports.recoverCctpInbound = _chunkEL4FUZJOcjs.recoverCctpInbound; exports.redactLogValue = _chunkBUOHHQORcjs.redactLogValue; exports.rehashAuthorizationMessage = _chunkEL4FUZJOcjs.rehashAuthorizationMessage; exports.rifSmartWallet = _chunkEL4FUZJOcjs.rifSmartWallet; exports.rifSmartWalletAddress = _chunkEL4FUZJOcjs.rifSmartWalletAddress; exports.signEip2612Permit = _chunkEL4FUZJOcjs.signEip2612Permit; exports.signEscrowArkTx = _chunkEL4FUZJOcjs.signEscrowArkTx; exports.signEscrowCheckpoints = _chunkEL4FUZJOcjs.signEscrowCheckpoints; exports.signEscrowDelegate = _chunkEL4FUZJOcjs.signEscrowDelegate; exports.signEvmDigest = _chunkEL4FUZJOcjs.signEvmDigest; exports.signEvmMessage = _chunkEL4FUZJOcjs.signEvmMessage; exports.signPermit2Witness = _chunkEL4FUZJOcjs.signPermit2Witness; exports.simulateBatchCalls = _chunkJZTF4JNHcjs.simulateBatchCalls; exports.solanaAddressToBytes32 = _chunkEL4FUZJOcjs.solanaAddressToBytes32; exports.submitCctpInboundUserOp = _chunkJZTF4JNHcjs.submitCctpInboundUserOp; exports.toChain = _chunkEL4FUZJOcjs.toChain; exports.toChainName = _chunkEL4FUZJOcjs.toChainName; exports.trackCctpMessage = _chunkJZTF4JNHcjs.trackCctpMessage; exports.trackLzMessage = _chunkEL4FUZJOcjs.trackMessage; exports.tronAddressToBytes32 = _chunkEL4FUZJOcjs.tronAddressToBytes32; exports.usdt0NeedsBridge = _chunkEL4FUZJOcjs.needsBridge2; exports.verifyHtlcAddress = _chunkEL4FUZJOcjs.verifyHtlcAddress; exports.wrapKernelErc1271Signature = _chunkEL4FUZJOcjs.wrapKernelErc1271Signature;
|
|
396
|
+
//# sourceMappingURL=dist-R6DUJG36.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/swap/swap/client-sdk/ts-sdk/packages/swap/dist/dist-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/swap/swap/client-sdk/ts-sdk/packages/swap/dist/dist-R6DUJG36.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,wDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,s1XAAC","file":"/home/runner/work/swap/swap/client-sdk/ts-sdk/packages/swap/dist/dist-R6DUJG36.cjs"}
|
|
@@ -94,6 +94,7 @@ import {
|
|
|
94
94
|
isSolanaToken,
|
|
95
95
|
isSonicToken,
|
|
96
96
|
isSourceEvmChain,
|
|
97
|
+
isSpark,
|
|
97
98
|
isTronToken,
|
|
98
99
|
isValidArkadeAddress,
|
|
99
100
|
isValidSolanaAddress,
|
|
@@ -121,7 +122,7 @@ import {
|
|
|
121
122
|
tronAddressToBytes32,
|
|
122
123
|
verifyHtlcAddress,
|
|
123
124
|
wrapKernelErc1271Signature
|
|
124
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-YBQPH7NH.js";
|
|
125
126
|
import {
|
|
126
127
|
NATIVE_TOKEN_ADDRESS,
|
|
127
128
|
PERMIT2_ADDRESS,
|
|
@@ -184,7 +185,7 @@ import {
|
|
|
184
185
|
SDK_VERSION,
|
|
185
186
|
StrictVhtlcScript,
|
|
186
187
|
protocolHeaderName
|
|
187
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-KECPPSZL.js";
|
|
188
189
|
import "./chunk-UM6TUP4E.js";
|
|
189
190
|
import {
|
|
190
191
|
SdkLogger,
|
|
@@ -356,6 +357,7 @@ export {
|
|
|
356
357
|
isSolanaToken,
|
|
357
358
|
isSonicToken,
|
|
358
359
|
isSourceEvmChain,
|
|
360
|
+
isSpark,
|
|
359
361
|
isTronToken,
|
|
360
362
|
isUserRejection,
|
|
361
363
|
isValidArkadeAddress,
|
|
@@ -391,4 +393,4 @@ export {
|
|
|
391
393
|
verifyHtlcAddress,
|
|
392
394
|
wrapKernelErc1271Signature
|
|
393
395
|
};
|
|
394
|
-
//# sourceMappingURL=dist-
|
|
396
|
+
//# sourceMappingURL=dist-Y3ZVHXAJ.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -120,7 +120,8 @@
|
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
|
|
124
|
+
var _chunkEL4FUZJOcjs = require('./chunk-EL4FUZJO.cjs');
|
|
124
125
|
|
|
125
126
|
|
|
126
127
|
var _chunkINHFP222cjs = require('./chunk-INHFP222.cjs');
|
|
@@ -192,7 +193,7 @@ var _chunkTNZW35XAcjs = require('./chunk-TNZW35XA.cjs');
|
|
|
192
193
|
|
|
193
194
|
|
|
194
195
|
|
|
195
|
-
var
|
|
196
|
+
var _chunkQJ4EK6UGcjs = require('./chunk-QJ4EK6UG.cjs');
|
|
196
197
|
require('./chunk-BEW62OUT.cjs');
|
|
197
198
|
|
|
198
199
|
|
|
@@ -236,7 +237,7 @@ function deriveSwapActions(input) {
|
|
|
236
237
|
waitingOn: "client_payment",
|
|
237
238
|
recommended: true,
|
|
238
239
|
automation: "auto",
|
|
239
|
-
reason: "Waiting for the
|
|
240
|
+
reason: "Waiting for the source payment to be locked in."
|
|
240
241
|
};
|
|
241
242
|
return { recommended: "wait", actions: [wait] };
|
|
242
243
|
}
|
|
@@ -357,7 +358,7 @@ function deriveSwapActions(input) {
|
|
|
357
358
|
outcome: "refunded",
|
|
358
359
|
recommended: true,
|
|
359
360
|
automation: "auto",
|
|
360
|
-
reason: "The claim window passed \u2014 your
|
|
361
|
+
reason: "The claim window passed \u2014 your source payment will be refunded automatically."
|
|
361
362
|
};
|
|
362
363
|
return { recommended: "none", actions: [done] };
|
|
363
364
|
}
|
|
@@ -454,7 +455,7 @@ function deriveSwapActions(input) {
|
|
|
454
455
|
outcome: "refunded",
|
|
455
456
|
recommended: true,
|
|
456
457
|
automation: "auto",
|
|
457
|
-
reason: "The swap did not complete \u2014 your
|
|
458
|
+
reason: "The swap did not complete \u2014 your source payment will be refunded automatically."
|
|
458
459
|
};
|
|
459
460
|
return { recommended: "none", actions: [done] };
|
|
460
461
|
}
|
|
@@ -827,7 +828,7 @@ var BitcoinContractManager = (_class2 = class _BitcoinContractManager {
|
|
|
827
828
|
if (config.electrumWsUrl) {
|
|
828
829
|
const [{ electrumReader: electrumReader2 }, { ElectrumWsClient: ElectrumWsClient2 }] = await Promise.all([
|
|
829
830
|
Promise.resolve().then(() => _interopRequireWildcard(require("./bitcoin-reader-electrum-VCQ5TQ44.cjs"))),
|
|
830
|
-
Promise.resolve().then(() => _interopRequireWildcard(require("./dist-
|
|
831
|
+
Promise.resolve().then(() => _interopRequireWildcard(require("./dist-R6DUJG36.cjs")))
|
|
831
832
|
]);
|
|
832
833
|
reader = electrumReader2(new ElectrumWsClient2(config.electrumWsUrl), {
|
|
833
834
|
network: config.network,
|
|
@@ -2016,12 +2017,12 @@ function buildArkadeVhtlcRef(input) {
|
|
|
2016
2017
|
input.unilateralRefundWithoutReceiverDelay
|
|
2017
2018
|
)
|
|
2018
2019
|
};
|
|
2019
|
-
if (input.arkadeHtlcScriptVersion !== void 0 && input.arkadeHtlcScriptVersion !==
|
|
2020
|
+
if (input.arkadeHtlcScriptVersion !== void 0 && input.arkadeHtlcScriptVersion !== _chunkQJ4EK6UGcjs.ARKADE_HTLC_SCRIPT_VERSION_STRICT) {
|
|
2020
2021
|
throw new Error(
|
|
2021
2022
|
`Unsupported Arkade HTLC script version: ${input.arkadeHtlcScriptVersion}`
|
|
2022
2023
|
);
|
|
2023
2024
|
}
|
|
2024
|
-
const vhtlc = new (0,
|
|
2025
|
+
const vhtlc = new (0, _chunkQJ4EK6UGcjs.StrictVhtlcScript)(params);
|
|
2025
2026
|
return {
|
|
2026
2027
|
ledger: "arkade",
|
|
2027
2028
|
script: _base.hex.encode(vhtlc.pkScript),
|
|
@@ -2246,6 +2247,8 @@ function swapToTracked(stored) {
|
|
|
2246
2247
|
// watch) and claims an on-chain HTLC. No client-funded leg — the client's
|
|
2247
2248
|
// claim completes the swap; a hold invoice that never settles auto-unwinds.
|
|
2248
2249
|
// Client pays the invoice, then claims the server's EVM HTLC.
|
|
2250
|
+
// Native Spark has the same EVM claim leg; the Spark wallet manages its HTLC.
|
|
2251
|
+
case "spark_to_evm":
|
|
2249
2252
|
case "lightning_to_evm":
|
|
2250
2253
|
return {
|
|
2251
2254
|
swapId: r.id,
|
|
@@ -2770,7 +2773,7 @@ var Client2 = class {
|
|
|
2770
2773
|
/** Read per chain read, so it can change without rebuilding the client. */
|
|
2771
2774
|
#bitcoinMinConfirmations;
|
|
2772
2775
|
constructor(...args) {
|
|
2773
|
-
if (args[0] instanceof
|
|
2776
|
+
if (args[0] instanceof _chunkEL4FUZJOcjs.Client) {
|
|
2774
2777
|
this.#legacy = args[0];
|
|
2775
2778
|
this.#tracking = _nullishCoalesce(args[1], () => ( {
|
|
2776
2779
|
enabled: false
|
|
@@ -2778,7 +2781,7 @@ var Client2 = class {
|
|
|
2778
2781
|
assertMinConfirmations(this.#tracking.bitcoinMinConfirmations);
|
|
2779
2782
|
this.#bitcoinMinConfirmations = this.#tracking.bitcoinMinConfirmations;
|
|
2780
2783
|
} else {
|
|
2781
|
-
this.#legacy = new (0,
|
|
2784
|
+
this.#legacy = new (0, _chunkEL4FUZJOcjs.Client)(
|
|
2782
2785
|
...args
|
|
2783
2786
|
);
|
|
2784
2787
|
this.#tracking = { enabled: false };
|
|
@@ -3056,6 +3059,10 @@ var Client2 = class {
|
|
|
3056
3059
|
);
|
|
3057
3060
|
}
|
|
3058
3061
|
/** Delegated to the legacy client (migration checkpoint). */
|
|
3062
|
+
createSparkToEvmSwap(...args) {
|
|
3063
|
+
return this.#trackAfterCreate(this.#legacy.createSparkToEvmSwap(...args));
|
|
3064
|
+
}
|
|
3065
|
+
/** Delegated to the legacy client (migration checkpoint). */
|
|
3059
3066
|
createLightningToBitcoinSwap(...args) {
|
|
3060
3067
|
return this.#trackAfterCreate(
|
|
3061
3068
|
this.#legacy.createLightningToBitcoinSwap(...args)
|
|
@@ -3449,7 +3456,7 @@ var Client2 = class {
|
|
|
3449
3456
|
"bitcoin",
|
|
3450
3457
|
await BitcoinContractManager.create({
|
|
3451
3458
|
esploraUrl: esploraUrl ? [esploraUrl] : _chunk5DQHR3ROcjs.DEFAULT_ESPLORA_URLS,
|
|
3452
|
-
electrumWsUrl: _nullishCoalesce(electrumWsUrl, () => (
|
|
3459
|
+
electrumWsUrl: _nullishCoalesce(electrumWsUrl, () => ( _chunkEL4FUZJOcjs.DEFAULT_ELECTRUM_WS_URLS[network])),
|
|
3453
3460
|
network,
|
|
3454
3461
|
chainTime,
|
|
3455
3462
|
minConfirmations: () => this.#bitcoinMinConfirmations
|
|
@@ -3460,7 +3467,7 @@ var Client2 = class {
|
|
|
3460
3467
|
}
|
|
3461
3468
|
};
|
|
3462
3469
|
var ClientBuilder = class {
|
|
3463
|
-
#inner =
|
|
3470
|
+
#inner = _chunkEL4FUZJOcjs.Client.builder();
|
|
3464
3471
|
// Observe-mode tracking is on by default; the built client auto-builds its
|
|
3465
3472
|
// managers from config unless disabled or given an explicit override.
|
|
3466
3473
|
#trackingEnabled = true;
|
|
@@ -3870,5 +3877,6 @@ function createdSwapId(result) {
|
|
|
3870
3877
|
|
|
3871
3878
|
|
|
3872
3879
|
|
|
3873
|
-
exports.ARKADE_HTLC_SCRIPT_VERSION_STRICT = _chunkQ4TOBBANcjs.ARKADE_HTLC_SCRIPT_VERSION_STRICT; exports.ArkadeContractManager = ArkadeContractManager; exports.Asset = _chunk4NVWIR74cjs.Asset; exports.BTC_ARKADE = _chunk4NVWIR74cjs.BTC_ARKADE; exports.BTC_ARKADE_INFO = _chunk4NVWIR74cjs.BTC_ARKADE_INFO; exports.BTC_HTLC_SCRIPT_VERSION_STRICT = _chunkQ4TOBBANcjs.BTC_HTLC_SCRIPT_VERSION_STRICT; exports.BTC_LIGHTNING = _chunk4NVWIR74cjs.BTC_LIGHTNING; exports.BTC_LIGHTNING_INFO = _chunk4NVWIR74cjs.BTC_LIGHTNING_INFO; exports.BTC_ONCHAIN = _chunk4NVWIR74cjs.BTC_ONCHAIN; exports.BTC_ONCHAIN_INFO = _chunk4NVWIR74cjs.BTC_ONCHAIN_INFO; exports.BitcoinContractManager = BitcoinContractManager; exports.CCTP_DOMAINS = _chunkTKFOVRJRcjs.CCTP_DOMAINS; exports.CCTP_STANDARD_ONLY_CHAIN_IDS = _chunk4NVWIR74cjs.CCTP_STANDARD_ONLY_CHAIN_IDS; exports.CCTP_VIEM_CHAINS = _chunk4NVWIR74cjs.CCTP_VIEM_CHAINS; exports.CHAIN_ID_TO_CCTP_NAME = _chunk4NVWIR74cjs.CHAIN_ID_TO_CCTP_NAME; exports.CLIENT_AGENT = _chunkQ4TOBBANcjs.CLIENT_AGENT; exports.CctpInboundClient = _chunk4NVWIR74cjs.CctpInboundClient; exports.Client = Client2; exports.ClientBuilder = ClientBuilder; exports.DEFAULT_ELECTRUM_WS_URLS = _chunk4NVWIR74cjs.DEFAULT_ELECTRUM_WS_URLS; exports.DEFAULT_ESPLORA_URLS = _chunk5DQHR3ROcjs.DEFAULT_ESPLORA_URLS; exports.DEFAULT_EVM_RPCS = DEFAULT_EVM_RPCS; exports.DIRECT_SOURCE_CHAIN_IDS = _chunk4NVWIR74cjs.DIRECT_SOURCE_CHAIN_IDS; exports.EURC_ADDRESSES = _chunkTKFOVRJRcjs.EURC_ADDRESSES; exports.ElectrumWsClient = _chunk4NVWIR74cjs.ElectrumWsClient; exports.EvmContractManager = EvmContractManager; exports.FINALITY_FAST = _chunkTKFOVRJRcjs.FINALITY_FAST; exports.FINALITY_STANDARD = _chunkTKFOVRJRcjs.FINALITY_STANDARD; exports.FORWARDING_FEE_ETHEREUM = _chunkTKFOVRJRcjs.FORWARDING_FEE_ETHEREUM; exports.FORWARDING_FEE_OTHER = _chunkTKFOVRJRcjs.FORWARDING_FEE_OTHER; exports.FORWARDING_SERVICE_HOOK_DATA = _chunkTKFOVRJRcjs.FORWARDING_SERVICE_HOOK_DATA; exports.HintTracker = HintTracker; exports.IRIS_API_MAINNET = _chunkTKFOVRJRcjs.IRIS_API_MAINNET; exports.IRIS_API_TESTNET = _chunkTKFOVRJRcjs.IRIS_API_TESTNET; exports.IdbSwapStorage = _chunk4NVWIR74cjs.IdbSwapStorage; exports.IdbWalletStorage = _chunk4NVWIR74cjs.IdbWalletStorage; exports.InMemorySwapStorage = _chunk4NVWIR74cjs.InMemorySwapStorage; exports.InMemoryWalletStorage = _chunk4NVWIR74cjs.InMemoryWalletStorage; exports.KERNEL_DELEGATION_TARGET = _chunk4NVWIR74cjs.KERNEL_DELEGATION_TARGET; exports.LZ_EIDS = _chunk4NVWIR74cjs.LZ_EIDS; exports.MAX_UINT256 = _chunk4NVWIR74cjs.MAX_UINT256; exports.MESSAGE_TRANSMITTER_ADDRESSES = _chunkTKFOVRJRcjs.MESSAGE_TRANSMITTER_ADDRESSES; exports.MESSAGE_TRANSMITTER_V2 = _chunkTKFOVRJRcjs.MESSAGE_TRANSMITTER_V2; exports.NATIVE_TOKEN_ADDRESS = _chunkJZTF4JNHcjs.NATIVE_TOKEN_ADDRESS; exports.PERMIT2_ADDRESS = _chunkJZTF4JNHcjs.PERMIT2_ADDRESS; exports.PROTOCOL_HEADERS = _chunkQ4TOBBANcjs.PROTOCOL_HEADERS; exports.PROTOCOL_VERSIONS = _chunkQ4TOBBANcjs.PROTOCOL_VERSIONS; exports.ProtocolComponent = _chunkQ4TOBBANcjs.ProtocolComponent; exports.ProtocolEpoch = _chunkQ4TOBBANcjs.ProtocolEpoch; exports.RIF_SMART_WALLET_INDEX = _chunk4NVWIR74cjs.RIF_SMART_WALLET_INDEX; exports.RehashNotRecordedError = _chunk4NVWIR74cjs.RehashNotRecordedError; exports.SATORA_SERVER_VERSION = _chunkQ4TOBBANcjs.SATORA_SERVER_VERSION; exports.SDK_COMMIT_HASH = _chunkQ4TOBBANcjs.SDK_COMMIT_HASH; exports.SDK_NAME = _chunkQ4TOBBANcjs.SDK_NAME; exports.SDK_VERSION = _chunkQ4TOBBANcjs.SDK_VERSION; exports.SOLANA_MESSAGE_TRANSMITTER_V2 = _chunkTKFOVRJRcjs.SOLANA_MESSAGE_TRANSMITTER_V2; exports.SOLANA_TOKEN_MESSENGER_MINTER_V2 = _chunkTKFOVRJRcjs.SOLANA_TOKEN_MESSENGER_MINTER_V2; exports.SOLANA_USDC_MINT = _chunkTKFOVRJRcjs.SOLANA_USDC_MINT; exports.SWAP_STORAGE_VERSION = _chunk4NVWIR74cjs.SWAP_STORAGE_VERSION; exports.SdkLogger = _chunkBUOHHQORcjs.SdkLogger; exports.Signer = _chunk4NVWIR74cjs.Signer; exports.SimulationRevertError = _chunkTNZW35XAcjs.SimulationRevertError; exports.StrictVhtlcScript = _chunkQ4TOBBANcjs.StrictVhtlcScript; exports.SwapTracker = SwapTracker; exports.SwapVerificationError = _chunk4NVWIR74cjs.SwapVerificationError; exports.SwapWorker = SwapWorker; exports.TOKEN_MESSENGER_ADDRESSES = _chunkTKFOVRJRcjs.TOKEN_MESSENGER_ADDRESSES; exports.TOKEN_MESSENGER_V2 = _chunkTKFOVRJRcjs.TOKEN_MESSENGER_V2; exports.USAT_ADDRESSES = _chunkTKFOVRJRcjs.USAT_ADDRESSES; exports.USDC_ADDRESSES = _chunkTKFOVRJRcjs.USDC_ADDRESSES; exports.USDC_DOMAIN_FIELDS = _chunk4NVWIR74cjs.USDC_DOMAIN_FIELDS; exports.USDT0_ADDRESSES = _chunk4NVWIR74cjs.USDT0_ADDRESSES; exports.WalletClaimRequiredError = _chunk4NVWIR74cjs.WalletClaimRequiredError; exports.WsStatusSource = WsStatusSource; exports.addressToBytes32 = _chunk4NVWIR74cjs.addressToBytes32; exports.addressToBytes32Hex = _chunkJZTF4JNHcjs.addressToBytes32Hex; exports.addressToScriptHash = _chunk4NVWIR74cjs.addressToScriptHash; exports.approveAndBurn = _chunk4NVWIR74cjs.approveAndBurn; exports.buildArkadeClaim = _chunk4NVWIR74cjs.buildArkadeClaim; exports.buildArkadeVhtlcRef = buildArkadeVhtlcRef; exports.buildCctpInboundBatch = _chunkJZTF4JNHcjs.buildCctpInboundBatch; exports.buildDomainSeparator = _chunk4NVWIR74cjs.buildDomainSeparator; exports.buildEvmHtlcCallData = _chunkJZTF4JNHcjs.buildEvmHtlcCallData; exports.buildOnchainClaimTransaction = _chunk4NVWIR74cjs.buildOnchainClaimTransaction; exports.buildOnchainRefundTransaction = _chunk4NVWIR74cjs.buildOnchainRefundTransaction; exports.buildPermit2TypedData = _chunkJZTF4JNHcjs.buildPermit2TypedData; exports.bytes32ToAddress = _chunk4NVWIR74cjs.bytes32ToAddress; exports.bytesToHex = _chunk5JR6AJ3Ycjs.bytesToHex; exports.calculateSourceAmount = _chunk4NVWIR74cjs.calculateSourceAmount; exports.calculateTargetAmount = _chunk4NVWIR74cjs.calculateTargetAmount; exports.cctpFundSwap = _chunk4NVWIR74cjs.cctpFundSwap; exports.cctpMetaForChainId = _chunk4NVWIR74cjs.cctpMetaForChainId; exports.checkFundingPayload = _chunkJZTF4JNHcjs.checkFundingPayload; exports.computeCctpFastFee = _chunk4NVWIR74cjs.computeCctpFastFee; exports.computeExchangeRate = _chunk4NVWIR74cjs.computeExchangeRate; exports.computeHash160 = _chunk4NVWIR74cjs.computeHash160; exports.createApiClient = _chunk4NVWIR74cjs.createApiClient; exports.createConsoleLogger = _chunkBUOHHQORcjs.createConsoleLogger; exports.createEvmRpcReader = createEvmRpcReader; exports.createSdkLogger = _chunkBUOHHQORcjs.createSdkLogger; exports.createSwapSmartAccountClient = _chunkJZTF4JNHcjs.createSwapSmartAccountClient; exports.defaultArkadeServerUrl = defaultArkadeServerUrl; exports.defaultEvmReaders = defaultEvmReaders; exports.deriveEvmAddress = _chunk4NVWIR74cjs.deriveEvmAddress; exports.deriveSwapActions = deriveSwapActions; exports.deriveSwapStatus = deriveSwapStatus; exports.electrumBroadcastTransaction = _chunk4NVWIR74cjs.electrumBroadcastTransaction; exports.electrumFetchTransactionOutputs = _chunk4NVWIR74cjs.electrumFetchTransactionOutputs; exports.electrumFindOutputByAddress = _chunk4NVWIR74cjs.electrumFindOutputByAddress; exports.electrumReader = _chunkINHFP222cjs.electrumReader; exports.electrumWaitForOutputByAddress = _chunk4NVWIR74cjs.electrumWaitForOutputByAddress; exports.encodeApproveCallData = _chunkJZTF4JNHcjs.encodeApproveCallData; exports.encodeCreateSwapCallData = _chunkJZTF4JNHcjs.encodeCreateSwapCallData; exports.encodeDepositForBurn = _chunk4NVWIR74cjs.encodeDepositForBurn; exports.encodeExecuteAndCreateWithPermit2 = _chunkJZTF4JNHcjs.encodeExecuteAndCreateWithPermit2; exports.encodeHtlcErc20CreateCallData = _chunkJZTF4JNHcjs.encodeHtlcErc20CreateCallData; exports.encodeHtlcErc20RefundBySigCallData = _chunkJZTF4JNHcjs.encodeHtlcErc20RefundBySigCallData; exports.encodeHtlcErc20RehashCallData = _chunkJZTF4JNHcjs.encodeHtlcErc20RehashCallData; exports.encodeHtlcNativeRefundBySigCallData = _chunkJZTF4JNHcjs.encodeHtlcNativeRefundBySigCallData; exports.encodeHtlcNativeRehashCallData = _chunkJZTF4JNHcjs.encodeHtlcNativeRehashCallData; exports.esploraReader = _chunk5DQHR3ROcjs.esploraReader; exports.evmReaderFromClient = evmReaderFromClient; exports.fetchAttestation = _chunkJZTF4JNHcjs.fetchAttestation; exports.fetchCctpFee = _chunk4NVWIR74cjs.fetchCctpFee; exports.finalityForChainId = _chunk4NVWIR74cjs.finalityForChainId; exports.getArkTxid = _chunk4NVWIR74cjs.getArkTxid; exports.getBridgeTargetChain = _chunk4NVWIR74cjs.getBridgeTargetChain; exports.getCctpBridgeTokens = _chunk4NVWIR74cjs.getCctpBridgeTokens; exports.getCctpViemChain = _chunk4NVWIR74cjs.getCctpViemChain; exports.getCctpViemChainByName = _chunk4NVWIR74cjs.getCctpViemChainByName; exports.getDomain = _chunk4NVWIR74cjs.getDomain; exports.getEid = _chunk4NVWIR74cjs.getEid; exports.getLzExplorerUrl = _chunk4NVWIR74cjs.getExplorerUrl; exports.getLzMessageStatus = _chunk4NVWIR74cjs.getMessageStatus; exports.getUsdPrices = _chunk4NVWIR74cjs.getUsdPrices; exports.getUsdt0BridgeTokens = _chunk4NVWIR74cjs.getUsdt0BridgeTokens; exports.getVhtlcAmounts = _chunk4NVWIR74cjs.getVhtlcAmounts; exports.hexToBytes = _chunk5JR6AJ3Ycjs.hexToBytes; exports.htlcFactsFromEsploraTxs = _chunk5DQHR3ROcjs.htlcFactsFromEsploraTxs; exports.htlcKey = htlcKey; exports.htlcQueryKey = htlcQueryKey; exports.idbStorageFactory = _chunk4NVWIR74cjs.idbStorageFactory; exports.inMemoryStorageFactory = _chunk4NVWIR74cjs.inMemoryStorageFactory; exports.invoiceAmountMsat = _chunk4NVWIR74cjs.invoiceAmountMsat; exports.invoicePaymentHash = _chunk4NVWIR74cjs.invoicePaymentHash; exports.isArbitrumToken = _chunk4NVWIR74cjs.isArbitrumToken; exports.isArkade = _chunk4NVWIR74cjs.isArkade; exports.isAvalancheToken = _chunk4NVWIR74cjs.isAvalancheToken; exports.isBaseToken = _chunk4NVWIR74cjs.isBaseToken; exports.isBridgeOnlyChain = _chunk4NVWIR74cjs.isBridgeOnlyChain; exports.isBridgedTarget = _chunk4NVWIR74cjs.isBridgedTarget; exports.isBtc = _chunk4NVWIR74cjs.isBtc; exports.isBtcOnchain = _chunk4NVWIR74cjs.isBtcOnchain; exports.isBtcPegged = _chunk4NVWIR74cjs.isBtcPegged; exports.isCctpOnlySource = _chunk4NVWIR74cjs.isCctpOnlySource; exports.isCctpRoutedUsdcTarget = _chunk4NVWIR74cjs.isCctpRoutedUsdcTarget; exports.isCctpUsdc = _chunk4NVWIR74cjs.isCctpUsdc; exports.isEthereumToken = _chunk4NVWIR74cjs.isEthereumToken; exports.isEvmSwapSource = _chunk4NVWIR74cjs.isEvmSwapSource; exports.isEvmToken = _chunk4NVWIR74cjs.isEvmToken; exports.isKernelDelegation = _chunk4NVWIR74cjs.isKernelDelegation; exports.isLightning = _chunk4NVWIR74cjs.isLightning; exports.isLineaToken = _chunk4NVWIR74cjs.isLineaToken; exports.isNativeLockTarget = _chunk4NVWIR74cjs.isNativeLockTarget; exports.isOptimismToken = _chunk4NVWIR74cjs.isOptimismToken; exports.isPolygonToken = _chunk4NVWIR74cjs.isPolygonToken; exports.isSolanaToken = _chunk4NVWIR74cjs.isSolanaToken; exports.isSonicToken = _chunk4NVWIR74cjs.isSonicToken; exports.isSourceEvmChain = _chunk4NVWIR74cjs.isSourceEvmChain; exports.isTronToken = _chunk4NVWIR74cjs.isTronToken; exports.isUserRejection = _chunkTNZW35XAcjs.isUserRejection; exports.isValidArkadeAddress = _chunk4NVWIR74cjs.isValidArkadeAddress; exports.isValidSolanaAddress = _chunk4NVWIR74cjs.isValidSolanaAddress; exports.isValidTronAddress = _chunk4NVWIR74cjs.isValidTronAddress; exports.kernelErc1271Digest = _chunk4NVWIR74cjs.kernelErc1271Digest; exports.needsBridge = _chunk4NVWIR74cjs.needsBridge; exports.noopLogger = _chunkBUOHHQORcjs.noopLogger; exports.parseArkadeAddress = _chunk4NVWIR74cjs.parseArkadeAddress; exports.parseEip7702Delegation = _chunk4NVWIR74cjs.parseEip7702Delegation; exports.protocolHeaderName = _chunkQ4TOBBANcjs.protocolHeaderName; exports.recoverCctpInbound = _chunk4NVWIR74cjs.recoverCctpInbound; exports.redactLogValue = _chunkBUOHHQORcjs.redactLogValue; exports.rehashAuthorizationMessage = _chunk4NVWIR74cjs.rehashAuthorizationMessage; exports.resolveMinConfirmations = _chunk5DQHR3ROcjs.resolveMinConfirmations; exports.rifSmartWallet = _chunk4NVWIR74cjs.rifSmartWallet; exports.rifSmartWalletAddress = _chunk4NVWIR74cjs.rifSmartWalletAddress; exports.signEip2612Permit = _chunk4NVWIR74cjs.signEip2612Permit; exports.signEscrowArkTx = _chunk4NVWIR74cjs.signEscrowArkTx; exports.signEscrowCheckpoints = _chunk4NVWIR74cjs.signEscrowCheckpoints; exports.signEscrowDelegate = _chunk4NVWIR74cjs.signEscrowDelegate; exports.signEvmDigest = _chunk4NVWIR74cjs.signEvmDigest; exports.signEvmMessage = _chunk4NVWIR74cjs.signEvmMessage; exports.signPermit2Witness = _chunk4NVWIR74cjs.signPermit2Witness; exports.simulateBatchCalls = _chunkJZTF4JNHcjs.simulateBatchCalls; exports.solanaAddressToBytes32 = _chunk4NVWIR74cjs.solanaAddressToBytes32; exports.submitCctpInboundUserOp = _chunkJZTF4JNHcjs.submitCctpInboundUserOp; exports.swapToTracked = swapToTracked; exports.toChain = _chunk4NVWIR74cjs.toChain; exports.toChainName = _chunk4NVWIR74cjs.toChainName; exports.trackCctpMessage = _chunkJZTF4JNHcjs.trackCctpMessage; exports.trackLzMessage = _chunk4NVWIR74cjs.trackMessage; exports.tronAddressToBytes32 = _chunk4NVWIR74cjs.tronAddressToBytes32; exports.usdt0NeedsBridge = _chunk4NVWIR74cjs.needsBridge2; exports.verifyHtlcAddress = _chunk4NVWIR74cjs.verifyHtlcAddress; exports.wrapKernelErc1271Signature = _chunk4NVWIR74cjs.wrapKernelErc1271Signature;
|
|
3880
|
+
|
|
3881
|
+
exports.ARKADE_HTLC_SCRIPT_VERSION_STRICT = _chunkQJ4EK6UGcjs.ARKADE_HTLC_SCRIPT_VERSION_STRICT; exports.ArkadeContractManager = ArkadeContractManager; exports.Asset = _chunkEL4FUZJOcjs.Asset; exports.BTC_ARKADE = _chunkEL4FUZJOcjs.BTC_ARKADE; exports.BTC_ARKADE_INFO = _chunkEL4FUZJOcjs.BTC_ARKADE_INFO; exports.BTC_HTLC_SCRIPT_VERSION_STRICT = _chunkQJ4EK6UGcjs.BTC_HTLC_SCRIPT_VERSION_STRICT; exports.BTC_LIGHTNING = _chunkEL4FUZJOcjs.BTC_LIGHTNING; exports.BTC_LIGHTNING_INFO = _chunkEL4FUZJOcjs.BTC_LIGHTNING_INFO; exports.BTC_ONCHAIN = _chunkEL4FUZJOcjs.BTC_ONCHAIN; exports.BTC_ONCHAIN_INFO = _chunkEL4FUZJOcjs.BTC_ONCHAIN_INFO; exports.BitcoinContractManager = BitcoinContractManager; exports.CCTP_DOMAINS = _chunkTKFOVRJRcjs.CCTP_DOMAINS; exports.CCTP_STANDARD_ONLY_CHAIN_IDS = _chunkEL4FUZJOcjs.CCTP_STANDARD_ONLY_CHAIN_IDS; exports.CCTP_VIEM_CHAINS = _chunkEL4FUZJOcjs.CCTP_VIEM_CHAINS; exports.CHAIN_ID_TO_CCTP_NAME = _chunkEL4FUZJOcjs.CHAIN_ID_TO_CCTP_NAME; exports.CLIENT_AGENT = _chunkQJ4EK6UGcjs.CLIENT_AGENT; exports.CctpInboundClient = _chunkEL4FUZJOcjs.CctpInboundClient; exports.Client = Client2; exports.ClientBuilder = ClientBuilder; exports.DEFAULT_ELECTRUM_WS_URLS = _chunkEL4FUZJOcjs.DEFAULT_ELECTRUM_WS_URLS; exports.DEFAULT_ESPLORA_URLS = _chunk5DQHR3ROcjs.DEFAULT_ESPLORA_URLS; exports.DEFAULT_EVM_RPCS = DEFAULT_EVM_RPCS; exports.DIRECT_SOURCE_CHAIN_IDS = _chunkEL4FUZJOcjs.DIRECT_SOURCE_CHAIN_IDS; exports.EURC_ADDRESSES = _chunkTKFOVRJRcjs.EURC_ADDRESSES; exports.ElectrumWsClient = _chunkEL4FUZJOcjs.ElectrumWsClient; exports.EvmContractManager = EvmContractManager; exports.FINALITY_FAST = _chunkTKFOVRJRcjs.FINALITY_FAST; exports.FINALITY_STANDARD = _chunkTKFOVRJRcjs.FINALITY_STANDARD; exports.FORWARDING_FEE_ETHEREUM = _chunkTKFOVRJRcjs.FORWARDING_FEE_ETHEREUM; exports.FORWARDING_FEE_OTHER = _chunkTKFOVRJRcjs.FORWARDING_FEE_OTHER; exports.FORWARDING_SERVICE_HOOK_DATA = _chunkTKFOVRJRcjs.FORWARDING_SERVICE_HOOK_DATA; exports.HintTracker = HintTracker; exports.IRIS_API_MAINNET = _chunkTKFOVRJRcjs.IRIS_API_MAINNET; exports.IRIS_API_TESTNET = _chunkTKFOVRJRcjs.IRIS_API_TESTNET; exports.IdbSwapStorage = _chunkEL4FUZJOcjs.IdbSwapStorage; exports.IdbWalletStorage = _chunkEL4FUZJOcjs.IdbWalletStorage; exports.InMemorySwapStorage = _chunkEL4FUZJOcjs.InMemorySwapStorage; exports.InMemoryWalletStorage = _chunkEL4FUZJOcjs.InMemoryWalletStorage; exports.KERNEL_DELEGATION_TARGET = _chunkEL4FUZJOcjs.KERNEL_DELEGATION_TARGET; exports.LZ_EIDS = _chunkEL4FUZJOcjs.LZ_EIDS; exports.MAX_UINT256 = _chunkEL4FUZJOcjs.MAX_UINT256; exports.MESSAGE_TRANSMITTER_ADDRESSES = _chunkTKFOVRJRcjs.MESSAGE_TRANSMITTER_ADDRESSES; exports.MESSAGE_TRANSMITTER_V2 = _chunkTKFOVRJRcjs.MESSAGE_TRANSMITTER_V2; exports.NATIVE_TOKEN_ADDRESS = _chunkJZTF4JNHcjs.NATIVE_TOKEN_ADDRESS; exports.PERMIT2_ADDRESS = _chunkJZTF4JNHcjs.PERMIT2_ADDRESS; exports.PROTOCOL_HEADERS = _chunkQJ4EK6UGcjs.PROTOCOL_HEADERS; exports.PROTOCOL_VERSIONS = _chunkQJ4EK6UGcjs.PROTOCOL_VERSIONS; exports.ProtocolComponent = _chunkQJ4EK6UGcjs.ProtocolComponent; exports.ProtocolEpoch = _chunkQJ4EK6UGcjs.ProtocolEpoch; exports.RIF_SMART_WALLET_INDEX = _chunkEL4FUZJOcjs.RIF_SMART_WALLET_INDEX; exports.RehashNotRecordedError = _chunkEL4FUZJOcjs.RehashNotRecordedError; exports.SATORA_SERVER_VERSION = _chunkQJ4EK6UGcjs.SATORA_SERVER_VERSION; exports.SDK_COMMIT_HASH = _chunkQJ4EK6UGcjs.SDK_COMMIT_HASH; exports.SDK_NAME = _chunkQJ4EK6UGcjs.SDK_NAME; exports.SDK_VERSION = _chunkQJ4EK6UGcjs.SDK_VERSION; exports.SOLANA_MESSAGE_TRANSMITTER_V2 = _chunkTKFOVRJRcjs.SOLANA_MESSAGE_TRANSMITTER_V2; exports.SOLANA_TOKEN_MESSENGER_MINTER_V2 = _chunkTKFOVRJRcjs.SOLANA_TOKEN_MESSENGER_MINTER_V2; exports.SOLANA_USDC_MINT = _chunkTKFOVRJRcjs.SOLANA_USDC_MINT; exports.SWAP_STORAGE_VERSION = _chunkEL4FUZJOcjs.SWAP_STORAGE_VERSION; exports.SdkLogger = _chunkBUOHHQORcjs.SdkLogger; exports.Signer = _chunkEL4FUZJOcjs.Signer; exports.SimulationRevertError = _chunkTNZW35XAcjs.SimulationRevertError; exports.StrictVhtlcScript = _chunkQJ4EK6UGcjs.StrictVhtlcScript; exports.SwapTracker = SwapTracker; exports.SwapVerificationError = _chunkEL4FUZJOcjs.SwapVerificationError; exports.SwapWorker = SwapWorker; exports.TOKEN_MESSENGER_ADDRESSES = _chunkTKFOVRJRcjs.TOKEN_MESSENGER_ADDRESSES; exports.TOKEN_MESSENGER_V2 = _chunkTKFOVRJRcjs.TOKEN_MESSENGER_V2; exports.USAT_ADDRESSES = _chunkTKFOVRJRcjs.USAT_ADDRESSES; exports.USDC_ADDRESSES = _chunkTKFOVRJRcjs.USDC_ADDRESSES; exports.USDC_DOMAIN_FIELDS = _chunkEL4FUZJOcjs.USDC_DOMAIN_FIELDS; exports.USDT0_ADDRESSES = _chunkEL4FUZJOcjs.USDT0_ADDRESSES; exports.WalletClaimRequiredError = _chunkEL4FUZJOcjs.WalletClaimRequiredError; exports.WsStatusSource = WsStatusSource; exports.addressToBytes32 = _chunkEL4FUZJOcjs.addressToBytes32; exports.addressToBytes32Hex = _chunkJZTF4JNHcjs.addressToBytes32Hex; exports.addressToScriptHash = _chunkEL4FUZJOcjs.addressToScriptHash; exports.approveAndBurn = _chunkEL4FUZJOcjs.approveAndBurn; exports.buildArkadeClaim = _chunkEL4FUZJOcjs.buildArkadeClaim; exports.buildArkadeVhtlcRef = buildArkadeVhtlcRef; exports.buildCctpInboundBatch = _chunkJZTF4JNHcjs.buildCctpInboundBatch; exports.buildDomainSeparator = _chunkEL4FUZJOcjs.buildDomainSeparator; exports.buildEvmHtlcCallData = _chunkJZTF4JNHcjs.buildEvmHtlcCallData; exports.buildOnchainClaimTransaction = _chunkEL4FUZJOcjs.buildOnchainClaimTransaction; exports.buildOnchainRefundTransaction = _chunkEL4FUZJOcjs.buildOnchainRefundTransaction; exports.buildPermit2TypedData = _chunkJZTF4JNHcjs.buildPermit2TypedData; exports.bytes32ToAddress = _chunkEL4FUZJOcjs.bytes32ToAddress; exports.bytesToHex = _chunk5JR6AJ3Ycjs.bytesToHex; exports.calculateSourceAmount = _chunkEL4FUZJOcjs.calculateSourceAmount; exports.calculateTargetAmount = _chunkEL4FUZJOcjs.calculateTargetAmount; exports.cctpFundSwap = _chunkEL4FUZJOcjs.cctpFundSwap; exports.cctpMetaForChainId = _chunkEL4FUZJOcjs.cctpMetaForChainId; exports.checkFundingPayload = _chunkJZTF4JNHcjs.checkFundingPayload; exports.computeCctpFastFee = _chunkEL4FUZJOcjs.computeCctpFastFee; exports.computeExchangeRate = _chunkEL4FUZJOcjs.computeExchangeRate; exports.computeHash160 = _chunkEL4FUZJOcjs.computeHash160; exports.createApiClient = _chunkEL4FUZJOcjs.createApiClient; exports.createConsoleLogger = _chunkBUOHHQORcjs.createConsoleLogger; exports.createEvmRpcReader = createEvmRpcReader; exports.createSdkLogger = _chunkBUOHHQORcjs.createSdkLogger; exports.createSwapSmartAccountClient = _chunkJZTF4JNHcjs.createSwapSmartAccountClient; exports.defaultArkadeServerUrl = defaultArkadeServerUrl; exports.defaultEvmReaders = defaultEvmReaders; exports.deriveEvmAddress = _chunkEL4FUZJOcjs.deriveEvmAddress; exports.deriveSwapActions = deriveSwapActions; exports.deriveSwapStatus = deriveSwapStatus; exports.electrumBroadcastTransaction = _chunkEL4FUZJOcjs.electrumBroadcastTransaction; exports.electrumFetchTransactionOutputs = _chunkEL4FUZJOcjs.electrumFetchTransactionOutputs; exports.electrumFindOutputByAddress = _chunkEL4FUZJOcjs.electrumFindOutputByAddress; exports.electrumReader = _chunkINHFP222cjs.electrumReader; exports.electrumWaitForOutputByAddress = _chunkEL4FUZJOcjs.electrumWaitForOutputByAddress; exports.encodeApproveCallData = _chunkJZTF4JNHcjs.encodeApproveCallData; exports.encodeCreateSwapCallData = _chunkJZTF4JNHcjs.encodeCreateSwapCallData; exports.encodeDepositForBurn = _chunkEL4FUZJOcjs.encodeDepositForBurn; exports.encodeExecuteAndCreateWithPermit2 = _chunkJZTF4JNHcjs.encodeExecuteAndCreateWithPermit2; exports.encodeHtlcErc20CreateCallData = _chunkJZTF4JNHcjs.encodeHtlcErc20CreateCallData; exports.encodeHtlcErc20RefundBySigCallData = _chunkJZTF4JNHcjs.encodeHtlcErc20RefundBySigCallData; exports.encodeHtlcErc20RehashCallData = _chunkJZTF4JNHcjs.encodeHtlcErc20RehashCallData; exports.encodeHtlcNativeRefundBySigCallData = _chunkJZTF4JNHcjs.encodeHtlcNativeRefundBySigCallData; exports.encodeHtlcNativeRehashCallData = _chunkJZTF4JNHcjs.encodeHtlcNativeRehashCallData; exports.esploraReader = _chunk5DQHR3ROcjs.esploraReader; exports.evmReaderFromClient = evmReaderFromClient; exports.fetchAttestation = _chunkJZTF4JNHcjs.fetchAttestation; exports.fetchCctpFee = _chunkEL4FUZJOcjs.fetchCctpFee; exports.finalityForChainId = _chunkEL4FUZJOcjs.finalityForChainId; exports.getArkTxid = _chunkEL4FUZJOcjs.getArkTxid; exports.getBridgeTargetChain = _chunkEL4FUZJOcjs.getBridgeTargetChain; exports.getCctpBridgeTokens = _chunkEL4FUZJOcjs.getCctpBridgeTokens; exports.getCctpViemChain = _chunkEL4FUZJOcjs.getCctpViemChain; exports.getCctpViemChainByName = _chunkEL4FUZJOcjs.getCctpViemChainByName; exports.getDomain = _chunkEL4FUZJOcjs.getDomain; exports.getEid = _chunkEL4FUZJOcjs.getEid; exports.getLzExplorerUrl = _chunkEL4FUZJOcjs.getExplorerUrl; exports.getLzMessageStatus = _chunkEL4FUZJOcjs.getMessageStatus; exports.getUsdPrices = _chunkEL4FUZJOcjs.getUsdPrices; exports.getUsdt0BridgeTokens = _chunkEL4FUZJOcjs.getUsdt0BridgeTokens; exports.getVhtlcAmounts = _chunkEL4FUZJOcjs.getVhtlcAmounts; exports.hexToBytes = _chunk5JR6AJ3Ycjs.hexToBytes; exports.htlcFactsFromEsploraTxs = _chunk5DQHR3ROcjs.htlcFactsFromEsploraTxs; exports.htlcKey = htlcKey; exports.htlcQueryKey = htlcQueryKey; exports.idbStorageFactory = _chunkEL4FUZJOcjs.idbStorageFactory; exports.inMemoryStorageFactory = _chunkEL4FUZJOcjs.inMemoryStorageFactory; exports.invoiceAmountMsat = _chunkEL4FUZJOcjs.invoiceAmountMsat; exports.invoicePaymentHash = _chunkEL4FUZJOcjs.invoicePaymentHash; exports.isArbitrumToken = _chunkEL4FUZJOcjs.isArbitrumToken; exports.isArkade = _chunkEL4FUZJOcjs.isArkade; exports.isAvalancheToken = _chunkEL4FUZJOcjs.isAvalancheToken; exports.isBaseToken = _chunkEL4FUZJOcjs.isBaseToken; exports.isBridgeOnlyChain = _chunkEL4FUZJOcjs.isBridgeOnlyChain; exports.isBridgedTarget = _chunkEL4FUZJOcjs.isBridgedTarget; exports.isBtc = _chunkEL4FUZJOcjs.isBtc; exports.isBtcOnchain = _chunkEL4FUZJOcjs.isBtcOnchain; exports.isBtcPegged = _chunkEL4FUZJOcjs.isBtcPegged; exports.isCctpOnlySource = _chunkEL4FUZJOcjs.isCctpOnlySource; exports.isCctpRoutedUsdcTarget = _chunkEL4FUZJOcjs.isCctpRoutedUsdcTarget; exports.isCctpUsdc = _chunkEL4FUZJOcjs.isCctpUsdc; exports.isEthereumToken = _chunkEL4FUZJOcjs.isEthereumToken; exports.isEvmSwapSource = _chunkEL4FUZJOcjs.isEvmSwapSource; exports.isEvmToken = _chunkEL4FUZJOcjs.isEvmToken; exports.isKernelDelegation = _chunkEL4FUZJOcjs.isKernelDelegation; exports.isLightning = _chunkEL4FUZJOcjs.isLightning; exports.isLineaToken = _chunkEL4FUZJOcjs.isLineaToken; exports.isNativeLockTarget = _chunkEL4FUZJOcjs.isNativeLockTarget; exports.isOptimismToken = _chunkEL4FUZJOcjs.isOptimismToken; exports.isPolygonToken = _chunkEL4FUZJOcjs.isPolygonToken; exports.isSolanaToken = _chunkEL4FUZJOcjs.isSolanaToken; exports.isSonicToken = _chunkEL4FUZJOcjs.isSonicToken; exports.isSourceEvmChain = _chunkEL4FUZJOcjs.isSourceEvmChain; exports.isSpark = _chunkEL4FUZJOcjs.isSpark; exports.isTronToken = _chunkEL4FUZJOcjs.isTronToken; exports.isUserRejection = _chunkTNZW35XAcjs.isUserRejection; exports.isValidArkadeAddress = _chunkEL4FUZJOcjs.isValidArkadeAddress; exports.isValidSolanaAddress = _chunkEL4FUZJOcjs.isValidSolanaAddress; exports.isValidTronAddress = _chunkEL4FUZJOcjs.isValidTronAddress; exports.kernelErc1271Digest = _chunkEL4FUZJOcjs.kernelErc1271Digest; exports.needsBridge = _chunkEL4FUZJOcjs.needsBridge; exports.noopLogger = _chunkBUOHHQORcjs.noopLogger; exports.parseArkadeAddress = _chunkEL4FUZJOcjs.parseArkadeAddress; exports.parseEip7702Delegation = _chunkEL4FUZJOcjs.parseEip7702Delegation; exports.protocolHeaderName = _chunkQJ4EK6UGcjs.protocolHeaderName; exports.recoverCctpInbound = _chunkEL4FUZJOcjs.recoverCctpInbound; exports.redactLogValue = _chunkBUOHHQORcjs.redactLogValue; exports.rehashAuthorizationMessage = _chunkEL4FUZJOcjs.rehashAuthorizationMessage; exports.resolveMinConfirmations = _chunk5DQHR3ROcjs.resolveMinConfirmations; exports.rifSmartWallet = _chunkEL4FUZJOcjs.rifSmartWallet; exports.rifSmartWalletAddress = _chunkEL4FUZJOcjs.rifSmartWalletAddress; exports.signEip2612Permit = _chunkEL4FUZJOcjs.signEip2612Permit; exports.signEscrowArkTx = _chunkEL4FUZJOcjs.signEscrowArkTx; exports.signEscrowCheckpoints = _chunkEL4FUZJOcjs.signEscrowCheckpoints; exports.signEscrowDelegate = _chunkEL4FUZJOcjs.signEscrowDelegate; exports.signEvmDigest = _chunkEL4FUZJOcjs.signEvmDigest; exports.signEvmMessage = _chunkEL4FUZJOcjs.signEvmMessage; exports.signPermit2Witness = _chunkEL4FUZJOcjs.signPermit2Witness; exports.simulateBatchCalls = _chunkJZTF4JNHcjs.simulateBatchCalls; exports.solanaAddressToBytes32 = _chunkEL4FUZJOcjs.solanaAddressToBytes32; exports.submitCctpInboundUserOp = _chunkJZTF4JNHcjs.submitCctpInboundUserOp; exports.swapToTracked = swapToTracked; exports.toChain = _chunkEL4FUZJOcjs.toChain; exports.toChainName = _chunkEL4FUZJOcjs.toChainName; exports.trackCctpMessage = _chunkJZTF4JNHcjs.trackCctpMessage; exports.trackLzMessage = _chunkEL4FUZJOcjs.trackMessage; exports.tronAddressToBytes32 = _chunkEL4FUZJOcjs.tronAddressToBytes32; exports.usdt0NeedsBridge = _chunkEL4FUZJOcjs.needsBridge2; exports.verifyHtlcAddress = _chunkEL4FUZJOcjs.verifyHtlcAddress; exports.wrapKernelErc1271Signature = _chunkEL4FUZJOcjs.wrapKernelErc1271Signature;
|
|
3874
3882
|
//# sourceMappingURL=index.cjs.map
|