@skip-go/client 1.0.3 → 1.0.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.
- package/dist/api/postMessages.d.cts +183 -183
- package/dist/api/postMessagesDirect.d.cts +183 -183
- package/dist/api/postRoute.d.cts +160 -160
- package/dist/{chunk-44PBLFB5.cjs → chunk-4RVEOKQU.cjs} +2 -2
- package/dist/{chunk-SW3SEQMJ.cjs → chunk-D2MDLQQZ.cjs} +22 -22
- package/dist/{chunk-G7BBDZ7C.cjs → chunk-GQYZQCOJ.cjs} +77 -97
- package/dist/{chunk-5IAEEEOQ.cjs → chunk-UO54MR5Z.cjs} +192 -209
- package/dist/{chunk-7OIZPQJB.cjs → chunk-WMXUOVHN.cjs} +71 -89
- package/dist/index.cjs +9 -9
- package/dist/index.d.cts +0 -1
- package/dist/public-functions/executeRoute.cjs +4 -4
- package/dist/public-functions/getRecommendedGasPrice.cjs +2 -2
- package/dist/public-functions/getSigningStargateClient.cjs +2 -2
- package/dist/public-functions/getSigningStargateClient.d.cts +1 -1
- package/dist/public-functions/setClientOptions.cjs +3 -3
- package/package.json +1 -1
|
@@ -11,128 +11,6 @@ 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
|
-
} | {
|
|
136
14
|
axelarTransfer?: {
|
|
137
15
|
asset?: string | undefined;
|
|
138
16
|
feeAmount?: string | undefined;
|
|
@@ -202,14 +80,6 @@ declare const messages: (options?: ({
|
|
|
202
80
|
txIndex: number;
|
|
203
81
|
amountIn: string;
|
|
204
82
|
amountOut: string;
|
|
205
|
-
} | {
|
|
206
|
-
bankSend?: {
|
|
207
|
-
chainId?: string | undefined;
|
|
208
|
-
denom?: string | undefined;
|
|
209
|
-
} | undefined;
|
|
210
|
-
txIndex: number;
|
|
211
|
-
amountIn: string;
|
|
212
|
-
amountOut: string;
|
|
213
83
|
} | {
|
|
214
84
|
cctpTransfer?: {
|
|
215
85
|
fromChainId?: string | undefined;
|
|
@@ -231,14 +101,15 @@ declare const messages: (options?: ({
|
|
|
231
101
|
amountIn: string;
|
|
232
102
|
amountOut: string;
|
|
233
103
|
} | {
|
|
234
|
-
|
|
104
|
+
stargateTransfer?: {
|
|
235
105
|
fromChainId?: string | undefined;
|
|
236
106
|
toChainId?: string | undefined;
|
|
237
107
|
denomIn?: string | undefined;
|
|
238
108
|
denomOut?: string | undefined;
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
109
|
+
bridgeId?: BridgeType | undefined;
|
|
110
|
+
poolAddress?: string | undefined;
|
|
111
|
+
destinationEndpointId?: number | undefined;
|
|
112
|
+
oftFeeAsset?: {
|
|
242
113
|
chainId: string;
|
|
243
114
|
coingeckoId?: string | undefined;
|
|
244
115
|
decimals?: number | undefined;
|
|
@@ -256,9 +127,36 @@ declare const messages: (options?: ({
|
|
|
256
127
|
tokenContract?: string | undefined;
|
|
257
128
|
trace: string;
|
|
258
129
|
} | undefined;
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
130
|
+
oftFeeAmount?: string | undefined;
|
|
131
|
+
oftFeeAmountUsd?: string | undefined;
|
|
132
|
+
messagingFeeAsset?: {
|
|
133
|
+
chainId: string;
|
|
134
|
+
coingeckoId?: string | undefined;
|
|
135
|
+
decimals?: number | undefined;
|
|
136
|
+
denom: string;
|
|
137
|
+
description?: string | undefined;
|
|
138
|
+
isCw20: boolean;
|
|
139
|
+
isEvm: boolean;
|
|
140
|
+
isSvm: boolean;
|
|
141
|
+
logoUri?: string | undefined;
|
|
142
|
+
name?: string | undefined;
|
|
143
|
+
originChainId: string;
|
|
144
|
+
originDenom: string;
|
|
145
|
+
recommendedSymbol?: string | undefined;
|
|
146
|
+
symbol?: string | undefined;
|
|
147
|
+
tokenContract?: string | undefined;
|
|
148
|
+
trace: string;
|
|
149
|
+
} | undefined;
|
|
150
|
+
messagingFeeAmount?: string | undefined;
|
|
151
|
+
messageingFeeAmountUsd?: string | undefined;
|
|
152
|
+
} | undefined;
|
|
153
|
+
txIndex: number;
|
|
154
|
+
amountIn: string;
|
|
155
|
+
amountOut: string;
|
|
156
|
+
} | {
|
|
157
|
+
bankSend?: {
|
|
158
|
+
chainId?: string | undefined;
|
|
159
|
+
denom?: string | undefined;
|
|
262
160
|
} | undefined;
|
|
263
161
|
txIndex: number;
|
|
264
162
|
amountIn: string;
|
|
@@ -282,28 +180,14 @@ declare const messages: (options?: ({
|
|
|
282
180
|
amountIn: string;
|
|
283
181
|
amountOut: string;
|
|
284
182
|
} | {
|
|
285
|
-
|
|
286
|
-
fromChainId?: string | undefined;
|
|
287
|
-
toChainId?: string | undefined;
|
|
288
|
-
denomIn?: string | undefined;
|
|
289
|
-
denomOut?: string | undefined;
|
|
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?: {
|
|
183
|
+
hyperlaneTransfer?: {
|
|
299
184
|
fromChainId?: string | undefined;
|
|
300
185
|
toChainId?: string | undefined;
|
|
301
186
|
denomIn?: string | undefined;
|
|
302
187
|
denomOut?: string | undefined;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
oftFeeAsset?: {
|
|
188
|
+
hyperlaneContractAddress?: string | undefined;
|
|
189
|
+
feeAmount?: string | undefined;
|
|
190
|
+
feeAsset?: {
|
|
307
191
|
chainId: string;
|
|
308
192
|
coingeckoId?: string | undefined;
|
|
309
193
|
decimals?: number | undefined;
|
|
@@ -321,9 +205,27 @@ declare const messages: (options?: ({
|
|
|
321
205
|
tokenContract?: string | undefined;
|
|
322
206
|
trace: string;
|
|
323
207
|
} | undefined;
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
208
|
+
usdFeeAmount?: string | undefined;
|
|
209
|
+
bridgeId?: BridgeType | undefined;
|
|
210
|
+
smartRelay?: boolean | undefined;
|
|
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?: {
|
|
327
229
|
chainId: string;
|
|
328
230
|
coingeckoId?: string | undefined;
|
|
329
231
|
decimals?: number | undefined;
|
|
@@ -341,8 +243,106 @@ declare const messages: (options?: ({
|
|
|
341
243
|
tokenContract?: string | undefined;
|
|
342
244
|
trace: string;
|
|
343
245
|
} | undefined;
|
|
344
|
-
|
|
345
|
-
|
|
246
|
+
bridgeId?: BridgeType | undefined;
|
|
247
|
+
smartRelay?: boolean | undefined;
|
|
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;
|
|
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
|
-
wasmMsg?: {
|
|
416
|
-
contractAddress?: string | undefined;
|
|
417
|
-
msg?: string | undefined;
|
|
418
|
-
} | undefined;
|
|
419
|
-
} | {
|
|
420
415
|
autpilotMsg?: {
|
|
421
416
|
action?: AutopilotAction | undefined;
|
|
422
417
|
receiver?: string | undefined;
|
|
423
418
|
} | undefined;
|
|
419
|
+
} | {
|
|
420
|
+
wasmMsg?: {
|
|
421
|
+
contractAddress?: string | undefined;
|
|
422
|
+
msg?: string | undefined;
|
|
423
|
+
} | undefined;
|
|
424
424
|
} | undefined;
|
|
425
425
|
chainIdsToAffiliates?: {
|
|
426
426
|
[x: string]: {
|
|
@@ -435,13 +435,6 @@ 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
|
-
} | {
|
|
445
438
|
evmTx: {
|
|
446
439
|
chainId: string;
|
|
447
440
|
data?: string | undefined;
|
|
@@ -460,8 +453,26 @@ declare const messages: (options?: ({
|
|
|
460
453
|
signerAddress?: string | undefined;
|
|
461
454
|
tx?: string | undefined;
|
|
462
455
|
};
|
|
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
|
+
} | {
|
|
465
476
|
evmTx: {
|
|
466
477
|
chainId: string;
|
|
467
478
|
data?: string | undefined;
|
|
@@ -482,17 +493,6 @@ declare const messages: (options?: ({
|
|
|
482
493
|
tx?: string | undefined;
|
|
483
494
|
};
|
|
484
495
|
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;
|