@skip-go/client 1.3.0 → 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 +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-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-IDDRJJO5.cjs +567 -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 +402 -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/{api → esm/api}/getAssets.js +1 -1
- package/dist/{api → esm/api}/getAssetsBetweenChains.d.ts +1 -1
- package/dist/{api → esm/api}/getAssetsBetweenChains.js +1 -1
- package/dist/{api → esm/api}/getBridges.d.ts +1 -1
- package/dist/{api → esm/api}/getBridges.js +1 -1
- package/dist/{api → esm/api}/getChains.d.ts +1 -1
- package/dist/{api → esm/api}/getChains.js +1 -1
- package/dist/{api → esm/api}/getVenues.js +1 -1
- package/dist/{api → esm/api}/postAssetsFromSource.d.ts +1 -1
- package/dist/{api → esm/api}/postAssetsFromSource.js +1 -1
- package/dist/{api → esm/api}/postBalances.d.ts +2 -2
- package/dist/{api → esm/api}/postBalances.js +1 -1
- package/dist/{api → esm/api}/postIbcOriginAssets.js +1 -1
- package/dist/{api → esm/api}/postMessages.d.ts +2 -2
- package/dist/{api → esm/api}/postMessages.js +1 -1
- package/dist/{api → esm/api}/postMessagesDirect.d.ts +2 -2
- package/dist/{api → esm/api}/postMessagesDirect.js +1 -1
- package/dist/{api → esm/api}/postRecommendAssets.d.ts +1 -1
- package/dist/{api → esm/api}/postRecommendAssets.js +1 -1
- package/dist/{api → esm/api}/postRoute.d.ts +3 -3
- package/dist/{api → esm/api}/postRoute.js +1 -1
- package/dist/{api → esm/api}/postSubmit.d.ts +2 -2
- package/dist/{api → esm/api}/postSubmit.js +1 -1
- package/dist/{api → esm/api}/postSubmitTransaction.js +1 -1
- package/dist/{api → esm/api}/postTrackTransaction.d.ts +2 -2
- package/dist/{api → esm/api}/postTrackTransaction.js +1 -1
- package/dist/{api → esm/api}/postTransactionStatus.d.ts +2 -2
- package/dist/{api → esm/api}/postTransactionStatus.js +1 -1
- package/dist/{callbacks-DK2GxU0a.d.ts → esm/callbacks-DGLv2hr0.d.ts} +6 -1
- package/dist/{chunk-HIJ6YOTK.js → esm/chunk-HAGMHUOI.js} +20 -4
- package/dist/{chunk-KYLULQOS.js → esm/chunk-OQDBWVET.js} +1 -0
- package/dist/{client-types-DuWWc2_J.d.ts → esm/client-types-CSzTHcG9.d.ts} +1 -1
- package/dist/{generateApi-DvFEIUee.d.ts → esm/generateApi-Bfli9ipj.d.ts} +1 -1
- package/dist/{index.d.ts → esm/index.d.ts} +19 -6
- package/dist/{index.js → esm/index.js} +3 -2
- package/dist/{public-functions → esm/public-functions}/executeRoute.d.ts +4 -4
- package/dist/{public-functions → esm/public-functions}/executeRoute.js +2 -2
- 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/{public-functions → esm/public-functions}/getFeeInfoForChain.js +1 -1
- package/dist/{public-functions → esm/public-functions}/getRecommendedGasPrice.js +1 -1
- package/dist/{public-functions → esm/public-functions}/getSigningStargateClient.js +1 -1
- package/dist/{public-functions → esm/public-functions}/setApiOptions.d.ts +1 -1
- package/dist/{public-functions → esm/public-functions}/setApiOptions.js +1 -1
- package/dist/{public-functions → esm/public-functions}/setClientOptions.d.ts +3 -3
- package/dist/{public-functions → esm/public-functions}/setClientOptions.js +1 -1
- package/dist/{public-functions → esm/public-functions}/validateCosmosGasBalance.d.ts +4 -4
- package/dist/{public-functions → esm/public-functions}/validateCosmosGasBalance.js +1 -1
- package/dist/{public-functions → esm/public-functions}/waitForTransaction.d.ts +3 -3
- package/dist/{public-functions → esm/public-functions}/waitForTransaction.js +1 -1
- package/dist/{setClientOptions-B27lt_6h.d.ts → esm/setClientOptions-RMgGQ1KD.d.ts} +1 -1
- package/dist/{swaggerTypes-BrC-ZYnx.d.ts → esm/swaggerTypes-BIYUp1AO.d.ts} +14 -1
- package/package.json +19 -7
- /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-2R5COFPS.js → esm/chunk-2R5COFPS.js} +0 -0
- /package/dist/{chunk-43P4WRGN.js → esm/chunk-43P4WRGN.js} +0 -0
- /package/dist/{chunk-4DI7G6TH.js → esm/chunk-4DI7G6TH.js} +0 -0
- /package/dist/{chunk-6ULKULTX.js → esm/chunk-6ULKULTX.js} +0 -0
- /package/dist/{chunk-6UMMVC2P.js → esm/chunk-6UMMVC2P.js} +0 -0
- /package/dist/{chunk-7ZG7HNNC.js → esm/chunk-7ZG7HNNC.js} +0 -0
- /package/dist/{chunk-C6NHVJ3R.js → esm/chunk-C6NHVJ3R.js} +0 -0
- /package/dist/{chunk-CGZ5DA2T.js → esm/chunk-CGZ5DA2T.js} +0 -0
- /package/dist/{chunk-ERPZHRBM.js → esm/chunk-ERPZHRBM.js} +0 -0
- /package/dist/{chunk-F65QOYUA.js → esm/chunk-F65QOYUA.js} +0 -0
- /package/dist/{chunk-GOD6ESBZ.js → esm/chunk-GOD6ESBZ.js} +0 -0
- /package/dist/{chunk-GV2QOWB4.js → esm/chunk-GV2QOWB4.js} +0 -0
- /package/dist/{chunk-HS2D6FKN.js → esm/chunk-HS2D6FKN.js} +0 -0
- /package/dist/{chunk-I4AMZAHH.js → esm/chunk-I4AMZAHH.js} +0 -0
- /package/dist/{chunk-MAOMQHG5.js → esm/chunk-MAOMQHG5.js} +0 -0
- /package/dist/{chunk-NZVZH6OA.js → esm/chunk-NZVZH6OA.js} +0 -0
- /package/dist/{chunk-PIQZD2VE.js → esm/chunk-PIQZD2VE.js} +0 -0
- /package/dist/{chunk-QPJEHGY7.js → esm/chunk-QPJEHGY7.js} +0 -0
- /package/dist/{chunk-SS5LQKBL.js → esm/chunk-SS5LQKBL.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-UZKIIX6A.js → esm/chunk-UZKIIX6A.js} +0 -0
- /package/dist/{chunk-VQ5SIQWU.js → esm/chunk-VQ5SIQWU.js} +0 -0
- /package/dist/{chunk-VUOOTNLG.js → esm/chunk-VUOOTNLG.js} +0 -0
- /package/dist/{chunk-YLMQS52U.js → esm/chunk-YLMQS52U.js} +0 -0
- /package/dist/{chunk-YYXOIRHZ.js → esm/chunk-YYXOIRHZ.js} +0 -0
- /package/dist/{chunk-ZTDLGX7X.js → esm/chunk-ZTDLGX7X.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, b4 as FeeBehavior } from '../swaggerTypes-
|
|
1
|
+
import { b3 as FeeType, J as BridgeType, b4 as FeeBehavior } from '../swaggerTypes-BIYUp1AO.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-Bfli9ipj.js';
|
|
4
4
|
|
|
5
5
|
declare const messages: (request: MessagesRequest) => Promise<{
|
|
6
6
|
msgs?: ({
|
|
@@ -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, b4 as FeeBehavior } from '../swaggerTypes-
|
|
2
|
+
import { f as AutopilotAction, J as BridgeType, ap as RoutePriceWarningType, b3 as FeeType, b4 as FeeBehavior } from '../swaggerTypes-BIYUp1AO.js';
|
|
3
3
|
|
|
4
4
|
declare const messagesDirect: (options?: ({
|
|
5
5
|
sourceAssetDenom?: string | undefined;
|
|
@@ -535,7 +535,7 @@ declare const messagesDirect: (options?: ({
|
|
|
535
535
|
toChainId: string;
|
|
536
536
|
denomIn: string;
|
|
537
537
|
denomOut: string;
|
|
538
|
-
|
|
538
|
+
sourceOftContractAddress: string;
|
|
539
539
|
destinationEndpointId: number;
|
|
540
540
|
messagingFeeAsset: {
|
|
541
541
|
chainId: string;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import { aU as TransferStatus, T as Erc20Approval } from './swaggerTypes-
|
|
1
|
+
import { aU as TransferStatus, T as Erc20Approval } from './swaggerTypes-BIYUp1AO.js';
|
|
2
2
|
|
|
3
3
|
type CallbackStatus = "error" | "pending" | "completed";
|
|
4
4
|
type TransactionCallbacks = {
|
|
5
|
+
onTransactionSignRequested?: (value: {
|
|
6
|
+
chainId: string;
|
|
7
|
+
txIndex: number;
|
|
8
|
+
signerAddress?: string;
|
|
9
|
+
}) => Promise<void>;
|
|
5
10
|
onTransactionSigned?: (txInfo: {
|
|
6
11
|
chainId: string;
|
|
7
12
|
}) => Promise<void>;
|
|
@@ -402,6 +402,11 @@ var signCosmosTransaction = async ({
|
|
|
402
402
|
chainId
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
|
+
options.onTransactionSignRequested?.({
|
|
406
|
+
chainId,
|
|
407
|
+
txIndex: index,
|
|
408
|
+
signerAddress: currentUserAddress
|
|
409
|
+
});
|
|
405
410
|
if (isOfflineDirectSigner(signer)) {
|
|
406
411
|
rawTx = await signCosmosMessageDirect({
|
|
407
412
|
...commonRawTxBody,
|
|
@@ -644,7 +649,7 @@ var erc20ABI = /* @__PURE__ */ createAbi([
|
|
|
644
649
|
]);
|
|
645
650
|
|
|
646
651
|
// src/private-functions/evm/executeEvmTransaction.ts
|
|
647
|
-
var executeEvmTransaction = async (message, options) => {
|
|
652
|
+
var executeEvmTransaction = async (message, options, index) => {
|
|
648
653
|
const gasArray = ClientState.validateGasResults;
|
|
649
654
|
const gas = gasArray?.find((gas2) => gas2?.error !== null && gas2?.error !== void 0);
|
|
650
655
|
if (typeof gas?.error === "string") {
|
|
@@ -715,6 +720,11 @@ var executeEvmTransaction = async (message, options) => {
|
|
|
715
720
|
status: "completed"
|
|
716
721
|
});
|
|
717
722
|
}
|
|
723
|
+
options?.onTransactionSignRequested?.({
|
|
724
|
+
chainId: evmTx.chainId,
|
|
725
|
+
signerAddress: evmSigner.account.address,
|
|
726
|
+
txIndex: index
|
|
727
|
+
});
|
|
718
728
|
const txHash = await extendedSigner.sendTransaction({
|
|
719
729
|
account: evmSigner.account,
|
|
720
730
|
to: evmTx.to,
|
|
@@ -732,7 +742,8 @@ var executeEvmTransaction = async (message, options) => {
|
|
|
732
742
|
};
|
|
733
743
|
var signSvmTransaction = async ({
|
|
734
744
|
tx,
|
|
735
|
-
options
|
|
745
|
+
options,
|
|
746
|
+
index
|
|
736
747
|
}) => {
|
|
737
748
|
const gasArray = ClientState.validateGasResults;
|
|
738
749
|
if (tx === void 0) {
|
|
@@ -758,6 +769,11 @@ var signSvmTransaction = async ({
|
|
|
758
769
|
const txBuffer = Buffer.from(svmTx.tx ?? "", "base64");
|
|
759
770
|
const transaction = Transaction.from(txBuffer);
|
|
760
771
|
if (!("signTransaction" in signer)) return;
|
|
772
|
+
options?.onTransactionSignRequested?.({
|
|
773
|
+
chainId: svmTx.chainId,
|
|
774
|
+
signerAddress: signer.publicKey?.toBase58(),
|
|
775
|
+
txIndex: index
|
|
776
|
+
});
|
|
761
777
|
const signedTx = await signer.signTransaction(transaction);
|
|
762
778
|
options?.onTransactionSigned?.({ chainId: svmTx.chainId });
|
|
763
779
|
const serializedTx = signedTx.serialize();
|
|
@@ -1249,7 +1265,7 @@ var executeTransactions = async (options) => {
|
|
|
1249
1265
|
}
|
|
1250
1266
|
if ("svmTx" in tx) {
|
|
1251
1267
|
await validateEnabledChainIds(tx.svmTx?.chainId ?? "");
|
|
1252
|
-
const signedTx = await signSvmTransaction({ tx, options });
|
|
1268
|
+
const signedTx = await signSvmTransaction({ tx, options, index: i });
|
|
1253
1269
|
if (!signedTx) {
|
|
1254
1270
|
throw new Error(`executeRoute error: signedTx is undefined`);
|
|
1255
1271
|
}
|
|
@@ -1288,7 +1304,7 @@ var executeTransactions = async (options) => {
|
|
|
1288
1304
|
});
|
|
1289
1305
|
} else if ("evmTx" in tx) {
|
|
1290
1306
|
await validateEnabledChainIds(tx.evmTx?.chainId ?? "");
|
|
1291
|
-
const txResponse = await executeEvmTransaction(tx, options);
|
|
1307
|
+
const txResponse = await executeEvmTransaction(tx, options, i);
|
|
1292
1308
|
txResult = {
|
|
1293
1309
|
chainId: tx?.evmTx?.chainId ?? "",
|
|
1294
1310
|
txHash: txResponse.transactionHash
|
|
@@ -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 ? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as AcknowledgementErrorDetails, a as Affiliate, bw as Api, bs as ApiConfig, b as ApiError, c as Asset, d as AssetBetweenChains, e as AssetRecommendation, bi as AssetRecommendationsResponse, be as AssetsFromSourceResponse, bc as AssetsRequest, bd as AssetsResponse, f as AutopilotAction, g as AutopilotMsg, h as AutopilotMsgWrapper, i as AxelarTransfer, j as AxelarTransferInfo, k as AxelarTransferState, l as AxelarTransferType, m as AxelarTransferWrapper, B as BalanceRequestChainEntry, E as BalanceResponseChainEntry, D as BalanceResponseDenomEntry, b8 as BalancesResponse, F as BankSend, H as BankSendWrapper, I as Bridge, J as BridgeType, b9 as BridgesResponse, C as CCTPTransfer, n as CCTPTransferInfo, p as CCTPTransferState, o as CCTPTransferTxs, q as CCTPTransferWrapper, K as Chain, M as ChainAffiliates, am as ChainTransaction, L as ChainType, b6 as ChainsRequest, b7 as ChainsResponse, bu as ContentType, N as ContractCallWithTokenError, O as ContractCallWithTokenErrorType, P as ContractCallWithTokenTxs, Q as CosmWasmContractMsg, R as CosmWasmContractMsgWrapper, b1 as CosmosModuleSupport, W as CosmosMsg, X as CosmosTx, Y as CosmosTxWrapper, T as Erc20Approval, V as Error, U as ErrorDetail, aW as EurekaTransfer, aX as EurekaTransferInfo, aY as EurekaTransferWrapper, Z as EvmSwap, _ as EvmSwapWrapper, $ as EvmTx, a0 as EvmTxWrapper, b5 as Fee, a3 as FeeAsset, b4 as FeeBehavior, b3 as FeeType, bq as FullRequestParams, bn as FungibleAssetsBetweenChainsCreateResponse, a5 as GRPCStatusCode, a4 as GoFastFee, G as GoFastTransfer, y as GoFastTransferInfo, w as GoFastTransferState, x as GoFastTransferTxs, z as GoFastTransferWrapper, bv as HttpClient, bt as HttpResponse, a6 as HyperlaneTransfer, a7 as HyperlaneTransferInfo, a8 as HyperlaneTransferState, a9 as HyperlaneTransferTransactions, aa as HyperlaneTransferWrapper, ab as IBCTransferInfo, b2 as IbcCapabilities, bm as IbcOriginAssetsResponse, aZ as LayerZeroTransfer, a_ as LayerZeroTransferInfo, aP as LayerZeroTransferState, ai as LayerZeroTransferTransactions, a$ as LayerZeroTransferWrapper, ac as Msg, bh as MsgsDirectResponse, bg as MsgsResponse, ae as MultiChainMsg, af as MultiChainMsgWrapper, aK as OPInitTransfer, aM as OPInitTransferInfo, aO as OPInitTransferState, aN as OPInitTransferTxs, aL as OPInitTransferWrapper, ag as Operation, ah as OptionalAsset, aj as Packet, ak as PacketError, al as PacketErrorType, an as PostHandler, bo as QueryParamsType, ao as Reason, b0 as RecommendationRequest, br as RequestParams, bp as ResponseFormat, aq as Route, ap as RoutePriceWarningType, bf as RouteResponse, ar as SendTokenError, as as SendTokenErrorType, at as SendTokenTxs, S as SmartRelayFeeQuote, aD as SmartSwapExactCoinIn, aF as SmartSwapInWrapper, aE as SmartSwapOptions, r as StargateTransfer, u as StargateTransferInfo, s as StargateTransferState, t as StargateTransferTxs, v as StargateTransferWrapper, au as StatusError, av as StatusErrorType, bk as StatusRequest, bl as StatusResponse, a1 as SvmTx, a2 as SvmTxWrapper, aw as Swap, ax as SwapExactCoinIn, ay as SwapExactCoinOut, az as SwapInWrapper, aA as SwapOperation, aB as SwapOutWrapper, aC as SwapRoute, aG as SwapVenue, aH as SwapWrapper, bj as TrackResponse, aI as TransactionExecutionErrorDetails, aJ as TransactionState, aQ as Transfer, aT as TransferAssetRelease, aR as TransferEvent, aS as TransferState, aU as TransferStatus, aV as TransferWrapper, ad as Tx, ba as VenuesRequest, bb as VenuesResponse } from './swaggerTypes-
|
|
2
|
-
export { T as TransactionCallbacks } from './callbacks-
|
|
3
|
-
export { E as EndpointOptions, b as GasOptions, G as GetFallbackGasAmount, a as GetGasPrice, e as SignCosmosMessageAminoOptions, d as SignCosmosMessageDirectOptions, c as SignCosmosMessageOptionsBase, S as SignerGetters, T as TxResult, U as UserAddress, V as ValidateGasResult } from './client-types-
|
|
1
|
+
export { A as AcknowledgementErrorDetails, a as Affiliate, bw as Api, bs as ApiConfig, b as ApiError, c as Asset, d as AssetBetweenChains, e as AssetRecommendation, bi as AssetRecommendationsResponse, be as AssetsFromSourceResponse, bc as AssetsRequest, bd as AssetsResponse, f as AutopilotAction, g as AutopilotMsg, h as AutopilotMsgWrapper, i as AxelarTransfer, j as AxelarTransferInfo, k as AxelarTransferState, l as AxelarTransferType, m as AxelarTransferWrapper, B as BalanceRequestChainEntry, E as BalanceResponseChainEntry, D as BalanceResponseDenomEntry, b8 as BalancesResponse, F as BankSend, H as BankSendWrapper, I as Bridge, J as BridgeType, b9 as BridgesResponse, C as CCTPTransfer, n as CCTPTransferInfo, p as CCTPTransferState, o as CCTPTransferTxs, q as CCTPTransferWrapper, K as Chain, M as ChainAffiliates, am as ChainTransaction, L as ChainType, b6 as ChainsRequest, b7 as ChainsResponse, bu as ContentType, N as ContractCallWithTokenError, O as ContractCallWithTokenErrorType, P as ContractCallWithTokenTxs, Q as CosmWasmContractMsg, R as CosmWasmContractMsgWrapper, b1 as CosmosModuleSupport, W as CosmosMsg, X as CosmosTx, Y as CosmosTxWrapper, T as Erc20Approval, V as Error, U as ErrorDetail, aW as EurekaTransfer, aX as EurekaTransferInfo, aY as EurekaTransferWrapper, Z as EvmSwap, _ as EvmSwapWrapper, $ as EvmTx, a0 as EvmTxWrapper, b5 as Fee, a3 as FeeAsset, b4 as FeeBehavior, b3 as FeeType, bq as FullRequestParams, bn as FungibleAssetsBetweenChainsCreateResponse, a5 as GRPCStatusCode, a4 as GoFastFee, G as GoFastTransfer, y as GoFastTransferInfo, w as GoFastTransferState, x as GoFastTransferTxs, z as GoFastTransferWrapper, bv as HttpClient, bt as HttpResponse, a6 as HyperlaneTransfer, a7 as HyperlaneTransferInfo, a8 as HyperlaneTransferState, a9 as HyperlaneTransferTransactions, aa as HyperlaneTransferWrapper, ab as IBCTransferInfo, b2 as IbcCapabilities, bm as IbcOriginAssetsResponse, aZ as LayerZeroTransfer, a_ as LayerZeroTransferInfo, aP as LayerZeroTransferState, ai as LayerZeroTransferTransactions, a$ as LayerZeroTransferWrapper, ac as Msg, bh as MsgsDirectResponse, bg as MsgsResponse, ae as MultiChainMsg, af as MultiChainMsgWrapper, aK as OPInitTransfer, aM as OPInitTransferInfo, aO as OPInitTransferState, aN as OPInitTransferTxs, aL as OPInitTransferWrapper, ag as Operation, ah as OptionalAsset, aj as Packet, ak as PacketError, al as PacketErrorType, an as PostHandler, bo as QueryParamsType, ao as Reason, b0 as RecommendationRequest, br as RequestParams, bp as ResponseFormat, aq as Route, ap as RoutePriceWarningType, bf as RouteResponse, ar as SendTokenError, as as SendTokenErrorType, at as SendTokenTxs, S as SmartRelayFeeQuote, aD as SmartSwapExactCoinIn, aF as SmartSwapInWrapper, aE as SmartSwapOptions, r as StargateTransfer, u as StargateTransferInfo, s as StargateTransferState, t as StargateTransferTxs, v as StargateTransferWrapper, au as StatusError, av as StatusErrorType, bk as StatusRequest, bl as StatusResponse, a1 as SvmTx, a2 as SvmTxWrapper, aw as Swap, ax as SwapExactCoinIn, ay as SwapExactCoinOut, az as SwapInWrapper, aA as SwapOperation, aB as SwapOutWrapper, aC as SwapRoute, aG as SwapVenue, aH as SwapWrapper, bj as TrackResponse, aI as TransactionExecutionErrorDetails, aJ as TransactionState, aQ as Transfer, aT as TransferAssetRelease, aR as TransferEvent, aS as TransferState, aU as TransferStatus, aV as TransferWrapper, ad as Tx, ba as VenuesRequest, bb as VenuesResponse } from './swaggerTypes-BIYUp1AO.js';
|
|
2
|
+
export { T as TransactionCallbacks } from './callbacks-DGLv2hr0.js';
|
|
3
|
+
export { E as EndpointOptions, b as GasOptions, G as GetFallbackGasAmount, a as GetGasPrice, e as SignCosmosMessageAminoOptions, d as SignCosmosMessageDirectOptions, c as SignCosmosMessageOptionsBase, S as SignerGetters, T as TxResult, U as UserAddress, V as ValidateGasResult } from './client-types-CSzTHcG9.js';
|
|
4
4
|
export { assets } from './api/getAssets.js';
|
|
5
5
|
export { assetsBetweenChains } from './api/getAssetsBetweenChains.js';
|
|
6
6
|
export { bridges } from './api/getBridges.js';
|
|
@@ -18,7 +18,7 @@ export { trackTransaction } from './api/postTrackTransaction.js';
|
|
|
18
18
|
export { TxStatusResponse, transactionStatus } from './api/postTransactionStatus.js';
|
|
19
19
|
export { ExecuteRouteOptions, executeRoute } from './public-functions/executeRoute.js';
|
|
20
20
|
export { getSigningStargateClient, getSigningStargateClientProps } from './public-functions/getSigningStargateClient.js';
|
|
21
|
-
export { S as SkipClientOptions, s as setClientOptions } from './setClientOptions-
|
|
21
|
+
export { S as SkipClientOptions, s as setClientOptions } from './setClientOptions-RMgGQ1KD.js';
|
|
22
22
|
export { getRecommendedGasPrice } from './public-functions/getRecommendedGasPrice.js';
|
|
23
23
|
export { getFeeInfoForChain } from './public-functions/getFeeInfoForChain.js';
|
|
24
24
|
export { SetApiOptionsProps, setApiOptions } from './public-functions/setApiOptions.js';
|
|
@@ -33,7 +33,7 @@ import '@cosmjs/stargate';
|
|
|
33
33
|
import 'viem';
|
|
34
34
|
import '@solana/wallet-adapter-base';
|
|
35
35
|
import './apiState-DwZhwVul.js';
|
|
36
|
-
import './generateApi-
|
|
36
|
+
import './generateApi-Bfli9ipj.js';
|
|
37
37
|
|
|
38
38
|
interface AcknowledgementErrorDetailsJson {
|
|
39
39
|
/** Error code */
|
|
@@ -147,6 +147,7 @@ interface AxelarTransferJson {
|
|
|
147
147
|
* * `OPINIT` - Opinit Bridge
|
|
148
148
|
* * `GO_FAST` - Go Fast Bridge
|
|
149
149
|
* * `STARGATE` - Stargate Bridge
|
|
150
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
150
151
|
* * `EUREKA` - IBC Eureka Bridge
|
|
151
152
|
*/
|
|
152
153
|
bridge_id?: BridgeTypeJson;
|
|
@@ -239,6 +240,7 @@ interface CCTPTransferJson {
|
|
|
239
240
|
* * `OPINIT` - Opinit Bridge
|
|
240
241
|
* * `GO_FAST` - Go Fast Bridge
|
|
241
242
|
* * `STARGATE` - Stargate Bridge
|
|
243
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
242
244
|
* * `EUREKA` - IBC Eureka Bridge
|
|
243
245
|
*/
|
|
244
246
|
bridge_id?: BridgeTypeJson;
|
|
@@ -304,6 +306,7 @@ interface StargateTransferJson {
|
|
|
304
306
|
* * `OPINIT` - Opinit Bridge
|
|
305
307
|
* * `GO_FAST` - Go Fast Bridge
|
|
306
308
|
* * `STARGATE` - Stargate Bridge
|
|
309
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
307
310
|
* * `EUREKA` - IBC Eureka Bridge
|
|
308
311
|
*/
|
|
309
312
|
bridge_id?: BridgeTypeJson;
|
|
@@ -374,6 +377,7 @@ interface GoFastTransferJson {
|
|
|
374
377
|
* * `OPINIT` - Opinit Bridge
|
|
375
378
|
* * `GO_FAST` - Go Fast Bridge
|
|
376
379
|
* * `STARGATE` - Stargate Bridge
|
|
380
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
377
381
|
* * `EUREKA` - IBC Eureka Bridge
|
|
378
382
|
*/
|
|
379
383
|
bridge_id?: BridgeTypeJson;
|
|
@@ -467,6 +471,7 @@ interface BridgeJson {
|
|
|
467
471
|
* * `OPINIT` - Opinit Bridge
|
|
468
472
|
* * `GO_FAST` - Go Fast Bridge
|
|
469
473
|
* * `STARGATE` - Stargate Bridge
|
|
474
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
470
475
|
* * `EUREKA` - IBC Eureka Bridge
|
|
471
476
|
*/
|
|
472
477
|
id?: BridgeTypeJson;
|
|
@@ -484,6 +489,7 @@ interface BridgeJson {
|
|
|
484
489
|
* * `OPINIT` - Opinit Bridge
|
|
485
490
|
* * `GO_FAST` - Go Fast Bridge
|
|
486
491
|
* * `STARGATE` - Stargate Bridge
|
|
492
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
487
493
|
* * `EUREKA` - IBC Eureka Bridge
|
|
488
494
|
*/
|
|
489
495
|
declare enum BridgeTypeJson {
|
|
@@ -494,6 +500,7 @@ declare enum BridgeTypeJson {
|
|
|
494
500
|
OPINIT = "OPINIT",
|
|
495
501
|
GO_FAST = "GO_FAST",
|
|
496
502
|
STARGATE = "STARGATE",
|
|
503
|
+
LAYER_ZERO = "LAYER_ZERO",
|
|
497
504
|
EUREKA = "EUREKA"
|
|
498
505
|
}
|
|
499
506
|
interface ChainJson {
|
|
@@ -719,6 +726,7 @@ interface HyperlaneTransferJson {
|
|
|
719
726
|
* * `OPINIT` - Opinit Bridge
|
|
720
727
|
* * `GO_FAST` - Go Fast Bridge
|
|
721
728
|
* * `STARGATE` - Stargate Bridge
|
|
729
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
722
730
|
* * `EUREKA` - IBC Eureka Bridge
|
|
723
731
|
*/
|
|
724
732
|
bridge_id?: BridgeTypeJson;
|
|
@@ -1113,6 +1121,7 @@ interface OPInitTransferJson {
|
|
|
1113
1121
|
* * `OPINIT` - Opinit Bridge
|
|
1114
1122
|
* * `GO_FAST` - Go Fast Bridge
|
|
1115
1123
|
* * `STARGATE` - Stargate Bridge
|
|
1124
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1116
1125
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1117
1126
|
*/
|
|
1118
1127
|
bridge_id?: BridgeTypeJson;
|
|
@@ -1205,6 +1214,7 @@ interface TransferJson {
|
|
|
1205
1214
|
* * `OPINIT` - Opinit Bridge
|
|
1206
1215
|
* * `GO_FAST` - Go Fast Bridge
|
|
1207
1216
|
* * `STARGATE` - Stargate Bridge
|
|
1217
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1208
1218
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1209
1219
|
*/
|
|
1210
1220
|
bridge_id?: BridgeTypeJson;
|
|
@@ -1306,6 +1316,7 @@ interface EurekaTransferJson {
|
|
|
1306
1316
|
* * `OPINIT` - Opinit Bridge
|
|
1307
1317
|
* * `GO_FAST` - Go Fast Bridge
|
|
1308
1318
|
* * `STARGATE` - Stargate Bridge
|
|
1319
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1309
1320
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1310
1321
|
*/
|
|
1311
1322
|
bridge_id?: BridgeTypeJson;
|
|
@@ -1347,7 +1358,7 @@ interface LayerZeroTransferJson {
|
|
|
1347
1358
|
denom_in: string;
|
|
1348
1359
|
/** Denom of the output asset of the transfer */
|
|
1349
1360
|
denom_out: string;
|
|
1350
|
-
|
|
1361
|
+
source_oft_contract_address: string;
|
|
1351
1362
|
destination_endpoint_id: number;
|
|
1352
1363
|
messaging_fee_asset: AssetJson;
|
|
1353
1364
|
messaging_fee_amount: string;
|
|
@@ -1361,6 +1372,7 @@ interface LayerZeroTransferJson {
|
|
|
1361
1372
|
* * `OPINIT` - Opinit Bridge
|
|
1362
1373
|
* * `GO_FAST` - Go Fast Bridge
|
|
1363
1374
|
* * `STARGATE` - Stargate Bridge
|
|
1375
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1364
1376
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1365
1377
|
*/
|
|
1366
1378
|
bridge_id: BridgeTypeJson;
|
|
@@ -1442,6 +1454,7 @@ interface FeeJson {
|
|
|
1442
1454
|
* * `OPINIT` - Opinit Bridge
|
|
1443
1455
|
* * `GO_FAST` - Go Fast Bridge
|
|
1444
1456
|
* * `STARGATE` - Stargate Bridge
|
|
1457
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
1445
1458
|
* * `EUREKA` - IBC Eureka Bridge
|
|
1446
1459
|
*/
|
|
1447
1460
|
bridge_id?: BridgeTypeJson;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { setClientOptions } from './chunk-C6NHVJ3R.js';
|
|
2
|
-
export { executeRoute } from './chunk-
|
|
2
|
+
export { executeRoute } from './chunk-HAGMHUOI.js';
|
|
3
3
|
export { validateCosmosGasBalance } from './chunk-7ZG7HNNC.js';
|
|
4
4
|
export { waitForTransaction } from './chunk-ERPZHRBM.js';
|
|
5
5
|
export { transactionStatus } from './chunk-I4AMZAHH.js';
|
|
@@ -27,7 +27,7 @@ export { venues } from './chunk-YYXOIRHZ.js';
|
|
|
27
27
|
export { assetsFromSource } from './chunk-YLMQS52U.js';
|
|
28
28
|
export { assets, balances, chains } from './chunk-6ULKULTX.js';
|
|
29
29
|
import './chunk-SS5LQKBL.js';
|
|
30
|
-
export { Api, AutopilotAction, AxelarTransferState, AxelarTransferType, BridgeType, CCTPTransferState, ChainType, ContentType, ContractCallWithTokenErrorType, FeeBehavior, FeeType, GoFastTransferState, HttpClient, HyperlaneTransferState, LayerZeroTransferState, OPInitTransferState, PacketErrorType, Reason, RoutePriceWarningType, SendTokenErrorType, StargateTransferState, StatusErrorType, TransactionState, TransferState } from './chunk-
|
|
30
|
+
export { Api, AutopilotAction, AxelarTransferState, AxelarTransferType, BridgeType, CCTPTransferState, ChainType, ContentType, ContractCallWithTokenErrorType, FeeBehavior, FeeType, GoFastTransferState, HttpClient, HyperlaneTransferState, LayerZeroTransferState, OPInitTransferState, PacketErrorType, Reason, RoutePriceWarningType, SendTokenErrorType, StargateTransferState, StatusErrorType, TransactionState, TransferState } from './chunk-OQDBWVET.js';
|
|
31
31
|
|
|
32
32
|
// src/types/swaggerTypesJson.ts
|
|
33
33
|
var AutopilotActionJson = /* @__PURE__ */ ((AutopilotActionJson2) => {
|
|
@@ -82,6 +82,7 @@ var BridgeTypeJson = /* @__PURE__ */ ((BridgeTypeJson2) => {
|
|
|
82
82
|
BridgeTypeJson2["OPINIT"] = "OPINIT";
|
|
83
83
|
BridgeTypeJson2["GO_FAST"] = "GO_FAST";
|
|
84
84
|
BridgeTypeJson2["STARGATE"] = "STARGATE";
|
|
85
|
+
BridgeTypeJson2["LAYER_ZERO"] = "LAYER_ZERO";
|
|
85
86
|
BridgeTypeJson2["EUREKA"] = "EUREKA";
|
|
86
87
|
return BridgeTypeJson2;
|
|
87
88
|
})(BridgeTypeJson || {});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TransactionCallbacks } from '../callbacks-
|
|
2
|
-
import { bf as RouteResponse, W as CosmosMsg, an as PostHandler } from '../swaggerTypes-
|
|
3
|
-
import { A as ApiRequest } from '../generateApi-
|
|
4
|
-
import { S as SignerGetters, b as GasOptions, U as UserAddress } from '../client-types-
|
|
1
|
+
import { T as TransactionCallbacks } from '../callbacks-DGLv2hr0.js';
|
|
2
|
+
import { bf as RouteResponse, W as CosmosMsg, an as PostHandler } from '../swaggerTypes-BIYUp1AO.js';
|
|
3
|
+
import { A as ApiRequest } from '../generateApi-Bfli9ipj.js';
|
|
4
|
+
import { S as SignerGetters, b as GasOptions, U as UserAddress } from '../client-types-CSzTHcG9.js';
|
|
5
5
|
import { TrackTxPollingProps } from '../api/postTrackTransaction.js';
|
|
6
6
|
import '@cosmjs/amino';
|
|
7
7
|
import '@cosmjs/proto-signing';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executeRoute } from '../chunk-
|
|
1
|
+
export { executeRoute } from '../chunk-HAGMHUOI.js';
|
|
2
2
|
import '../chunk-7ZG7HNNC.js';
|
|
3
3
|
import '../chunk-ERPZHRBM.js';
|
|
4
4
|
import '../chunk-I4AMZAHH.js';
|
|
@@ -16,4 +16,4 @@ import '../chunk-MAOMQHG5.js';
|
|
|
16
16
|
import '../chunk-YYXOIRHZ.js';
|
|
17
17
|
import '../chunk-6ULKULTX.js';
|
|
18
18
|
import '../chunk-SS5LQKBL.js';
|
|
19
|
-
import '../chunk-
|
|
19
|
+
import '../chunk-OQDBWVET.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EncodeObject } from '@cosmjs/proto-signing';
|
|
2
2
|
import { SigningStargateClient } from '@cosmjs/stargate';
|
|
3
|
-
import { W as CosmosMsg } from '../swaggerTypes-
|
|
3
|
+
import { W as CosmosMsg } from '../swaggerTypes-BIYUp1AO.js';
|
|
4
4
|
|
|
5
5
|
declare const DEFAULT_GAS_MULTIPLIER = 1.5;
|
|
6
6
|
declare function getCosmosGasAmountForMessage(client: SigningStargateClient, signerAddress: string, chainId: string, messages?: CosmosMsg[], encodedMsgs?: EncodeObject[], multiplier?: number): Promise<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as GetFallbackGasAmount } from '../client-types-
|
|
2
|
-
import { $ as EvmTx } from '../swaggerTypes-
|
|
1
|
+
import { G as GetFallbackGasAmount } from '../client-types-CSzTHcG9.js';
|
|
2
|
+
import { $ as EvmTx } from '../swaggerTypes-BIYUp1AO.js';
|
|
3
3
|
import { WalletClient } from 'viem';
|
|
4
4
|
import '@cosmjs/amino';
|
|
5
5
|
import '@cosmjs/proto-signing';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { getEVMGasAmountForMessage } from '../chunk-GV2QOWB4.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-OQDBWVET.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SkipApiOptions } from '../apiState-DwZhwVul.js';
|
|
2
|
-
import { M as ChainAffiliates } from '../swaggerTypes-
|
|
2
|
+
import { M as ChainAffiliates } from '../swaggerTypes-BIYUp1AO.js';
|
|
3
3
|
|
|
4
4
|
type SetApiOptionsProps = {
|
|
5
5
|
chainIdsToAffiliates?: Record<string, ChainAffiliates>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { s as setClientOptions } from '../setClientOptions-
|
|
1
|
+
export { s as setClientOptions } from '../setClientOptions-RMgGQ1KD.js';
|
|
2
2
|
import '@cosmjs/proto-signing';
|
|
3
3
|
import '@cosmjs/stargate';
|
|
4
4
|
import '../apiState-DwZhwVul.js';
|
|
5
|
-
import '../client-types-
|
|
5
|
+
import '../client-types-CSzTHcG9.js';
|
|
6
6
|
import '@cosmjs/amino';
|
|
7
7
|
import 'viem';
|
|
8
8
|
import '@solana/wallet-adapter-base';
|
|
9
|
-
import '../swaggerTypes-
|
|
9
|
+
import '../swaggerTypes-BIYUp1AO.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _cosmjs_stargate from '@cosmjs/stargate';
|
|
2
|
-
import { W as CosmosMsg, a3 as FeeAsset } from '../swaggerTypes-
|
|
2
|
+
import { W as CosmosMsg, a3 as FeeAsset } from '../swaggerTypes-BIYUp1AO.js';
|
|
3
3
|
import { OfflineSigner } from '@cosmjs/proto-signing';
|
|
4
4
|
import { ExecuteRouteOptions } from './executeRoute.js';
|
|
5
|
-
import { G as GetFallbackGasAmount } from '../client-types-
|
|
6
|
-
import '../callbacks-
|
|
7
|
-
import '../generateApi-
|
|
5
|
+
import { G as GetFallbackGasAmount } from '../client-types-CSzTHcG9.js';
|
|
6
|
+
import '../callbacks-DGLv2hr0.js';
|
|
7
|
+
import '../generateApi-Bfli9ipj.js';
|
|
8
8
|
import '../api/postTrackTransaction.js';
|
|
9
9
|
import '@cosmjs/amino';
|
|
10
10
|
import 'viem';
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
2
|
-
import { T as TransactionCallbacks } from '../callbacks-
|
|
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
|
+
import { T as TransactionCallbacks } from '../callbacks-DGLv2hr0.js';
|
|
3
3
|
import { TrackTxRequest } from '../api/postTrackTransaction.js';
|
|
4
|
-
import '../generateApi-
|
|
4
|
+
import '../generateApi-Bfli9ipj.js';
|
|
5
5
|
|
|
6
6
|
type WaitForTransactionProps = TrackTxRequest & {
|
|
7
7
|
onTransactionTracked?: TransactionCallbacks["onTransactionTracked"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeneratedType } from '@cosmjs/proto-signing';
|
|
2
2
|
import { AminoConverters } from '@cosmjs/stargate';
|
|
3
3
|
import { S as SkipApiOptions } from './apiState-DwZhwVul.js';
|
|
4
|
-
import { E as EndpointOptions } from './client-types-
|
|
4
|
+
import { E as EndpointOptions } from './client-types-CSzTHcG9.js';
|
|
5
5
|
|
|
6
6
|
type SkipClientOptions = SkipApiOptions & {
|
|
7
7
|
endpointOptions?: {
|