@skip-go/client 1.3.1 → 1.3.2
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/cjs/api/getAssets.cjs +1 -1
- package/dist/cjs/api/getAssetsBetweenChains.cjs +1 -1
- package/dist/cjs/api/getBridges.cjs +1 -1
- package/dist/cjs/api/getChains.cjs +1 -1
- package/dist/cjs/api/getVenues.cjs +1 -1
- package/dist/cjs/api/postAssetsFromSource.cjs +1 -1
- package/dist/cjs/api/postBalances.cjs +1 -1
- package/dist/cjs/api/postIbcOriginAssets.cjs +1 -1
- package/dist/cjs/api/postMessages.cjs +1 -1
- package/dist/cjs/api/postMessagesDirect.cjs +1 -1
- package/dist/cjs/api/postRecommendAssets.cjs +1 -1
- package/dist/cjs/api/postRoute.cjs +1 -1
- package/dist/cjs/api/postSubmit.cjs +1 -1
- package/dist/cjs/api/postSubmitTransaction.cjs +1 -1
- package/dist/cjs/api/postTrackTransaction.cjs +1 -1
- package/dist/cjs/api/postTransactionStatus.cjs +1 -1
- package/dist/cjs/{chunk-CPTNOPWI.cjs → chunk-IDDRJJO5.cjs} +1 -0
- package/dist/cjs/index.cjs +26 -25
- package/dist/cjs/public-functions/executeRoute.cjs +1 -1
- package/dist/cjs/public-functions/getEvmGasAmountForMessage.cjs +1 -1
- package/dist/cjs/public-functions/getFeeInfoForChain.cjs +1 -1
- package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +1 -1
- package/dist/cjs/public-functions/getSigningStargateClient.cjs +1 -1
- package/dist/cjs/public-functions/setApiOptions.cjs +1 -1
- package/dist/cjs/public-functions/setClientOptions.cjs +1 -1
- package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +1 -1
- package/dist/cjs/public-functions/waitForTransaction.cjs +1 -1
- package/dist/esm/api/getAssets.d.ts +1 -1
- package/dist/esm/api/getAssets.js +1 -1
- package/dist/esm/api/getAssetsBetweenChains.d.ts +1 -1
- package/dist/esm/api/getAssetsBetweenChains.js +1 -1
- package/dist/esm/api/getBridges.d.ts +1 -1
- package/dist/esm/api/getBridges.js +1 -1
- package/dist/esm/api/getChains.d.ts +1 -1
- package/dist/esm/api/getChains.js +1 -1
- package/dist/esm/api/getVenues.js +1 -1
- package/dist/esm/api/postAssetsFromSource.d.ts +1 -1
- package/dist/esm/api/postAssetsFromSource.js +1 -1
- package/dist/esm/api/postBalances.d.ts +2 -2
- package/dist/esm/api/postBalances.js +1 -1
- package/dist/esm/api/postIbcOriginAssets.js +1 -1
- package/dist/esm/api/postMessages.d.ts +2 -2
- package/dist/esm/api/postMessages.js +1 -1
- package/dist/esm/api/postMessagesDirect.d.ts +195 -195
- package/dist/esm/api/postMessagesDirect.js +1 -1
- package/dist/esm/api/postRecommendAssets.d.ts +1 -1
- package/dist/esm/api/postRecommendAssets.js +1 -1
- package/dist/esm/api/postRoute.d.ts +191 -191
- package/dist/esm/api/postRoute.js +1 -1
- package/dist/esm/api/postSubmit.d.ts +2 -2
- package/dist/esm/api/postSubmit.js +1 -1
- package/dist/esm/api/postSubmitTransaction.js +1 -1
- package/dist/esm/api/postTrackTransaction.d.ts +2 -2
- package/dist/esm/api/postTrackTransaction.js +1 -1
- package/dist/esm/api/postTransactionStatus.d.ts +2 -2
- package/dist/esm/api/postTransactionStatus.js +1 -1
- package/dist/esm/{callbacks-C2lXb0AH.d.ts → callbacks-DGLv2hr0.d.ts} +1 -1
- package/dist/esm/{chunk-KYLULQOS.js → chunk-OQDBWVET.js} +1 -0
- package/dist/esm/{client-types-DuWWc2_J.d.ts → client-types-CSzTHcG9.d.ts} +1 -1
- package/dist/esm/{generateApi-DvFEIUee.d.ts → generateApi-Bfli9ipj.d.ts} +1 -1
- package/dist/esm/index.d.ts +19 -6
- package/dist/esm/index.js +2 -1
- package/dist/esm/public-functions/executeRoute.d.ts +4 -4
- package/dist/esm/public-functions/executeRoute.js +1 -1
- package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
- package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +2 -2
- package/dist/esm/public-functions/getEvmGasAmountForMessage.js +1 -1
- package/dist/esm/public-functions/getFeeInfoForChain.d.ts +1 -1
- package/dist/esm/public-functions/getFeeInfoForChain.js +1 -1
- package/dist/esm/public-functions/getRecommendedGasPrice.js +1 -1
- package/dist/esm/public-functions/getSigningStargateClient.js +1 -1
- package/dist/esm/public-functions/setApiOptions.d.ts +1 -1
- package/dist/esm/public-functions/setApiOptions.js +1 -1
- package/dist/esm/public-functions/setClientOptions.d.ts +3 -3
- package/dist/esm/public-functions/setClientOptions.js +1 -1
- package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +4 -4
- package/dist/esm/public-functions/validateCosmosGasBalance.js +1 -1
- package/dist/esm/public-functions/waitForTransaction.d.ts +3 -3
- package/dist/esm/public-functions/waitForTransaction.js +1 -1
- package/dist/esm/{setClientOptions-B27lt_6h.d.ts → setClientOptions-RMgGQ1KD.d.ts} +1 -1
- package/dist/esm/{swaggerTypes-BrC-ZYnx.d.ts → swaggerTypes-BIYUp1AO.d.ts} +14 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType, b4 as FeeBehavior } from '../swaggerTypes-
|
|
1
|
+
import { J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType, b4 as FeeBehavior } from '../swaggerTypes-BIYUp1AO.js';
|
|
2
2
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
3
|
-
import { A as ApiRequest } from '../generateApi-
|
|
3
|
+
import { A as ApiRequest } from '../generateApi-Bfli9ipj.js';
|
|
4
4
|
|
|
5
5
|
declare const route: (request: RouteRequest) => Promise<{
|
|
6
6
|
amountIn: string;
|
|
@@ -12,130 +12,6 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
12
12
|
doesSwap?: boolean | undefined;
|
|
13
13
|
estimatedAmountOut: string;
|
|
14
14
|
operations: ({
|
|
15
|
-
transfer?: {
|
|
16
|
-
fromChainId?: string | undefined;
|
|
17
|
-
toChainId?: string | undefined;
|
|
18
|
-
channel?: string | undefined;
|
|
19
|
-
destDenom?: string | undefined;
|
|
20
|
-
pfmEnabled?: boolean | undefined;
|
|
21
|
-
port?: string | undefined;
|
|
22
|
-
supportsMemo?: boolean | undefined;
|
|
23
|
-
denomIn?: string | undefined;
|
|
24
|
-
denomOut?: string | undefined;
|
|
25
|
-
feeAmount?: string | undefined;
|
|
26
|
-
toChainEntryContractAddress?: string | undefined;
|
|
27
|
-
toChainCallbackContractAddress?: string | undefined;
|
|
28
|
-
usdFeeAmount?: string | undefined;
|
|
29
|
-
feeAsset?: {
|
|
30
|
-
chainId: string;
|
|
31
|
-
coingeckoId?: string | undefined;
|
|
32
|
-
decimals?: number | undefined;
|
|
33
|
-
denom: string;
|
|
34
|
-
description?: string | undefined;
|
|
35
|
-
isCw20: boolean;
|
|
36
|
-
isEvm: boolean;
|
|
37
|
-
isSvm: boolean;
|
|
38
|
-
logoUri?: string | undefined;
|
|
39
|
-
name?: string | undefined;
|
|
40
|
-
originChainId: string;
|
|
41
|
-
originDenom: string;
|
|
42
|
-
recommendedSymbol?: string | undefined;
|
|
43
|
-
symbol?: string | undefined;
|
|
44
|
-
tokenContract?: string | undefined;
|
|
45
|
-
trace: string;
|
|
46
|
-
} | undefined;
|
|
47
|
-
bridgeId?: BridgeType | undefined;
|
|
48
|
-
smartRelay?: boolean | undefined;
|
|
49
|
-
} | undefined;
|
|
50
|
-
txIndex: number;
|
|
51
|
-
amountIn: string;
|
|
52
|
-
amountOut: string;
|
|
53
|
-
} | {
|
|
54
|
-
swap?: {
|
|
55
|
-
swapIn?: {
|
|
56
|
-
swapAmountIn?: string | undefined;
|
|
57
|
-
swapOperations?: {
|
|
58
|
-
denomIn?: string | undefined;
|
|
59
|
-
denomOut?: string | undefined;
|
|
60
|
-
pool?: string | undefined;
|
|
61
|
-
interface?: string | undefined;
|
|
62
|
-
}[] | undefined;
|
|
63
|
-
swapVenue?: {
|
|
64
|
-
chainId?: string | undefined;
|
|
65
|
-
name?: string | undefined;
|
|
66
|
-
logoUri?: string | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
priceImpactPercent?: string | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
estimatedAffiliateFee?: string | undefined;
|
|
71
|
-
chainId?: string | undefined;
|
|
72
|
-
fromChainId?: string | undefined;
|
|
73
|
-
denomIn?: string | undefined;
|
|
74
|
-
denomOut?: string | undefined;
|
|
75
|
-
swapVenues?: {
|
|
76
|
-
chainId?: string | undefined;
|
|
77
|
-
name?: string | undefined;
|
|
78
|
-
logoUri?: string | undefined;
|
|
79
|
-
}[] | undefined;
|
|
80
|
-
} | {
|
|
81
|
-
swapOut?: {
|
|
82
|
-
swapAmountOut?: string | undefined;
|
|
83
|
-
swapOperations?: {
|
|
84
|
-
denomIn?: string | undefined;
|
|
85
|
-
denomOut?: string | undefined;
|
|
86
|
-
pool?: string | undefined;
|
|
87
|
-
interface?: string | undefined;
|
|
88
|
-
}[] | undefined;
|
|
89
|
-
swapVenue?: {
|
|
90
|
-
chainId?: string | undefined;
|
|
91
|
-
name?: string | undefined;
|
|
92
|
-
logoUri?: string | undefined;
|
|
93
|
-
} | undefined;
|
|
94
|
-
priceImpactPercent?: string | undefined;
|
|
95
|
-
} | undefined;
|
|
96
|
-
estimatedAffiliateFee?: string | undefined;
|
|
97
|
-
chainId?: string | undefined;
|
|
98
|
-
fromChainId?: string | undefined;
|
|
99
|
-
denomIn?: string | undefined;
|
|
100
|
-
denomOut?: string | undefined;
|
|
101
|
-
swapVenues?: {
|
|
102
|
-
chainId?: string | undefined;
|
|
103
|
-
name?: string | undefined;
|
|
104
|
-
logoUri?: string | undefined;
|
|
105
|
-
}[] | undefined;
|
|
106
|
-
} | {
|
|
107
|
-
smartSwapIn?: {
|
|
108
|
-
swapVenue?: {
|
|
109
|
-
chainId?: string | undefined;
|
|
110
|
-
name?: string | undefined;
|
|
111
|
-
logoUri?: string | undefined;
|
|
112
|
-
} | undefined;
|
|
113
|
-
swapRoutes?: {
|
|
114
|
-
swapAmountIn?: string | undefined;
|
|
115
|
-
denomIn?: string | undefined;
|
|
116
|
-
swapOperations?: {
|
|
117
|
-
denomIn?: string | undefined;
|
|
118
|
-
denomOut?: string | undefined;
|
|
119
|
-
pool?: string | undefined;
|
|
120
|
-
interface?: string | undefined;
|
|
121
|
-
}[] | undefined;
|
|
122
|
-
}[] | undefined;
|
|
123
|
-
} | undefined;
|
|
124
|
-
estimatedAffiliateFee?: string | undefined;
|
|
125
|
-
chainId?: string | undefined;
|
|
126
|
-
fromChainId?: string | undefined;
|
|
127
|
-
denomIn?: string | undefined;
|
|
128
|
-
denomOut?: string | undefined;
|
|
129
|
-
swapVenues?: {
|
|
130
|
-
chainId?: string | undefined;
|
|
131
|
-
name?: string | undefined;
|
|
132
|
-
logoUri?: string | undefined;
|
|
133
|
-
}[] | undefined;
|
|
134
|
-
} | undefined;
|
|
135
|
-
txIndex: number;
|
|
136
|
-
amountIn: string;
|
|
137
|
-
amountOut: string;
|
|
138
|
-
} | {
|
|
139
15
|
axelarTransfer?: {
|
|
140
16
|
asset?: string | undefined;
|
|
141
17
|
feeAmount?: string | undefined;
|
|
@@ -207,14 +83,6 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
207
83
|
txIndex: number;
|
|
208
84
|
amountIn: string;
|
|
209
85
|
amountOut: string;
|
|
210
|
-
} | {
|
|
211
|
-
bankSend?: {
|
|
212
|
-
chainId?: string | undefined;
|
|
213
|
-
denom?: string | undefined;
|
|
214
|
-
} | undefined;
|
|
215
|
-
txIndex: number;
|
|
216
|
-
amountIn: string;
|
|
217
|
-
amountOut: string;
|
|
218
86
|
} | {
|
|
219
87
|
cctpTransfer?: {
|
|
220
88
|
fromChainId?: string | undefined;
|
|
@@ -236,14 +104,15 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
236
104
|
amountIn: string;
|
|
237
105
|
amountOut: string;
|
|
238
106
|
} | {
|
|
239
|
-
|
|
107
|
+
stargateTransfer?: {
|
|
240
108
|
fromChainId?: string | undefined;
|
|
241
109
|
toChainId?: string | undefined;
|
|
242
110
|
denomIn?: string | undefined;
|
|
243
111
|
denomOut?: string | undefined;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
112
|
+
bridgeId?: BridgeType | undefined;
|
|
113
|
+
poolAddress?: string | undefined;
|
|
114
|
+
destinationEndpointId?: number | undefined;
|
|
115
|
+
oftFeeAsset?: {
|
|
247
116
|
chainId: string;
|
|
248
117
|
coingeckoId?: string | undefined;
|
|
249
118
|
decimals?: number | undefined;
|
|
@@ -261,9 +130,74 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
261
130
|
tokenContract?: string | undefined;
|
|
262
131
|
trace: string;
|
|
263
132
|
} | undefined;
|
|
264
|
-
|
|
133
|
+
oftFeeAmount?: string | undefined;
|
|
134
|
+
oftFeeAmountUsd?: string | undefined;
|
|
135
|
+
messagingFeeAsset?: {
|
|
136
|
+
chainId: string;
|
|
137
|
+
coingeckoId?: string | undefined;
|
|
138
|
+
decimals?: number | undefined;
|
|
139
|
+
denom: string;
|
|
140
|
+
description?: string | undefined;
|
|
141
|
+
isCw20: boolean;
|
|
142
|
+
isEvm: boolean;
|
|
143
|
+
isSvm: boolean;
|
|
144
|
+
logoUri?: string | undefined;
|
|
145
|
+
name?: string | undefined;
|
|
146
|
+
originChainId: string;
|
|
147
|
+
originDenom: string;
|
|
148
|
+
recommendedSymbol?: string | undefined;
|
|
149
|
+
symbol?: string | undefined;
|
|
150
|
+
tokenContract?: string | undefined;
|
|
151
|
+
trace: string;
|
|
152
|
+
} | undefined;
|
|
153
|
+
messagingFeeAmount?: string | undefined;
|
|
154
|
+
messagingFeeAmountUsd?: string | undefined;
|
|
155
|
+
} | undefined;
|
|
156
|
+
txIndex: number;
|
|
157
|
+
amountIn: string;
|
|
158
|
+
amountOut: string;
|
|
159
|
+
} | {
|
|
160
|
+
goFastTransfer?: {
|
|
161
|
+
fromChainId?: string | undefined;
|
|
162
|
+
toChainId?: string | undefined;
|
|
265
163
|
bridgeId?: BridgeType | undefined;
|
|
266
|
-
|
|
164
|
+
denomIn?: string | undefined;
|
|
165
|
+
denomOut?: string | undefined;
|
|
166
|
+
fee?: {
|
|
167
|
+
feeAsset: {
|
|
168
|
+
chainId: string;
|
|
169
|
+
coingeckoId?: string | undefined;
|
|
170
|
+
decimals?: number | undefined;
|
|
171
|
+
denom: string;
|
|
172
|
+
description?: string | undefined;
|
|
173
|
+
isCw20: boolean;
|
|
174
|
+
isEvm: boolean;
|
|
175
|
+
isSvm: boolean;
|
|
176
|
+
logoUri?: string | undefined;
|
|
177
|
+
name?: string | undefined;
|
|
178
|
+
originChainId: string;
|
|
179
|
+
originDenom: string;
|
|
180
|
+
recommendedSymbol?: string | undefined;
|
|
181
|
+
symbol?: string | undefined;
|
|
182
|
+
tokenContract?: string | undefined;
|
|
183
|
+
trace: string;
|
|
184
|
+
};
|
|
185
|
+
bpsFee?: string | undefined;
|
|
186
|
+
bpsFeeAmount?: string | undefined;
|
|
187
|
+
bpsFeeUsd?: string | undefined;
|
|
188
|
+
sourceChainFeeAmount?: string | undefined;
|
|
189
|
+
sourceChainFeeUsd?: string | undefined;
|
|
190
|
+
destinationChainFeeAmount?: string | undefined;
|
|
191
|
+
destinationChainFeeUsd?: string | undefined;
|
|
192
|
+
} | undefined;
|
|
193
|
+
} | undefined;
|
|
194
|
+
txIndex: number;
|
|
195
|
+
amountIn: string;
|
|
196
|
+
amountOut: string;
|
|
197
|
+
} | {
|
|
198
|
+
bankSend?: {
|
|
199
|
+
chainId?: string | undefined;
|
|
200
|
+
denom?: string | undefined;
|
|
267
201
|
} | undefined;
|
|
268
202
|
txIndex: number;
|
|
269
203
|
amountIn: string;
|
|
@@ -287,28 +221,14 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
287
221
|
amountIn: string;
|
|
288
222
|
amountOut: string;
|
|
289
223
|
} | {
|
|
290
|
-
|
|
291
|
-
fromChainId?: string | undefined;
|
|
292
|
-
toChainId?: string | undefined;
|
|
293
|
-
denomIn?: string | undefined;
|
|
294
|
-
denomOut?: string | undefined;
|
|
295
|
-
opInitBridgeId?: any;
|
|
296
|
-
bridgeId?: BridgeType | undefined;
|
|
297
|
-
smartRelay?: boolean | undefined;
|
|
298
|
-
} | undefined;
|
|
299
|
-
txIndex: number;
|
|
300
|
-
amountIn: string;
|
|
301
|
-
amountOut: string;
|
|
302
|
-
} | {
|
|
303
|
-
stargateTransfer?: {
|
|
224
|
+
hyperlaneTransfer?: {
|
|
304
225
|
fromChainId?: string | undefined;
|
|
305
226
|
toChainId?: string | undefined;
|
|
306
227
|
denomIn?: string | undefined;
|
|
307
228
|
denomOut?: string | undefined;
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
oftFeeAsset?: {
|
|
229
|
+
hyperlaneContractAddress?: string | undefined;
|
|
230
|
+
feeAmount?: string | undefined;
|
|
231
|
+
feeAsset?: {
|
|
312
232
|
chainId: string;
|
|
313
233
|
coingeckoId?: string | undefined;
|
|
314
234
|
decimals?: number | undefined;
|
|
@@ -326,9 +246,29 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
326
246
|
tokenContract?: string | undefined;
|
|
327
247
|
trace: string;
|
|
328
248
|
} | undefined;
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
249
|
+
usdFeeAmount?: string | undefined;
|
|
250
|
+
bridgeId?: BridgeType | undefined;
|
|
251
|
+
smartRelay?: boolean | undefined;
|
|
252
|
+
} | undefined;
|
|
253
|
+
txIndex: number;
|
|
254
|
+
amountIn: string;
|
|
255
|
+
amountOut: string;
|
|
256
|
+
} | {
|
|
257
|
+
transfer?: {
|
|
258
|
+
fromChainId?: string | undefined;
|
|
259
|
+
toChainId?: string | undefined;
|
|
260
|
+
channel?: string | undefined;
|
|
261
|
+
destDenom?: string | undefined;
|
|
262
|
+
pfmEnabled?: boolean | undefined;
|
|
263
|
+
port?: string | undefined;
|
|
264
|
+
supportsMemo?: boolean | undefined;
|
|
265
|
+
denomIn?: string | undefined;
|
|
266
|
+
denomOut?: string | undefined;
|
|
267
|
+
feeAmount?: string | undefined;
|
|
268
|
+
toChainEntryContractAddress?: string | undefined;
|
|
269
|
+
toChainCallbackContractAddress?: string | undefined;
|
|
270
|
+
usdFeeAmount?: string | undefined;
|
|
271
|
+
feeAsset?: {
|
|
332
272
|
chainId: string;
|
|
333
273
|
coingeckoId?: string | undefined;
|
|
334
274
|
decimals?: number | undefined;
|
|
@@ -346,46 +286,106 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
346
286
|
tokenContract?: string | undefined;
|
|
347
287
|
trace: string;
|
|
348
288
|
} | undefined;
|
|
349
|
-
|
|
350
|
-
|
|
289
|
+
bridgeId?: BridgeType | undefined;
|
|
290
|
+
smartRelay?: boolean | undefined;
|
|
351
291
|
} | undefined;
|
|
352
292
|
txIndex: number;
|
|
353
293
|
amountIn: string;
|
|
354
294
|
amountOut: string;
|
|
355
295
|
} | {
|
|
356
|
-
|
|
296
|
+
swap?: {
|
|
297
|
+
swapIn?: {
|
|
298
|
+
swapAmountIn?: string | undefined;
|
|
299
|
+
swapOperations?: {
|
|
300
|
+
denomIn?: string | undefined;
|
|
301
|
+
denomOut?: string | undefined;
|
|
302
|
+
pool?: string | undefined;
|
|
303
|
+
interface?: string | undefined;
|
|
304
|
+
}[] | undefined;
|
|
305
|
+
swapVenue?: {
|
|
306
|
+
chainId?: string | undefined;
|
|
307
|
+
name?: string | undefined;
|
|
308
|
+
logoUri?: string | undefined;
|
|
309
|
+
} | undefined;
|
|
310
|
+
priceImpactPercent?: string | undefined;
|
|
311
|
+
} | undefined;
|
|
312
|
+
estimatedAffiliateFee?: string | undefined;
|
|
313
|
+
chainId?: string | undefined;
|
|
357
314
|
fromChainId?: string | undefined;
|
|
358
|
-
toChainId?: string | undefined;
|
|
359
|
-
bridgeId?: BridgeType | undefined;
|
|
360
315
|
denomIn?: string | undefined;
|
|
361
316
|
denomOut?: string | undefined;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
317
|
+
swapVenues?: {
|
|
318
|
+
chainId?: string | undefined;
|
|
319
|
+
name?: string | undefined;
|
|
320
|
+
logoUri?: string | undefined;
|
|
321
|
+
}[] | undefined;
|
|
322
|
+
} | {
|
|
323
|
+
swapOut?: {
|
|
324
|
+
swapAmountOut?: string | undefined;
|
|
325
|
+
swapOperations?: {
|
|
326
|
+
denomIn?: string | undefined;
|
|
327
|
+
denomOut?: string | undefined;
|
|
328
|
+
pool?: string | undefined;
|
|
329
|
+
interface?: string | undefined;
|
|
330
|
+
}[] | undefined;
|
|
331
|
+
swapVenue?: {
|
|
332
|
+
chainId?: string | undefined;
|
|
333
|
+
name?: string | undefined;
|
|
372
334
|
logoUri?: string | undefined;
|
|
335
|
+
} | undefined;
|
|
336
|
+
priceImpactPercent?: string | undefined;
|
|
337
|
+
} | undefined;
|
|
338
|
+
estimatedAffiliateFee?: string | undefined;
|
|
339
|
+
chainId?: string | undefined;
|
|
340
|
+
fromChainId?: string | undefined;
|
|
341
|
+
denomIn?: string | undefined;
|
|
342
|
+
denomOut?: string | undefined;
|
|
343
|
+
swapVenues?: {
|
|
344
|
+
chainId?: string | undefined;
|
|
345
|
+
name?: string | undefined;
|
|
346
|
+
logoUri?: string | undefined;
|
|
347
|
+
}[] | undefined;
|
|
348
|
+
} | {
|
|
349
|
+
smartSwapIn?: {
|
|
350
|
+
swapVenue?: {
|
|
351
|
+
chainId?: string | undefined;
|
|
373
352
|
name?: string | undefined;
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
destinationChainFeeAmount?: string | undefined;
|
|
387
|
-
destinationChainFeeUsd?: string | undefined;
|
|
353
|
+
logoUri?: string | undefined;
|
|
354
|
+
} | undefined;
|
|
355
|
+
swapRoutes?: {
|
|
356
|
+
swapAmountIn?: string | undefined;
|
|
357
|
+
denomIn?: string | undefined;
|
|
358
|
+
swapOperations?: {
|
|
359
|
+
denomIn?: string | undefined;
|
|
360
|
+
denomOut?: string | undefined;
|
|
361
|
+
pool?: string | undefined;
|
|
362
|
+
interface?: string | undefined;
|
|
363
|
+
}[] | undefined;
|
|
364
|
+
}[] | undefined;
|
|
388
365
|
} | undefined;
|
|
366
|
+
estimatedAffiliateFee?: string | undefined;
|
|
367
|
+
chainId?: string | undefined;
|
|
368
|
+
fromChainId?: string | undefined;
|
|
369
|
+
denomIn?: string | undefined;
|
|
370
|
+
denomOut?: string | undefined;
|
|
371
|
+
swapVenues?: {
|
|
372
|
+
chainId?: string | undefined;
|
|
373
|
+
name?: string | undefined;
|
|
374
|
+
logoUri?: string | undefined;
|
|
375
|
+
}[] | undefined;
|
|
376
|
+
} | undefined;
|
|
377
|
+
txIndex: number;
|
|
378
|
+
amountIn: string;
|
|
379
|
+
amountOut: string;
|
|
380
|
+
} | {
|
|
381
|
+
opInitTransfer?: {
|
|
382
|
+
fromChainId?: string | undefined;
|
|
383
|
+
toChainId?: string | undefined;
|
|
384
|
+
denomIn?: string | undefined;
|
|
385
|
+
denomOut?: string | undefined;
|
|
386
|
+
opInitBridgeId?: any;
|
|
387
|
+
bridgeId?: BridgeType | undefined;
|
|
388
|
+
smartRelay?: boolean | undefined;
|
|
389
389
|
} | undefined;
|
|
390
390
|
txIndex: number;
|
|
391
391
|
amountIn: string;
|
|
@@ -423,7 +423,7 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
423
423
|
toChainId: string;
|
|
424
424
|
denomIn: string;
|
|
425
425
|
denomOut: string;
|
|
426
|
-
|
|
426
|
+
sourceOftContractAddress: string;
|
|
427
427
|
destinationEndpointId: number;
|
|
428
428
|
messagingFeeAsset: {
|
|
429
429
|
chainId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
2
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
3
|
-
import '../swaggerTypes-
|
|
2
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-Bfli9ipj.js';
|
|
3
|
+
import '../swaggerTypes-BIYUp1AO.js';
|
|
4
4
|
|
|
5
5
|
declare const submit: (options?: ({
|
|
6
6
|
tx?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiRequest, P as PollingProps } from '../generateApi-
|
|
2
|
-
import '../swaggerTypes-
|
|
1
|
+
import { A as ApiRequest, P as PollingProps } from '../generateApi-Bfli9ipj.js';
|
|
2
|
+
import '../swaggerTypes-BIYUp1AO.js';
|
|
3
3
|
|
|
4
4
|
type TrackTxRequest = ApiRequest<"status"> & TrackTxPollingProps;
|
|
5
5
|
type TrackTxPollingProps = Omit<PollingProps<"status">, "isSuccess" | "onError" | "onSuccess">;
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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-BIYUp1AO.js';
|
|
2
2
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
3
|
-
import { a as ApiResponse } from '../generateApi-
|
|
3
|
+
import { a as ApiResponse } from '../generateApi-Bfli9ipj.js';
|
|
4
4
|
|
|
5
5
|
declare const transactionStatus: (params?: ({
|
|
6
6
|
txHash: string;
|
|
@@ -51,6 +51,7 @@ var BridgeType = /* @__PURE__ */ ((BridgeType2) => {
|
|
|
51
51
|
BridgeType2["OPINIT"] = "OPINIT";
|
|
52
52
|
BridgeType2["GO_FAST"] = "GO_FAST";
|
|
53
53
|
BridgeType2["STARGATE"] = "STARGATE";
|
|
54
|
+
BridgeType2["LAYER_ZERO"] = "LAYER_ZERO";
|
|
54
55
|
BridgeType2["EUREKA"] = "EUREKA";
|
|
55
56
|
return BridgeType2;
|
|
56
57
|
})(BridgeType || {});
|
|
@@ -3,7 +3,7 @@ import { OfflineDirectSigner } from '@cosmjs/proto-signing';
|
|
|
3
3
|
import { StdFee, GasPrice, SignerData } from '@cosmjs/stargate';
|
|
4
4
|
import { WalletClient } from 'viem';
|
|
5
5
|
import { Adapter } from '@solana/wallet-adapter-base';
|
|
6
|
-
import { a3 as FeeAsset, L as ChainType, W as CosmosMsg } from './swaggerTypes-
|
|
6
|
+
import { a3 as FeeAsset, L as ChainType, W as CosmosMsg } from './swaggerTypes-BIYUp1AO.js';
|
|
7
7
|
|
|
8
8
|
/** Common Types */
|
|
9
9
|
type UserAddress = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bw as Api } from './swaggerTypes-
|
|
1
|
+
import { bw as Api } from './swaggerTypes-BIYUp1AO.js';
|
|
2
2
|
|
|
3
3
|
type CamelKey<S extends string> = S extends `${infer T}_${infer U}` ? `${T}${Capitalize<CamelKey<U>>}` : S;
|
|
4
4
|
type Camel<T> = T extends (infer U)[] ? Camel<U>[] : T extends object ? {
|