@skip-go/client 1.0.2 → 1.0.3-alpha-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.
@@ -27,15 +27,15 @@ declare const messagesDirect: (options?: ({
27
27
  };
28
28
  } | undefined;
29
29
  postRouteHandler?: {
30
- autpilotMsg?: {
31
- action?: AutopilotAction | undefined;
32
- receiver?: string | undefined;
33
- } | undefined;
34
- } | {
35
30
  wasmMsg?: {
36
31
  contractAddress?: string | undefined;
37
32
  msg?: string | undefined;
38
33
  } | undefined;
34
+ } | {
35
+ autpilotMsg?: {
36
+ action?: AutopilotAction | undefined;
37
+ receiver?: string | undefined;
38
+ } | undefined;
39
39
  } | undefined;
40
40
  allowMultiTx?: boolean | undefined;
41
41
  allowUnsafe?: boolean | undefined;
@@ -53,6 +53,13 @@ declare const messagesDirect: (options?: ({
53
53
  abortDuplicateRequests?: boolean | undefined;
54
54
  }) | undefined) => Promise<{
55
55
  msgs?: ({
56
+ multiChainMsg?: {
57
+ chainId?: string | undefined;
58
+ msg?: string | undefined;
59
+ msgTypeUrl?: string | undefined;
60
+ path?: string[] | undefined;
61
+ } | undefined;
62
+ } | {
56
63
  evmTx: {
57
64
  chainId: string;
58
65
  data?: string | undefined;
@@ -71,26 +78,8 @@ declare const messagesDirect: (options?: ({
71
78
  signerAddress?: string | undefined;
72
79
  tx?: string | undefined;
73
80
  };
74
- } | {
75
- multiChainMsg?: {
76
- chainId?: string | undefined;
77
- msg?: string | undefined;
78
- msgTypeUrl?: string | undefined;
79
- path?: string[] | undefined;
80
- } | undefined;
81
81
  })[] | undefined;
82
82
  txs?: ({
83
- cosmosTx: {
84
- chainId: string;
85
- path?: string[] | undefined;
86
- signerAddress?: string | undefined;
87
- msgs?: {
88
- msg?: string | undefined;
89
- msgTypeUrl?: string | undefined;
90
- }[] | undefined;
91
- };
92
- operationsIndices?: number[] | undefined;
93
- } | {
94
83
  evmTx: {
95
84
  chainId: string;
96
85
  data?: string | undefined;
@@ -111,6 +100,17 @@ declare const messagesDirect: (options?: ({
111
100
  tx?: string | undefined;
112
101
  };
113
102
  operationsIndices?: number[] | undefined;
103
+ } | {
104
+ cosmosTx: {
105
+ chainId: string;
106
+ path?: string[] | undefined;
107
+ signerAddress?: string | undefined;
108
+ msgs?: {
109
+ msg?: string | undefined;
110
+ msgTypeUrl?: string | undefined;
111
+ }[] | undefined;
112
+ };
113
+ operationsIndices?: number[] | undefined;
114
114
  })[] | undefined;
115
115
  route?: {
116
116
  amountIn: string;
@@ -122,6 +122,128 @@ declare const messagesDirect: (options?: ({
122
122
  doesSwap?: boolean | undefined;
123
123
  estimatedAmountOut: string;
124
124
  operations: ({
125
+ transfer?: {
126
+ fromChainId?: string | undefined;
127
+ toChainId?: string | undefined;
128
+ channel?: string | undefined;
129
+ destDenom?: string | undefined;
130
+ pfmEnabled?: boolean | undefined;
131
+ port?: string | undefined;
132
+ supportsMemo?: boolean | undefined;
133
+ denomIn?: string | undefined;
134
+ denomOut?: string | undefined;
135
+ feeAmount?: string | undefined;
136
+ usdFeeAmount?: string | undefined;
137
+ feeAsset?: {
138
+ chainId: string;
139
+ coingeckoId?: string | undefined;
140
+ decimals?: number | undefined;
141
+ denom: string;
142
+ description?: string | undefined;
143
+ isCw20: boolean;
144
+ isEvm: boolean;
145
+ isSvm: boolean;
146
+ logoUri?: string | undefined;
147
+ name?: string | undefined;
148
+ originChainId: string;
149
+ originDenom: string;
150
+ recommendedSymbol?: string | undefined;
151
+ symbol?: string | undefined;
152
+ tokenContract?: string | undefined;
153
+ trace: string;
154
+ } | undefined;
155
+ bridgeId?: BridgeType | undefined;
156
+ smartRelay?: boolean | undefined;
157
+ } | undefined;
158
+ txIndex: number;
159
+ amountIn: string;
160
+ amountOut: string;
161
+ } | {
162
+ swap?: {
163
+ swapIn?: {
164
+ swapAmountIn?: string | undefined;
165
+ swapOperations?: {
166
+ denomIn?: string | undefined;
167
+ denomOut?: string | undefined;
168
+ pool?: string | undefined;
169
+ interface?: string | undefined;
170
+ }[] | undefined;
171
+ swapVenue?: {
172
+ chainId?: string | undefined;
173
+ name?: string | undefined;
174
+ logoUri?: string | undefined;
175
+ } | undefined;
176
+ priceImpactPercent?: string | undefined;
177
+ } | undefined;
178
+ estimatedAffiliateFee?: string | undefined;
179
+ chainId?: string | undefined;
180
+ fromChainId?: string | undefined;
181
+ denomIn?: string | undefined;
182
+ denomOut?: string | undefined;
183
+ swapVenues?: {
184
+ chainId?: string | undefined;
185
+ name?: string | undefined;
186
+ logoUri?: string | undefined;
187
+ }[] | undefined;
188
+ } | {
189
+ swapOut?: {
190
+ swapAmountOut?: string | undefined;
191
+ swapOperations?: {
192
+ denomIn?: string | undefined;
193
+ denomOut?: string | undefined;
194
+ pool?: string | undefined;
195
+ interface?: string | undefined;
196
+ }[] | undefined;
197
+ swapVenue?: {
198
+ chainId?: string | undefined;
199
+ name?: string | undefined;
200
+ logoUri?: string | undefined;
201
+ } | undefined;
202
+ priceImpactPercent?: string | undefined;
203
+ } | undefined;
204
+ estimatedAffiliateFee?: string | undefined;
205
+ chainId?: string | undefined;
206
+ fromChainId?: string | undefined;
207
+ denomIn?: string | undefined;
208
+ denomOut?: string | undefined;
209
+ swapVenues?: {
210
+ chainId?: string | undefined;
211
+ name?: string | undefined;
212
+ logoUri?: string | undefined;
213
+ }[] | undefined;
214
+ } | {
215
+ smartSwapIn?: {
216
+ swapVenue?: {
217
+ chainId?: string | undefined;
218
+ name?: string | undefined;
219
+ logoUri?: string | undefined;
220
+ } | undefined;
221
+ swapRoutes?: {
222
+ swapAmountIn?: string | undefined;
223
+ denomIn?: string | undefined;
224
+ swapOperations?: {
225
+ denomIn?: string | undefined;
226
+ denomOut?: string | undefined;
227
+ pool?: string | undefined;
228
+ interface?: string | undefined;
229
+ }[] | undefined;
230
+ }[] | undefined;
231
+ } | undefined;
232
+ estimatedAffiliateFee?: string | undefined;
233
+ chainId?: string | undefined;
234
+ fromChainId?: string | undefined;
235
+ denomIn?: string | undefined;
236
+ denomOut?: string | undefined;
237
+ swapVenues?: {
238
+ chainId?: string | undefined;
239
+ name?: string | undefined;
240
+ logoUri?: string | undefined;
241
+ }[] | undefined;
242
+ } | undefined;
243
+ txIndex: number;
244
+ amountIn: string;
245
+ amountOut: string;
246
+ } | {
125
247
  axelarTransfer?: {
126
248
  asset?: string | undefined;
127
249
  feeAmount?: string | undefined;
@@ -191,6 +313,14 @@ declare const messagesDirect: (options?: ({
191
313
  txIndex: number;
192
314
  amountIn: string;
193
315
  amountOut: string;
316
+ } | {
317
+ bankSend?: {
318
+ chainId?: string | undefined;
319
+ denom?: string | undefined;
320
+ } | undefined;
321
+ txIndex: number;
322
+ amountIn: string;
323
+ amountOut: string;
194
324
  } | {
195
325
  cctpTransfer?: {
196
326
  fromChainId?: string | undefined;
@@ -212,35 +342,14 @@ declare const messagesDirect: (options?: ({
212
342
  amountIn: string;
213
343
  amountOut: string;
214
344
  } | {
215
- stargateTransfer?: {
345
+ hyperlaneTransfer?: {
216
346
  fromChainId?: string | undefined;
217
347
  toChainId?: string | undefined;
218
348
  denomIn?: string | undefined;
219
349
  denomOut?: string | undefined;
220
- bridgeId?: BridgeType | undefined;
221
- poolAddress?: string | undefined;
222
- destinationEndpointId?: number | undefined;
223
- oftFeeAsset?: {
224
- chainId: string;
225
- coingeckoId?: string | undefined;
226
- decimals?: number | undefined;
227
- denom: string;
228
- description?: string | undefined;
229
- isCw20: boolean;
230
- isEvm: boolean;
231
- isSvm: boolean;
232
- logoUri?: string | undefined;
233
- name?: string | undefined;
234
- originChainId: string;
235
- originDenom: string;
236
- recommendedSymbol?: string | undefined;
237
- symbol?: string | undefined;
238
- tokenContract?: string | undefined;
239
- trace: string;
240
- } | undefined;
241
- oftFeeAmount?: string | undefined;
242
- oftFeeAmountUsd?: string | undefined;
243
- messagingFeeAsset?: {
350
+ hyperlaneContractAddress?: string | undefined;
351
+ feeAmount?: string | undefined;
352
+ feeAsset?: {
244
353
  chainId: string;
245
354
  coingeckoId?: string | undefined;
246
355
  decimals?: number | undefined;
@@ -258,16 +367,9 @@ declare const messagesDirect: (options?: ({
258
367
  tokenContract?: string | undefined;
259
368
  trace: string;
260
369
  } | undefined;
261
- messagingFeeAmount?: string | undefined;
262
- messageingFeeAmountUsd?: string | undefined;
263
- } | undefined;
264
- txIndex: number;
265
- amountIn: string;
266
- amountOut: string;
267
- } | {
268
- bankSend?: {
269
- chainId?: string | undefined;
270
- denom?: string | undefined;
370
+ usdFeeAmount?: string | undefined;
371
+ bridgeId?: BridgeType | undefined;
372
+ smartRelay?: boolean | undefined;
271
373
  } | undefined;
272
374
  txIndex: number;
273
375
  amountIn: string;
@@ -291,14 +393,28 @@ declare const messagesDirect: (options?: ({
291
393
  amountIn: string;
292
394
  amountOut: string;
293
395
  } | {
294
- hyperlaneTransfer?: {
396
+ transfer?: {
295
397
  fromChainId?: string | undefined;
296
398
  toChainId?: string | undefined;
297
399
  denomIn?: string | undefined;
298
400
  denomOut?: string | undefined;
299
- hyperlaneContractAddress?: string | undefined;
300
- feeAmount?: string | undefined;
301
- feeAsset?: {
401
+ opInitBridgeId?: any;
402
+ bridgeId?: BridgeType | undefined;
403
+ smartRelay?: boolean | undefined;
404
+ } | undefined;
405
+ txIndex: number;
406
+ amountIn: string;
407
+ amountOut: string;
408
+ } | {
409
+ stargateTransfer?: {
410
+ fromChainId?: string | undefined;
411
+ toChainId?: string | undefined;
412
+ denomIn?: string | undefined;
413
+ denomOut?: string | undefined;
414
+ bridgeId?: BridgeType | undefined;
415
+ poolAddress?: string | undefined;
416
+ destinationEndpointId?: number | undefined;
417
+ oftFeeAsset?: {
302
418
  chainId: string;
303
419
  coingeckoId?: string | undefined;
304
420
  decimals?: number | undefined;
@@ -316,27 +432,9 @@ declare const messagesDirect: (options?: ({
316
432
  tokenContract?: string | undefined;
317
433
  trace: string;
318
434
  } | undefined;
319
- usdFeeAmount?: string | undefined;
320
- bridgeId?: BridgeType | undefined;
321
- smartRelay?: boolean | undefined;
322
- } | undefined;
323
- txIndex: number;
324
- amountIn: string;
325
- amountOut: string;
326
- } | {
327
- transfer?: {
328
- fromChainId?: string | undefined;
329
- toChainId?: string | undefined;
330
- channel?: string | undefined;
331
- destDenom?: string | undefined;
332
- pfmEnabled?: boolean | undefined;
333
- port?: string | undefined;
334
- supportsMemo?: boolean | undefined;
335
- denomIn?: string | undefined;
336
- denomOut?: string | undefined;
337
- feeAmount?: string | undefined;
338
- usdFeeAmount?: string | undefined;
339
- feeAsset?: {
435
+ oftFeeAmount?: string | undefined;
436
+ oftFeeAmountUsd?: string | undefined;
437
+ messagingFeeAsset?: {
340
438
  chainId: string;
341
439
  coingeckoId?: string | undefined;
342
440
  decimals?: number | undefined;
@@ -354,106 +452,8 @@ declare const messagesDirect: (options?: ({
354
452
  tokenContract?: string | undefined;
355
453
  trace: string;
356
454
  } | undefined;
357
- bridgeId?: BridgeType | undefined;
358
- smartRelay?: boolean | undefined;
359
- } | undefined;
360
- txIndex: number;
361
- amountIn: string;
362
- amountOut: string;
363
- } | {
364
- swap?: {
365
- swapIn?: {
366
- swapAmountIn?: string | undefined;
367
- swapOperations?: {
368
- denomIn?: string | undefined;
369
- denomOut?: string | undefined;
370
- pool?: string | undefined;
371
- interface?: string | undefined;
372
- }[] | undefined;
373
- swapVenue?: {
374
- chainId?: string | undefined;
375
- name?: string | undefined;
376
- logoUri?: string | undefined;
377
- } | undefined;
378
- priceImpactPercent?: string | undefined;
379
- } | undefined;
380
- estimatedAffiliateFee?: string | undefined;
381
- chainId?: string | undefined;
382
- fromChainId?: string | undefined;
383
- denomIn?: string | undefined;
384
- denomOut?: string | undefined;
385
- swapVenues?: {
386
- chainId?: string | undefined;
387
- name?: string | undefined;
388
- logoUri?: string | undefined;
389
- }[] | undefined;
390
- } | {
391
- swapOut?: {
392
- swapAmountOut?: string | undefined;
393
- swapOperations?: {
394
- denomIn?: string | undefined;
395
- denomOut?: string | undefined;
396
- pool?: string | undefined;
397
- interface?: string | undefined;
398
- }[] | undefined;
399
- swapVenue?: {
400
- chainId?: string | undefined;
401
- name?: string | undefined;
402
- logoUri?: string | undefined;
403
- } | undefined;
404
- priceImpactPercent?: string | undefined;
405
- } | undefined;
406
- estimatedAffiliateFee?: string | undefined;
407
- chainId?: string | undefined;
408
- fromChainId?: string | undefined;
409
- denomIn?: string | undefined;
410
- denomOut?: string | undefined;
411
- swapVenues?: {
412
- chainId?: string | undefined;
413
- name?: string | undefined;
414
- logoUri?: string | undefined;
415
- }[] | undefined;
416
- } | {
417
- smartSwapIn?: {
418
- swapVenue?: {
419
- chainId?: string | undefined;
420
- name?: string | undefined;
421
- logoUri?: string | undefined;
422
- } | undefined;
423
- swapRoutes?: {
424
- swapAmountIn?: string | undefined;
425
- denomIn?: string | undefined;
426
- swapOperations?: {
427
- denomIn?: string | undefined;
428
- denomOut?: string | undefined;
429
- pool?: string | undefined;
430
- interface?: string | undefined;
431
- }[] | undefined;
432
- }[] | undefined;
433
- } | undefined;
434
- estimatedAffiliateFee?: string | undefined;
435
- chainId?: string | undefined;
436
- fromChainId?: string | undefined;
437
- denomIn?: string | undefined;
438
- denomOut?: string | undefined;
439
- swapVenues?: {
440
- chainId?: string | undefined;
441
- name?: string | undefined;
442
- logoUri?: string | undefined;
443
- }[] | undefined;
444
- } | undefined;
445
- txIndex: number;
446
- amountIn: string;
447
- amountOut: string;
448
- } | {
449
- transfer?: {
450
- fromChainId?: string | undefined;
451
- toChainId?: string | undefined;
452
- denomIn?: string | undefined;
453
- denomOut?: string | undefined;
454
- opInitBridgeId?: any;
455
- bridgeId?: BridgeType | undefined;
456
- smartRelay?: boolean | undefined;
455
+ messagingFeeAmount?: string | undefined;
456
+ messageingFeeAmountUsd?: string | undefined;
457
457
  } | undefined;
458
458
  txIndex: number;
459
459
  amountIn: string;