@skip-go/client 1.0.3 → 1.0.5
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.cts → getAssets.d.ts} +2 -2
- package/dist/api/getAssets.js +2 -0
- package/dist/api/{getAssetsBetweenChains.d.cts → getAssetsBetweenChains.d.ts} +2 -2
- package/dist/api/getAssetsBetweenChains.js +2 -0
- package/dist/api/{getBridges.d.cts → getBridges.d.ts} +2 -2
- package/dist/api/getBridges.js +2 -0
- package/dist/api/{getChains.d.cts → getChains.d.ts} +2 -2
- package/dist/api/getChains.js +2 -0
- package/dist/api/{getVenues.d.cts → getVenues.d.ts} +1 -1
- package/dist/api/getVenues.js +2 -0
- package/dist/api/{postAssetsFromSource.d.cts → postAssetsFromSource.d.ts} +2 -2
- package/dist/api/postAssetsFromSource.js +3 -0
- package/dist/api/{postBalances.d.cts → postBalances.d.ts} +3 -3
- package/dist/api/postBalances.js +2 -0
- package/dist/api/{postIbcOriginAssets.d.cts → postIbcOriginAssets.d.ts} +1 -1
- package/dist/api/postIbcOriginAssets.js +2 -0
- package/dist/api/{postMessages.d.cts → postMessages.d.ts} +186 -186
- package/dist/api/postMessages.js +2 -0
- package/dist/api/{postMessagesDirect.d.cts → postMessagesDirect.d.ts} +185 -185
- package/dist/api/postMessagesDirect.js +2 -0
- package/dist/api/{postRecommendAssets.d.cts → postRecommendAssets.d.ts} +2 -2
- package/dist/api/postRecommendAssets.js +2 -0
- package/dist/api/{postRoute.d.cts → postRoute.d.ts} +163 -163
- package/dist/api/postRoute.js +2 -0
- package/dist/api/{postSubmitTransaction.d.cts → postSubmitTransaction.d.ts} +1 -1
- package/dist/api/postSubmitTransaction.js +2 -0
- package/dist/api/{postTrackTransaction.d.cts → postTrackTransaction.d.ts} +1 -1
- package/dist/api/postTrackTransaction.js +2 -0
- package/dist/api/{postTransactionStatus.d.cts → postTransactionStatus.d.ts} +3 -3
- package/dist/api/postTransactionStatus.js +2 -0
- package/dist/chunk-33K6EESX.js +10 -0
- package/dist/{chunk-77ITCT75.cjs → chunk-4JJWOILI.js} +3 -5
- package/dist/chunk-BQTQJQ5E.js +10 -0
- package/dist/{chunk-ED2OY55G.cjs → chunk-BRMONS6A.js} +5 -11
- package/dist/{chunk-PNWIJSMA.cjs → chunk-C2EDPY6J.js} +3 -5
- package/dist/chunk-DW4U6YI6.js +10 -0
- package/dist/{chunk-G7BBDZ7C.cjs → chunk-F75DC5RW.js} +182 -208
- package/dist/{chunk-SFMBRLUS.cjs → chunk-GARVPN2H.js} +4 -6
- package/dist/{chunk-7SK3IFXJ.cjs → chunk-JTIHU43D.js} +1 -6
- package/dist/{chunk-VI7UMBQ7.cjs → chunk-KNV72XRZ.js} +3 -5
- package/dist/chunk-MGVXJ2U4.js +11 -0
- package/dist/chunk-MTMPHY3Y.js +9 -0
- package/dist/{chunk-5IAEEEOQ.cjs → chunk-PHTQQIAH.js} +220 -243
- package/dist/{chunk-RDOSNDAQ.cjs → chunk-PRQ2NHRZ.js} +3 -5
- package/dist/chunk-RDRDFJQE.js +10 -0
- package/dist/chunk-RMP3HM5N.js +14 -0
- package/dist/{chunk-SW3SEQMJ.cjs → chunk-SONZJVQM.js} +47 -51
- package/dist/{chunk-KZOSEIWH.cjs → chunk-SWYON2RG.js} +1 -4
- package/dist/{chunk-7OIZPQJB.cjs → chunk-TD63P2AG.js} +111 -174
- package/dist/{chunk-ZNXE6PUV.cjs → chunk-TW77BXMT.js} +7 -9
- package/dist/chunk-UNF72WYO.js +22 -0
- package/dist/{chunk-J4LI33TK.cjs → chunk-VMPFHQ7U.js} +9 -11
- package/dist/{chunk-4R6OCWRR.cjs → chunk-VQ5SIQWU.js} +1 -3
- package/dist/{chunk-HAR3IXDE.cjs → chunk-W6TBGBV3.js} +1 -31
- package/dist/{client-types-qvyKvyFh.d.cts → client-types-CxjtffyG.d.ts} +1 -1
- package/dist/{executeRoute-BKRpODCc.d.cts → executeRoute-BKvMVd1I.d.ts} +3 -3
- package/dist/{generateApi-C0amiydg.d.cts → generateApi-DqCp36fX.d.ts} +1 -1
- package/dist/{index.d.cts → index.d.ts} +25 -26
- package/dist/index.js +24 -0
- package/dist/public-functions/{executeRoute.d.cts → executeRoute.d.ts} +4 -4
- package/dist/public-functions/executeRoute.js +12 -0
- package/dist/public-functions/{getFeeInfoForChain.d.cts → getFeeInfoForChain.d.ts} +2 -2
- package/dist/public-functions/getFeeInfoForChain.js +5 -0
- package/dist/public-functions/{getRecommendedGasPrice.d.cts → getRecommendedGasPrice.d.ts} +1 -1
- package/dist/public-functions/getRecommendedGasPrice.js +7 -0
- package/dist/public-functions/{getSigningStargateClient.d.cts → getSigningStargateClient.d.ts} +1 -1
- package/dist/public-functions/getSigningStargateClient.js +4 -0
- package/dist/public-functions/{setApiOptions.d.cts → setApiOptions.d.ts} +2 -2
- package/dist/public-functions/setApiOptions.js +2 -0
- package/dist/public-functions/setClientOptions.d.ts +9 -0
- package/dist/public-functions/setClientOptions.js +4 -0
- package/dist/{setClientOptions-CT6CHI9I.d.cts → setClientOptions-DbanEIwL.d.ts} +2 -2
- package/package.json +6 -6
- package/dist/api/getAssets.cjs +0 -15
- package/dist/api/getAssetsBetweenChains.cjs +0 -11
- package/dist/api/getBridges.cjs +0 -11
- package/dist/api/getChains.cjs +0 -11
- package/dist/api/getVenues.cjs +0 -11
- package/dist/api/postAssetsFromSource.cjs +0 -12
- package/dist/api/postBalances.cjs +0 -11
- package/dist/api/postIbcOriginAssets.cjs +0 -11
- package/dist/api/postMessages.cjs +0 -11
- package/dist/api/postMessagesDirect.cjs +0 -11
- package/dist/api/postRecommendAssets.cjs +0 -11
- package/dist/api/postRoute.cjs +0 -11
- package/dist/api/postSubmitTransaction.cjs +0 -11
- package/dist/api/postTrackTransaction.cjs +0 -11
- package/dist/api/postTransactionStatus.cjs +0 -11
- package/dist/chunk-32MRDO7V.cjs +0 -12
- package/dist/chunk-44PBLFB5.cjs +0 -24
- package/dist/chunk-DAMZSSOH.cjs +0 -12
- package/dist/chunk-ISHM4QWP.cjs +0 -16
- package/dist/chunk-KDN7RCGP.cjs +0 -13
- package/dist/chunk-L5V5PASH.cjs +0 -12
- package/dist/chunk-LXYLWTNZ.cjs +0 -12
- package/dist/chunk-URLFWBSC.cjs +0 -11
- package/dist/index.cjs +0 -209
- package/dist/public-functions/executeRoute.cjs +0 -21
- package/dist/public-functions/getFeeInfoForChain.cjs +0 -14
- package/dist/public-functions/getRecommendedGasPrice.cjs +0 -16
- package/dist/public-functions/getSigningStargateClient.cjs +0 -13
- package/dist/public-functions/setApiOptions.cjs +0 -11
- package/dist/public-functions/setClientOptions.cjs +0 -13
- package/dist/public-functions/setClientOptions.d.cts +0 -9
- /package/dist/{apiState-CdzxTxYd.d.cts → apiState-CdzxTxYd.d.ts} +0 -0
- /package/dist/{swaggerTypes-O9-gvCT1.d.cts → swaggerTypes-O9-gvCT1.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as BridgeType, ao as RoutePriceWarningType, b2 as FeeType } from '../swaggerTypes-O9-gvCT1.
|
|
2
|
-
import { S as SkipApiOptions } from '../apiState-CdzxTxYd.
|
|
3
|
-
import { A as ApiRequest } from '../generateApi-
|
|
1
|
+
import { I as BridgeType, ao as RoutePriceWarningType, b2 as FeeType } from '../swaggerTypes-O9-gvCT1.js';
|
|
2
|
+
import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
|
|
3
|
+
import { A as ApiRequest } from '../generateApi-DqCp36fX.js';
|
|
4
4
|
|
|
5
5
|
declare const route: (request: RouteRequest) => Promise<{
|
|
6
6
|
amountIn: string;
|
|
@@ -12,128 +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
|
-
usdFeeAmount?: string | undefined;
|
|
27
|
-
feeAsset?: {
|
|
28
|
-
chainId: string;
|
|
29
|
-
coingeckoId?: string | undefined;
|
|
30
|
-
decimals?: number | undefined;
|
|
31
|
-
denom: string;
|
|
32
|
-
description?: string | undefined;
|
|
33
|
-
isCw20: boolean;
|
|
34
|
-
isEvm: boolean;
|
|
35
|
-
isSvm: boolean;
|
|
36
|
-
logoUri?: string | undefined;
|
|
37
|
-
name?: string | undefined;
|
|
38
|
-
originChainId: string;
|
|
39
|
-
originDenom: string;
|
|
40
|
-
recommendedSymbol?: string | undefined;
|
|
41
|
-
symbol?: string | undefined;
|
|
42
|
-
tokenContract?: string | undefined;
|
|
43
|
-
trace: string;
|
|
44
|
-
} | undefined;
|
|
45
|
-
bridgeId?: BridgeType | undefined;
|
|
46
|
-
smartRelay?: boolean | undefined;
|
|
47
|
-
} | undefined;
|
|
48
|
-
txIndex: number;
|
|
49
|
-
amountIn: string;
|
|
50
|
-
amountOut: string;
|
|
51
|
-
} | {
|
|
52
|
-
swap?: {
|
|
53
|
-
swapIn?: {
|
|
54
|
-
swapAmountIn?: string | undefined;
|
|
55
|
-
swapOperations?: {
|
|
56
|
-
denomIn?: string | undefined;
|
|
57
|
-
denomOut?: string | undefined;
|
|
58
|
-
pool?: string | undefined;
|
|
59
|
-
interface?: string | undefined;
|
|
60
|
-
}[] | undefined;
|
|
61
|
-
swapVenue?: {
|
|
62
|
-
chainId?: string | undefined;
|
|
63
|
-
name?: string | undefined;
|
|
64
|
-
logoUri?: string | undefined;
|
|
65
|
-
} | undefined;
|
|
66
|
-
priceImpactPercent?: string | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
estimatedAffiliateFee?: string | undefined;
|
|
69
|
-
chainId?: string | undefined;
|
|
70
|
-
fromChainId?: string | undefined;
|
|
71
|
-
denomIn?: string | undefined;
|
|
72
|
-
denomOut?: string | undefined;
|
|
73
|
-
swapVenues?: {
|
|
74
|
-
chainId?: string | undefined;
|
|
75
|
-
name?: string | undefined;
|
|
76
|
-
logoUri?: string | undefined;
|
|
77
|
-
}[] | undefined;
|
|
78
|
-
} | {
|
|
79
|
-
swapOut?: {
|
|
80
|
-
swapAmountOut?: string | undefined;
|
|
81
|
-
swapOperations?: {
|
|
82
|
-
denomIn?: string | undefined;
|
|
83
|
-
denomOut?: string | undefined;
|
|
84
|
-
pool?: string | undefined;
|
|
85
|
-
interface?: string | undefined;
|
|
86
|
-
}[] | undefined;
|
|
87
|
-
swapVenue?: {
|
|
88
|
-
chainId?: string | undefined;
|
|
89
|
-
name?: string | undefined;
|
|
90
|
-
logoUri?: string | undefined;
|
|
91
|
-
} | undefined;
|
|
92
|
-
priceImpactPercent?: string | undefined;
|
|
93
|
-
} | undefined;
|
|
94
|
-
estimatedAffiliateFee?: string | undefined;
|
|
95
|
-
chainId?: string | undefined;
|
|
96
|
-
fromChainId?: string | undefined;
|
|
97
|
-
denomIn?: string | undefined;
|
|
98
|
-
denomOut?: string | undefined;
|
|
99
|
-
swapVenues?: {
|
|
100
|
-
chainId?: string | undefined;
|
|
101
|
-
name?: string | undefined;
|
|
102
|
-
logoUri?: string | undefined;
|
|
103
|
-
}[] | undefined;
|
|
104
|
-
} | {
|
|
105
|
-
smartSwapIn?: {
|
|
106
|
-
swapVenue?: {
|
|
107
|
-
chainId?: string | undefined;
|
|
108
|
-
name?: string | undefined;
|
|
109
|
-
logoUri?: string | undefined;
|
|
110
|
-
} | undefined;
|
|
111
|
-
swapRoutes?: {
|
|
112
|
-
swapAmountIn?: string | undefined;
|
|
113
|
-
denomIn?: string | undefined;
|
|
114
|
-
swapOperations?: {
|
|
115
|
-
denomIn?: string | undefined;
|
|
116
|
-
denomOut?: string | undefined;
|
|
117
|
-
pool?: string | undefined;
|
|
118
|
-
interface?: string | undefined;
|
|
119
|
-
}[] | undefined;
|
|
120
|
-
}[] | undefined;
|
|
121
|
-
} | undefined;
|
|
122
|
-
estimatedAffiliateFee?: string | undefined;
|
|
123
|
-
chainId?: string | undefined;
|
|
124
|
-
fromChainId?: string | undefined;
|
|
125
|
-
denomIn?: string | undefined;
|
|
126
|
-
denomOut?: string | undefined;
|
|
127
|
-
swapVenues?: {
|
|
128
|
-
chainId?: string | undefined;
|
|
129
|
-
name?: string | undefined;
|
|
130
|
-
logoUri?: string | undefined;
|
|
131
|
-
}[] | undefined;
|
|
132
|
-
} | undefined;
|
|
133
|
-
txIndex: number;
|
|
134
|
-
amountIn: string;
|
|
135
|
-
amountOut: string;
|
|
136
|
-
} | {
|
|
137
15
|
axelarTransfer?: {
|
|
138
16
|
asset?: string | undefined;
|
|
139
17
|
feeAmount?: string | undefined;
|
|
@@ -203,14 +81,6 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
203
81
|
txIndex: number;
|
|
204
82
|
amountIn: string;
|
|
205
83
|
amountOut: string;
|
|
206
|
-
} | {
|
|
207
|
-
bankSend?: {
|
|
208
|
-
chainId?: string | undefined;
|
|
209
|
-
denom?: string | undefined;
|
|
210
|
-
} | undefined;
|
|
211
|
-
txIndex: number;
|
|
212
|
-
amountIn: string;
|
|
213
|
-
amountOut: string;
|
|
214
84
|
} | {
|
|
215
85
|
cctpTransfer?: {
|
|
216
86
|
fromChainId?: string | undefined;
|
|
@@ -232,14 +102,15 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
232
102
|
amountIn: string;
|
|
233
103
|
amountOut: string;
|
|
234
104
|
} | {
|
|
235
|
-
|
|
105
|
+
stargateTransfer?: {
|
|
236
106
|
fromChainId?: string | undefined;
|
|
237
107
|
toChainId?: string | undefined;
|
|
238
108
|
denomIn?: string | undefined;
|
|
239
109
|
denomOut?: string | undefined;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
110
|
+
bridgeId?: BridgeType | undefined;
|
|
111
|
+
poolAddress?: string | undefined;
|
|
112
|
+
destinationEndpointId?: number | undefined;
|
|
113
|
+
oftFeeAsset?: {
|
|
243
114
|
chainId: string;
|
|
244
115
|
coingeckoId?: string | undefined;
|
|
245
116
|
decimals?: number | undefined;
|
|
@@ -257,9 +128,36 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
257
128
|
tokenContract?: string | undefined;
|
|
258
129
|
trace: string;
|
|
259
130
|
} | undefined;
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
131
|
+
oftFeeAmount?: string | undefined;
|
|
132
|
+
oftFeeAmountUsd?: string | undefined;
|
|
133
|
+
messagingFeeAsset?: {
|
|
134
|
+
chainId: string;
|
|
135
|
+
coingeckoId?: string | undefined;
|
|
136
|
+
decimals?: number | undefined;
|
|
137
|
+
denom: string;
|
|
138
|
+
description?: string | undefined;
|
|
139
|
+
isCw20: boolean;
|
|
140
|
+
isEvm: boolean;
|
|
141
|
+
isSvm: boolean;
|
|
142
|
+
logoUri?: string | undefined;
|
|
143
|
+
name?: string | undefined;
|
|
144
|
+
originChainId: string;
|
|
145
|
+
originDenom: string;
|
|
146
|
+
recommendedSymbol?: string | undefined;
|
|
147
|
+
symbol?: string | undefined;
|
|
148
|
+
tokenContract?: string | undefined;
|
|
149
|
+
trace: string;
|
|
150
|
+
} | undefined;
|
|
151
|
+
messagingFeeAmount?: string | undefined;
|
|
152
|
+
messageingFeeAmountUsd?: string | undefined;
|
|
153
|
+
} | undefined;
|
|
154
|
+
txIndex: number;
|
|
155
|
+
amountIn: string;
|
|
156
|
+
amountOut: string;
|
|
157
|
+
} | {
|
|
158
|
+
bankSend?: {
|
|
159
|
+
chainId?: string | undefined;
|
|
160
|
+
denom?: string | undefined;
|
|
263
161
|
} | undefined;
|
|
264
162
|
txIndex: number;
|
|
265
163
|
amountIn: string;
|
|
@@ -283,28 +181,14 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
283
181
|
amountIn: string;
|
|
284
182
|
amountOut: string;
|
|
285
183
|
} | {
|
|
286
|
-
|
|
287
|
-
fromChainId?: string | undefined;
|
|
288
|
-
toChainId?: string | undefined;
|
|
289
|
-
denomIn?: string | undefined;
|
|
290
|
-
denomOut?: string | undefined;
|
|
291
|
-
opInitBridgeId?: any;
|
|
292
|
-
bridgeId?: BridgeType | undefined;
|
|
293
|
-
smartRelay?: boolean | undefined;
|
|
294
|
-
} | undefined;
|
|
295
|
-
txIndex: number;
|
|
296
|
-
amountIn: string;
|
|
297
|
-
amountOut: string;
|
|
298
|
-
} | {
|
|
299
|
-
stargateTransfer?: {
|
|
184
|
+
hyperlaneTransfer?: {
|
|
300
185
|
fromChainId?: string | undefined;
|
|
301
186
|
toChainId?: string | undefined;
|
|
302
187
|
denomIn?: string | undefined;
|
|
303
188
|
denomOut?: string | undefined;
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
oftFeeAsset?: {
|
|
189
|
+
hyperlaneContractAddress?: string | undefined;
|
|
190
|
+
feeAmount?: string | undefined;
|
|
191
|
+
feeAsset?: {
|
|
308
192
|
chainId: string;
|
|
309
193
|
coingeckoId?: string | undefined;
|
|
310
194
|
decimals?: number | undefined;
|
|
@@ -322,9 +206,27 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
322
206
|
tokenContract?: string | undefined;
|
|
323
207
|
trace: string;
|
|
324
208
|
} | undefined;
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
209
|
+
usdFeeAmount?: string | undefined;
|
|
210
|
+
bridgeId?: BridgeType | undefined;
|
|
211
|
+
smartRelay?: boolean | undefined;
|
|
212
|
+
} | undefined;
|
|
213
|
+
txIndex: number;
|
|
214
|
+
amountIn: string;
|
|
215
|
+
amountOut: string;
|
|
216
|
+
} | {
|
|
217
|
+
transfer?: {
|
|
218
|
+
fromChainId?: string | undefined;
|
|
219
|
+
toChainId?: string | undefined;
|
|
220
|
+
channel?: string | undefined;
|
|
221
|
+
destDenom?: string | undefined;
|
|
222
|
+
pfmEnabled?: boolean | undefined;
|
|
223
|
+
port?: string | undefined;
|
|
224
|
+
supportsMemo?: boolean | undefined;
|
|
225
|
+
denomIn?: string | undefined;
|
|
226
|
+
denomOut?: string | undefined;
|
|
227
|
+
feeAmount?: string | undefined;
|
|
228
|
+
usdFeeAmount?: string | undefined;
|
|
229
|
+
feeAsset?: {
|
|
328
230
|
chainId: string;
|
|
329
231
|
coingeckoId?: string | undefined;
|
|
330
232
|
decimals?: number | undefined;
|
|
@@ -342,8 +244,106 @@ declare const route: (request: RouteRequest) => Promise<{
|
|
|
342
244
|
tokenContract?: string | undefined;
|
|
343
245
|
trace: string;
|
|
344
246
|
} | undefined;
|
|
345
|
-
|
|
346
|
-
|
|
247
|
+
bridgeId?: BridgeType | undefined;
|
|
248
|
+
smartRelay?: boolean | undefined;
|
|
249
|
+
} | undefined;
|
|
250
|
+
txIndex: number;
|
|
251
|
+
amountIn: string;
|
|
252
|
+
amountOut: string;
|
|
253
|
+
} | {
|
|
254
|
+
swap?: {
|
|
255
|
+
swapIn?: {
|
|
256
|
+
swapAmountIn?: string | undefined;
|
|
257
|
+
swapOperations?: {
|
|
258
|
+
denomIn?: string | undefined;
|
|
259
|
+
denomOut?: string | undefined;
|
|
260
|
+
pool?: string | undefined;
|
|
261
|
+
interface?: string | undefined;
|
|
262
|
+
}[] | undefined;
|
|
263
|
+
swapVenue?: {
|
|
264
|
+
chainId?: string | undefined;
|
|
265
|
+
name?: string | undefined;
|
|
266
|
+
logoUri?: string | undefined;
|
|
267
|
+
} | undefined;
|
|
268
|
+
priceImpactPercent?: string | undefined;
|
|
269
|
+
} | undefined;
|
|
270
|
+
estimatedAffiliateFee?: string | undefined;
|
|
271
|
+
chainId?: string | undefined;
|
|
272
|
+
fromChainId?: string | undefined;
|
|
273
|
+
denomIn?: string | undefined;
|
|
274
|
+
denomOut?: string | undefined;
|
|
275
|
+
swapVenues?: {
|
|
276
|
+
chainId?: string | undefined;
|
|
277
|
+
name?: string | undefined;
|
|
278
|
+
logoUri?: string | undefined;
|
|
279
|
+
}[] | undefined;
|
|
280
|
+
} | {
|
|
281
|
+
swapOut?: {
|
|
282
|
+
swapAmountOut?: string | undefined;
|
|
283
|
+
swapOperations?: {
|
|
284
|
+
denomIn?: string | undefined;
|
|
285
|
+
denomOut?: string | undefined;
|
|
286
|
+
pool?: string | undefined;
|
|
287
|
+
interface?: string | undefined;
|
|
288
|
+
}[] | undefined;
|
|
289
|
+
swapVenue?: {
|
|
290
|
+
chainId?: string | undefined;
|
|
291
|
+
name?: string | undefined;
|
|
292
|
+
logoUri?: string | undefined;
|
|
293
|
+
} | undefined;
|
|
294
|
+
priceImpactPercent?: string | undefined;
|
|
295
|
+
} | undefined;
|
|
296
|
+
estimatedAffiliateFee?: string | undefined;
|
|
297
|
+
chainId?: string | undefined;
|
|
298
|
+
fromChainId?: string | undefined;
|
|
299
|
+
denomIn?: string | undefined;
|
|
300
|
+
denomOut?: string | undefined;
|
|
301
|
+
swapVenues?: {
|
|
302
|
+
chainId?: string | undefined;
|
|
303
|
+
name?: string | undefined;
|
|
304
|
+
logoUri?: string | undefined;
|
|
305
|
+
}[] | undefined;
|
|
306
|
+
} | {
|
|
307
|
+
smartSwapIn?: {
|
|
308
|
+
swapVenue?: {
|
|
309
|
+
chainId?: string | undefined;
|
|
310
|
+
name?: string | undefined;
|
|
311
|
+
logoUri?: string | undefined;
|
|
312
|
+
} | undefined;
|
|
313
|
+
swapRoutes?: {
|
|
314
|
+
swapAmountIn?: string | undefined;
|
|
315
|
+
denomIn?: string | undefined;
|
|
316
|
+
swapOperations?: {
|
|
317
|
+
denomIn?: string | undefined;
|
|
318
|
+
denomOut?: string | undefined;
|
|
319
|
+
pool?: string | undefined;
|
|
320
|
+
interface?: string | undefined;
|
|
321
|
+
}[] | undefined;
|
|
322
|
+
}[] | undefined;
|
|
323
|
+
} | undefined;
|
|
324
|
+
estimatedAffiliateFee?: string | undefined;
|
|
325
|
+
chainId?: string | undefined;
|
|
326
|
+
fromChainId?: string | undefined;
|
|
327
|
+
denomIn?: string | undefined;
|
|
328
|
+
denomOut?: string | undefined;
|
|
329
|
+
swapVenues?: {
|
|
330
|
+
chainId?: string | undefined;
|
|
331
|
+
name?: string | undefined;
|
|
332
|
+
logoUri?: string | undefined;
|
|
333
|
+
}[] | undefined;
|
|
334
|
+
} | undefined;
|
|
335
|
+
txIndex: number;
|
|
336
|
+
amountIn: string;
|
|
337
|
+
amountOut: string;
|
|
338
|
+
} | {
|
|
339
|
+
transfer?: {
|
|
340
|
+
fromChainId?: string | undefined;
|
|
341
|
+
toChainId?: string | undefined;
|
|
342
|
+
denomIn?: string | undefined;
|
|
343
|
+
denomOut?: string | undefined;
|
|
344
|
+
opInitBridgeId?: any;
|
|
345
|
+
bridgeId?: BridgeType | undefined;
|
|
346
|
+
smartRelay?: boolean | undefined;
|
|
347
347
|
} | undefined;
|
|
348
348
|
txIndex: number;
|
|
349
349
|
amountIn: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { au as StatusErrorType, aI as TransactionState, ak as PacketErrorType, aR as TransferState, k as AxelarTransferState, N as ContractCallWithTokenErrorType, ar as SendTokenErrorType, l as AxelarTransferType, p as CCTPTransferState, a7 as HyperlaneTransferState, aN as OPInitTransferState, s as StargateTransferState, w as GoFastTransferState, aO as LayerZeroTransferState } from '../swaggerTypes-O9-gvCT1.
|
|
2
|
-
import { S as SkipApiOptions } from '../apiState-CdzxTxYd.
|
|
3
|
-
import { a as ApiResponse } from '../generateApi-
|
|
1
|
+
import { au as StatusErrorType, aI as TransactionState, ak as PacketErrorType, aR as TransferState, k as AxelarTransferState, N as ContractCallWithTokenErrorType, ar as SendTokenErrorType, l as AxelarTransferType, p as CCTPTransferState, a7 as HyperlaneTransferState, aN as OPInitTransferState, s as StargateTransferState, w as GoFastTransferState, aO as LayerZeroTransferState } from '../swaggerTypes-O9-gvCT1.js';
|
|
2
|
+
import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
|
|
3
|
+
import { a as ApiResponse } from '../generateApi-DqCp36fX.js';
|
|
4
4
|
|
|
5
5
|
declare const transactionStatus: (params?: ({
|
|
6
6
|
txHash: string;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var chunkHAR3IXDE_cjs = require('./chunk-HAR3IXDE.cjs');
|
|
1
|
+
import { api } from './chunk-W6TBGBV3.js';
|
|
4
2
|
|
|
5
3
|
// src/api/postRecommendAssets.ts
|
|
6
|
-
var recommendAssets =
|
|
4
|
+
var recommendAssets = api({
|
|
7
5
|
methodName: "getAssetRecommendations",
|
|
8
6
|
method: "post",
|
|
9
7
|
path: "/v2/fungible/recommend_assets",
|
|
@@ -12,4 +10,4 @@ var recommendAssets = chunkHAR3IXDE_cjs.api({
|
|
|
12
10
|
}
|
|
13
11
|
});
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
export { recommendAssets };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var chunkHAR3IXDE_cjs = require('./chunk-HAR3IXDE.cjs');
|
|
1
|
+
import { api } from './chunk-W6TBGBV3.js';
|
|
4
2
|
|
|
5
3
|
// src/private-functions/getMainnetAndTestnetChains.ts
|
|
6
4
|
var getMainnetAndTestnetChains = async (apiOptions) => {
|
|
@@ -23,7 +21,7 @@ var getMainnetAndTestnetChains = async (apiOptions) => {
|
|
|
23
21
|
};
|
|
24
22
|
|
|
25
23
|
// src/api/getAssets.ts
|
|
26
|
-
var assets =
|
|
24
|
+
var assets = api({
|
|
27
25
|
methodName: "getAssets",
|
|
28
26
|
path: "/v2/fungible/assets",
|
|
29
27
|
transformResponse: (response) => {
|
|
@@ -70,7 +68,7 @@ var getMainnetAndTestnetAssets = async ({
|
|
|
70
68
|
};
|
|
71
69
|
|
|
72
70
|
// src/api/postBalances.ts
|
|
73
|
-
var balances =
|
|
71
|
+
var balances = api({
|
|
74
72
|
methodName: "getBalances",
|
|
75
73
|
method: "post",
|
|
76
74
|
path: "/v2/info/balances",
|
|
@@ -118,7 +116,7 @@ var ClientState = class {
|
|
|
118
116
|
};
|
|
119
117
|
|
|
120
118
|
// src/api/getChains.ts
|
|
121
|
-
var chains =
|
|
119
|
+
var chains = api({
|
|
122
120
|
methodName: "getChains",
|
|
123
121
|
path: "/v2/info/chains",
|
|
124
122
|
transformResponse: (response) => response.chains,
|
|
@@ -129,8 +127,4 @@ var chains = chunkHAR3IXDE_cjs.api({
|
|
|
129
127
|
}
|
|
130
128
|
});
|
|
131
129
|
|
|
132
|
-
|
|
133
|
-
exports.assets = assets;
|
|
134
|
-
exports.balances = balances;
|
|
135
|
-
exports.chains = chains;
|
|
136
|
-
exports.transformAssetsMap = transformAssetsMap;
|
|
130
|
+
export { ClientState, assets, balances, chains, transformAssetsMap };
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var chunkHAR3IXDE_cjs = require('./chunk-HAR3IXDE.cjs');
|
|
1
|
+
import { api } from './chunk-W6TBGBV3.js';
|
|
4
2
|
|
|
5
3
|
// src/api/getVenues.ts
|
|
6
|
-
var venues =
|
|
4
|
+
var venues = api({
|
|
7
5
|
methodName: "getVenues",
|
|
8
6
|
path: "/v2/fungible/venues",
|
|
9
7
|
transformResponse: (response) => response.venues
|
|
10
8
|
});
|
|
11
9
|
|
|
12
|
-
|
|
10
|
+
export { venues };
|