@skip-go/client 1.5.3-alpha.1 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/dist/cjs/api/getAssets.cjs +5 -5
  2. package/dist/cjs/api/getAssetsBetweenChains.cjs +4 -4
  3. package/dist/cjs/api/getBridges.cjs +4 -4
  4. package/dist/cjs/api/getChains.cjs +4 -4
  5. package/dist/cjs/api/getVenues.cjs +4 -4
  6. package/dist/cjs/api/postAssetsFromSource.cjs +5 -5
  7. package/dist/cjs/api/postBalances.cjs +4 -4
  8. package/dist/cjs/api/postIbcOriginAssets.cjs +4 -4
  9. package/dist/cjs/api/postMessages.cjs +4 -4
  10. package/dist/cjs/api/postMessagesDirect.cjs +4 -4
  11. package/dist/cjs/api/postRecommendAssets.cjs +4 -4
  12. package/dist/cjs/api/postRoute.cjs +4 -4
  13. package/dist/cjs/api/postSubmitTransaction.cjs +4 -4
  14. package/dist/cjs/api/postTrackTransaction.cjs +4 -4
  15. package/dist/cjs/api/postTransactionStatus.cjs +4 -4
  16. package/dist/cjs/{chunk-HFEMNOJS.cjs → chunk-2QPPD3BB.cjs} +3 -0
  17. package/dist/cjs/{chunk-7SZZBUBD.cjs → chunk-2SA3OAIJ.cjs} +3 -3
  18. package/dist/cjs/{chunk-APJDSXWR.cjs → chunk-3RPOC3AX.cjs} +12 -12
  19. package/dist/cjs/chunk-4BWE7SOV.cjs +68 -0
  20. package/dist/cjs/{chunk-FF5UWES6.cjs → chunk-4GHUZDDP.cjs} +4 -4
  21. package/dist/cjs/{chunk-KM2D7PJL.cjs → chunk-4TBONPD6.cjs} +33 -33
  22. package/dist/cjs/chunk-5JS6DMVZ.cjs +214 -0
  23. package/dist/cjs/{chunk-NWD4MAMT.cjs → chunk-5KWNKICM.cjs} +4 -10
  24. package/dist/cjs/{chunk-I2FDWZZJ.cjs → chunk-67WZP4PA.cjs} +106 -807
  25. package/dist/cjs/{chunk-WKYP2NMS.cjs → chunk-6W2OIU3O.cjs} +15 -15
  26. package/dist/cjs/{chunk-PDTIT3JO.cjs → chunk-7CFJPJJ2.cjs} +22 -22
  27. package/dist/cjs/chunk-7HDLYDAS.cjs +55 -0
  28. package/dist/cjs/{chunk-AW6IQ7JH.cjs → chunk-A5S6SIYN.cjs} +2 -2
  29. package/dist/cjs/{chunk-ZBJZTBIW.cjs → chunk-ASDMDYTC.cjs} +2 -2
  30. package/dist/cjs/{chunk-QAHHTQ7V.cjs → chunk-ATW6UNT5.cjs} +4 -4
  31. package/dist/cjs/{chunk-PLO5CVGN.cjs → chunk-AUTOIM57.cjs} +2 -2
  32. package/dist/cjs/{chunk-KWH6S7PB.cjs → chunk-CK6CQWQU.cjs} +6 -6
  33. package/dist/cjs/{chunk-RC73RNNQ.cjs → chunk-EGFH6FEG.cjs} +4 -4
  34. package/dist/cjs/{chunk-T5EGKQAT.cjs → chunk-FCTBCHOT.cjs} +2 -2
  35. package/dist/cjs/{chunk-S3BKLN4L.cjs → chunk-IJIBMN2F.cjs} +2 -2
  36. package/dist/cjs/{chunk-262HFM6V.cjs → chunk-JRXPJ45U.cjs} +2 -2
  37. package/dist/cjs/chunk-KZOSEIWH.cjs +10 -0
  38. package/dist/cjs/{chunk-3M7YYWGL.cjs → chunk-MUJBB64F.cjs} +3 -7
  39. package/dist/cjs/{chunk-3NHW3XWK.cjs → chunk-NCFH5MGF.cjs} +2 -2
  40. package/dist/cjs/{chunk-DWOE6N5S.cjs → chunk-NM4PISTQ.cjs} +189 -188
  41. package/dist/cjs/{chunk-4MV4GLIA.cjs → chunk-OJISEAMX.cjs} +2 -2
  42. package/dist/cjs/{chunk-JWWJIJUE.cjs → chunk-PDNKS5R2.cjs} +2 -2
  43. package/dist/cjs/{chunk-RBM66GW6.cjs → chunk-UXW4XVHF.cjs} +2 -2
  44. package/dist/cjs/chunk-VEEDEDME.cjs +454 -0
  45. package/dist/cjs/{chunk-DLT6Q6RB.cjs → chunk-WOSAJSJB.cjs} +163 -149
  46. package/dist/cjs/{chunk-XCFPRLX3.cjs → chunk-WRTBZRHG.cjs} +161 -161
  47. package/dist/cjs/{chunk-BCX2D6TE.cjs → chunk-ZHV4J6EM.cjs} +55 -23
  48. package/dist/cjs/index.cjs +123 -115
  49. package/dist/cjs/public-functions/executeMultipleRoutes.cjs +19 -29
  50. package/dist/cjs/public-functions/executeRoute.cjs +19 -29
  51. package/dist/cjs/public-functions/getCosmosGasAmountForMessage.cjs +5 -5
  52. package/dist/cjs/public-functions/getEvmGasAmountForMessage.cjs +1 -1
  53. package/dist/cjs/public-functions/getFeeInfoForChain.cjs +6 -5
  54. package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +8 -7
  55. package/dist/cjs/public-functions/getRouteWithGasOnReceive.cjs +33 -29
  56. package/dist/cjs/public-functions/getSigningStargateClient.cjs +6 -6
  57. package/dist/cjs/public-functions/setApiOptions.cjs +4 -4
  58. package/dist/cjs/public-functions/setClientOptions.cjs +7 -7
  59. package/dist/cjs/public-functions/subscribeToRouteStatus.cjs +9 -9
  60. package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +10 -10
  61. package/dist/cjs/public-functions/waitForTransaction.cjs +10 -6
  62. package/dist/esm/api/getAssets.d.ts +1 -1
  63. package/dist/esm/api/getAssets.js +3 -3
  64. package/dist/esm/api/getAssetsBetweenChains.d.ts +1 -1
  65. package/dist/esm/api/getAssetsBetweenChains.js +3 -3
  66. package/dist/esm/api/getBridges.d.ts +1 -1
  67. package/dist/esm/api/getBridges.js +3 -3
  68. package/dist/esm/api/getChains.d.ts +1 -1
  69. package/dist/esm/api/getChains.js +3 -3
  70. package/dist/esm/api/getVenues.js +3 -3
  71. package/dist/esm/api/postAssetsFromSource.d.ts +1 -1
  72. package/dist/esm/api/postAssetsFromSource.js +4 -4
  73. package/dist/esm/api/postBalances.d.ts +2 -2
  74. package/dist/esm/api/postBalances.js +3 -3
  75. package/dist/esm/api/postIbcOriginAssets.js +3 -3
  76. package/dist/esm/api/postMessages.d.ts +2 -2
  77. package/dist/esm/api/postMessages.js +3 -3
  78. package/dist/esm/api/postMessagesDirect.d.ts +1 -1
  79. package/dist/esm/api/postMessagesDirect.js +3 -3
  80. package/dist/esm/api/postRecommendAssets.d.ts +1 -1
  81. package/dist/esm/api/postRecommendAssets.js +3 -3
  82. package/dist/esm/api/postRoute.d.ts +2 -2
  83. package/dist/esm/api/postRoute.js +3 -3
  84. package/dist/esm/api/postSubmitTransaction.d.ts +2 -2
  85. package/dist/esm/api/postSubmitTransaction.js +3 -3
  86. package/dist/esm/api/postTrackTransaction.d.ts +2 -2
  87. package/dist/esm/api/postTrackTransaction.js +3 -3
  88. package/dist/esm/api/postTransactionStatus.d.ts +72 -68
  89. package/dist/esm/api/postTransactionStatus.js +3 -3
  90. package/dist/esm/{callbacks-C-KUJnDv.d.ts → callbacks-CZNSHCBb.d.ts} +5 -5
  91. package/dist/esm/chunk-22LYQHMA.js +53 -0
  92. package/dist/esm/{chunk-YLVUKXLR.js → chunk-3JHLVPRG.js} +1 -1
  93. package/dist/esm/chunk-763YPOJQ.js +431 -0
  94. package/dist/esm/chunk-7OHBD7I6.js +212 -0
  95. package/dist/esm/{chunk-FNTPI2AV.js → chunk-A5NZMSTI.js} +1 -1
  96. package/dist/esm/{chunk-QRKO56DH.js → chunk-BJKCMEMJ.js} +3 -8
  97. package/dist/esm/chunk-E4NRDAVO.js +65 -0
  98. package/dist/esm/{chunk-HDW6XFWX.js → chunk-ETBJVFQP.js} +1 -1
  99. package/dist/esm/{chunk-UIDIKXMB.js → chunk-F2LQB2DP.js} +6 -5
  100. package/dist/esm/{chunk-VGCTTJO7.js → chunk-F66EKL3W.js} +3 -0
  101. package/dist/esm/{chunk-V7VKYD4J.js → chunk-G63PICMU.js} +2 -2
  102. package/dist/esm/{chunk-KNXMSLOB.js → chunk-GLH7IRLX.js} +2 -2
  103. package/dist/esm/{chunk-RFJYCJK4.js → chunk-HNU2Y3JI.js} +1 -1
  104. package/dist/esm/{chunk-QL423UEF.js → chunk-HP5EMWC6.js} +163 -149
  105. package/dist/esm/{chunk-MYGJGC62.js → chunk-J24LYWJE.js} +1 -1
  106. package/dist/esm/{chunk-JYYCFKB4.js → chunk-KS764SOZ.js} +15 -15
  107. package/dist/esm/{chunk-SFWTQBQT.js → chunk-KXS5UH7E.js} +4 -4
  108. package/dist/esm/{chunk-VWOMKMH2.js → chunk-KZKAL5ZN.js} +1 -1
  109. package/dist/esm/{chunk-IKWC55JU.js → chunk-LAGER3PR.js} +61 -740
  110. package/dist/esm/{chunk-3WFXBPS2.js → chunk-N4PTRCNT.js} +1 -1
  111. package/dist/esm/{chunk-IHSSWY3M.js → chunk-P36PE4CR.js} +1 -1
  112. package/dist/esm/{chunk-UBVBVJPY.js → chunk-QYXGDTUU.js} +1 -1
  113. package/dist/esm/{chunk-QO2CYYF5.js → chunk-RTDD7HZ3.js} +4 -7
  114. package/dist/esm/chunk-SWYON2RG.js +7 -0
  115. package/dist/esm/{chunk-AUNRER4I.js → chunk-SXBG57J3.js} +1 -1
  116. package/dist/esm/{chunk-HELQO7PA.js → chunk-TGTOO2ZQ.js} +2 -2
  117. package/dist/esm/{chunk-6M7N6EAO.js → chunk-TON3V7SK.js} +14 -14
  118. package/dist/esm/{chunk-KXQ2ASHQ.js → chunk-UHCKOKBM.js} +1 -1
  119. package/dist/esm/{chunk-YGQ4NKTM.js → chunk-UN46DUOV.js} +1 -1
  120. package/dist/esm/{chunk-2PWROHHX.js → chunk-VMEHGKH7.js} +2 -2
  121. package/dist/esm/{chunk-5IXH2QPF.js → chunk-WRPS6WK2.js} +52 -20
  122. package/dist/esm/{chunk-44IX6KPJ.js → chunk-XNU3TKKM.js} +1 -1
  123. package/dist/esm/{client-types-CGMuZ3zo.d.ts → client-types-BX_0924O.d.ts} +1 -1
  124. package/dist/esm/{generateApi-D_-Gso-x.d.ts → generateApi-Clc85Kxw.d.ts} +1 -1
  125. package/dist/esm/index.d.ts +264 -261
  126. package/dist/esm/index.js +32 -28
  127. package/dist/esm/public-functions/executeMultipleRoutes.d.ts +4 -4
  128. package/dist/esm/public-functions/executeMultipleRoutes.js +18 -28
  129. package/dist/esm/public-functions/executeRoute.d.ts +4 -4
  130. package/dist/esm/public-functions/executeRoute.js +18 -28
  131. package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
  132. package/dist/esm/public-functions/getCosmosGasAmountForMessage.js +3 -3
  133. package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +3 -3
  134. package/dist/esm/public-functions/getEvmGasAmountForMessage.js +1 -1
  135. package/dist/esm/public-functions/getFeeInfoForChain.d.ts +1 -1
  136. package/dist/esm/public-functions/getFeeInfoForChain.js +5 -4
  137. package/dist/esm/public-functions/getRecommendedGasPrice.js +7 -6
  138. package/dist/esm/public-functions/getRouteWithGasOnReceive.d.ts +1 -1
  139. package/dist/esm/public-functions/getRouteWithGasOnReceive.js +32 -28
  140. package/dist/esm/public-functions/getSigningStargateClient.js +5 -5
  141. package/dist/esm/public-functions/setApiOptions.d.ts +1 -1
  142. package/dist/esm/public-functions/setApiOptions.js +3 -3
  143. package/dist/esm/public-functions/setClientOptions.d.ts +4 -4
  144. package/dist/esm/public-functions/setClientOptions.js +6 -6
  145. package/dist/esm/public-functions/subscribeToRouteStatus.d.ts +4 -4
  146. package/dist/esm/public-functions/subscribeToRouteStatus.js +5 -5
  147. package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +4 -4
  148. package/dist/esm/public-functions/validateCosmosGasBalance.js +9 -9
  149. package/dist/esm/public-functions/waitForTransaction.d.ts +712 -74
  150. package/dist/esm/public-functions/waitForTransaction.js +5 -5
  151. package/dist/esm/{setClientOptions-C8g92xTm.d.ts → setClientOptions-DD5Mzkw_.d.ts} +3 -3
  152. package/dist/esm/{swaggerTypes-B_jKfpvz.d.ts → swaggerTypes-Dr4I6vW2.d.ts} +260 -256
  153. package/package.json +5 -5
  154. package/dist/cjs/chunk-4NGHNHAS.cjs +0 -46
  155. package/dist/esm/chunk-TNIGHYH2.js +0 -44
@@ -1,20 +1,24 @@
1
- import { aJ as TransactionState, al as PacketErrorType, aS as TransferState, k as AxelarTransferState, O as ContractCallWithTokenErrorType, as as SendTokenErrorType, l as AxelarTransferType, p as CCTPTransferState, a8 as HyperlaneTransferState, aO as OPInitTransferState, s as StargateTransferState, w as GoFastTransferState, aP as LayerZeroTransferState, av as StatusErrorType } from '../swaggerTypes-B_jKfpvz.js';
2
- import { h as TransactionCallbacks } from '../callbacks-C-KUJnDv.js';
3
- import { T as TxResult } from '../client-types-CGMuZ3zo.js';
4
- import '../api/postTransactionStatus.js';
5
- import '../generateApi-D_-Gso-x.js';
6
- import '../apiState-1VvikVK-.js';
1
+ import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-Dr4I6vW2.js';
2
+ import { h as TransactionCallbacks } from '../callbacks-CZNSHCBb.js';
3
+ import { T as TxResult } from '../client-types-BX_0924O.js';
4
+ import { TxStatusResponse } from '../api/postTransactionStatus.js';
5
+ import '../generateApi-Clc85Kxw.js';
7
6
  import '@cosmjs/amino';
8
7
  import '@cosmjs/proto-signing';
9
8
  import '@cosmjs/stargate';
10
9
  import 'viem';
11
10
  import '@solana/wallet-adapter-base';
12
11
  import '../api/postTrackTransaction.js';
12
+ import '../apiState-1VvikVK-.js';
13
13
 
14
14
  type WaitForTransactionProps = TxResult & {
15
15
  onTransactionTracked?: TransactionCallbacks["onTransactionTracked"];
16
+ doNotTrack?: boolean;
17
+ onStatusUpdated?: (status: TxStatusResponse) => void;
18
+ onError?: (error: Error) => void;
19
+ isCancelled?: () => boolean;
16
20
  };
17
- declare const waitForTransaction: ({ chainId, txHash, explorerLink, onTransactionTracked, ...trackTxPollingOptions }: WaitForTransactionProps) => Promise<{
21
+ declare const waitForTransaction: ({ chainId, txHash, explorerLink, doNotTrack, onStatusUpdated, onError, onTransactionTracked, isCancelled, ...trackTxPollingOptions }: WaitForTransactionProps) => Promise<{
18
22
  transfers?: {
19
23
  state?: TransactionState | undefined;
20
24
  transferSequence?: {
@@ -63,39 +67,41 @@ declare const waitForTransaction: ({ chainId, txHash, explorerLink, onTransactio
63
67
  fromChainId: string;
64
68
  state: AxelarTransferState;
65
69
  txs: {
66
- approveTx?: {
67
- chainId?: string | undefined;
68
- explorerLink: string;
69
- txHash?: string | undefined;
70
- onChainAt?: string | undefined;
71
- } | undefined;
72
- confirmTx?: {
73
- chainId?: string | undefined;
74
- explorerLink: string;
75
- txHash?: string | undefined;
76
- onChainAt?: string | undefined;
77
- } | undefined;
78
- error?: {
79
- message?: string | undefined;
80
- type?: ContractCallWithTokenErrorType | undefined;
81
- } | undefined;
82
- executeTx?: {
83
- chainId?: string | undefined;
84
- explorerLink: string;
85
- txHash?: string | undefined;
86
- onChainAt?: string | undefined;
87
- } | undefined;
88
- gasPaidTx?: {
89
- chainId?: string | undefined;
90
- explorerLink: string;
91
- txHash?: string | undefined;
92
- onChainAt?: string | undefined;
93
- } | undefined;
94
- sendTx?: {
95
- chainId?: string | undefined;
96
- explorerLink: string;
97
- txHash?: string | undefined;
98
- onChainAt?: string | undefined;
70
+ contractCallWithTokenTxs?: {
71
+ approveTx?: {
72
+ chainId?: string | undefined;
73
+ explorerLink: string;
74
+ txHash?: string | undefined;
75
+ onChainAt?: string | undefined;
76
+ } | undefined;
77
+ confirmTx?: {
78
+ chainId?: string | undefined;
79
+ explorerLink: string;
80
+ txHash?: string | undefined;
81
+ onChainAt?: string | undefined;
82
+ } | undefined;
83
+ error?: {
84
+ message?: string | undefined;
85
+ type?: ContractCallWithTokenErrorType | undefined;
86
+ } | undefined;
87
+ executeTx?: {
88
+ chainId?: string | undefined;
89
+ explorerLink: string;
90
+ txHash?: string | undefined;
91
+ onChainAt?: string | undefined;
92
+ } | undefined;
93
+ gasPaidTx?: {
94
+ chainId?: string | undefined;
95
+ explorerLink: string;
96
+ txHash?: string | undefined;
97
+ onChainAt?: string | undefined;
98
+ } | undefined;
99
+ sendTx?: {
100
+ chainId?: string | undefined;
101
+ explorerLink: string;
102
+ txHash?: string | undefined;
103
+ onChainAt?: string | undefined;
104
+ } | undefined;
99
105
  } | undefined;
100
106
  } | {
101
107
  confirmTx?: {
@@ -390,39 +396,41 @@ declare const waitForTransaction: ({ chainId, txHash, explorerLink, onTransactio
390
396
  fromChainId: string;
391
397
  state: AxelarTransferState;
392
398
  txs: {
393
- approveTx?: {
394
- chainId?: string | undefined;
395
- explorerLink: string;
396
- txHash?: string | undefined;
397
- onChainAt?: string | undefined;
398
- } | undefined;
399
- confirmTx?: {
400
- chainId?: string | undefined;
401
- explorerLink: string;
402
- txHash?: string | undefined;
403
- onChainAt?: string | undefined;
404
- } | undefined;
405
- error?: {
406
- message?: string | undefined;
407
- type?: ContractCallWithTokenErrorType | undefined;
408
- } | undefined;
409
- executeTx?: {
410
- chainId?: string | undefined;
411
- explorerLink: string;
412
- txHash?: string | undefined;
413
- onChainAt?: string | undefined;
414
- } | undefined;
415
- gasPaidTx?: {
416
- chainId?: string | undefined;
417
- explorerLink: string;
418
- txHash?: string | undefined;
419
- onChainAt?: string | undefined;
420
- } | undefined;
421
- sendTx?: {
422
- chainId?: string | undefined;
423
- explorerLink: string;
424
- txHash?: string | undefined;
425
- onChainAt?: string | undefined;
399
+ contractCallWithTokenTxs?: {
400
+ approveTx?: {
401
+ chainId?: string | undefined;
402
+ explorerLink: string;
403
+ txHash?: string | undefined;
404
+ onChainAt?: string | undefined;
405
+ } | undefined;
406
+ confirmTx?: {
407
+ chainId?: string | undefined;
408
+ explorerLink: string;
409
+ txHash?: string | undefined;
410
+ onChainAt?: string | undefined;
411
+ } | undefined;
412
+ error?: {
413
+ message?: string | undefined;
414
+ type?: ContractCallWithTokenErrorType | undefined;
415
+ } | undefined;
416
+ executeTx?: {
417
+ chainId?: string | undefined;
418
+ explorerLink: string;
419
+ txHash?: string | undefined;
420
+ onChainAt?: string | undefined;
421
+ } | undefined;
422
+ gasPaidTx?: {
423
+ chainId?: string | undefined;
424
+ explorerLink: string;
425
+ txHash?: string | undefined;
426
+ onChainAt?: string | undefined;
427
+ } | undefined;
428
+ sendTx?: {
429
+ chainId?: string | undefined;
430
+ explorerLink: string;
431
+ txHash?: string | undefined;
432
+ onChainAt?: string | undefined;
433
+ } | undefined;
426
434
  } | undefined;
427
435
  } | {
428
436
  confirmTx?: {
@@ -637,5 +645,635 @@ declare const waitForTransaction: ({ chainId, txHash, explorerLink, onTransactio
637
645
  }[];
638
646
  status?: string | undefined;
639
647
  }>;
648
+ declare const waitForTransactionWithCancel: (props: WaitForTransactionProps) => {
649
+ promise: Promise<{
650
+ transfers?: {
651
+ state?: TransactionState | undefined;
652
+ transferSequence?: {
653
+ ibcTransfer?: {
654
+ toChainId: string;
655
+ packetTxs: {
656
+ acknowledgeTx?: {
657
+ chainId?: string | undefined;
658
+ explorerLink: string;
659
+ txHash?: string | undefined;
660
+ onChainAt?: string | undefined;
661
+ } | undefined;
662
+ error?: {
663
+ details?: {
664
+ code?: number | undefined;
665
+ message?: string | undefined;
666
+ } | undefined;
667
+ message?: string | undefined;
668
+ type?: PacketErrorType | undefined;
669
+ } | undefined;
670
+ receiveTx?: {
671
+ chainId?: string | undefined;
672
+ explorerLink: string;
673
+ txHash?: string | undefined;
674
+ onChainAt?: string | undefined;
675
+ } | undefined;
676
+ sendTx?: {
677
+ chainId?: string | undefined;
678
+ explorerLink: string;
679
+ txHash?: string | undefined;
680
+ onChainAt?: string | undefined;
681
+ } | undefined;
682
+ timeoutTx?: {
683
+ chainId?: string | undefined;
684
+ explorerLink: string;
685
+ txHash?: string | undefined;
686
+ onChainAt?: string | undefined;
687
+ } | undefined;
688
+ };
689
+ fromChainId: string;
690
+ state: TransferState;
691
+ } | undefined;
692
+ axelarTransfer?: {
693
+ axelarScanLink?: string | undefined;
694
+ toChainId: string;
695
+ fromChainId: string;
696
+ state: AxelarTransferState;
697
+ txs: {
698
+ contractCallWithTokenTxs?: {
699
+ approveTx?: {
700
+ chainId?: string | undefined;
701
+ explorerLink: string;
702
+ txHash?: string | undefined;
703
+ onChainAt?: string | undefined;
704
+ } | undefined;
705
+ confirmTx?: {
706
+ chainId?: string | undefined;
707
+ explorerLink: string;
708
+ txHash?: string | undefined;
709
+ onChainAt?: string | undefined;
710
+ } | undefined;
711
+ error?: {
712
+ message?: string | undefined;
713
+ type?: ContractCallWithTokenErrorType | undefined;
714
+ } | undefined;
715
+ executeTx?: {
716
+ chainId?: string | undefined;
717
+ explorerLink: string;
718
+ txHash?: string | undefined;
719
+ onChainAt?: string | undefined;
720
+ } | undefined;
721
+ gasPaidTx?: {
722
+ chainId?: string | undefined;
723
+ explorerLink: string;
724
+ txHash?: string | undefined;
725
+ onChainAt?: string | undefined;
726
+ } | undefined;
727
+ sendTx?: {
728
+ chainId?: string | undefined;
729
+ explorerLink: string;
730
+ txHash?: string | undefined;
731
+ onChainAt?: string | undefined;
732
+ } | undefined;
733
+ } | undefined;
734
+ } | {
735
+ confirmTx?: {
736
+ chainId?: string | undefined;
737
+ explorerLink: string;
738
+ txHash?: string | undefined;
739
+ onChainAt?: string | undefined;
740
+ } | undefined;
741
+ error?: {
742
+ message?: string | undefined;
743
+ type?: SendTokenErrorType | undefined;
744
+ } | undefined;
745
+ executeTx?: {
746
+ chainId?: string | undefined;
747
+ explorerLink: string;
748
+ txHash?: string | undefined;
749
+ onChainAt?: string | undefined;
750
+ } | undefined;
751
+ sendTx?: {
752
+ chainId?: string | undefined;
753
+ explorerLink: string;
754
+ txHash?: string | undefined;
755
+ onChainAt?: string | undefined;
756
+ } | undefined;
757
+ };
758
+ type?: AxelarTransferType | undefined;
759
+ } | undefined;
760
+ cctpTransfer?: {
761
+ toChainId?: string | undefined;
762
+ fromChainId?: string | undefined;
763
+ state?: CCTPTransferState | undefined;
764
+ txs?: {
765
+ sendTx?: {
766
+ chainId?: string | undefined;
767
+ explorerLink: string;
768
+ txHash?: string | undefined;
769
+ onChainAt?: string | undefined;
770
+ } | undefined;
771
+ receiveTx?: {
772
+ chainId?: string | undefined;
773
+ explorerLink: string;
774
+ txHash?: string | undefined;
775
+ onChainAt?: string | undefined;
776
+ } | undefined;
777
+ } | undefined;
778
+ } | undefined;
779
+ hyperlaneTransfer?: {
780
+ fromChainId: string;
781
+ toChainId: string;
782
+ state: HyperlaneTransferState;
783
+ txs: {
784
+ sendTx?: {
785
+ chainId?: string | undefined;
786
+ explorerLink: string;
787
+ txHash?: string | undefined;
788
+ onChainAt?: string | undefined;
789
+ } | undefined;
790
+ receiveTx?: {
791
+ chainId?: string | undefined;
792
+ explorerLink: string;
793
+ txHash?: string | undefined;
794
+ onChainAt?: string | undefined;
795
+ } | undefined;
796
+ };
797
+ } | undefined;
798
+ opInitTransfer?: {
799
+ toChainId: string;
800
+ fromChainId: string;
801
+ state: OPInitTransferState;
802
+ txs: {
803
+ sendTx?: {
804
+ chainId?: string | undefined;
805
+ explorerLink: string;
806
+ txHash?: string | undefined;
807
+ onChainAt?: string | undefined;
808
+ } | undefined;
809
+ receiveTx?: {
810
+ chainId?: string | undefined;
811
+ explorerLink: string;
812
+ txHash?: string | undefined;
813
+ onChainAt?: string | undefined;
814
+ } | undefined;
815
+ };
816
+ } | undefined;
817
+ stargateTransfer?: {
818
+ fromChainId?: string | undefined;
819
+ toChainId?: string | undefined;
820
+ state?: StargateTransferState | undefined;
821
+ txs?: {
822
+ sendTx?: {
823
+ chainId?: string | undefined;
824
+ explorerLink: string;
825
+ txHash?: string | undefined;
826
+ onChainAt?: string | undefined;
827
+ } | undefined;
828
+ receiveTx?: {
829
+ chainId?: string | undefined;
830
+ explorerLink: string;
831
+ txHash?: string | undefined;
832
+ onChainAt?: string | undefined;
833
+ } | undefined;
834
+ errorTx?: {
835
+ chainId?: string | undefined;
836
+ explorerLink: string;
837
+ txHash?: string | undefined;
838
+ onChainAt?: string | undefined;
839
+ } | undefined;
840
+ } | undefined;
841
+ } | undefined;
842
+ goFastTransfer?: {
843
+ fromChainId: string;
844
+ toChainId: string;
845
+ state: GoFastTransferState;
846
+ txs: {
847
+ orderSubmittedTx?: {
848
+ chainId?: string | undefined;
849
+ explorerLink: string;
850
+ txHash?: string | undefined;
851
+ onChainAt?: string | undefined;
852
+ } | undefined;
853
+ orderFilledTx?: {
854
+ chainId?: string | undefined;
855
+ explorerLink: string;
856
+ txHash?: string | undefined;
857
+ onChainAt?: string | undefined;
858
+ } | undefined;
859
+ orderRefundedTx?: {
860
+ chainId?: string | undefined;
861
+ explorerLink: string;
862
+ txHash?: string | undefined;
863
+ onChainAt?: string | undefined;
864
+ } | undefined;
865
+ orderTimeoutTx?: {
866
+ chainId?: string | undefined;
867
+ explorerLink: string;
868
+ txHash?: string | undefined;
869
+ onChainAt?: string | undefined;
870
+ } | undefined;
871
+ };
872
+ errorMessage?: string | undefined;
873
+ } | undefined;
874
+ eurekaTransfer?: {
875
+ fromChainId: string;
876
+ toChainId: string;
877
+ state: TransferState;
878
+ packetTxs: {
879
+ acknowledgeTx?: {
880
+ chainId?: string | undefined;
881
+ explorerLink: string;
882
+ txHash?: string | undefined;
883
+ onChainAt?: string | undefined;
884
+ } | undefined;
885
+ error?: {
886
+ details?: {
887
+ code?: number | undefined;
888
+ message?: string | undefined;
889
+ } | undefined;
890
+ message?: string | undefined;
891
+ type?: PacketErrorType | undefined;
892
+ } | undefined;
893
+ receiveTx?: {
894
+ chainId?: string | undefined;
895
+ explorerLink: string;
896
+ txHash?: string | undefined;
897
+ onChainAt?: string | undefined;
898
+ } | undefined;
899
+ sendTx?: {
900
+ chainId?: string | undefined;
901
+ explorerLink: string;
902
+ txHash?: string | undefined;
903
+ onChainAt?: string | undefined;
904
+ } | undefined;
905
+ timeoutTx?: {
906
+ chainId?: string | undefined;
907
+ explorerLink: string;
908
+ txHash?: string | undefined;
909
+ onChainAt?: string | undefined;
910
+ } | undefined;
911
+ };
912
+ } | undefined;
913
+ layerZeroTransfer?: {
914
+ fromChainId: string;
915
+ toChainId: string;
916
+ state: LayerZeroTransferState;
917
+ txs: {
918
+ sendTx?: {
919
+ chainId?: string | undefined;
920
+ explorerLink: string;
921
+ txHash?: string | undefined;
922
+ onChainAt?: string | undefined;
923
+ } | undefined;
924
+ receiveTx?: {
925
+ chainId?: string | undefined;
926
+ explorerLink: string;
927
+ txHash?: string | undefined;
928
+ onChainAt?: string | undefined;
929
+ } | undefined;
930
+ composeTx?: {
931
+ chainId?: string | undefined;
932
+ explorerLink: string;
933
+ txHash?: string | undefined;
934
+ onChainAt?: string | undefined;
935
+ } | undefined;
936
+ errorTx?: {
937
+ chainId?: string | undefined;
938
+ explorerLink: string;
939
+ txHash?: string | undefined;
940
+ onChainAt?: string | undefined;
941
+ } | undefined;
942
+ };
943
+ } | undefined;
944
+ }[] | undefined;
945
+ nextBlockingTransfer?: {
946
+ transferSequenceIndex?: number | undefined;
947
+ } | undefined;
948
+ transferAssetRelease?: {
949
+ chainId?: string | undefined;
950
+ denom?: string | undefined;
951
+ amount?: string | undefined;
952
+ released?: boolean | undefined;
953
+ } | undefined;
954
+ error?: {
955
+ details?: {
956
+ code?: number | undefined;
957
+ message?: string | undefined;
958
+ } | undefined;
959
+ message?: string | undefined;
960
+ type?: StatusErrorType | undefined;
961
+ } | undefined;
962
+ }[] | undefined;
963
+ state: TransactionState;
964
+ nextBlockingTransfer?: {
965
+ transferSequenceIndex?: number | undefined;
966
+ } | undefined;
967
+ transferAssetRelease?: {
968
+ chainId?: string | undefined;
969
+ denom?: string | undefined;
970
+ amount?: string | undefined;
971
+ released?: boolean | undefined;
972
+ } | undefined;
973
+ error?: {
974
+ details?: {
975
+ code?: number | undefined;
976
+ message?: string | undefined;
977
+ } | undefined;
978
+ message?: string | undefined;
979
+ type?: StatusErrorType | undefined;
980
+ } | undefined;
981
+ transferSequence: {
982
+ ibcTransfer?: {
983
+ toChainId: string;
984
+ packetTxs: {
985
+ acknowledgeTx?: {
986
+ chainId?: string | undefined;
987
+ explorerLink: string;
988
+ txHash?: string | undefined;
989
+ onChainAt?: string | undefined;
990
+ } | undefined;
991
+ error?: {
992
+ details?: {
993
+ code?: number | undefined;
994
+ message?: string | undefined;
995
+ } | undefined;
996
+ message?: string | undefined;
997
+ type?: PacketErrorType | undefined;
998
+ } | undefined;
999
+ receiveTx?: {
1000
+ chainId?: string | undefined;
1001
+ explorerLink: string;
1002
+ txHash?: string | undefined;
1003
+ onChainAt?: string | undefined;
1004
+ } | undefined;
1005
+ sendTx?: {
1006
+ chainId?: string | undefined;
1007
+ explorerLink: string;
1008
+ txHash?: string | undefined;
1009
+ onChainAt?: string | undefined;
1010
+ } | undefined;
1011
+ timeoutTx?: {
1012
+ chainId?: string | undefined;
1013
+ explorerLink: string;
1014
+ txHash?: string | undefined;
1015
+ onChainAt?: string | undefined;
1016
+ } | undefined;
1017
+ };
1018
+ fromChainId: string;
1019
+ state: TransferState;
1020
+ } | undefined;
1021
+ axelarTransfer?: {
1022
+ axelarScanLink?: string | undefined;
1023
+ toChainId: string;
1024
+ fromChainId: string;
1025
+ state: AxelarTransferState;
1026
+ txs: {
1027
+ contractCallWithTokenTxs?: {
1028
+ approveTx?: {
1029
+ chainId?: string | undefined;
1030
+ explorerLink: string;
1031
+ txHash?: string | undefined;
1032
+ onChainAt?: string | undefined;
1033
+ } | undefined;
1034
+ confirmTx?: {
1035
+ chainId?: string | undefined;
1036
+ explorerLink: string;
1037
+ txHash?: string | undefined;
1038
+ onChainAt?: string | undefined;
1039
+ } | undefined;
1040
+ error?: {
1041
+ message?: string | undefined;
1042
+ type?: ContractCallWithTokenErrorType | undefined;
1043
+ } | undefined;
1044
+ executeTx?: {
1045
+ chainId?: string | undefined;
1046
+ explorerLink: string;
1047
+ txHash?: string | undefined;
1048
+ onChainAt?: string | undefined;
1049
+ } | undefined;
1050
+ gasPaidTx?: {
1051
+ chainId?: string | undefined;
1052
+ explorerLink: string;
1053
+ txHash?: string | undefined;
1054
+ onChainAt?: string | undefined;
1055
+ } | undefined;
1056
+ sendTx?: {
1057
+ chainId?: string | undefined;
1058
+ explorerLink: string;
1059
+ txHash?: string | undefined;
1060
+ onChainAt?: string | undefined;
1061
+ } | undefined;
1062
+ } | undefined;
1063
+ } | {
1064
+ confirmTx?: {
1065
+ chainId?: string | undefined;
1066
+ explorerLink: string;
1067
+ txHash?: string | undefined;
1068
+ onChainAt?: string | undefined;
1069
+ } | undefined;
1070
+ error?: {
1071
+ message?: string | undefined;
1072
+ type?: SendTokenErrorType | undefined;
1073
+ } | undefined;
1074
+ executeTx?: {
1075
+ chainId?: string | undefined;
1076
+ explorerLink: string;
1077
+ txHash?: string | undefined;
1078
+ onChainAt?: string | undefined;
1079
+ } | undefined;
1080
+ sendTx?: {
1081
+ chainId?: string | undefined;
1082
+ explorerLink: string;
1083
+ txHash?: string | undefined;
1084
+ onChainAt?: string | undefined;
1085
+ } | undefined;
1086
+ };
1087
+ type?: AxelarTransferType | undefined;
1088
+ } | undefined;
1089
+ cctpTransfer?: {
1090
+ toChainId?: string | undefined;
1091
+ fromChainId?: string | undefined;
1092
+ state?: CCTPTransferState | undefined;
1093
+ txs?: {
1094
+ sendTx?: {
1095
+ chainId?: string | undefined;
1096
+ explorerLink: string;
1097
+ txHash?: string | undefined;
1098
+ onChainAt?: string | undefined;
1099
+ } | undefined;
1100
+ receiveTx?: {
1101
+ chainId?: string | undefined;
1102
+ explorerLink: string;
1103
+ txHash?: string | undefined;
1104
+ onChainAt?: string | undefined;
1105
+ } | undefined;
1106
+ } | undefined;
1107
+ } | undefined;
1108
+ hyperlaneTransfer?: {
1109
+ fromChainId: string;
1110
+ toChainId: string;
1111
+ state: HyperlaneTransferState;
1112
+ txs: {
1113
+ sendTx?: {
1114
+ chainId?: string | undefined;
1115
+ explorerLink: string;
1116
+ txHash?: string | undefined;
1117
+ onChainAt?: string | undefined;
1118
+ } | undefined;
1119
+ receiveTx?: {
1120
+ chainId?: string | undefined;
1121
+ explorerLink: string;
1122
+ txHash?: string | undefined;
1123
+ onChainAt?: string | undefined;
1124
+ } | undefined;
1125
+ };
1126
+ } | undefined;
1127
+ opInitTransfer?: {
1128
+ toChainId: string;
1129
+ fromChainId: string;
1130
+ state: OPInitTransferState;
1131
+ txs: {
1132
+ sendTx?: {
1133
+ chainId?: string | undefined;
1134
+ explorerLink: string;
1135
+ txHash?: string | undefined;
1136
+ onChainAt?: string | undefined;
1137
+ } | undefined;
1138
+ receiveTx?: {
1139
+ chainId?: string | undefined;
1140
+ explorerLink: string;
1141
+ txHash?: string | undefined;
1142
+ onChainAt?: string | undefined;
1143
+ } | undefined;
1144
+ };
1145
+ } | undefined;
1146
+ stargateTransfer?: {
1147
+ fromChainId?: string | undefined;
1148
+ toChainId?: string | undefined;
1149
+ state?: StargateTransferState | undefined;
1150
+ txs?: {
1151
+ sendTx?: {
1152
+ chainId?: string | undefined;
1153
+ explorerLink: string;
1154
+ txHash?: string | undefined;
1155
+ onChainAt?: string | undefined;
1156
+ } | undefined;
1157
+ receiveTx?: {
1158
+ chainId?: string | undefined;
1159
+ explorerLink: string;
1160
+ txHash?: string | undefined;
1161
+ onChainAt?: string | undefined;
1162
+ } | undefined;
1163
+ errorTx?: {
1164
+ chainId?: string | undefined;
1165
+ explorerLink: string;
1166
+ txHash?: string | undefined;
1167
+ onChainAt?: string | undefined;
1168
+ } | undefined;
1169
+ } | undefined;
1170
+ } | undefined;
1171
+ goFastTransfer?: {
1172
+ fromChainId: string;
1173
+ toChainId: string;
1174
+ state: GoFastTransferState;
1175
+ txs: {
1176
+ orderSubmittedTx?: {
1177
+ chainId?: string | undefined;
1178
+ explorerLink: string;
1179
+ txHash?: string | undefined;
1180
+ onChainAt?: string | undefined;
1181
+ } | undefined;
1182
+ orderFilledTx?: {
1183
+ chainId?: string | undefined;
1184
+ explorerLink: string;
1185
+ txHash?: string | undefined;
1186
+ onChainAt?: string | undefined;
1187
+ } | undefined;
1188
+ orderRefundedTx?: {
1189
+ chainId?: string | undefined;
1190
+ explorerLink: string;
1191
+ txHash?: string | undefined;
1192
+ onChainAt?: string | undefined;
1193
+ } | undefined;
1194
+ orderTimeoutTx?: {
1195
+ chainId?: string | undefined;
1196
+ explorerLink: string;
1197
+ txHash?: string | undefined;
1198
+ onChainAt?: string | undefined;
1199
+ } | undefined;
1200
+ };
1201
+ errorMessage?: string | undefined;
1202
+ } | undefined;
1203
+ eurekaTransfer?: {
1204
+ fromChainId: string;
1205
+ toChainId: string;
1206
+ state: TransferState;
1207
+ packetTxs: {
1208
+ acknowledgeTx?: {
1209
+ chainId?: string | undefined;
1210
+ explorerLink: string;
1211
+ txHash?: string | undefined;
1212
+ onChainAt?: string | undefined;
1213
+ } | undefined;
1214
+ error?: {
1215
+ details?: {
1216
+ code?: number | undefined;
1217
+ message?: string | undefined;
1218
+ } | undefined;
1219
+ message?: string | undefined;
1220
+ type?: PacketErrorType | undefined;
1221
+ } | undefined;
1222
+ receiveTx?: {
1223
+ chainId?: string | undefined;
1224
+ explorerLink: string;
1225
+ txHash?: string | undefined;
1226
+ onChainAt?: string | undefined;
1227
+ } | undefined;
1228
+ sendTx?: {
1229
+ chainId?: string | undefined;
1230
+ explorerLink: string;
1231
+ txHash?: string | undefined;
1232
+ onChainAt?: string | undefined;
1233
+ } | undefined;
1234
+ timeoutTx?: {
1235
+ chainId?: string | undefined;
1236
+ explorerLink: string;
1237
+ txHash?: string | undefined;
1238
+ onChainAt?: string | undefined;
1239
+ } | undefined;
1240
+ };
1241
+ } | undefined;
1242
+ layerZeroTransfer?: {
1243
+ fromChainId: string;
1244
+ toChainId: string;
1245
+ state: LayerZeroTransferState;
1246
+ txs: {
1247
+ sendTx?: {
1248
+ chainId?: string | undefined;
1249
+ explorerLink: string;
1250
+ txHash?: string | undefined;
1251
+ onChainAt?: string | undefined;
1252
+ } | undefined;
1253
+ receiveTx?: {
1254
+ chainId?: string | undefined;
1255
+ explorerLink: string;
1256
+ txHash?: string | undefined;
1257
+ onChainAt?: string | undefined;
1258
+ } | undefined;
1259
+ composeTx?: {
1260
+ chainId?: string | undefined;
1261
+ explorerLink: string;
1262
+ txHash?: string | undefined;
1263
+ onChainAt?: string | undefined;
1264
+ } | undefined;
1265
+ errorTx?: {
1266
+ chainId?: string | undefined;
1267
+ explorerLink: string;
1268
+ txHash?: string | undefined;
1269
+ onChainAt?: string | undefined;
1270
+ } | undefined;
1271
+ };
1272
+ } | undefined;
1273
+ }[];
1274
+ status?: string | undefined;
1275
+ }>;
1276
+ cancel: () => void;
1277
+ };
640
1278
 
641
- export { type WaitForTransactionProps, waitForTransaction };
1279
+ export { type WaitForTransactionProps, waitForTransaction, waitForTransactionWithCancel };