@skip-go/client 1.1.4 → 1.1.6
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/api/getAssets.d.ts +1 -1
- package/dist/api/getAssets.js +3 -2
- package/dist/api/getAssetsBetweenChains.d.ts +1 -1
- package/dist/api/getAssetsBetweenChains.js +3 -2
- package/dist/api/getBridges.d.ts +1 -1
- package/dist/api/getBridges.js +3 -2
- package/dist/api/getChains.d.ts +1 -1
- package/dist/api/getChains.js +3 -2
- package/dist/api/getVenues.js +3 -2
- package/dist/api/postAssetsFromSource.d.ts +1 -1
- package/dist/api/postAssetsFromSource.js +4 -3
- package/dist/api/postBalances.d.ts +2 -2
- package/dist/api/postBalances.js +3 -2
- package/dist/api/postIbcOriginAssets.js +3 -2
- package/dist/api/postMessages.d.ts +6 -473
- package/dist/api/postMessages.js +3 -2
- package/dist/api/postMessagesDirect.d.ts +5 -1
- package/dist/api/postMessagesDirect.js +3 -2
- package/dist/api/postRecommendAssets.d.ts +1 -1
- package/dist/api/postRecommendAssets.js +3 -2
- package/dist/api/postRoute.d.ts +6 -2
- package/dist/api/postRoute.js +3 -2
- package/dist/api/postSubmit.d.ts +17 -0
- package/dist/api/postSubmit.js +3 -0
- package/dist/api/postSubmitTransaction.js +3 -2
- package/dist/api/postTrackTransaction.js +3 -2
- package/dist/api/postTransactionStatus.d.ts +2 -2
- package/dist/api/postTransactionStatus.js +3 -2
- package/dist/callbacks-BGRu2Ule.d.ts +33 -0
- package/dist/chunk-25FJ6EBA.js +36 -0
- package/dist/{chunk-4TKPLI5S.js → chunk-2YP6FMPV.js} +1 -1
- package/dist/{chunk-MB5ENUER.js → chunk-5QPGL2BH.js} +1 -1
- package/dist/{chunk-H6RXHDUX.js → chunk-5WMPFEIQ.js} +1 -1
- package/dist/{chunk-R2N4D2PY.js → chunk-C4URP37X.js} +1 -1
- package/dist/{chunk-7P6AOFMX.js → chunk-CRTTBUO4.js} +1 -1
- package/dist/{chunk-LJSGCCOX.js → chunk-DAR753BM.js} +1 -1
- package/dist/chunk-DU3RX43W.js +34 -0
- package/dist/chunk-DV3I2S3T.js +181 -0
- package/dist/chunk-GV2QOWB4.js +26 -0
- package/dist/{chunk-R3KHKN33.js → chunk-IWW34V4S.js} +1 -1
- package/dist/{chunk-PZM2IB6H.js → chunk-JZBFAMHE.js} +1 -1
- package/dist/{chunk-GTJ2EDUG.js → chunk-KKNOCIFN.js} +2 -2
- package/dist/{chunk-EAUM5JYS.js → chunk-NWC6BSNB.js} +1 -1
- package/dist/{chunk-R4PWQNPU.js → chunk-NXNVAUER.js} +18 -351
- package/dist/{chunk-2NYWLY5S.js → chunk-PPUUN7FI.js} +1 -1
- package/dist/{chunk-5EU3SRDQ.js → chunk-RCSN7BAU.js} +2 -2
- package/dist/{chunk-KWVMUF5R.js → chunk-RFZBKQ35.js} +1 -1
- package/dist/{chunk-WWDCZAB5.js → chunk-RYOVQFZO.js} +1 -1
- package/dist/{chunk-BCN2WD5Q.js → chunk-T7GKUROO.js} +1 -1
- package/dist/chunk-TV2XPAIF.js +295 -0
- package/dist/{chunk-VRPPVMXO.js → chunk-U6XZFJW2.js} +1 -1
- package/dist/{chunk-SOGMQT4H.js → chunk-UXUJNZOA.js} +1 -181
- package/dist/chunk-X67P5URV.js +10 -0
- package/dist/{chunk-RL5AVCSG.js → chunk-XXJUDZKJ.js} +1 -1
- package/dist/{client-types-B_ihV5t6.d.ts → client-types-BkeR6R_z.d.ts} +1 -1
- package/dist/{generateApi-CpUxWvEf.d.ts → generateApi-8YPJU-Al.d.ts} +1 -1
- package/dist/index.d.ts +13 -5
- package/dist/index.js +26 -21
- package/dist/public-functions/executeRoute.d.ts +40 -4
- package/dist/public-functions/executeRoute.js +15 -10
- package/dist/public-functions/getCosmosGasAmountForMessage.d.ts +8 -0
- package/dist/public-functions/getCosmosGasAmountForMessage.js +2 -0
- package/dist/public-functions/getEvmGasAmountForMessage.d.ts +11 -0
- package/dist/public-functions/getEvmGasAmountForMessage.js +2 -0
- package/dist/public-functions/getFeeInfoForChain.d.ts +1 -1
- package/dist/public-functions/getFeeInfoForChain.js +4 -3
- package/dist/public-functions/getRecommendedGasPrice.js +5 -4
- package/dist/public-functions/getSigningStargateClient.js +4 -3
- package/dist/public-functions/setApiOptions.d.ts +1 -1
- package/dist/public-functions/setApiOptions.js +3 -2
- package/dist/public-functions/setClientOptions.d.ts +3 -3
- package/dist/public-functions/setClientOptions.js +4 -3
- package/dist/public-functions/waitForTransaction.d.ts +621 -0
- package/dist/public-functions/waitForTransaction.js +5 -0
- package/dist/{setClientOptions-C4rwBrB4.d.ts → setClientOptions-CI_7IPLT.d.ts} +1 -1
- package/dist/{swaggerTypes-sZ9ALP9m.d.ts → swaggerTypes-CAERZYPb.d.ts} +4 -1
- package/package.json +1 -1
- package/dist/chunk-7FSLD7Y4.js +0 -10
- package/dist/executeRoute-Bob9mV8C.d.ts +0 -69
|
@@ -0,0 +1,621 @@
|
|
|
1
|
+
import { av as StatusErrorType, 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 } from '../swaggerTypes-CAERZYPb.js';
|
|
2
|
+
import { T as TransactionCallbacks } from '../callbacks-BGRu2Ule.js';
|
|
3
|
+
|
|
4
|
+
type WaitForTransactionProps = {
|
|
5
|
+
chainId: string;
|
|
6
|
+
txHash: string;
|
|
7
|
+
onTransactionTracked?: TransactionCallbacks["onTransactionTracked"];
|
|
8
|
+
};
|
|
9
|
+
declare const waitForTransaction: ({ chainId, txHash, onTransactionTracked, }: WaitForTransactionProps) => Promise<{
|
|
10
|
+
transfers?: {
|
|
11
|
+
error?: {
|
|
12
|
+
details?: {
|
|
13
|
+
code?: number | undefined;
|
|
14
|
+
message?: string | undefined;
|
|
15
|
+
} | undefined;
|
|
16
|
+
message?: string | undefined;
|
|
17
|
+
type?: StatusErrorType | undefined;
|
|
18
|
+
} | undefined;
|
|
19
|
+
nextBlockingTransfer?: {
|
|
20
|
+
transferSequenceIndex?: number | undefined;
|
|
21
|
+
} | undefined;
|
|
22
|
+
state?: TransactionState | undefined;
|
|
23
|
+
transferAssetRelease?: {
|
|
24
|
+
chainId?: string | undefined;
|
|
25
|
+
denom?: string | undefined;
|
|
26
|
+
amount?: string | undefined;
|
|
27
|
+
released?: boolean | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
transferSequence?: {
|
|
30
|
+
ibcTransfer?: {
|
|
31
|
+
toChainId: string;
|
|
32
|
+
packetTxs: {
|
|
33
|
+
acknowledgeTx?: {
|
|
34
|
+
chainId?: string | undefined;
|
|
35
|
+
explorerLink: string;
|
|
36
|
+
txHash?: string | undefined;
|
|
37
|
+
onChainAt?: string | undefined;
|
|
38
|
+
} | undefined;
|
|
39
|
+
error?: {
|
|
40
|
+
details?: {
|
|
41
|
+
code?: number | undefined;
|
|
42
|
+
message?: string | undefined;
|
|
43
|
+
} | undefined;
|
|
44
|
+
message?: string | undefined;
|
|
45
|
+
type?: PacketErrorType | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
receiveTx?: {
|
|
48
|
+
chainId?: string | undefined;
|
|
49
|
+
explorerLink: string;
|
|
50
|
+
txHash?: string | undefined;
|
|
51
|
+
onChainAt?: string | undefined;
|
|
52
|
+
} | undefined;
|
|
53
|
+
sendTx?: {
|
|
54
|
+
chainId?: string | undefined;
|
|
55
|
+
explorerLink: string;
|
|
56
|
+
txHash?: string | undefined;
|
|
57
|
+
onChainAt?: string | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
timeoutTx?: {
|
|
60
|
+
chainId?: string | undefined;
|
|
61
|
+
explorerLink: string;
|
|
62
|
+
txHash?: string | undefined;
|
|
63
|
+
onChainAt?: string | undefined;
|
|
64
|
+
} | undefined;
|
|
65
|
+
};
|
|
66
|
+
fromChainId: string;
|
|
67
|
+
state: TransferState;
|
|
68
|
+
} | undefined;
|
|
69
|
+
axelarTransfer?: {
|
|
70
|
+
axelarScanLink?: string | undefined;
|
|
71
|
+
toChainId: string;
|
|
72
|
+
fromChainId: string;
|
|
73
|
+
state: AxelarTransferState;
|
|
74
|
+
txs: {
|
|
75
|
+
approveTx?: {
|
|
76
|
+
chainId?: string | undefined;
|
|
77
|
+
explorerLink: string;
|
|
78
|
+
txHash?: string | undefined;
|
|
79
|
+
onChainAt?: string | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
confirmTx?: {
|
|
82
|
+
chainId?: string | undefined;
|
|
83
|
+
explorerLink: string;
|
|
84
|
+
txHash?: string | undefined;
|
|
85
|
+
onChainAt?: string | undefined;
|
|
86
|
+
} | undefined;
|
|
87
|
+
error?: {
|
|
88
|
+
message?: string | undefined;
|
|
89
|
+
type?: ContractCallWithTokenErrorType | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
executeTx?: {
|
|
92
|
+
chainId?: string | undefined;
|
|
93
|
+
explorerLink: string;
|
|
94
|
+
txHash?: string | undefined;
|
|
95
|
+
onChainAt?: string | undefined;
|
|
96
|
+
} | undefined;
|
|
97
|
+
gasPaidTx?: {
|
|
98
|
+
chainId?: string | undefined;
|
|
99
|
+
explorerLink: string;
|
|
100
|
+
txHash?: string | undefined;
|
|
101
|
+
onChainAt?: string | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
sendTx?: {
|
|
104
|
+
chainId?: string | undefined;
|
|
105
|
+
explorerLink: string;
|
|
106
|
+
txHash?: string | undefined;
|
|
107
|
+
onChainAt?: string | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
} | {
|
|
110
|
+
confirmTx?: {
|
|
111
|
+
chainId?: string | undefined;
|
|
112
|
+
explorerLink: string;
|
|
113
|
+
txHash?: string | undefined;
|
|
114
|
+
onChainAt?: string | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
error?: {
|
|
117
|
+
message?: string | undefined;
|
|
118
|
+
type?: SendTokenErrorType | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
executeTx?: {
|
|
121
|
+
chainId?: string | undefined;
|
|
122
|
+
explorerLink: string;
|
|
123
|
+
txHash?: string | undefined;
|
|
124
|
+
onChainAt?: string | undefined;
|
|
125
|
+
} | undefined;
|
|
126
|
+
sendTx?: {
|
|
127
|
+
chainId?: string | undefined;
|
|
128
|
+
explorerLink: string;
|
|
129
|
+
txHash?: string | undefined;
|
|
130
|
+
onChainAt?: string | undefined;
|
|
131
|
+
} | undefined;
|
|
132
|
+
};
|
|
133
|
+
type?: AxelarTransferType | undefined;
|
|
134
|
+
} | undefined;
|
|
135
|
+
cctpTransfer?: {
|
|
136
|
+
toChainId?: string | undefined;
|
|
137
|
+
fromChainId?: string | undefined;
|
|
138
|
+
state?: CCTPTransferState | undefined;
|
|
139
|
+
txs?: {
|
|
140
|
+
sendTx?: {
|
|
141
|
+
chainId?: string | undefined;
|
|
142
|
+
explorerLink: string;
|
|
143
|
+
txHash?: string | undefined;
|
|
144
|
+
onChainAt?: string | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
receiveTx?: {
|
|
147
|
+
chainId?: string | undefined;
|
|
148
|
+
explorerLink: string;
|
|
149
|
+
txHash?: string | undefined;
|
|
150
|
+
onChainAt?: string | undefined;
|
|
151
|
+
} | undefined;
|
|
152
|
+
} | undefined;
|
|
153
|
+
} | undefined;
|
|
154
|
+
hyperlaneTransfer?: {
|
|
155
|
+
fromChainId: string;
|
|
156
|
+
toChainId: string;
|
|
157
|
+
state: HyperlaneTransferState;
|
|
158
|
+
txs: {
|
|
159
|
+
sendTx?: {
|
|
160
|
+
chainId?: string | undefined;
|
|
161
|
+
explorerLink: string;
|
|
162
|
+
txHash?: string | undefined;
|
|
163
|
+
onChainAt?: string | undefined;
|
|
164
|
+
} | undefined;
|
|
165
|
+
receiveTx?: {
|
|
166
|
+
chainId?: string | undefined;
|
|
167
|
+
explorerLink: string;
|
|
168
|
+
txHash?: string | undefined;
|
|
169
|
+
onChainAt?: string | undefined;
|
|
170
|
+
} | undefined;
|
|
171
|
+
};
|
|
172
|
+
} | undefined;
|
|
173
|
+
opInitTransfer?: {
|
|
174
|
+
toChainId: string;
|
|
175
|
+
fromChainId: string;
|
|
176
|
+
state: OPInitTransferState;
|
|
177
|
+
txs: {
|
|
178
|
+
sendTx?: {
|
|
179
|
+
chainId?: string | undefined;
|
|
180
|
+
explorerLink: string;
|
|
181
|
+
txHash?: string | undefined;
|
|
182
|
+
onChainAt?: string | undefined;
|
|
183
|
+
} | undefined;
|
|
184
|
+
receiveTx?: {
|
|
185
|
+
chainId?: string | undefined;
|
|
186
|
+
explorerLink: string;
|
|
187
|
+
txHash?: string | undefined;
|
|
188
|
+
onChainAt?: string | undefined;
|
|
189
|
+
} | undefined;
|
|
190
|
+
};
|
|
191
|
+
} | undefined;
|
|
192
|
+
stargateTransfer?: {
|
|
193
|
+
fromChainId?: string | undefined;
|
|
194
|
+
toChainId?: string | undefined;
|
|
195
|
+
state?: StargateTransferState | undefined;
|
|
196
|
+
txs?: {
|
|
197
|
+
sendTx?: {
|
|
198
|
+
chainId?: string | undefined;
|
|
199
|
+
explorerLink: string;
|
|
200
|
+
txHash?: string | undefined;
|
|
201
|
+
onChainAt?: string | undefined;
|
|
202
|
+
} | undefined;
|
|
203
|
+
receiveTx?: {
|
|
204
|
+
chainId?: string | undefined;
|
|
205
|
+
explorerLink: string;
|
|
206
|
+
txHash?: string | undefined;
|
|
207
|
+
onChainAt?: string | undefined;
|
|
208
|
+
} | undefined;
|
|
209
|
+
errorTx?: {
|
|
210
|
+
chainId?: string | undefined;
|
|
211
|
+
explorerLink: string;
|
|
212
|
+
txHash?: string | undefined;
|
|
213
|
+
onChainAt?: string | undefined;
|
|
214
|
+
} | undefined;
|
|
215
|
+
} | undefined;
|
|
216
|
+
} | undefined;
|
|
217
|
+
goFastTransfer?: {
|
|
218
|
+
fromChainId: string;
|
|
219
|
+
toChainId: string;
|
|
220
|
+
state: GoFastTransferState;
|
|
221
|
+
txs: {
|
|
222
|
+
orderSubmittedTx?: {
|
|
223
|
+
chainId?: string | undefined;
|
|
224
|
+
explorerLink: string;
|
|
225
|
+
txHash?: string | undefined;
|
|
226
|
+
onChainAt?: string | undefined;
|
|
227
|
+
} | undefined;
|
|
228
|
+
orderFilledTx?: {
|
|
229
|
+
chainId?: string | undefined;
|
|
230
|
+
explorerLink: string;
|
|
231
|
+
txHash?: string | undefined;
|
|
232
|
+
onChainAt?: string | undefined;
|
|
233
|
+
} | undefined;
|
|
234
|
+
orderRefundedTx?: {
|
|
235
|
+
chainId?: string | undefined;
|
|
236
|
+
explorerLink: string;
|
|
237
|
+
txHash?: string | undefined;
|
|
238
|
+
onChainAt?: string | undefined;
|
|
239
|
+
} | undefined;
|
|
240
|
+
orderTimeoutTx?: {
|
|
241
|
+
chainId?: string | undefined;
|
|
242
|
+
explorerLink: string;
|
|
243
|
+
txHash?: string | undefined;
|
|
244
|
+
onChainAt?: string | undefined;
|
|
245
|
+
} | undefined;
|
|
246
|
+
};
|
|
247
|
+
errorMessage?: string | undefined;
|
|
248
|
+
} | undefined;
|
|
249
|
+
eurekaTransfer?: {
|
|
250
|
+
fromChainId: string;
|
|
251
|
+
toChainId: string;
|
|
252
|
+
state: TransferState;
|
|
253
|
+
packetTxs: {
|
|
254
|
+
acknowledgeTx?: {
|
|
255
|
+
chainId?: string | undefined;
|
|
256
|
+
explorerLink: string;
|
|
257
|
+
txHash?: string | undefined;
|
|
258
|
+
onChainAt?: string | undefined;
|
|
259
|
+
} | undefined;
|
|
260
|
+
error?: {
|
|
261
|
+
details?: {
|
|
262
|
+
code?: number | undefined;
|
|
263
|
+
message?: string | undefined;
|
|
264
|
+
} | undefined;
|
|
265
|
+
message?: string | undefined;
|
|
266
|
+
type?: PacketErrorType | undefined;
|
|
267
|
+
} | undefined;
|
|
268
|
+
receiveTx?: {
|
|
269
|
+
chainId?: string | undefined;
|
|
270
|
+
explorerLink: string;
|
|
271
|
+
txHash?: string | undefined;
|
|
272
|
+
onChainAt?: string | undefined;
|
|
273
|
+
} | undefined;
|
|
274
|
+
sendTx?: {
|
|
275
|
+
chainId?: string | undefined;
|
|
276
|
+
explorerLink: string;
|
|
277
|
+
txHash?: string | undefined;
|
|
278
|
+
onChainAt?: string | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
timeoutTx?: {
|
|
281
|
+
chainId?: string | undefined;
|
|
282
|
+
explorerLink: string;
|
|
283
|
+
txHash?: string | undefined;
|
|
284
|
+
onChainAt?: string | undefined;
|
|
285
|
+
} | undefined;
|
|
286
|
+
};
|
|
287
|
+
} | undefined;
|
|
288
|
+
layerZeroTransfer?: {
|
|
289
|
+
fromChainId: string;
|
|
290
|
+
toChainId: string;
|
|
291
|
+
state: LayerZeroTransferState;
|
|
292
|
+
txs: {
|
|
293
|
+
sendTx?: {
|
|
294
|
+
chainId?: string | undefined;
|
|
295
|
+
explorerLink: string;
|
|
296
|
+
txHash?: string | undefined;
|
|
297
|
+
onChainAt?: string | undefined;
|
|
298
|
+
} | undefined;
|
|
299
|
+
receiveTx?: {
|
|
300
|
+
chainId?: string | undefined;
|
|
301
|
+
explorerLink: string;
|
|
302
|
+
txHash?: string | undefined;
|
|
303
|
+
onChainAt?: string | undefined;
|
|
304
|
+
} | undefined;
|
|
305
|
+
errorTx?: {
|
|
306
|
+
chainId?: string | undefined;
|
|
307
|
+
explorerLink: string;
|
|
308
|
+
txHash?: string | undefined;
|
|
309
|
+
onChainAt?: string | undefined;
|
|
310
|
+
} | undefined;
|
|
311
|
+
};
|
|
312
|
+
} | undefined;
|
|
313
|
+
}[] | undefined;
|
|
314
|
+
}[] | undefined;
|
|
315
|
+
state: TransactionState;
|
|
316
|
+
transferSequence: {
|
|
317
|
+
ibcTransfer?: {
|
|
318
|
+
toChainId: string;
|
|
319
|
+
packetTxs: {
|
|
320
|
+
acknowledgeTx?: {
|
|
321
|
+
chainId?: string | undefined;
|
|
322
|
+
explorerLink: string;
|
|
323
|
+
txHash?: string | undefined;
|
|
324
|
+
onChainAt?: string | undefined;
|
|
325
|
+
} | undefined;
|
|
326
|
+
error?: {
|
|
327
|
+
details?: {
|
|
328
|
+
code?: number | undefined;
|
|
329
|
+
message?: string | undefined;
|
|
330
|
+
} | undefined;
|
|
331
|
+
message?: string | undefined;
|
|
332
|
+
type?: PacketErrorType | undefined;
|
|
333
|
+
} | undefined;
|
|
334
|
+
receiveTx?: {
|
|
335
|
+
chainId?: string | undefined;
|
|
336
|
+
explorerLink: string;
|
|
337
|
+
txHash?: string | undefined;
|
|
338
|
+
onChainAt?: string | undefined;
|
|
339
|
+
} | undefined;
|
|
340
|
+
sendTx?: {
|
|
341
|
+
chainId?: string | undefined;
|
|
342
|
+
explorerLink: string;
|
|
343
|
+
txHash?: string | undefined;
|
|
344
|
+
onChainAt?: string | undefined;
|
|
345
|
+
} | undefined;
|
|
346
|
+
timeoutTx?: {
|
|
347
|
+
chainId?: string | undefined;
|
|
348
|
+
explorerLink: string;
|
|
349
|
+
txHash?: string | undefined;
|
|
350
|
+
onChainAt?: string | undefined;
|
|
351
|
+
} | undefined;
|
|
352
|
+
};
|
|
353
|
+
fromChainId: string;
|
|
354
|
+
state: TransferState;
|
|
355
|
+
} | undefined;
|
|
356
|
+
axelarTransfer?: {
|
|
357
|
+
axelarScanLink?: string | undefined;
|
|
358
|
+
toChainId: string;
|
|
359
|
+
fromChainId: string;
|
|
360
|
+
state: AxelarTransferState;
|
|
361
|
+
txs: {
|
|
362
|
+
approveTx?: {
|
|
363
|
+
chainId?: string | undefined;
|
|
364
|
+
explorerLink: string;
|
|
365
|
+
txHash?: string | undefined;
|
|
366
|
+
onChainAt?: string | undefined;
|
|
367
|
+
} | undefined;
|
|
368
|
+
confirmTx?: {
|
|
369
|
+
chainId?: string | undefined;
|
|
370
|
+
explorerLink: string;
|
|
371
|
+
txHash?: string | undefined;
|
|
372
|
+
onChainAt?: string | undefined;
|
|
373
|
+
} | undefined;
|
|
374
|
+
error?: {
|
|
375
|
+
message?: string | undefined;
|
|
376
|
+
type?: ContractCallWithTokenErrorType | undefined;
|
|
377
|
+
} | undefined;
|
|
378
|
+
executeTx?: {
|
|
379
|
+
chainId?: string | undefined;
|
|
380
|
+
explorerLink: string;
|
|
381
|
+
txHash?: string | undefined;
|
|
382
|
+
onChainAt?: string | undefined;
|
|
383
|
+
} | undefined;
|
|
384
|
+
gasPaidTx?: {
|
|
385
|
+
chainId?: string | undefined;
|
|
386
|
+
explorerLink: string;
|
|
387
|
+
txHash?: string | undefined;
|
|
388
|
+
onChainAt?: string | undefined;
|
|
389
|
+
} | undefined;
|
|
390
|
+
sendTx?: {
|
|
391
|
+
chainId?: string | undefined;
|
|
392
|
+
explorerLink: string;
|
|
393
|
+
txHash?: string | undefined;
|
|
394
|
+
onChainAt?: string | undefined;
|
|
395
|
+
} | undefined;
|
|
396
|
+
} | {
|
|
397
|
+
confirmTx?: {
|
|
398
|
+
chainId?: string | undefined;
|
|
399
|
+
explorerLink: string;
|
|
400
|
+
txHash?: string | undefined;
|
|
401
|
+
onChainAt?: string | undefined;
|
|
402
|
+
} | undefined;
|
|
403
|
+
error?: {
|
|
404
|
+
message?: string | undefined;
|
|
405
|
+
type?: SendTokenErrorType | undefined;
|
|
406
|
+
} | undefined;
|
|
407
|
+
executeTx?: {
|
|
408
|
+
chainId?: string | undefined;
|
|
409
|
+
explorerLink: string;
|
|
410
|
+
txHash?: string | undefined;
|
|
411
|
+
onChainAt?: string | undefined;
|
|
412
|
+
} | undefined;
|
|
413
|
+
sendTx?: {
|
|
414
|
+
chainId?: string | undefined;
|
|
415
|
+
explorerLink: string;
|
|
416
|
+
txHash?: string | undefined;
|
|
417
|
+
onChainAt?: string | undefined;
|
|
418
|
+
} | undefined;
|
|
419
|
+
};
|
|
420
|
+
type?: AxelarTransferType | undefined;
|
|
421
|
+
} | undefined;
|
|
422
|
+
cctpTransfer?: {
|
|
423
|
+
toChainId?: string | undefined;
|
|
424
|
+
fromChainId?: string | undefined;
|
|
425
|
+
state?: CCTPTransferState | undefined;
|
|
426
|
+
txs?: {
|
|
427
|
+
sendTx?: {
|
|
428
|
+
chainId?: string | undefined;
|
|
429
|
+
explorerLink: string;
|
|
430
|
+
txHash?: string | undefined;
|
|
431
|
+
onChainAt?: string | undefined;
|
|
432
|
+
} | undefined;
|
|
433
|
+
receiveTx?: {
|
|
434
|
+
chainId?: string | undefined;
|
|
435
|
+
explorerLink: string;
|
|
436
|
+
txHash?: string | undefined;
|
|
437
|
+
onChainAt?: string | undefined;
|
|
438
|
+
} | undefined;
|
|
439
|
+
} | undefined;
|
|
440
|
+
} | undefined;
|
|
441
|
+
hyperlaneTransfer?: {
|
|
442
|
+
fromChainId: string;
|
|
443
|
+
toChainId: string;
|
|
444
|
+
state: HyperlaneTransferState;
|
|
445
|
+
txs: {
|
|
446
|
+
sendTx?: {
|
|
447
|
+
chainId?: string | undefined;
|
|
448
|
+
explorerLink: string;
|
|
449
|
+
txHash?: string | undefined;
|
|
450
|
+
onChainAt?: string | undefined;
|
|
451
|
+
} | undefined;
|
|
452
|
+
receiveTx?: {
|
|
453
|
+
chainId?: string | undefined;
|
|
454
|
+
explorerLink: string;
|
|
455
|
+
txHash?: string | undefined;
|
|
456
|
+
onChainAt?: string | undefined;
|
|
457
|
+
} | undefined;
|
|
458
|
+
};
|
|
459
|
+
} | undefined;
|
|
460
|
+
opInitTransfer?: {
|
|
461
|
+
toChainId: string;
|
|
462
|
+
fromChainId: string;
|
|
463
|
+
state: OPInitTransferState;
|
|
464
|
+
txs: {
|
|
465
|
+
sendTx?: {
|
|
466
|
+
chainId?: string | undefined;
|
|
467
|
+
explorerLink: string;
|
|
468
|
+
txHash?: string | undefined;
|
|
469
|
+
onChainAt?: string | undefined;
|
|
470
|
+
} | undefined;
|
|
471
|
+
receiveTx?: {
|
|
472
|
+
chainId?: string | undefined;
|
|
473
|
+
explorerLink: string;
|
|
474
|
+
txHash?: string | undefined;
|
|
475
|
+
onChainAt?: string | undefined;
|
|
476
|
+
} | undefined;
|
|
477
|
+
};
|
|
478
|
+
} | undefined;
|
|
479
|
+
stargateTransfer?: {
|
|
480
|
+
fromChainId?: string | undefined;
|
|
481
|
+
toChainId?: string | undefined;
|
|
482
|
+
state?: StargateTransferState | undefined;
|
|
483
|
+
txs?: {
|
|
484
|
+
sendTx?: {
|
|
485
|
+
chainId?: string | undefined;
|
|
486
|
+
explorerLink: string;
|
|
487
|
+
txHash?: string | undefined;
|
|
488
|
+
onChainAt?: string | undefined;
|
|
489
|
+
} | undefined;
|
|
490
|
+
receiveTx?: {
|
|
491
|
+
chainId?: string | undefined;
|
|
492
|
+
explorerLink: string;
|
|
493
|
+
txHash?: string | undefined;
|
|
494
|
+
onChainAt?: string | undefined;
|
|
495
|
+
} | undefined;
|
|
496
|
+
errorTx?: {
|
|
497
|
+
chainId?: string | undefined;
|
|
498
|
+
explorerLink: string;
|
|
499
|
+
txHash?: string | undefined;
|
|
500
|
+
onChainAt?: string | undefined;
|
|
501
|
+
} | undefined;
|
|
502
|
+
} | undefined;
|
|
503
|
+
} | undefined;
|
|
504
|
+
goFastTransfer?: {
|
|
505
|
+
fromChainId: string;
|
|
506
|
+
toChainId: string;
|
|
507
|
+
state: GoFastTransferState;
|
|
508
|
+
txs: {
|
|
509
|
+
orderSubmittedTx?: {
|
|
510
|
+
chainId?: string | undefined;
|
|
511
|
+
explorerLink: string;
|
|
512
|
+
txHash?: string | undefined;
|
|
513
|
+
onChainAt?: string | undefined;
|
|
514
|
+
} | undefined;
|
|
515
|
+
orderFilledTx?: {
|
|
516
|
+
chainId?: string | undefined;
|
|
517
|
+
explorerLink: string;
|
|
518
|
+
txHash?: string | undefined;
|
|
519
|
+
onChainAt?: string | undefined;
|
|
520
|
+
} | undefined;
|
|
521
|
+
orderRefundedTx?: {
|
|
522
|
+
chainId?: string | undefined;
|
|
523
|
+
explorerLink: string;
|
|
524
|
+
txHash?: string | undefined;
|
|
525
|
+
onChainAt?: string | undefined;
|
|
526
|
+
} | undefined;
|
|
527
|
+
orderTimeoutTx?: {
|
|
528
|
+
chainId?: string | undefined;
|
|
529
|
+
explorerLink: string;
|
|
530
|
+
txHash?: string | undefined;
|
|
531
|
+
onChainAt?: string | undefined;
|
|
532
|
+
} | undefined;
|
|
533
|
+
};
|
|
534
|
+
errorMessage?: string | undefined;
|
|
535
|
+
} | undefined;
|
|
536
|
+
eurekaTransfer?: {
|
|
537
|
+
fromChainId: string;
|
|
538
|
+
toChainId: string;
|
|
539
|
+
state: TransferState;
|
|
540
|
+
packetTxs: {
|
|
541
|
+
acknowledgeTx?: {
|
|
542
|
+
chainId?: string | undefined;
|
|
543
|
+
explorerLink: string;
|
|
544
|
+
txHash?: string | undefined;
|
|
545
|
+
onChainAt?: string | undefined;
|
|
546
|
+
} | undefined;
|
|
547
|
+
error?: {
|
|
548
|
+
details?: {
|
|
549
|
+
code?: number | undefined;
|
|
550
|
+
message?: string | undefined;
|
|
551
|
+
} | undefined;
|
|
552
|
+
message?: string | undefined;
|
|
553
|
+
type?: PacketErrorType | undefined;
|
|
554
|
+
} | undefined;
|
|
555
|
+
receiveTx?: {
|
|
556
|
+
chainId?: string | undefined;
|
|
557
|
+
explorerLink: string;
|
|
558
|
+
txHash?: string | undefined;
|
|
559
|
+
onChainAt?: string | undefined;
|
|
560
|
+
} | undefined;
|
|
561
|
+
sendTx?: {
|
|
562
|
+
chainId?: string | undefined;
|
|
563
|
+
explorerLink: string;
|
|
564
|
+
txHash?: string | undefined;
|
|
565
|
+
onChainAt?: string | undefined;
|
|
566
|
+
} | undefined;
|
|
567
|
+
timeoutTx?: {
|
|
568
|
+
chainId?: string | undefined;
|
|
569
|
+
explorerLink: string;
|
|
570
|
+
txHash?: string | undefined;
|
|
571
|
+
onChainAt?: string | undefined;
|
|
572
|
+
} | undefined;
|
|
573
|
+
};
|
|
574
|
+
} | undefined;
|
|
575
|
+
layerZeroTransfer?: {
|
|
576
|
+
fromChainId: string;
|
|
577
|
+
toChainId: string;
|
|
578
|
+
state: LayerZeroTransferState;
|
|
579
|
+
txs: {
|
|
580
|
+
sendTx?: {
|
|
581
|
+
chainId?: string | undefined;
|
|
582
|
+
explorerLink: string;
|
|
583
|
+
txHash?: string | undefined;
|
|
584
|
+
onChainAt?: string | undefined;
|
|
585
|
+
} | undefined;
|
|
586
|
+
receiveTx?: {
|
|
587
|
+
chainId?: string | undefined;
|
|
588
|
+
explorerLink: string;
|
|
589
|
+
txHash?: string | undefined;
|
|
590
|
+
onChainAt?: string | undefined;
|
|
591
|
+
} | undefined;
|
|
592
|
+
errorTx?: {
|
|
593
|
+
chainId?: string | undefined;
|
|
594
|
+
explorerLink: string;
|
|
595
|
+
txHash?: string | undefined;
|
|
596
|
+
onChainAt?: string | undefined;
|
|
597
|
+
} | undefined;
|
|
598
|
+
};
|
|
599
|
+
} | undefined;
|
|
600
|
+
}[];
|
|
601
|
+
nextBlockingTransfer?: {
|
|
602
|
+
transferSequenceIndex?: number | undefined;
|
|
603
|
+
} | undefined;
|
|
604
|
+
transferAssetRelease?: {
|
|
605
|
+
chainId?: string | undefined;
|
|
606
|
+
denom?: string | undefined;
|
|
607
|
+
amount?: string | undefined;
|
|
608
|
+
released?: boolean | undefined;
|
|
609
|
+
} | undefined;
|
|
610
|
+
error?: {
|
|
611
|
+
details?: {
|
|
612
|
+
code?: number | undefined;
|
|
613
|
+
message?: string | undefined;
|
|
614
|
+
} | undefined;
|
|
615
|
+
message?: string | undefined;
|
|
616
|
+
type?: StatusErrorType | undefined;
|
|
617
|
+
} | null | undefined;
|
|
618
|
+
status?: string | undefined;
|
|
619
|
+
}>;
|
|
620
|
+
|
|
621
|
+
export { type WaitForTransactionProps, waitForTransaction };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeneratedType } from '@cosmjs/proto-signing';
|
|
2
2
|
import { AminoConverters } from '@cosmjs/stargate';
|
|
3
3
|
import { S as SkipApiOptions } from './apiState-CdzxTxYd.js';
|
|
4
|
-
import { E as EndpointOptions } from './client-types-
|
|
4
|
+
import { E as EndpointOptions } from './client-types-BkeR6R_z.js';
|
|
5
5
|
|
|
6
6
|
type SkipClientOptions = SkipApiOptions & {
|
|
7
7
|
endpointOptions?: {
|
|
@@ -1149,6 +1149,9 @@ interface Transfer {
|
|
|
1149
1149
|
denomOut?: string;
|
|
1150
1150
|
/** Amount of the fee asset to be paid as the transfer fee if applicable. */
|
|
1151
1151
|
feeAmount?: string;
|
|
1152
|
+
/** Address of the entry contract on the destination chain */
|
|
1153
|
+
toChainEntryContractAddress?: string;
|
|
1154
|
+
toChainCallbackContractAddress?: string;
|
|
1152
1155
|
/** Amount of the fee asset to be paid as the transfer fee if applicable, converted to USD value */
|
|
1153
1156
|
usdFeeAmount?: string;
|
|
1154
1157
|
/** Asset to be paid as the transfer fee if applicable. */
|
|
@@ -1955,4 +1958,4 @@ declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityD
|
|
|
1955
1958
|
}, params?: RequestParams) => Promise<HttpResponse<FungibleAssetsBetweenChainsCreateResponse, Error>>;
|
|
1956
1959
|
}
|
|
1957
1960
|
|
|
1958
|
-
export { type EvmTx as $, type AcknowledgementErrorDetails as A, type BalanceRequestChainEntry as B, type CCTPTransfer as C, type BalanceResponseDenomEntry as D, type BalanceResponseChainEntry as E, type BankSend as F, type GoFastTransfer as G, type BankSendWrapper as H, type Bridge as I, BridgeType as J, type Chain as K, ChainType as L, type ChainAffiliates as M, type ContractCallWithTokenError as N, ContractCallWithTokenErrorType as O, type ContractCallWithTokenTxs as P, type CosmWasmContractMsg as Q, type CosmWasmContractMsgWrapper as R, type SmartRelayFeeQuote as S, type Erc20Approval as T, type ErrorDetail as U, type Error as V, type CosmosMsg as W, type CosmosTx as X, type CosmosTxWrapper as Y, type EvmSwap as Z, type EvmSwapWrapper as _, type Affiliate as a, type LayerZeroTransferWrapper as a$, type EvmTxWrapper as a0, type SvmTx as a1, type SvmTxWrapper as a2, type FeeAsset as a3, type GoFastFee as a4, type GRPCStatusCode as a5, type HyperlaneTransfer as a6, type HyperlaneTransferInfo as a7, HyperlaneTransferState as a8, type HyperlaneTransferTransactions as a9, type SwapOperation as aA, type SwapOutWrapper as aB, type SwapRoute as aC, type SmartSwapExactCoinIn as aD, type SmartSwapOptions as aE, type SmartSwapInWrapper as aF, type SwapVenue as aG, type SwapWrapper as aH, type TransactionExecutionErrorDetails as aI, TransactionState as aJ, type OPInitTransfer as aK, type OPInitTransferWrapper as aL, type OPInitTransferInfo as aM, type OPInitTransferTxs as aN, OPInitTransferState as aO, LayerZeroTransferState as aP, type Transfer as aQ, type TransferEvent as aR, TransferState as aS, type TransferAssetRelease as aT, type TransferStatus as aU, type TransferWrapper as aV, type EurekaTransfer as aW, type EurekaTransferInfo as aX, type EurekaTransferWrapper as aY, type LayerZeroTransfer as aZ, type LayerZeroTransferInfo as a_, type HyperlaneTransferWrapper as aa, type IBCTransferInfo as ab, type Msg as ac, type Tx as ad, type MultiChainMsg as ae, type MultiChainMsgWrapper as af, type Operation as ag, type OptionalAsset as ah, type LayerZeroTransferTransactions as ai, type Packet as aj, type PacketError as ak, PacketErrorType as al, type ChainTransaction as am, type PostHandler as an, Reason as ao, RoutePriceWarningType as ap, type Route as aq, type SendTokenError as ar, SendTokenErrorType as as, type SendTokenTxs as at, type StatusError as au, StatusErrorType as av, type Swap as aw, type SwapExactCoinIn as ax, type SwapExactCoinOut as ay, type SwapInWrapper as az, type ApiError as b, type RecommendationRequest as b0, type CosmosModuleSupport as b1, type IbcCapabilities as b2, FeeType as b3, type Fee as b4, type ChainsRequest as b5, type ChainsResponse as b6, type BalancesResponse as b7, type BridgesResponse as b8, type VenuesRequest as b9, type VenuesResponse as ba, type AssetsRequest as bb, type AssetsResponse as bc, type AssetsFromSourceResponse as bd, type RouteResponse as be, type MsgsResponse as bf, type MsgsDirectResponse as bg, type AssetRecommendationsResponse as bh, type
|
|
1961
|
+
export { type EvmTx as $, type AcknowledgementErrorDetails as A, type BalanceRequestChainEntry as B, type CCTPTransfer as C, type BalanceResponseDenomEntry as D, type BalanceResponseChainEntry as E, type BankSend as F, type GoFastTransfer as G, type BankSendWrapper as H, type Bridge as I, BridgeType as J, type Chain as K, ChainType as L, type ChainAffiliates as M, type ContractCallWithTokenError as N, ContractCallWithTokenErrorType as O, type ContractCallWithTokenTxs as P, type CosmWasmContractMsg as Q, type CosmWasmContractMsgWrapper as R, type SmartRelayFeeQuote as S, type Erc20Approval as T, type ErrorDetail as U, type Error as V, type CosmosMsg as W, type CosmosTx as X, type CosmosTxWrapper as Y, type EvmSwap as Z, type EvmSwapWrapper as _, type Affiliate as a, type LayerZeroTransferWrapper as a$, type EvmTxWrapper as a0, type SvmTx as a1, type SvmTxWrapper as a2, type FeeAsset as a3, type GoFastFee as a4, type GRPCStatusCode as a5, type HyperlaneTransfer as a6, type HyperlaneTransferInfo as a7, HyperlaneTransferState as a8, type HyperlaneTransferTransactions as a9, type SwapOperation as aA, type SwapOutWrapper as aB, type SwapRoute as aC, type SmartSwapExactCoinIn as aD, type SmartSwapOptions as aE, type SmartSwapInWrapper as aF, type SwapVenue as aG, type SwapWrapper as aH, type TransactionExecutionErrorDetails as aI, TransactionState as aJ, type OPInitTransfer as aK, type OPInitTransferWrapper as aL, type OPInitTransferInfo as aM, type OPInitTransferTxs as aN, OPInitTransferState as aO, LayerZeroTransferState as aP, type Transfer as aQ, type TransferEvent as aR, TransferState as aS, type TransferAssetRelease as aT, type TransferStatus as aU, type TransferWrapper as aV, type EurekaTransfer as aW, type EurekaTransferInfo as aX, type EurekaTransferWrapper as aY, type LayerZeroTransfer as aZ, type LayerZeroTransferInfo as a_, type HyperlaneTransferWrapper as aa, type IBCTransferInfo as ab, type Msg as ac, type Tx as ad, type MultiChainMsg as ae, type MultiChainMsgWrapper as af, type Operation as ag, type OptionalAsset as ah, type LayerZeroTransferTransactions as ai, type Packet as aj, type PacketError as ak, PacketErrorType as al, type ChainTransaction as am, type PostHandler as an, Reason as ao, RoutePriceWarningType as ap, type Route as aq, type SendTokenError as ar, SendTokenErrorType as as, type SendTokenTxs as at, type StatusError as au, StatusErrorType as av, type Swap as aw, type SwapExactCoinIn as ax, type SwapExactCoinOut as ay, type SwapInWrapper as az, type ApiError as b, type RecommendationRequest as b0, type CosmosModuleSupport as b1, type IbcCapabilities as b2, FeeType as b3, type Fee as b4, type ChainsRequest as b5, type ChainsResponse as b6, type BalancesResponse as b7, type BridgesResponse as b8, type VenuesRequest as b9, type VenuesResponse as ba, type AssetsRequest as bb, type AssetsResponse as bc, type AssetsFromSourceResponse as bd, type RouteResponse as be, type MsgsResponse as bf, type MsgsDirectResponse as bg, type AssetRecommendationsResponse as bh, type TrackResponse as bi, type StatusRequest as bj, type StatusResponse as bk, type IbcOriginAssetsResponse as bl, type FungibleAssetsBetweenChainsCreateResponse as bm, type QueryParamsType as bn, type ResponseFormat as bo, type FullRequestParams as bp, type RequestParams as bq, type ApiConfig as br, type HttpResponse as bs, ContentType as bt, HttpClient as bu, Api as bv, type Asset as c, type AssetBetweenChains as d, type AssetRecommendation as e, AutopilotAction as f, type AutopilotMsg as g, type AutopilotMsgWrapper as h, type AxelarTransfer as i, type AxelarTransferInfo as j, AxelarTransferState as k, AxelarTransferType as l, type AxelarTransferWrapper as m, type CCTPTransferInfo as n, type CCTPTransferTxs as o, CCTPTransferState as p, type CCTPTransferWrapper as q, type StargateTransfer as r, StargateTransferState as s, type StargateTransferTxs as t, type StargateTransferInfo as u, type StargateTransferWrapper as v, GoFastTransferState as w, type GoFastTransferTxs as x, type GoFastTransferInfo as y, type GoFastTransferWrapper as z };
|
package/package.json
CHANGED