@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.
- package/dist/api/postMessages.d.ts +183 -183
- package/dist/api/postMessagesDirect.d.ts +183 -183
- package/dist/api/postRoute.d.ts +160 -160
- package/dist/{chunk-735L35R6.js → chunk-F75DC5RW.js} +14 -18
- package/dist/{chunk-SQGWZAUC.js → chunk-PHTQQIAH.js} +5 -6
- package/dist/{chunk-3N7XVGLX.js → chunk-SONZJVQM.js} +4 -4
- package/dist/{chunk-3OZQ35X3.js → chunk-TD63P2AG.js} +1 -1
- package/dist/{chunk-BRJDNGYH.js → chunk-UNF72WYO.js} +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +5 -5
- package/dist/public-functions/executeRoute.js +3 -3
- package/dist/public-functions/getRecommendedGasPrice.js +1 -1
- package/dist/public-functions/getSigningStargateClient.d.ts +1 -1
- package/dist/public-functions/getSigningStargateClient.js +1 -1
- package/dist/public-functions/setClientOptions.js +2 -2
- package/package.json +1 -1
|
@@ -11,6 +11,128 @@ declare const messages: (options?: ({
|
|
|
11
11
|
amountOut: string;
|
|
12
12
|
addressList: string[];
|
|
13
13
|
operations: ({
|
|
14
|
+
transfer?: {
|
|
15
|
+
fromChainId?: string | undefined;
|
|
16
|
+
toChainId?: string | undefined;
|
|
17
|
+
channel?: string | undefined;
|
|
18
|
+
destDenom?: string | undefined;
|
|
19
|
+
pfmEnabled?: boolean | undefined;
|
|
20
|
+
port?: string | undefined;
|
|
21
|
+
supportsMemo?: boolean | undefined;
|
|
22
|
+
denomIn?: string | undefined;
|
|
23
|
+
denomOut?: string | undefined;
|
|
24
|
+
feeAmount?: string | undefined;
|
|
25
|
+
usdFeeAmount?: string | undefined;
|
|
26
|
+
feeAsset?: {
|
|
27
|
+
chainId: string;
|
|
28
|
+
coingeckoId?: string | undefined;
|
|
29
|
+
decimals?: number | undefined;
|
|
30
|
+
denom: string;
|
|
31
|
+
description?: string | undefined;
|
|
32
|
+
isCw20: boolean;
|
|
33
|
+
isEvm: boolean;
|
|
34
|
+
isSvm: boolean;
|
|
35
|
+
logoUri?: string | undefined;
|
|
36
|
+
name?: string | undefined;
|
|
37
|
+
originChainId: string;
|
|
38
|
+
originDenom: string;
|
|
39
|
+
recommendedSymbol?: string | undefined;
|
|
40
|
+
symbol?: string | undefined;
|
|
41
|
+
tokenContract?: string | undefined;
|
|
42
|
+
trace: string;
|
|
43
|
+
} | undefined;
|
|
44
|
+
bridgeId?: BridgeType | undefined;
|
|
45
|
+
smartRelay?: boolean | undefined;
|
|
46
|
+
} | undefined;
|
|
47
|
+
txIndex: number;
|
|
48
|
+
amountIn: string;
|
|
49
|
+
amountOut: string;
|
|
50
|
+
} | {
|
|
51
|
+
swap?: {
|
|
52
|
+
swapIn?: {
|
|
53
|
+
swapAmountIn?: string | undefined;
|
|
54
|
+
swapOperations?: {
|
|
55
|
+
denomIn?: string | undefined;
|
|
56
|
+
denomOut?: string | undefined;
|
|
57
|
+
pool?: string | undefined;
|
|
58
|
+
interface?: string | undefined;
|
|
59
|
+
}[] | undefined;
|
|
60
|
+
swapVenue?: {
|
|
61
|
+
chainId?: string | undefined;
|
|
62
|
+
name?: string | undefined;
|
|
63
|
+
logoUri?: string | undefined;
|
|
64
|
+
} | undefined;
|
|
65
|
+
priceImpactPercent?: string | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
estimatedAffiliateFee?: string | undefined;
|
|
68
|
+
chainId?: string | undefined;
|
|
69
|
+
fromChainId?: string | undefined;
|
|
70
|
+
denomIn?: string | undefined;
|
|
71
|
+
denomOut?: string | undefined;
|
|
72
|
+
swapVenues?: {
|
|
73
|
+
chainId?: string | undefined;
|
|
74
|
+
name?: string | undefined;
|
|
75
|
+
logoUri?: string | undefined;
|
|
76
|
+
}[] | undefined;
|
|
77
|
+
} | {
|
|
78
|
+
swapOut?: {
|
|
79
|
+
swapAmountOut?: string | undefined;
|
|
80
|
+
swapOperations?: {
|
|
81
|
+
denomIn?: string | undefined;
|
|
82
|
+
denomOut?: string | undefined;
|
|
83
|
+
pool?: string | undefined;
|
|
84
|
+
interface?: string | undefined;
|
|
85
|
+
}[] | undefined;
|
|
86
|
+
swapVenue?: {
|
|
87
|
+
chainId?: string | undefined;
|
|
88
|
+
name?: string | undefined;
|
|
89
|
+
logoUri?: string | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
priceImpactPercent?: string | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
estimatedAffiliateFee?: string | undefined;
|
|
94
|
+
chainId?: string | undefined;
|
|
95
|
+
fromChainId?: string | undefined;
|
|
96
|
+
denomIn?: string | undefined;
|
|
97
|
+
denomOut?: string | undefined;
|
|
98
|
+
swapVenues?: {
|
|
99
|
+
chainId?: string | undefined;
|
|
100
|
+
name?: string | undefined;
|
|
101
|
+
logoUri?: string | undefined;
|
|
102
|
+
}[] | undefined;
|
|
103
|
+
} | {
|
|
104
|
+
smartSwapIn?: {
|
|
105
|
+
swapVenue?: {
|
|
106
|
+
chainId?: string | undefined;
|
|
107
|
+
name?: string | undefined;
|
|
108
|
+
logoUri?: string | undefined;
|
|
109
|
+
} | undefined;
|
|
110
|
+
swapRoutes?: {
|
|
111
|
+
swapAmountIn?: string | undefined;
|
|
112
|
+
denomIn?: string | undefined;
|
|
113
|
+
swapOperations?: {
|
|
114
|
+
denomIn?: string | undefined;
|
|
115
|
+
denomOut?: string | undefined;
|
|
116
|
+
pool?: string | undefined;
|
|
117
|
+
interface?: string | undefined;
|
|
118
|
+
}[] | undefined;
|
|
119
|
+
}[] | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
estimatedAffiliateFee?: string | undefined;
|
|
122
|
+
chainId?: string | undefined;
|
|
123
|
+
fromChainId?: string | undefined;
|
|
124
|
+
denomIn?: string | undefined;
|
|
125
|
+
denomOut?: string | undefined;
|
|
126
|
+
swapVenues?: {
|
|
127
|
+
chainId?: string | undefined;
|
|
128
|
+
name?: string | undefined;
|
|
129
|
+
logoUri?: string | undefined;
|
|
130
|
+
}[] | undefined;
|
|
131
|
+
} | undefined;
|
|
132
|
+
txIndex: number;
|
|
133
|
+
amountIn: string;
|
|
134
|
+
amountOut: string;
|
|
135
|
+
} | {
|
|
14
136
|
axelarTransfer?: {
|
|
15
137
|
asset?: string | undefined;
|
|
16
138
|
feeAmount?: string | undefined;
|
|
@@ -80,6 +202,14 @@ declare const messages: (options?: ({
|
|
|
80
202
|
txIndex: number;
|
|
81
203
|
amountIn: string;
|
|
82
204
|
amountOut: string;
|
|
205
|
+
} | {
|
|
206
|
+
bankSend?: {
|
|
207
|
+
chainId?: string | undefined;
|
|
208
|
+
denom?: string | undefined;
|
|
209
|
+
} | undefined;
|
|
210
|
+
txIndex: number;
|
|
211
|
+
amountIn: string;
|
|
212
|
+
amountOut: string;
|
|
83
213
|
} | {
|
|
84
214
|
cctpTransfer?: {
|
|
85
215
|
fromChainId?: string | undefined;
|
|
@@ -101,35 +231,14 @@ declare const messages: (options?: ({
|
|
|
101
231
|
amountIn: string;
|
|
102
232
|
amountOut: string;
|
|
103
233
|
} | {
|
|
104
|
-
|
|
234
|
+
hyperlaneTransfer?: {
|
|
105
235
|
fromChainId?: string | undefined;
|
|
106
236
|
toChainId?: string | undefined;
|
|
107
237
|
denomIn?: string | undefined;
|
|
108
238
|
denomOut?: string | undefined;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
oftFeeAsset?: {
|
|
113
|
-
chainId: string;
|
|
114
|
-
coingeckoId?: string | undefined;
|
|
115
|
-
decimals?: number | undefined;
|
|
116
|
-
denom: string;
|
|
117
|
-
description?: string | undefined;
|
|
118
|
-
isCw20: boolean;
|
|
119
|
-
isEvm: boolean;
|
|
120
|
-
isSvm: boolean;
|
|
121
|
-
logoUri?: string | undefined;
|
|
122
|
-
name?: string | undefined;
|
|
123
|
-
originChainId: string;
|
|
124
|
-
originDenom: string;
|
|
125
|
-
recommendedSymbol?: string | undefined;
|
|
126
|
-
symbol?: string | undefined;
|
|
127
|
-
tokenContract?: string | undefined;
|
|
128
|
-
trace: string;
|
|
129
|
-
} | undefined;
|
|
130
|
-
oftFeeAmount?: string | undefined;
|
|
131
|
-
oftFeeAmountUsd?: string | undefined;
|
|
132
|
-
messagingFeeAsset?: {
|
|
239
|
+
hyperlaneContractAddress?: string | undefined;
|
|
240
|
+
feeAmount?: string | undefined;
|
|
241
|
+
feeAsset?: {
|
|
133
242
|
chainId: string;
|
|
134
243
|
coingeckoId?: string | undefined;
|
|
135
244
|
decimals?: number | undefined;
|
|
@@ -147,16 +256,9 @@ declare const messages: (options?: ({
|
|
|
147
256
|
tokenContract?: string | undefined;
|
|
148
257
|
trace: string;
|
|
149
258
|
} | undefined;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
txIndex: number;
|
|
154
|
-
amountIn: string;
|
|
155
|
-
amountOut: string;
|
|
156
|
-
} | {
|
|
157
|
-
bankSend?: {
|
|
158
|
-
chainId?: string | undefined;
|
|
159
|
-
denom?: string | undefined;
|
|
259
|
+
usdFeeAmount?: string | undefined;
|
|
260
|
+
bridgeId?: BridgeType | undefined;
|
|
261
|
+
smartRelay?: boolean | undefined;
|
|
160
262
|
} | undefined;
|
|
161
263
|
txIndex: number;
|
|
162
264
|
amountIn: string;
|
|
@@ -180,14 +282,28 @@ declare const messages: (options?: ({
|
|
|
180
282
|
amountIn: string;
|
|
181
283
|
amountOut: string;
|
|
182
284
|
} | {
|
|
183
|
-
|
|
285
|
+
transfer?: {
|
|
184
286
|
fromChainId?: string | undefined;
|
|
185
287
|
toChainId?: string | undefined;
|
|
186
288
|
denomIn?: string | undefined;
|
|
187
289
|
denomOut?: string | undefined;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
290
|
+
opInitBridgeId?: any;
|
|
291
|
+
bridgeId?: BridgeType | undefined;
|
|
292
|
+
smartRelay?: boolean | undefined;
|
|
293
|
+
} | undefined;
|
|
294
|
+
txIndex: number;
|
|
295
|
+
amountIn: string;
|
|
296
|
+
amountOut: string;
|
|
297
|
+
} | {
|
|
298
|
+
stargateTransfer?: {
|
|
299
|
+
fromChainId?: string | undefined;
|
|
300
|
+
toChainId?: string | undefined;
|
|
301
|
+
denomIn?: string | undefined;
|
|
302
|
+
denomOut?: string | undefined;
|
|
303
|
+
bridgeId?: BridgeType | undefined;
|
|
304
|
+
poolAddress?: string | undefined;
|
|
305
|
+
destinationEndpointId?: number | undefined;
|
|
306
|
+
oftFeeAsset?: {
|
|
191
307
|
chainId: string;
|
|
192
308
|
coingeckoId?: string | undefined;
|
|
193
309
|
decimals?: number | undefined;
|
|
@@ -205,27 +321,9 @@ declare const messages: (options?: ({
|
|
|
205
321
|
tokenContract?: string | undefined;
|
|
206
322
|
trace: string;
|
|
207
323
|
} | undefined;
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
} | undefined;
|
|
212
|
-
txIndex: number;
|
|
213
|
-
amountIn: string;
|
|
214
|
-
amountOut: string;
|
|
215
|
-
} | {
|
|
216
|
-
transfer?: {
|
|
217
|
-
fromChainId?: string | undefined;
|
|
218
|
-
toChainId?: string | undefined;
|
|
219
|
-
channel?: string | undefined;
|
|
220
|
-
destDenom?: string | undefined;
|
|
221
|
-
pfmEnabled?: boolean | undefined;
|
|
222
|
-
port?: string | undefined;
|
|
223
|
-
supportsMemo?: boolean | undefined;
|
|
224
|
-
denomIn?: string | undefined;
|
|
225
|
-
denomOut?: string | undefined;
|
|
226
|
-
feeAmount?: string | undefined;
|
|
227
|
-
usdFeeAmount?: string | undefined;
|
|
228
|
-
feeAsset?: {
|
|
324
|
+
oftFeeAmount?: string | undefined;
|
|
325
|
+
oftFeeAmountUsd?: string | undefined;
|
|
326
|
+
messagingFeeAsset?: {
|
|
229
327
|
chainId: string;
|
|
230
328
|
coingeckoId?: string | undefined;
|
|
231
329
|
decimals?: number | undefined;
|
|
@@ -243,106 +341,8 @@ declare const messages: (options?: ({
|
|
|
243
341
|
tokenContract?: string | undefined;
|
|
244
342
|
trace: string;
|
|
245
343
|
} | undefined;
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
} | undefined;
|
|
249
|
-
txIndex: number;
|
|
250
|
-
amountIn: string;
|
|
251
|
-
amountOut: string;
|
|
252
|
-
} | {
|
|
253
|
-
swap?: {
|
|
254
|
-
swapIn?: {
|
|
255
|
-
swapAmountIn?: string | undefined;
|
|
256
|
-
swapOperations?: {
|
|
257
|
-
denomIn?: string | undefined;
|
|
258
|
-
denomOut?: string | undefined;
|
|
259
|
-
pool?: string | undefined;
|
|
260
|
-
interface?: string | undefined;
|
|
261
|
-
}[] | undefined;
|
|
262
|
-
swapVenue?: {
|
|
263
|
-
chainId?: string | undefined;
|
|
264
|
-
name?: string | undefined;
|
|
265
|
-
logoUri?: string | undefined;
|
|
266
|
-
} | undefined;
|
|
267
|
-
priceImpactPercent?: string | undefined;
|
|
268
|
-
} | undefined;
|
|
269
|
-
estimatedAffiliateFee?: string | undefined;
|
|
270
|
-
chainId?: string | undefined;
|
|
271
|
-
fromChainId?: string | undefined;
|
|
272
|
-
denomIn?: string | undefined;
|
|
273
|
-
denomOut?: string | undefined;
|
|
274
|
-
swapVenues?: {
|
|
275
|
-
chainId?: string | undefined;
|
|
276
|
-
name?: string | undefined;
|
|
277
|
-
logoUri?: string | undefined;
|
|
278
|
-
}[] | undefined;
|
|
279
|
-
} | {
|
|
280
|
-
swapOut?: {
|
|
281
|
-
swapAmountOut?: string | undefined;
|
|
282
|
-
swapOperations?: {
|
|
283
|
-
denomIn?: string | undefined;
|
|
284
|
-
denomOut?: string | undefined;
|
|
285
|
-
pool?: string | undefined;
|
|
286
|
-
interface?: string | undefined;
|
|
287
|
-
}[] | undefined;
|
|
288
|
-
swapVenue?: {
|
|
289
|
-
chainId?: string | undefined;
|
|
290
|
-
name?: string | undefined;
|
|
291
|
-
logoUri?: string | undefined;
|
|
292
|
-
} | undefined;
|
|
293
|
-
priceImpactPercent?: string | undefined;
|
|
294
|
-
} | undefined;
|
|
295
|
-
estimatedAffiliateFee?: string | undefined;
|
|
296
|
-
chainId?: string | undefined;
|
|
297
|
-
fromChainId?: string | undefined;
|
|
298
|
-
denomIn?: string | undefined;
|
|
299
|
-
denomOut?: string | undefined;
|
|
300
|
-
swapVenues?: {
|
|
301
|
-
chainId?: string | undefined;
|
|
302
|
-
name?: string | undefined;
|
|
303
|
-
logoUri?: string | undefined;
|
|
304
|
-
}[] | undefined;
|
|
305
|
-
} | {
|
|
306
|
-
smartSwapIn?: {
|
|
307
|
-
swapVenue?: {
|
|
308
|
-
chainId?: string | undefined;
|
|
309
|
-
name?: string | undefined;
|
|
310
|
-
logoUri?: string | undefined;
|
|
311
|
-
} | undefined;
|
|
312
|
-
swapRoutes?: {
|
|
313
|
-
swapAmountIn?: string | undefined;
|
|
314
|
-
denomIn?: string | undefined;
|
|
315
|
-
swapOperations?: {
|
|
316
|
-
denomIn?: string | undefined;
|
|
317
|
-
denomOut?: string | undefined;
|
|
318
|
-
pool?: string | undefined;
|
|
319
|
-
interface?: string | undefined;
|
|
320
|
-
}[] | undefined;
|
|
321
|
-
}[] | undefined;
|
|
322
|
-
} | undefined;
|
|
323
|
-
estimatedAffiliateFee?: string | undefined;
|
|
324
|
-
chainId?: string | undefined;
|
|
325
|
-
fromChainId?: string | undefined;
|
|
326
|
-
denomIn?: string | undefined;
|
|
327
|
-
denomOut?: string | undefined;
|
|
328
|
-
swapVenues?: {
|
|
329
|
-
chainId?: string | undefined;
|
|
330
|
-
name?: string | undefined;
|
|
331
|
-
logoUri?: string | undefined;
|
|
332
|
-
}[] | undefined;
|
|
333
|
-
} | undefined;
|
|
334
|
-
txIndex: number;
|
|
335
|
-
amountIn: string;
|
|
336
|
-
amountOut: string;
|
|
337
|
-
} | {
|
|
338
|
-
transfer?: {
|
|
339
|
-
fromChainId?: string | undefined;
|
|
340
|
-
toChainId?: string | undefined;
|
|
341
|
-
denomIn?: string | undefined;
|
|
342
|
-
denomOut?: string | undefined;
|
|
343
|
-
opInitBridgeId?: any;
|
|
344
|
-
bridgeId?: BridgeType | undefined;
|
|
345
|
-
smartRelay?: boolean | undefined;
|
|
344
|
+
messagingFeeAmount?: string | undefined;
|
|
345
|
+
messageingFeeAmountUsd?: string | undefined;
|
|
346
346
|
} | undefined;
|
|
347
347
|
txIndex: number;
|
|
348
348
|
amountIn: string;
|
|
@@ -412,15 +412,15 @@ declare const messages: (options?: ({
|
|
|
412
412
|
slippageTolerancePercent?: string | undefined;
|
|
413
413
|
timeoutSeconds?: string | undefined;
|
|
414
414
|
postRouteHandler?: {
|
|
415
|
-
autpilotMsg?: {
|
|
416
|
-
action?: AutopilotAction | undefined;
|
|
417
|
-
receiver?: string | undefined;
|
|
418
|
-
} | undefined;
|
|
419
|
-
} | {
|
|
420
415
|
wasmMsg?: {
|
|
421
416
|
contractAddress?: string | undefined;
|
|
422
417
|
msg?: string | undefined;
|
|
423
418
|
} | undefined;
|
|
419
|
+
} | {
|
|
420
|
+
autpilotMsg?: {
|
|
421
|
+
action?: AutopilotAction | undefined;
|
|
422
|
+
receiver?: string | undefined;
|
|
423
|
+
} | undefined;
|
|
424
424
|
} | undefined;
|
|
425
425
|
chainIdsToAffiliates?: {
|
|
426
426
|
[x: string]: {
|
|
@@ -435,6 +435,13 @@ declare const messages: (options?: ({
|
|
|
435
435
|
abortDuplicateRequests?: boolean | undefined;
|
|
436
436
|
}) | undefined) => Promise<{
|
|
437
437
|
msgs?: ({
|
|
438
|
+
multiChainMsg?: {
|
|
439
|
+
chainId?: string | undefined;
|
|
440
|
+
msg?: string | undefined;
|
|
441
|
+
msgTypeUrl?: string | undefined;
|
|
442
|
+
path?: string[] | undefined;
|
|
443
|
+
} | undefined;
|
|
444
|
+
} | {
|
|
438
445
|
evmTx: {
|
|
439
446
|
chainId: string;
|
|
440
447
|
data?: string | undefined;
|
|
@@ -453,26 +460,8 @@ declare const messages: (options?: ({
|
|
|
453
460
|
signerAddress?: string | undefined;
|
|
454
461
|
tx?: string | undefined;
|
|
455
462
|
};
|
|
456
|
-
} | {
|
|
457
|
-
multiChainMsg?: {
|
|
458
|
-
chainId?: string | undefined;
|
|
459
|
-
msg?: string | undefined;
|
|
460
|
-
msgTypeUrl?: string | undefined;
|
|
461
|
-
path?: string[] | undefined;
|
|
462
|
-
} | undefined;
|
|
463
463
|
})[] | undefined;
|
|
464
464
|
txs?: ({
|
|
465
|
-
cosmosTx: {
|
|
466
|
-
chainId: string;
|
|
467
|
-
path?: string[] | undefined;
|
|
468
|
-
signerAddress?: string | undefined;
|
|
469
|
-
msgs?: {
|
|
470
|
-
msg?: string | undefined;
|
|
471
|
-
msgTypeUrl?: string | undefined;
|
|
472
|
-
}[] | undefined;
|
|
473
|
-
};
|
|
474
|
-
operationsIndices?: number[] | undefined;
|
|
475
|
-
} | {
|
|
476
465
|
evmTx: {
|
|
477
466
|
chainId: string;
|
|
478
467
|
data?: string | undefined;
|
|
@@ -493,6 +482,17 @@ declare const messages: (options?: ({
|
|
|
493
482
|
tx?: string | undefined;
|
|
494
483
|
};
|
|
495
484
|
operationsIndices?: number[] | undefined;
|
|
485
|
+
} | {
|
|
486
|
+
cosmosTx: {
|
|
487
|
+
chainId: string;
|
|
488
|
+
path?: string[] | undefined;
|
|
489
|
+
signerAddress?: string | undefined;
|
|
490
|
+
msgs?: {
|
|
491
|
+
msg?: string | undefined;
|
|
492
|
+
msgTypeUrl?: string | undefined;
|
|
493
|
+
}[] | undefined;
|
|
494
|
+
};
|
|
495
|
+
operationsIndices?: number[] | undefined;
|
|
496
496
|
})[] | undefined;
|
|
497
497
|
estimatedFees?: {
|
|
498
498
|
feeType?: FeeType | undefined;
|