@hyperbridge/sdk 1.2.2 → 1.3.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.
@@ -1,10 +1,591 @@
1
1
  import { ConsolaInstance } from 'consola';
2
2
  import { GraphQLClient } from 'graphql-request';
3
- import { Hex, Log, PublicClient } from 'viem';
3
+ import { Hex, ContractFunctionArgs, Log, PublicClient } from 'viem';
4
4
  import { ApiPromise } from '@polkadot/api';
5
5
  import { SignerOptions } from '@polkadot/api/types';
6
6
  import { Chain } from 'viem/chains';
7
7
 
8
+ declare const _default: {
9
+ ABI: readonly [{
10
+ readonly inputs: readonly [];
11
+ readonly name: "ChallengePeriodNotElapsed";
12
+ readonly type: "error";
13
+ }, {
14
+ readonly inputs: readonly [];
15
+ readonly name: "ConsensusClientExpired";
16
+ readonly type: "error";
17
+ }, {
18
+ readonly inputs: readonly [];
19
+ readonly name: "DuplicateMessage";
20
+ readonly type: "error";
21
+ }, {
22
+ readonly inputs: readonly [];
23
+ readonly name: "HostFrozen";
24
+ readonly type: "error";
25
+ }, {
26
+ readonly inputs: readonly [];
27
+ readonly name: "InvalidMessageDestination";
28
+ readonly type: "error";
29
+ }, {
30
+ readonly inputs: readonly [];
31
+ readonly name: "InvalidProof";
32
+ readonly type: "error";
33
+ }, {
34
+ readonly inputs: readonly [];
35
+ readonly name: "MessageNotTimedOut";
36
+ readonly type: "error";
37
+ }, {
38
+ readonly inputs: readonly [];
39
+ readonly name: "MessageTimedOut";
40
+ readonly type: "error";
41
+ }, {
42
+ readonly inputs: readonly [];
43
+ readonly name: "StateCommitmentNotFound";
44
+ readonly type: "error";
45
+ }, {
46
+ readonly inputs: readonly [];
47
+ readonly name: "UnknownMessage";
48
+ readonly type: "error";
49
+ }, {
50
+ readonly inputs: readonly [{
51
+ readonly internalType: "contract IIsmpHost";
52
+ readonly name: "host";
53
+ readonly type: "address";
54
+ }, {
55
+ readonly internalType: "bytes";
56
+ readonly name: "proof";
57
+ readonly type: "bytes";
58
+ }];
59
+ readonly name: "handleConsensus";
60
+ readonly outputs: readonly [];
61
+ readonly stateMutability: "nonpayable";
62
+ readonly type: "function";
63
+ }, {
64
+ readonly inputs: readonly [{
65
+ readonly internalType: "contract IIsmpHost";
66
+ readonly name: "host";
67
+ readonly type: "address";
68
+ }, {
69
+ readonly components: readonly [{
70
+ readonly components: readonly [{
71
+ readonly internalType: "bytes";
72
+ readonly name: "source";
73
+ readonly type: "bytes";
74
+ }, {
75
+ readonly internalType: "bytes";
76
+ readonly name: "dest";
77
+ readonly type: "bytes";
78
+ }, {
79
+ readonly internalType: "uint64";
80
+ readonly name: "nonce";
81
+ readonly type: "uint64";
82
+ }, {
83
+ readonly internalType: "address";
84
+ readonly name: "from";
85
+ readonly type: "address";
86
+ }, {
87
+ readonly internalType: "uint64";
88
+ readonly name: "timeoutTimestamp";
89
+ readonly type: "uint64";
90
+ }, {
91
+ readonly internalType: "bytes[]";
92
+ readonly name: "keys";
93
+ readonly type: "bytes[]";
94
+ }, {
95
+ readonly internalType: "uint64";
96
+ readonly name: "height";
97
+ readonly type: "uint64";
98
+ }, {
99
+ readonly internalType: "bytes";
100
+ readonly name: "context";
101
+ readonly type: "bytes";
102
+ }];
103
+ readonly internalType: "struct GetRequest[]";
104
+ readonly name: "timeouts";
105
+ readonly type: "tuple[]";
106
+ }, {
107
+ readonly components: readonly [{
108
+ readonly internalType: "uint256";
109
+ readonly name: "stateMachineId";
110
+ readonly type: "uint256";
111
+ }, {
112
+ readonly internalType: "uint256";
113
+ readonly name: "height";
114
+ readonly type: "uint256";
115
+ }];
116
+ readonly internalType: "struct StateMachineHeight";
117
+ readonly name: "height";
118
+ readonly type: "tuple";
119
+ }, {
120
+ readonly internalType: "bytes[]";
121
+ readonly name: "proof";
122
+ readonly type: "bytes[]";
123
+ }];
124
+ readonly internalType: "struct GetTimeoutMessage";
125
+ readonly name: "message";
126
+ readonly type: "tuple";
127
+ }];
128
+ readonly name: "handleGetRequestTimeouts";
129
+ readonly outputs: readonly [];
130
+ readonly stateMutability: "nonpayable";
131
+ readonly type: "function";
132
+ }, {
133
+ readonly inputs: readonly [{
134
+ readonly internalType: "contract IIsmpHost";
135
+ readonly name: "host";
136
+ readonly type: "address";
137
+ }, {
138
+ readonly components: readonly [{
139
+ readonly components: readonly [{
140
+ readonly components: readonly [{
141
+ readonly internalType: "uint256";
142
+ readonly name: "stateMachineId";
143
+ readonly type: "uint256";
144
+ }, {
145
+ readonly internalType: "uint256";
146
+ readonly name: "height";
147
+ readonly type: "uint256";
148
+ }];
149
+ readonly internalType: "struct StateMachineHeight";
150
+ readonly name: "height";
151
+ readonly type: "tuple";
152
+ }, {
153
+ readonly internalType: "bytes32[]";
154
+ readonly name: "multiproof";
155
+ readonly type: "bytes32[]";
156
+ }, {
157
+ readonly internalType: "uint256";
158
+ readonly name: "leafCount";
159
+ readonly type: "uint256";
160
+ }];
161
+ readonly internalType: "struct Proof";
162
+ readonly name: "proof";
163
+ readonly type: "tuple";
164
+ }, {
165
+ readonly components: readonly [{
166
+ readonly components: readonly [{
167
+ readonly components: readonly [{
168
+ readonly internalType: "bytes";
169
+ readonly name: "source";
170
+ readonly type: "bytes";
171
+ }, {
172
+ readonly internalType: "bytes";
173
+ readonly name: "dest";
174
+ readonly type: "bytes";
175
+ }, {
176
+ readonly internalType: "uint64";
177
+ readonly name: "nonce";
178
+ readonly type: "uint64";
179
+ }, {
180
+ readonly internalType: "address";
181
+ readonly name: "from";
182
+ readonly type: "address";
183
+ }, {
184
+ readonly internalType: "uint64";
185
+ readonly name: "timeoutTimestamp";
186
+ readonly type: "uint64";
187
+ }, {
188
+ readonly internalType: "bytes[]";
189
+ readonly name: "keys";
190
+ readonly type: "bytes[]";
191
+ }, {
192
+ readonly internalType: "uint64";
193
+ readonly name: "height";
194
+ readonly type: "uint64";
195
+ }, {
196
+ readonly internalType: "bytes";
197
+ readonly name: "context";
198
+ readonly type: "bytes";
199
+ }];
200
+ readonly internalType: "struct GetRequest";
201
+ readonly name: "request";
202
+ readonly type: "tuple";
203
+ }, {
204
+ readonly components: readonly [{
205
+ readonly internalType: "bytes";
206
+ readonly name: "key";
207
+ readonly type: "bytes";
208
+ }, {
209
+ readonly internalType: "bytes";
210
+ readonly name: "value";
211
+ readonly type: "bytes";
212
+ }];
213
+ readonly internalType: "struct StorageValue[]";
214
+ readonly name: "values";
215
+ readonly type: "tuple[]";
216
+ }];
217
+ readonly internalType: "struct GetResponse";
218
+ readonly name: "response";
219
+ readonly type: "tuple";
220
+ }, {
221
+ readonly internalType: "uint256";
222
+ readonly name: "index";
223
+ readonly type: "uint256";
224
+ }, {
225
+ readonly internalType: "uint256";
226
+ readonly name: "kIndex";
227
+ readonly type: "uint256";
228
+ }];
229
+ readonly internalType: "struct GetResponseLeaf[]";
230
+ readonly name: "responses";
231
+ readonly type: "tuple[]";
232
+ }];
233
+ readonly internalType: "struct GetResponseMessage";
234
+ readonly name: "message";
235
+ readonly type: "tuple";
236
+ }];
237
+ readonly name: "handleGetResponses";
238
+ readonly outputs: readonly [];
239
+ readonly stateMutability: "nonpayable";
240
+ readonly type: "function";
241
+ }, {
242
+ readonly inputs: readonly [{
243
+ readonly internalType: "contract IIsmpHost";
244
+ readonly name: "host";
245
+ readonly type: "address";
246
+ }, {
247
+ readonly components: readonly [{
248
+ readonly components: readonly [{
249
+ readonly internalType: "bytes";
250
+ readonly name: "source";
251
+ readonly type: "bytes";
252
+ }, {
253
+ readonly internalType: "bytes";
254
+ readonly name: "dest";
255
+ readonly type: "bytes";
256
+ }, {
257
+ readonly internalType: "uint64";
258
+ readonly name: "nonce";
259
+ readonly type: "uint64";
260
+ }, {
261
+ readonly internalType: "bytes";
262
+ readonly name: "from";
263
+ readonly type: "bytes";
264
+ }, {
265
+ readonly internalType: "bytes";
266
+ readonly name: "to";
267
+ readonly type: "bytes";
268
+ }, {
269
+ readonly internalType: "uint64";
270
+ readonly name: "timeoutTimestamp";
271
+ readonly type: "uint64";
272
+ }, {
273
+ readonly internalType: "bytes";
274
+ readonly name: "body";
275
+ readonly type: "bytes";
276
+ }];
277
+ readonly internalType: "struct PostRequest[]";
278
+ readonly name: "timeouts";
279
+ readonly type: "tuple[]";
280
+ }, {
281
+ readonly components: readonly [{
282
+ readonly internalType: "uint256";
283
+ readonly name: "stateMachineId";
284
+ readonly type: "uint256";
285
+ }, {
286
+ readonly internalType: "uint256";
287
+ readonly name: "height";
288
+ readonly type: "uint256";
289
+ }];
290
+ readonly internalType: "struct StateMachineHeight";
291
+ readonly name: "height";
292
+ readonly type: "tuple";
293
+ }, {
294
+ readonly internalType: "bytes[]";
295
+ readonly name: "proof";
296
+ readonly type: "bytes[]";
297
+ }];
298
+ readonly internalType: "struct PostRequestTimeoutMessage";
299
+ readonly name: "message";
300
+ readonly type: "tuple";
301
+ }];
302
+ readonly name: "handlePostRequestTimeouts";
303
+ readonly outputs: readonly [];
304
+ readonly stateMutability: "nonpayable";
305
+ readonly type: "function";
306
+ }, {
307
+ readonly inputs: readonly [{
308
+ readonly internalType: "contract IIsmpHost";
309
+ readonly name: "host";
310
+ readonly type: "address";
311
+ }, {
312
+ readonly components: readonly [{
313
+ readonly components: readonly [{
314
+ readonly components: readonly [{
315
+ readonly internalType: "uint256";
316
+ readonly name: "stateMachineId";
317
+ readonly type: "uint256";
318
+ }, {
319
+ readonly internalType: "uint256";
320
+ readonly name: "height";
321
+ readonly type: "uint256";
322
+ }];
323
+ readonly internalType: "struct StateMachineHeight";
324
+ readonly name: "height";
325
+ readonly type: "tuple";
326
+ }, {
327
+ readonly internalType: "bytes32[]";
328
+ readonly name: "multiproof";
329
+ readonly type: "bytes32[]";
330
+ }, {
331
+ readonly internalType: "uint256";
332
+ readonly name: "leafCount";
333
+ readonly type: "uint256";
334
+ }];
335
+ readonly internalType: "struct Proof";
336
+ readonly name: "proof";
337
+ readonly type: "tuple";
338
+ }, {
339
+ readonly components: readonly [{
340
+ readonly components: readonly [{
341
+ readonly internalType: "bytes";
342
+ readonly name: "source";
343
+ readonly type: "bytes";
344
+ }, {
345
+ readonly internalType: "bytes";
346
+ readonly name: "dest";
347
+ readonly type: "bytes";
348
+ }, {
349
+ readonly internalType: "uint64";
350
+ readonly name: "nonce";
351
+ readonly type: "uint64";
352
+ }, {
353
+ readonly internalType: "bytes";
354
+ readonly name: "from";
355
+ readonly type: "bytes";
356
+ }, {
357
+ readonly internalType: "bytes";
358
+ readonly name: "to";
359
+ readonly type: "bytes";
360
+ }, {
361
+ readonly internalType: "uint64";
362
+ readonly name: "timeoutTimestamp";
363
+ readonly type: "uint64";
364
+ }, {
365
+ readonly internalType: "bytes";
366
+ readonly name: "body";
367
+ readonly type: "bytes";
368
+ }];
369
+ readonly internalType: "struct PostRequest";
370
+ readonly name: "request";
371
+ readonly type: "tuple";
372
+ }, {
373
+ readonly internalType: "uint256";
374
+ readonly name: "index";
375
+ readonly type: "uint256";
376
+ }, {
377
+ readonly internalType: "uint256";
378
+ readonly name: "kIndex";
379
+ readonly type: "uint256";
380
+ }];
381
+ readonly internalType: "struct PostRequestLeaf[]";
382
+ readonly name: "requests";
383
+ readonly type: "tuple[]";
384
+ }];
385
+ readonly internalType: "struct PostRequestMessage";
386
+ readonly name: "request";
387
+ readonly type: "tuple";
388
+ }];
389
+ readonly name: "handlePostRequests";
390
+ readonly outputs: readonly [];
391
+ readonly stateMutability: "nonpayable";
392
+ readonly type: "function";
393
+ }, {
394
+ readonly inputs: readonly [{
395
+ readonly internalType: "contract IIsmpHost";
396
+ readonly name: "host";
397
+ readonly type: "address";
398
+ }, {
399
+ readonly components: readonly [{
400
+ readonly components: readonly [{
401
+ readonly components: readonly [{
402
+ readonly internalType: "bytes";
403
+ readonly name: "source";
404
+ readonly type: "bytes";
405
+ }, {
406
+ readonly internalType: "bytes";
407
+ readonly name: "dest";
408
+ readonly type: "bytes";
409
+ }, {
410
+ readonly internalType: "uint64";
411
+ readonly name: "nonce";
412
+ readonly type: "uint64";
413
+ }, {
414
+ readonly internalType: "bytes";
415
+ readonly name: "from";
416
+ readonly type: "bytes";
417
+ }, {
418
+ readonly internalType: "bytes";
419
+ readonly name: "to";
420
+ readonly type: "bytes";
421
+ }, {
422
+ readonly internalType: "uint64";
423
+ readonly name: "timeoutTimestamp";
424
+ readonly type: "uint64";
425
+ }, {
426
+ readonly internalType: "bytes";
427
+ readonly name: "body";
428
+ readonly type: "bytes";
429
+ }];
430
+ readonly internalType: "struct PostRequest";
431
+ readonly name: "request";
432
+ readonly type: "tuple";
433
+ }, {
434
+ readonly internalType: "bytes";
435
+ readonly name: "response";
436
+ readonly type: "bytes";
437
+ }, {
438
+ readonly internalType: "uint64";
439
+ readonly name: "timeoutTimestamp";
440
+ readonly type: "uint64";
441
+ }];
442
+ readonly internalType: "struct PostResponse[]";
443
+ readonly name: "timeouts";
444
+ readonly type: "tuple[]";
445
+ }, {
446
+ readonly components: readonly [{
447
+ readonly internalType: "uint256";
448
+ readonly name: "stateMachineId";
449
+ readonly type: "uint256";
450
+ }, {
451
+ readonly internalType: "uint256";
452
+ readonly name: "height";
453
+ readonly type: "uint256";
454
+ }];
455
+ readonly internalType: "struct StateMachineHeight";
456
+ readonly name: "height";
457
+ readonly type: "tuple";
458
+ }, {
459
+ readonly internalType: "bytes[]";
460
+ readonly name: "proof";
461
+ readonly type: "bytes[]";
462
+ }];
463
+ readonly internalType: "struct PostResponseTimeoutMessage";
464
+ readonly name: "message";
465
+ readonly type: "tuple";
466
+ }];
467
+ readonly name: "handlePostResponseTimeouts";
468
+ readonly outputs: readonly [];
469
+ readonly stateMutability: "nonpayable";
470
+ readonly type: "function";
471
+ }, {
472
+ readonly inputs: readonly [{
473
+ readonly internalType: "contract IIsmpHost";
474
+ readonly name: "host";
475
+ readonly type: "address";
476
+ }, {
477
+ readonly components: readonly [{
478
+ readonly components: readonly [{
479
+ readonly components: readonly [{
480
+ readonly internalType: "uint256";
481
+ readonly name: "stateMachineId";
482
+ readonly type: "uint256";
483
+ }, {
484
+ readonly internalType: "uint256";
485
+ readonly name: "height";
486
+ readonly type: "uint256";
487
+ }];
488
+ readonly internalType: "struct StateMachineHeight";
489
+ readonly name: "height";
490
+ readonly type: "tuple";
491
+ }, {
492
+ readonly internalType: "bytes32[]";
493
+ readonly name: "multiproof";
494
+ readonly type: "bytes32[]";
495
+ }, {
496
+ readonly internalType: "uint256";
497
+ readonly name: "leafCount";
498
+ readonly type: "uint256";
499
+ }];
500
+ readonly internalType: "struct Proof";
501
+ readonly name: "proof";
502
+ readonly type: "tuple";
503
+ }, {
504
+ readonly components: readonly [{
505
+ readonly components: readonly [{
506
+ readonly components: readonly [{
507
+ readonly internalType: "bytes";
508
+ readonly name: "source";
509
+ readonly type: "bytes";
510
+ }, {
511
+ readonly internalType: "bytes";
512
+ readonly name: "dest";
513
+ readonly type: "bytes";
514
+ }, {
515
+ readonly internalType: "uint64";
516
+ readonly name: "nonce";
517
+ readonly type: "uint64";
518
+ }, {
519
+ readonly internalType: "bytes";
520
+ readonly name: "from";
521
+ readonly type: "bytes";
522
+ }, {
523
+ readonly internalType: "bytes";
524
+ readonly name: "to";
525
+ readonly type: "bytes";
526
+ }, {
527
+ readonly internalType: "uint64";
528
+ readonly name: "timeoutTimestamp";
529
+ readonly type: "uint64";
530
+ }, {
531
+ readonly internalType: "bytes";
532
+ readonly name: "body";
533
+ readonly type: "bytes";
534
+ }];
535
+ readonly internalType: "struct PostRequest";
536
+ readonly name: "request";
537
+ readonly type: "tuple";
538
+ }, {
539
+ readonly internalType: "bytes";
540
+ readonly name: "response";
541
+ readonly type: "bytes";
542
+ }, {
543
+ readonly internalType: "uint64";
544
+ readonly name: "timeoutTimestamp";
545
+ readonly type: "uint64";
546
+ }];
547
+ readonly internalType: "struct PostResponse";
548
+ readonly name: "response";
549
+ readonly type: "tuple";
550
+ }, {
551
+ readonly internalType: "uint256";
552
+ readonly name: "index";
553
+ readonly type: "uint256";
554
+ }, {
555
+ readonly internalType: "uint256";
556
+ readonly name: "kIndex";
557
+ readonly type: "uint256";
558
+ }];
559
+ readonly internalType: "struct PostResponseLeaf[]";
560
+ readonly name: "responses";
561
+ readonly type: "tuple[]";
562
+ }];
563
+ readonly internalType: "struct PostResponseMessage";
564
+ readonly name: "response";
565
+ readonly type: "tuple";
566
+ }];
567
+ readonly name: "handlePostResponses";
568
+ readonly outputs: readonly [];
569
+ readonly stateMutability: "nonpayable";
570
+ readonly type: "function";
571
+ }, {
572
+ readonly inputs: readonly [{
573
+ readonly internalType: "bytes4";
574
+ readonly name: "interfaceId";
575
+ readonly type: "bytes4";
576
+ }];
577
+ readonly name: "supportsInterface";
578
+ readonly outputs: readonly [{
579
+ readonly internalType: "bool";
580
+ readonly name: "";
581
+ readonly type: "bool";
582
+ }];
583
+ readonly stateMutability: "view";
584
+ readonly type: "function";
585
+ }];
586
+ };
587
+
588
+ type EstimateGasCallData = ContractFunctionArgs<typeof _default.ABI, 'nonpayable' | 'payable', "handlePostRequests">;
8
589
  type HexString = `0x${string}`;
9
590
  interface IConfig {
10
591
  source: IEvmConfig | ISubstrateConfig;
@@ -73,6 +654,9 @@ interface ClientConfig {
73
654
  }
74
655
  interface RetryConfig {
75
656
  maxRetries: number;
657
+ /**
658
+ * @description The initial backoff time in milliseconds before the first retry attempt.
659
+ */
76
660
  backoffMs: number;
77
661
  logMessage?: string;
78
662
  logger?: ConsolaInstance;
@@ -980,10 +1564,6 @@ interface TokenRegistryResponse {
980
1564
  }>;
981
1565
  };
982
1566
  }
983
- declare class AbortSignalInternal extends Error {
984
- constructor(message: string);
985
- static isError(error: unknown): error is AbortSignalInternal;
986
- }
987
1567
 
988
1568
  declare class ChainConfigService {
989
1569
  private rpcUrls;
@@ -1257,7 +1837,10 @@ declare function estimateGasForPost(params: {
1257
1837
  sourceClient: PublicClient;
1258
1838
  hostLatestStateMachineHeight: bigint;
1259
1839
  hostAddress: HexString;
1260
- }): Promise<bigint>;
1840
+ }): Promise<{
1841
+ gas_fee: bigint;
1842
+ call_data: EstimateGasCallData;
1843
+ }>;
1261
1844
  /**
1262
1845
  * Constructs the request body for a redeem escrow operation.
1263
1846
  * This function encodes the order commitment, beneficiary address, and token inputs
@@ -1407,7 +1990,7 @@ declare class SubstrateChain implements IChain {
1407
1990
  latestStateMachineHeight(stateMachineId: StateMachineIdParams): Promise<bigint>;
1408
1991
  /**
1409
1992
  * Get the state machine update time for a given state machine height.
1410
- * @param {StateMachineHeight} stateMachineheight - The state machine height.
1993
+ * @param {StateMachineHeight} stateMachineHeight - The state machine height.
1411
1994
  * @returns {Promise<bigint>} The statemachine update time in seconds.
1412
1995
  */
1413
1996
  stateMachineUpdateTime(stateMachineHeight: StateMachineHeight): Promise<bigint>;
@@ -2271,4 +2854,4 @@ declare const consensusStateIds: {
2271
2854
  "EVM-56": string;
2272
2855
  };
2273
2856
 
2274
- export { ADDRESS_ZERO, AbortSignalInternal, type AllStatusKey, type AssetTeleported, type AssetTeleportedResponse, type BlockMetadata, type CancelOptions, type ChainConfig, ChainConfigService, type ChainId, Chains, type ClientConfig, DEFAULT_ADDRESS, DUMMY_PRIVATE_KEY, type DecodedOrderPlacedLog, type DispatchGet, type DispatchPost, ERC20Method, EvmChain, type EvmChainParams, type ExecutionResult, type FillOptions, type FillerConfig, type GetRequestResponse, type GetRequestWithStatus, type GetResponseByRequestIdResponse, type GetResponseStorageValues, type HexString, type HostParams, HyperClientStatus, type HyperbridgeTxEvents, type IChain, type IConfig, type IEvmConfig, type IGetRequest, type IGetRequestMessage, type IGetResponse, type IGetResponseMessage, type IHyperbridgeConfig, type IIsmpMessage, type IMessage, type IPostRequest, type IPostResponse, type IProof, type IRequestMessage, type ISubstrateConfig, type ITimeoutPostRequestMessage, IndexerClient, type IndexerQueryClient, IntentGateway, type IntentGatewayParams, type IsmpRequest, type NewDeployment, type Order, type OrderResponse, OrderStatus, type OrderStatusMetadata, type OrderWithStatus, type Params, type PaymentInfo, type PostRequestStatus, type PostRequestTimeoutStatus, type PostRequestWithStatus, REQUEST_COMMITMENTS_SLOT, REQUEST_RECEIPTS_SLOT, RESPONSE_COMMITMENTS_SLOT, RESPONSE_RECEIPTS_SLOT, type RequestBody, type RequestCommitment, RequestKind, type RequestResponse, RequestStatus, type RequestStatusKey, type RequestStatusWithMetadata, type ResponseCommitmentWithValues, type RetryConfig, STATE_COMMITMENTS_SLOT, type StateMachineHeight, type StateMachineIdParams, type StateMachineResponse, type StateMachineUpdate, SubstrateChain, type SubstrateChainParams, TeleportStatus, TimeoutStatus, type TimeoutStatusKey, type TokenGatewayAssetTeleportedResponse, type TokenGatewayAssetTeleportedWithStatus, type TokenInfo, type TokenPrice, type TokenPricesResponse, type TokenRegistry, type TokenRegistryResponse, WrappedNativeDecimals, type XcmGatewayParams, __test, addresses, adjustFeeDecimals, assets, bytes20ToBytes32, bytes32ToBytes20, chainIds, consensusStateIds, constructRedeemEscrowRequestBody, convertStateMachineIdToEnum, createQueryClient, createRpcUrls, encodeISMPMessage, estimateGasForPost, fetchTokenUsdPrice, generateRootWithProof, getChain, getRequestCommitment, getStateCommitmentFieldSlot, getStateCommitmentSlot, getStorageSlot, hexToString, orderCommitment, postRequestCommitment, queryGetRequest, queryPostRequest, teleport, teleportDot, viemChains };
2857
+ export { ADDRESS_ZERO, type AllStatusKey, type AssetTeleported, type AssetTeleportedResponse, type BlockMetadata, type CancelOptions, type ChainConfig, ChainConfigService, type ChainId, Chains, type ClientConfig, DEFAULT_ADDRESS, DUMMY_PRIVATE_KEY, type DecodedOrderPlacedLog, type DispatchGet, type DispatchPost, ERC20Method, type EstimateGasCallData, EvmChain, type EvmChainParams, type ExecutionResult, type FillOptions, type FillerConfig, type GetRequestResponse, type GetRequestWithStatus, type GetResponseByRequestIdResponse, type GetResponseStorageValues, type HexString, type HostParams, HyperClientStatus, type HyperbridgeTxEvents, type IChain, type IConfig, type IEvmConfig, type IGetRequest, type IGetRequestMessage, type IGetResponse, type IGetResponseMessage, type IHyperbridgeConfig, type IIsmpMessage, type IMessage, type IPostRequest, type IPostResponse, type IProof, type IRequestMessage, type ISubstrateConfig, type ITimeoutPostRequestMessage, IndexerClient, type IndexerQueryClient, IntentGateway, type IntentGatewayParams, type IsmpRequest, type NewDeployment, type Order, type OrderResponse, OrderStatus, type OrderStatusMetadata, type OrderWithStatus, type Params, type PaymentInfo, type PostRequestStatus, type PostRequestTimeoutStatus, type PostRequestWithStatus, REQUEST_COMMITMENTS_SLOT, REQUEST_RECEIPTS_SLOT, RESPONSE_COMMITMENTS_SLOT, RESPONSE_RECEIPTS_SLOT, type RequestBody, type RequestCommitment, RequestKind, type RequestResponse, RequestStatus, type RequestStatusKey, type RequestStatusWithMetadata, type ResponseCommitmentWithValues, type RetryConfig, STATE_COMMITMENTS_SLOT, type StateMachineHeight, type StateMachineIdParams, type StateMachineResponse, type StateMachineUpdate, SubstrateChain, type SubstrateChainParams, TeleportStatus, TimeoutStatus, type TimeoutStatusKey, type TokenGatewayAssetTeleportedResponse, type TokenGatewayAssetTeleportedWithStatus, type TokenInfo, type TokenPrice, type TokenPricesResponse, type TokenRegistry, type TokenRegistryResponse, WrappedNativeDecimals, type XcmGatewayParams, __test, addresses, adjustFeeDecimals, assets, bytes20ToBytes32, bytes32ToBytes20, chainIds, consensusStateIds, constructRedeemEscrowRequestBody, convertStateMachineIdToEnum, createQueryClient, createRpcUrls, encodeISMPMessage, estimateGasForPost, fetchTokenUsdPrice, generateRootWithProof, getChain, getRequestCommitment, getStateCommitmentFieldSlot, getStateCommitmentSlot, getStorageSlot, hexToString, orderCommitment, postRequestCommitment, queryGetRequest, queryPostRequest, teleport, teleportDot, viemChains };