@skip-go/client 1.2.3 → 1.3.1
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 +16 -0
- package/dist/cjs/api/getAssetsBetweenChains.cjs +12 -0
- package/dist/cjs/api/getBridges.cjs +12 -0
- package/dist/cjs/api/getChains.cjs +12 -0
- package/dist/cjs/api/getVenues.cjs +12 -0
- package/dist/cjs/api/postAssetsFromSource.cjs +13 -0
- package/dist/cjs/api/postBalances.cjs +12 -0
- package/dist/cjs/api/postIbcOriginAssets.cjs +12 -0
- package/dist/cjs/api/postMessages.cjs +12 -0
- package/dist/cjs/api/postMessagesDirect.cjs +12 -0
- package/dist/cjs/api/postRecommendAssets.cjs +12 -0
- package/dist/cjs/api/postRoute.cjs +12 -0
- package/dist/cjs/api/postSubmit.cjs +12 -0
- package/dist/cjs/api/postSubmitTransaction.cjs +12 -0
- package/dist/cjs/api/postTrackTransaction.cjs +12 -0
- package/dist/cjs/api/postTransactionStatus.cjs +12 -0
- package/dist/cjs/chunk-4R6OCWRR.cjs +1346 -0
- package/dist/cjs/chunk-5FR25GF5.cjs +209 -0
- package/dist/cjs/chunk-AHRSARNR.cjs +38 -0
- package/dist/cjs/chunk-CPTNOPWI.cjs +566 -0
- package/dist/cjs/chunk-CWUD7UGL.cjs +13 -0
- package/dist/cjs/chunk-D2W4UBJB.cjs +136 -0
- package/dist/cjs/chunk-DUJSZRFD.cjs +1445 -0
- package/dist/cjs/chunk-EINQFLWN.cjs +12 -0
- package/dist/cjs/chunk-EQBTNGJJ.cjs +11 -0
- package/dist/cjs/chunk-F3EB2AQG.cjs +28 -0
- package/dist/cjs/chunk-G3G6PBIF.cjs +47 -0
- package/dist/cjs/chunk-HDKNPB2J.cjs +182 -0
- package/dist/cjs/chunk-KMDNP6DN.cjs +24 -0
- package/dist/cjs/chunk-KZOSEIWH.cjs +10 -0
- package/dist/cjs/chunk-MGYSCMET.cjs +273 -0
- package/dist/cjs/chunk-N3LR7KTI.cjs +304 -0
- package/dist/cjs/chunk-NQR3EPN2.cjs +12 -0
- package/dist/cjs/chunk-OA5PE7TW.cjs +18 -0
- package/dist/cjs/chunk-PFCGKAXF.cjs +15 -0
- package/dist/cjs/chunk-PG7RVHOU.cjs +12 -0
- package/dist/cjs/chunk-RFBDXALX.cjs +12 -0
- package/dist/cjs/chunk-SIY2K7TT.cjs +13 -0
- package/dist/cjs/chunk-SLZCWA4K.cjs +2234 -0
- package/dist/cjs/chunk-T5LPU5A2.cjs +188 -0
- package/dist/cjs/chunk-TCQMGBFL.cjs +38 -0
- package/dist/cjs/chunk-TFL5E5A6.cjs +12 -0
- package/dist/cjs/chunk-TWPLCFOH.cjs +16 -0
- package/dist/cjs/chunk-W2DPDT3Y.cjs +22 -0
- package/dist/cjs/chunk-WE7KICKO.cjs +95 -0
- package/dist/cjs/chunk-WMXUOVHN.cjs +3642 -0
- package/dist/cjs/index.cjs +401 -0
- package/dist/cjs/public-functions/executeRoute.cjs +28 -0
- package/dist/cjs/public-functions/getCosmosGasAmountForMessage.cjs +15 -0
- package/dist/cjs/public-functions/getEvmGasAmountForMessage.cjs +11 -0
- package/dist/cjs/public-functions/getFeeInfoForChain.cjs +15 -0
- package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +17 -0
- package/dist/cjs/public-functions/getSigningStargateClient.cjs +14 -0
- package/dist/cjs/public-functions/setApiOptions.cjs +12 -0
- package/dist/cjs/public-functions/setClientOptions.cjs +14 -0
- package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +18 -0
- package/dist/cjs/public-functions/waitForTransaction.cjs +14 -0
- package/dist/{api → esm/api}/getAssets.d.ts +1 -1
- package/dist/esm/api/getAssets.js +3 -0
- package/dist/{api → esm/api}/getAssetsBetweenChains.d.ts +1 -1
- package/dist/esm/api/getAssetsBetweenChains.js +3 -0
- package/dist/{api → esm/api}/getBridges.d.ts +3 -2
- package/dist/esm/api/getBridges.js +3 -0
- package/dist/{api → esm/api}/getChains.d.ts +1 -1
- package/dist/esm/api/getChains.js +3 -0
- package/dist/esm/api/getVenues.js +3 -0
- package/dist/{api → esm/api}/postAssetsFromSource.d.ts +1 -1
- package/dist/esm/api/postAssetsFromSource.js +4 -0
- package/dist/{api → esm/api}/postBalances.d.ts +2 -2
- package/dist/esm/api/postBalances.js +3 -0
- package/dist/esm/api/postIbcOriginAssets.js +3 -0
- package/dist/{api → esm/api}/postMessages.d.ts +3 -2
- package/dist/esm/api/postMessages.js +3 -0
- package/dist/{api → esm/api}/postMessagesDirect.d.ts +196 -194
- package/dist/esm/api/postMessagesDirect.js +3 -0
- package/dist/{api → esm/api}/postRecommendAssets.d.ts +1 -1
- package/dist/esm/api/postRecommendAssets.js +3 -0
- package/dist/{api → esm/api}/postRoute.d.ts +191 -190
- package/dist/esm/api/postRoute.js +3 -0
- package/dist/{api → esm/api}/postSubmit.d.ts +2 -2
- package/dist/esm/api/postSubmit.js +3 -0
- package/dist/esm/api/postSubmitTransaction.js +3 -0
- package/dist/{api → esm/api}/postTrackTransaction.d.ts +2 -2
- package/dist/esm/api/postTrackTransaction.js +3 -0
- package/dist/{api → esm/api}/postTransactionStatus.d.ts +14 -2
- package/dist/esm/api/postTransactionStatus.js +3 -0
- package/dist/{callbacks-CPh0dr86.d.ts → esm/callbacks-C2lXb0AH.d.ts} +6 -1
- package/dist/{chunk-4CXSWHQ6.js → esm/chunk-2R5COFPS.js} +1 -1
- package/dist/esm/chunk-43P4WRGN.js +183 -0
- package/dist/{chunk-UCUUIQHV.js → esm/chunk-4DI7G6TH.js} +1 -1
- package/dist/{chunk-4XUWIG3Z.js → esm/chunk-6ULKULTX.js} +1 -1
- package/dist/{chunk-OFBEDG4X.js → esm/chunk-6UMMVC2P.js} +1 -1
- package/dist/{chunk-5GWNR2CV.js → esm/chunk-7ZG7HNNC.js} +2 -2
- package/dist/{chunk-A4M35XLF.js → esm/chunk-C6NHVJ3R.js} +2 -2
- package/dist/{chunk-GQXA3DGV.js → esm/chunk-CGZ5DA2T.js} +1 -1
- package/dist/{chunk-COJAW7OW.js → esm/chunk-ERPZHRBM.js} +3 -3
- package/dist/{chunk-EHKR7I66.js → esm/chunk-F65QOYUA.js} +2 -2
- package/dist/{chunk-TKLDJEAS.js → esm/chunk-GOD6ESBZ.js} +14 -14
- package/dist/{chunk-S4LIRB4Q.js → esm/chunk-HAGMHUOI.js} +30 -14
- package/dist/{chunk-2YOWXBHH.js → esm/chunk-HS2D6FKN.js} +1 -1
- package/dist/{chunk-XZV42PVV.js → esm/chunk-I4AMZAHH.js} +3 -2
- package/dist/{chunk-UXUJNZOA.js → esm/chunk-KYLULQOS.js} +7 -1
- package/dist/{chunk-CXFOPLGZ.js → esm/chunk-MAOMQHG5.js} +1 -1
- package/dist/{chunk-A7FWC5OX.js → esm/chunk-NZVZH6OA.js} +1 -1
- package/dist/{chunk-DF3WCTFB.js → esm/chunk-PIQZD2VE.js} +1 -1
- package/dist/{chunk-NQZYCFAA.js → esm/chunk-QPJEHGY7.js} +1 -1
- package/dist/{chunk-YABXOO3H.js → esm/chunk-SS5LQKBL.js} +5 -1
- package/dist/{chunk-U6NXCWXE.js → esm/chunk-UZKIIX6A.js} +1 -1
- package/dist/{chunk-Z3Z7A3YS.js → esm/chunk-VUOOTNLG.js} +1 -1
- package/dist/{chunk-7MWYHGMD.js → esm/chunk-YLMQS52U.js} +2 -2
- package/dist/{chunk-RE4YYQCE.js → esm/chunk-YYXOIRHZ.js} +1 -1
- package/dist/{chunk-THUBVEVZ.js → esm/chunk-ZTDLGX7X.js} +1 -1
- package/dist/{client-types-DRmsTfeT.d.ts → esm/client-types-DuWWc2_J.d.ts} +1 -1
- package/dist/{generateApi-D7KXciAd.d.ts → esm/generateApi-DvFEIUee.d.ts} +2 -1
- package/dist/{index.d.ts → esm/index.d.ts} +21 -6
- package/dist/{index.js → esm/index.js} +32 -26
- package/dist/{public-functions → esm/public-functions}/executeRoute.d.ts +4 -4
- package/dist/esm/public-functions/executeRoute.js +19 -0
- package/dist/{public-functions → esm/public-functions}/getCosmosGasAmountForMessage.d.ts +1 -1
- package/dist/{public-functions → esm/public-functions}/getEvmGasAmountForMessage.d.ts +2 -2
- package/dist/{public-functions → esm/public-functions}/getEvmGasAmountForMessage.js +1 -1
- package/dist/{public-functions → esm/public-functions}/getFeeInfoForChain.d.ts +1 -1
- package/dist/esm/public-functions/getFeeInfoForChain.js +6 -0
- package/dist/esm/public-functions/getRecommendedGasPrice.js +8 -0
- package/dist/esm/public-functions/getSigningStargateClient.js +5 -0
- package/dist/{public-functions → esm/public-functions}/setApiOptions.d.ts +1 -1
- package/dist/esm/public-functions/setApiOptions.js +3 -0
- package/dist/{public-functions → esm/public-functions}/setClientOptions.d.ts +3 -3
- package/dist/esm/public-functions/setClientOptions.js +5 -0
- package/dist/{public-functions → esm/public-functions}/validateCosmosGasBalance.d.ts +4 -4
- package/dist/esm/public-functions/validateCosmosGasBalance.js +9 -0
- package/dist/{public-functions → esm/public-functions}/waitForTransaction.d.ts +15 -3
- package/dist/esm/public-functions/waitForTransaction.js +5 -0
- package/dist/{setClientOptions-CwcM5Ps9.d.ts → esm/setClientOptions-B27lt_6h.d.ts} +1 -1
- package/dist/{swaggerTypes-BpJPRbC3.d.ts → esm/swaggerTypes-BrC-ZYnx.d.ts} +20 -1
- package/package.json +19 -7
- package/dist/api/getAssets.js +0 -3
- package/dist/api/getAssetsBetweenChains.js +0 -3
- package/dist/api/getBridges.js +0 -3
- package/dist/api/getChains.js +0 -3
- package/dist/api/getVenues.js +0 -3
- package/dist/api/postAssetsFromSource.js +0 -4
- package/dist/api/postBalances.js +0 -3
- package/dist/api/postIbcOriginAssets.js +0 -3
- package/dist/api/postMessages.js +0 -3
- package/dist/api/postMessagesDirect.js +0 -3
- package/dist/api/postRecommendAssets.js +0 -3
- package/dist/api/postRoute.js +0 -3
- package/dist/api/postSubmit.js +0 -3
- package/dist/api/postSubmitTransaction.js +0 -3
- package/dist/api/postTrackTransaction.js +0 -3
- package/dist/api/postTransactionStatus.js +0 -3
- package/dist/chunk-6AKLNBEL.js +0 -183
- package/dist/public-functions/executeRoute.js +0 -19
- package/dist/public-functions/getFeeInfoForChain.js +0 -6
- package/dist/public-functions/getRecommendedGasPrice.js +0 -8
- package/dist/public-functions/getSigningStargateClient.js +0 -5
- package/dist/public-functions/setApiOptions.js +0 -3
- package/dist/public-functions/setClientOptions.js +0 -5
- package/dist/public-functions/validateCosmosGasBalance.js +0 -9
- package/dist/public-functions/waitForTransaction.js +0 -5
- /package/dist/{api → esm/api}/getVenues.d.ts +0 -0
- /package/dist/{api → esm/api}/postIbcOriginAssets.d.ts +0 -0
- /package/dist/{api → esm/api}/postSubmitTransaction.d.ts +0 -0
- /package/dist/{apiState-DwZhwVul.d.ts → esm/apiState-DwZhwVul.d.ts} +0 -0
- /package/dist/{chunk-GV2QOWB4.js → esm/chunk-GV2QOWB4.js} +0 -0
- /package/dist/{chunk-SWYON2RG.js → esm/chunk-SWYON2RG.js} +0 -0
- /package/dist/{chunk-TD63P2AG.js → esm/chunk-TD63P2AG.js} +0 -0
- /package/dist/{chunk-TV2XPAIF.js → esm/chunk-TV2XPAIF.js} +0 -0
- /package/dist/{chunk-VQ5SIQWU.js → esm/chunk-VQ5SIQWU.js} +0 -0
- /package/dist/{public-functions → esm/public-functions}/getCosmosGasAmountForMessage.js +0 -0
- /package/dist/{public-functions → esm/public-functions}/getRecommendedGasPrice.d.ts +0 -0
- /package/dist/{public-functions → esm/public-functions}/getSigningStargateClient.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b3 as FeeType, J as BridgeType } from '../swaggerTypes-
|
|
1
|
+
import { b3 as FeeType, J as BridgeType, b4 as FeeBehavior } from '../swaggerTypes-BrC-ZYnx.js';
|
|
2
2
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
3
|
-
import { A as ApiRequest, a as ApiResponse } from '../generateApi-
|
|
3
|
+
import { A as ApiRequest, a as ApiResponse } from '../generateApi-DvFEIUee.js';
|
|
4
4
|
|
|
5
5
|
declare const messages: (request: MessagesRequest) => Promise<{
|
|
6
6
|
msgs?: ({
|
|
@@ -90,6 +90,7 @@ declare const messages: (request: MessagesRequest) => Promise<{
|
|
|
90
90
|
chainId?: string | undefined;
|
|
91
91
|
txIndex?: number | undefined;
|
|
92
92
|
operationIndex?: number | undefined;
|
|
93
|
+
feeBehavior?: FeeBehavior | undefined;
|
|
93
94
|
}[] | undefined;
|
|
94
95
|
} | undefined>;
|
|
95
96
|
type MessagesRequest = ApiRequest<"msgs"> & SkipApiOptions & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
2
|
-
import { f as AutopilotAction, J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType } from '../swaggerTypes-
|
|
2
|
+
import { f as AutopilotAction, J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType, b4 as FeeBehavior } from '../swaggerTypes-BrC-ZYnx.js';
|
|
3
3
|
|
|
4
4
|
declare const messagesDirect: (options?: ({
|
|
5
5
|
sourceAssetDenom?: string | undefined;
|
|
@@ -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;
|
|
@@ -49,6 +49,7 @@ declare const messagesDirect: (options?: ({
|
|
|
49
49
|
allowSwaps?: boolean | undefined;
|
|
50
50
|
goFast?: boolean | undefined;
|
|
51
51
|
enableGasWarnings?: boolean | undefined;
|
|
52
|
+
feePayerAddress?: string | undefined;
|
|
52
53
|
} & SkipApiOptions & {
|
|
53
54
|
abortDuplicateRequests?: boolean | undefined;
|
|
54
55
|
}) | undefined) => Promise<{
|
|
@@ -123,6 +124,130 @@ declare const messagesDirect: (options?: ({
|
|
|
123
124
|
doesSwap?: boolean | undefined;
|
|
124
125
|
estimatedAmountOut: string;
|
|
125
126
|
operations: ({
|
|
127
|
+
transfer?: {
|
|
128
|
+
fromChainId?: string | undefined;
|
|
129
|
+
toChainId?: string | undefined;
|
|
130
|
+
channel?: string | undefined;
|
|
131
|
+
destDenom?: string | undefined;
|
|
132
|
+
pfmEnabled?: boolean | undefined;
|
|
133
|
+
port?: string | undefined;
|
|
134
|
+
supportsMemo?: boolean | undefined;
|
|
135
|
+
denomIn?: string | undefined;
|
|
136
|
+
denomOut?: string | undefined;
|
|
137
|
+
feeAmount?: string | undefined;
|
|
138
|
+
toChainEntryContractAddress?: string | undefined;
|
|
139
|
+
toChainCallbackContractAddress?: string | undefined;
|
|
140
|
+
usdFeeAmount?: string | undefined;
|
|
141
|
+
feeAsset?: {
|
|
142
|
+
chainId: string;
|
|
143
|
+
coingeckoId?: string | undefined;
|
|
144
|
+
decimals?: number | undefined;
|
|
145
|
+
denom: string;
|
|
146
|
+
description?: string | undefined;
|
|
147
|
+
isCw20: boolean;
|
|
148
|
+
isEvm: boolean;
|
|
149
|
+
isSvm: boolean;
|
|
150
|
+
logoUri?: string | undefined;
|
|
151
|
+
name?: string | undefined;
|
|
152
|
+
originChainId: string;
|
|
153
|
+
originDenom: string;
|
|
154
|
+
recommendedSymbol?: string | undefined;
|
|
155
|
+
symbol?: string | undefined;
|
|
156
|
+
tokenContract?: string | undefined;
|
|
157
|
+
trace: string;
|
|
158
|
+
} | undefined;
|
|
159
|
+
bridgeId?: BridgeType | undefined;
|
|
160
|
+
smartRelay?: boolean | undefined;
|
|
161
|
+
} | undefined;
|
|
162
|
+
txIndex: number;
|
|
163
|
+
amountIn: string;
|
|
164
|
+
amountOut: string;
|
|
165
|
+
} | {
|
|
166
|
+
swap?: {
|
|
167
|
+
swapIn?: {
|
|
168
|
+
swapAmountIn?: string | undefined;
|
|
169
|
+
swapOperations?: {
|
|
170
|
+
denomIn?: string | undefined;
|
|
171
|
+
denomOut?: string | undefined;
|
|
172
|
+
pool?: string | undefined;
|
|
173
|
+
interface?: string | undefined;
|
|
174
|
+
}[] | undefined;
|
|
175
|
+
swapVenue?: {
|
|
176
|
+
chainId?: string | undefined;
|
|
177
|
+
name?: string | undefined;
|
|
178
|
+
logoUri?: string | undefined;
|
|
179
|
+
} | undefined;
|
|
180
|
+
priceImpactPercent?: string | undefined;
|
|
181
|
+
} | undefined;
|
|
182
|
+
estimatedAffiliateFee?: string | undefined;
|
|
183
|
+
chainId?: string | undefined;
|
|
184
|
+
fromChainId?: string | undefined;
|
|
185
|
+
denomIn?: string | undefined;
|
|
186
|
+
denomOut?: string | undefined;
|
|
187
|
+
swapVenues?: {
|
|
188
|
+
chainId?: string | undefined;
|
|
189
|
+
name?: string | undefined;
|
|
190
|
+
logoUri?: string | undefined;
|
|
191
|
+
}[] | undefined;
|
|
192
|
+
} | {
|
|
193
|
+
swapOut?: {
|
|
194
|
+
swapAmountOut?: string | undefined;
|
|
195
|
+
swapOperations?: {
|
|
196
|
+
denomIn?: string | undefined;
|
|
197
|
+
denomOut?: string | undefined;
|
|
198
|
+
pool?: string | undefined;
|
|
199
|
+
interface?: string | undefined;
|
|
200
|
+
}[] | undefined;
|
|
201
|
+
swapVenue?: {
|
|
202
|
+
chainId?: string | undefined;
|
|
203
|
+
name?: string | undefined;
|
|
204
|
+
logoUri?: string | undefined;
|
|
205
|
+
} | undefined;
|
|
206
|
+
priceImpactPercent?: string | undefined;
|
|
207
|
+
} | undefined;
|
|
208
|
+
estimatedAffiliateFee?: string | undefined;
|
|
209
|
+
chainId?: string | undefined;
|
|
210
|
+
fromChainId?: string | undefined;
|
|
211
|
+
denomIn?: string | undefined;
|
|
212
|
+
denomOut?: string | undefined;
|
|
213
|
+
swapVenues?: {
|
|
214
|
+
chainId?: string | undefined;
|
|
215
|
+
name?: string | undefined;
|
|
216
|
+
logoUri?: string | undefined;
|
|
217
|
+
}[] | undefined;
|
|
218
|
+
} | {
|
|
219
|
+
smartSwapIn?: {
|
|
220
|
+
swapVenue?: {
|
|
221
|
+
chainId?: string | undefined;
|
|
222
|
+
name?: string | undefined;
|
|
223
|
+
logoUri?: string | undefined;
|
|
224
|
+
} | undefined;
|
|
225
|
+
swapRoutes?: {
|
|
226
|
+
swapAmountIn?: string | undefined;
|
|
227
|
+
denomIn?: string | undefined;
|
|
228
|
+
swapOperations?: {
|
|
229
|
+
denomIn?: string | undefined;
|
|
230
|
+
denomOut?: string | undefined;
|
|
231
|
+
pool?: string | undefined;
|
|
232
|
+
interface?: string | undefined;
|
|
233
|
+
}[] | undefined;
|
|
234
|
+
}[] | undefined;
|
|
235
|
+
} | undefined;
|
|
236
|
+
estimatedAffiliateFee?: string | undefined;
|
|
237
|
+
chainId?: string | undefined;
|
|
238
|
+
fromChainId?: string | undefined;
|
|
239
|
+
denomIn?: string | undefined;
|
|
240
|
+
denomOut?: string | undefined;
|
|
241
|
+
swapVenues?: {
|
|
242
|
+
chainId?: string | undefined;
|
|
243
|
+
name?: string | undefined;
|
|
244
|
+
logoUri?: string | undefined;
|
|
245
|
+
}[] | undefined;
|
|
246
|
+
} | undefined;
|
|
247
|
+
txIndex: number;
|
|
248
|
+
amountIn: string;
|
|
249
|
+
amountOut: string;
|
|
250
|
+
} | {
|
|
126
251
|
axelarTransfer?: {
|
|
127
252
|
asset?: string | undefined;
|
|
128
253
|
feeAmount?: string | undefined;
|
|
@@ -194,6 +319,14 @@ declare const messagesDirect: (options?: ({
|
|
|
194
319
|
txIndex: number;
|
|
195
320
|
amountIn: string;
|
|
196
321
|
amountOut: string;
|
|
322
|
+
} | {
|
|
323
|
+
bankSend?: {
|
|
324
|
+
chainId?: string | undefined;
|
|
325
|
+
denom?: string | undefined;
|
|
326
|
+
} | undefined;
|
|
327
|
+
txIndex: number;
|
|
328
|
+
amountIn: string;
|
|
329
|
+
amountOut: string;
|
|
197
330
|
} | {
|
|
198
331
|
cctpTransfer?: {
|
|
199
332
|
fromChainId?: string | undefined;
|
|
@@ -215,35 +348,14 @@ declare const messagesDirect: (options?: ({
|
|
|
215
348
|
amountIn: string;
|
|
216
349
|
amountOut: string;
|
|
217
350
|
} | {
|
|
218
|
-
|
|
351
|
+
hyperlaneTransfer?: {
|
|
219
352
|
fromChainId?: string | undefined;
|
|
220
353
|
toChainId?: string | undefined;
|
|
221
354
|
denomIn?: string | undefined;
|
|
222
355
|
denomOut?: string | undefined;
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
oftFeeAsset?: {
|
|
227
|
-
chainId: string;
|
|
228
|
-
coingeckoId?: string | undefined;
|
|
229
|
-
decimals?: number | undefined;
|
|
230
|
-
denom: string;
|
|
231
|
-
description?: string | undefined;
|
|
232
|
-
isCw20: boolean;
|
|
233
|
-
isEvm: boolean;
|
|
234
|
-
isSvm: boolean;
|
|
235
|
-
logoUri?: string | undefined;
|
|
236
|
-
name?: string | undefined;
|
|
237
|
-
originChainId: string;
|
|
238
|
-
originDenom: string;
|
|
239
|
-
recommendedSymbol?: string | undefined;
|
|
240
|
-
symbol?: string | undefined;
|
|
241
|
-
tokenContract?: string | undefined;
|
|
242
|
-
trace: string;
|
|
243
|
-
} | undefined;
|
|
244
|
-
oftFeeAmount?: string | undefined;
|
|
245
|
-
oftFeeAmountUsd?: string | undefined;
|
|
246
|
-
messagingFeeAsset?: {
|
|
356
|
+
hyperlaneContractAddress?: string | undefined;
|
|
357
|
+
feeAmount?: string | undefined;
|
|
358
|
+
feeAsset?: {
|
|
247
359
|
chainId: string;
|
|
248
360
|
coingeckoId?: string | undefined;
|
|
249
361
|
decimals?: number | undefined;
|
|
@@ -261,54 +373,9 @@ declare const messagesDirect: (options?: ({
|
|
|
261
373
|
tokenContract?: string | undefined;
|
|
262
374
|
trace: string;
|
|
263
375
|
} | undefined;
|
|
264
|
-
|
|
265
|
-
messagingFeeAmountUsd?: string | undefined;
|
|
266
|
-
} | undefined;
|
|
267
|
-
txIndex: number;
|
|
268
|
-
amountIn: string;
|
|
269
|
-
amountOut: string;
|
|
270
|
-
} | {
|
|
271
|
-
goFastTransfer?: {
|
|
272
|
-
fromChainId?: string | undefined;
|
|
273
|
-
toChainId?: string | undefined;
|
|
376
|
+
usdFeeAmount?: string | undefined;
|
|
274
377
|
bridgeId?: BridgeType | undefined;
|
|
275
|
-
|
|
276
|
-
denomOut?: string | undefined;
|
|
277
|
-
fee?: {
|
|
278
|
-
feeAsset: {
|
|
279
|
-
chainId: string;
|
|
280
|
-
coingeckoId?: string | undefined;
|
|
281
|
-
decimals?: number | undefined;
|
|
282
|
-
denom: string;
|
|
283
|
-
description?: string | undefined;
|
|
284
|
-
isCw20: boolean;
|
|
285
|
-
isEvm: boolean;
|
|
286
|
-
isSvm: boolean;
|
|
287
|
-
logoUri?: string | undefined;
|
|
288
|
-
name?: string | undefined;
|
|
289
|
-
originChainId: string;
|
|
290
|
-
originDenom: string;
|
|
291
|
-
recommendedSymbol?: string | undefined;
|
|
292
|
-
symbol?: string | undefined;
|
|
293
|
-
tokenContract?: string | undefined;
|
|
294
|
-
trace: string;
|
|
295
|
-
};
|
|
296
|
-
bpsFee?: string | undefined;
|
|
297
|
-
bpsFeeAmount?: string | undefined;
|
|
298
|
-
bpsFeeUsd?: string | undefined;
|
|
299
|
-
sourceChainFeeAmount?: string | undefined;
|
|
300
|
-
sourceChainFeeUsd?: string | undefined;
|
|
301
|
-
destinationChainFeeAmount?: string | undefined;
|
|
302
|
-
destinationChainFeeUsd?: string | undefined;
|
|
303
|
-
} | undefined;
|
|
304
|
-
} | undefined;
|
|
305
|
-
txIndex: number;
|
|
306
|
-
amountIn: string;
|
|
307
|
-
amountOut: string;
|
|
308
|
-
} | {
|
|
309
|
-
bankSend?: {
|
|
310
|
-
chainId?: string | undefined;
|
|
311
|
-
denom?: string | undefined;
|
|
378
|
+
smartRelay?: boolean | undefined;
|
|
312
379
|
} | undefined;
|
|
313
380
|
txIndex: number;
|
|
314
381
|
amountIn: string;
|
|
@@ -332,14 +399,28 @@ declare const messagesDirect: (options?: ({
|
|
|
332
399
|
amountIn: string;
|
|
333
400
|
amountOut: string;
|
|
334
401
|
} | {
|
|
335
|
-
|
|
402
|
+
opInitTransfer?: {
|
|
336
403
|
fromChainId?: string | undefined;
|
|
337
404
|
toChainId?: string | undefined;
|
|
338
405
|
denomIn?: string | undefined;
|
|
339
406
|
denomOut?: string | undefined;
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
407
|
+
opInitBridgeId?: any;
|
|
408
|
+
bridgeId?: BridgeType | undefined;
|
|
409
|
+
smartRelay?: boolean | undefined;
|
|
410
|
+
} | undefined;
|
|
411
|
+
txIndex: number;
|
|
412
|
+
amountIn: string;
|
|
413
|
+
amountOut: string;
|
|
414
|
+
} | {
|
|
415
|
+
stargateTransfer?: {
|
|
416
|
+
fromChainId?: string | undefined;
|
|
417
|
+
toChainId?: string | undefined;
|
|
418
|
+
denomIn?: string | undefined;
|
|
419
|
+
denomOut?: string | undefined;
|
|
420
|
+
bridgeId?: BridgeType | undefined;
|
|
421
|
+
poolAddress?: string | undefined;
|
|
422
|
+
destinationEndpointId?: number | undefined;
|
|
423
|
+
oftFeeAsset?: {
|
|
343
424
|
chainId: string;
|
|
344
425
|
coingeckoId?: string | undefined;
|
|
345
426
|
decimals?: number | undefined;
|
|
@@ -357,29 +438,9 @@ declare const messagesDirect: (options?: ({
|
|
|
357
438
|
tokenContract?: string | undefined;
|
|
358
439
|
trace: string;
|
|
359
440
|
} | undefined;
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
} | undefined;
|
|
364
|
-
txIndex: number;
|
|
365
|
-
amountIn: string;
|
|
366
|
-
amountOut: string;
|
|
367
|
-
} | {
|
|
368
|
-
transfer?: {
|
|
369
|
-
fromChainId?: string | undefined;
|
|
370
|
-
toChainId?: string | undefined;
|
|
371
|
-
channel?: string | undefined;
|
|
372
|
-
destDenom?: string | undefined;
|
|
373
|
-
pfmEnabled?: boolean | undefined;
|
|
374
|
-
port?: string | undefined;
|
|
375
|
-
supportsMemo?: boolean | undefined;
|
|
376
|
-
denomIn?: string | undefined;
|
|
377
|
-
denomOut?: string | undefined;
|
|
378
|
-
feeAmount?: string | undefined;
|
|
379
|
-
toChainEntryContractAddress?: string | undefined;
|
|
380
|
-
toChainCallbackContractAddress?: string | undefined;
|
|
381
|
-
usdFeeAmount?: string | undefined;
|
|
382
|
-
feeAsset?: {
|
|
441
|
+
oftFeeAmount?: string | undefined;
|
|
442
|
+
oftFeeAmountUsd?: string | undefined;
|
|
443
|
+
messagingFeeAsset?: {
|
|
383
444
|
chainId: string;
|
|
384
445
|
coingeckoId?: string | undefined;
|
|
385
446
|
decimals?: number | undefined;
|
|
@@ -397,106 +458,46 @@ declare const messagesDirect: (options?: ({
|
|
|
397
458
|
tokenContract?: string | undefined;
|
|
398
459
|
trace: string;
|
|
399
460
|
} | undefined;
|
|
400
|
-
|
|
401
|
-
|
|
461
|
+
messagingFeeAmount?: string | undefined;
|
|
462
|
+
messagingFeeAmountUsd?: string | undefined;
|
|
402
463
|
} | undefined;
|
|
403
464
|
txIndex: number;
|
|
404
465
|
amountIn: string;
|
|
405
466
|
amountOut: string;
|
|
406
467
|
} | {
|
|
407
|
-
|
|
408
|
-
swapIn?: {
|
|
409
|
-
swapAmountIn?: string | undefined;
|
|
410
|
-
swapOperations?: {
|
|
411
|
-
denomIn?: string | undefined;
|
|
412
|
-
denomOut?: string | undefined;
|
|
413
|
-
pool?: string | undefined;
|
|
414
|
-
interface?: string | undefined;
|
|
415
|
-
}[] | undefined;
|
|
416
|
-
swapVenue?: {
|
|
417
|
-
chainId?: string | undefined;
|
|
418
|
-
name?: string | undefined;
|
|
419
|
-
logoUri?: string | undefined;
|
|
420
|
-
} | undefined;
|
|
421
|
-
priceImpactPercent?: string | undefined;
|
|
422
|
-
} | undefined;
|
|
423
|
-
estimatedAffiliateFee?: string | undefined;
|
|
424
|
-
chainId?: string | undefined;
|
|
468
|
+
goFastTransfer?: {
|
|
425
469
|
fromChainId?: string | undefined;
|
|
470
|
+
toChainId?: string | undefined;
|
|
471
|
+
bridgeId?: BridgeType | undefined;
|
|
426
472
|
denomIn?: string | undefined;
|
|
427
473
|
denomOut?: string | undefined;
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
denomOut?: string | undefined;
|
|
439
|
-
pool?: string | undefined;
|
|
440
|
-
interface?: string | undefined;
|
|
441
|
-
}[] | undefined;
|
|
442
|
-
swapVenue?: {
|
|
443
|
-
chainId?: string | undefined;
|
|
444
|
-
name?: string | undefined;
|
|
474
|
+
fee?: {
|
|
475
|
+
feeAsset: {
|
|
476
|
+
chainId: string;
|
|
477
|
+
coingeckoId?: string | undefined;
|
|
478
|
+
decimals?: number | undefined;
|
|
479
|
+
denom: string;
|
|
480
|
+
description?: string | undefined;
|
|
481
|
+
isCw20: boolean;
|
|
482
|
+
isEvm: boolean;
|
|
483
|
+
isSvm: boolean;
|
|
445
484
|
logoUri?: string | undefined;
|
|
446
|
-
} | undefined;
|
|
447
|
-
priceImpactPercent?: string | undefined;
|
|
448
|
-
} | undefined;
|
|
449
|
-
estimatedAffiliateFee?: string | undefined;
|
|
450
|
-
chainId?: string | undefined;
|
|
451
|
-
fromChainId?: string | undefined;
|
|
452
|
-
denomIn?: string | undefined;
|
|
453
|
-
denomOut?: string | undefined;
|
|
454
|
-
swapVenues?: {
|
|
455
|
-
chainId?: string | undefined;
|
|
456
|
-
name?: string | undefined;
|
|
457
|
-
logoUri?: string | undefined;
|
|
458
|
-
}[] | undefined;
|
|
459
|
-
} | {
|
|
460
|
-
smartSwapIn?: {
|
|
461
|
-
swapVenue?: {
|
|
462
|
-
chainId?: string | undefined;
|
|
463
485
|
name?: string | undefined;
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
486
|
+
originChainId: string;
|
|
487
|
+
originDenom: string;
|
|
488
|
+
recommendedSymbol?: string | undefined;
|
|
489
|
+
symbol?: string | undefined;
|
|
490
|
+
tokenContract?: string | undefined;
|
|
491
|
+
trace: string;
|
|
492
|
+
};
|
|
493
|
+
bpsFee?: string | undefined;
|
|
494
|
+
bpsFeeAmount?: string | undefined;
|
|
495
|
+
bpsFeeUsd?: string | undefined;
|
|
496
|
+
sourceChainFeeAmount?: string | undefined;
|
|
497
|
+
sourceChainFeeUsd?: string | undefined;
|
|
498
|
+
destinationChainFeeAmount?: string | undefined;
|
|
499
|
+
destinationChainFeeUsd?: string | undefined;
|
|
476
500
|
} | undefined;
|
|
477
|
-
estimatedAffiliateFee?: string | undefined;
|
|
478
|
-
chainId?: string | undefined;
|
|
479
|
-
fromChainId?: string | undefined;
|
|
480
|
-
denomIn?: string | undefined;
|
|
481
|
-
denomOut?: string | undefined;
|
|
482
|
-
swapVenues?: {
|
|
483
|
-
chainId?: string | undefined;
|
|
484
|
-
name?: string | undefined;
|
|
485
|
-
logoUri?: string | undefined;
|
|
486
|
-
}[] | undefined;
|
|
487
|
-
} | undefined;
|
|
488
|
-
txIndex: number;
|
|
489
|
-
amountIn: string;
|
|
490
|
-
amountOut: string;
|
|
491
|
-
} | {
|
|
492
|
-
opInitTransfer?: {
|
|
493
|
-
fromChainId?: string | undefined;
|
|
494
|
-
toChainId?: string | undefined;
|
|
495
|
-
denomIn?: string | undefined;
|
|
496
|
-
denomOut?: string | undefined;
|
|
497
|
-
opInitBridgeId?: any;
|
|
498
|
-
bridgeId?: BridgeType | undefined;
|
|
499
|
-
smartRelay?: boolean | undefined;
|
|
500
501
|
} | undefined;
|
|
501
502
|
txIndex: number;
|
|
502
503
|
amountIn: string;
|
|
@@ -603,6 +604,7 @@ declare const messagesDirect: (options?: ({
|
|
|
603
604
|
chainId?: string | undefined;
|
|
604
605
|
txIndex?: number | undefined;
|
|
605
606
|
operationIndex?: number | undefined;
|
|
607
|
+
feeBehavior?: FeeBehavior | undefined;
|
|
606
608
|
}[] | undefined;
|
|
607
609
|
estimatedRouteDurationSeconds: number;
|
|
608
610
|
} | undefined;
|