@skip-go/client 0.16.34 → 0.17.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/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import * as _solana_web3_js from '@solana/web3.js';
2
+ import { Connection, SimulatedTransactionResponse } from '@solana/web3.js';
1
3
  import * as _cosmjs_cosmwasm_stargate from '@cosmjs/cosmwasm-stargate';
2
4
  import * as viem from 'viem';
3
5
  import { WalletClient } from 'viem';
@@ -6,8 +8,7 @@ import { StdFee, GasPrice, AminoConverters, SignerData, AminoTypes, SigningStarg
6
8
  import { TxRaw } from 'cosmjs-types/cosmos/tx/v1beta1/tx';
7
9
  import { OfflineAminoSigner } from '@cosmjs/amino';
8
10
  import { Adapter } from '@solana/wallet-adapter-base';
9
- import { Msgs } from '@injectivelabs/sdk-ts/dist/cjs/core/modules/msgs';
10
- import { Connection } from '@solana/web3.js';
11
+ import { Msgs } from '@injectivelabs/sdk-ts';
11
12
 
12
13
  declare class RequestClient {
13
14
  private httpClient;
@@ -379,6 +380,29 @@ type StargateTransferInfo = {
379
380
  state: StargateTransferState;
380
381
  txs: StargateTransferTransactions;
381
382
  };
383
+ type LayerZeroTransferState = 'LAYER_ZERO_TRANSFER_UNKNOWN' | 'LAYER_ZERO_TRANSFER_SENT' | 'LAYER_ZERO_TRANSFER_RECEIVED' | 'LAYER_ZERO_TRANSFER_FAILED';
384
+ type LayerZeroTransferTransactionsJSON = {
385
+ send_tx: ChainTransactionJSON | null;
386
+ receive_tx: ChainTransactionJSON | null;
387
+ error_tx: ChainTransactionJSON | null;
388
+ };
389
+ type LayerZeroTransferTransactions = {
390
+ sendTx: ChainTransaction | null;
391
+ receiveTx: ChainTransaction | null;
392
+ errorTx: ChainTransaction | null;
393
+ };
394
+ type LayerZeroTransferInfoJSON = {
395
+ from_chain_id: string;
396
+ to_chain_id: string;
397
+ state: LayerZeroTransferState;
398
+ txs: LayerZeroTransferTransactionsJSON;
399
+ };
400
+ type LayerZeroTransferInfo = {
401
+ fromChainID: string;
402
+ toChainID: string;
403
+ state: LayerZeroTransferState;
404
+ txs: LayerZeroTransferTransactions;
405
+ };
382
406
  type OPInitTransferState = "OPINIT_TRANSFER_UNKNOWN" | "OPINIT_TRANSFER_SENT" | "OPINIT_TRANSFER_RECEIVED";
383
407
  type OPInitTransferTransactionsJSON = {
384
408
  send_tx: ChainTransactionJSON | null;
@@ -426,6 +450,8 @@ type TransferEventJSON = {
426
450
  go_fast_transfer: GoFastTransferInfoJSON;
427
451
  } | {
428
452
  stargate_transfer: StargateTransferInfoJSON;
453
+ } | {
454
+ layer_zero_transfer: LayerZeroTransferInfoJSON;
429
455
  } | {
430
456
  eureka_transfer: EurekaTransferInfoJSON;
431
457
  };
@@ -443,6 +469,8 @@ type TransferEvent = {
443
469
  goFastTransfer: GoFastTransferInfo;
444
470
  } | {
445
471
  stargateTransfer: StargateTransferInfo;
472
+ } | {
473
+ layerZeroTransfer: LayerZeroTransferInfo;
446
474
  } | {
447
475
  eurekaTransfer: EurekaTransferInfo;
448
476
  };
@@ -670,6 +698,30 @@ type StargateTransfer = {
670
698
  messagingFeeAmountUSD: string;
671
699
  bridgeID: BridgeType;
672
700
  };
701
+ type LayerZeroTransferJSON = {
702
+ from_chain_id: string;
703
+ to_chain_id: string;
704
+ denom_in: string;
705
+ denom_out: string;
706
+ source_oft_contract_address: string;
707
+ destination_endpoint_id: number;
708
+ messaging_fee_asset: AssetJSON;
709
+ messaging_fee_amount: string;
710
+ messaging_fee_amount_usd: string;
711
+ bridge_id: BridgeType;
712
+ };
713
+ type LayerZeroTransfer = {
714
+ fromChainID: string;
715
+ toChainID: string;
716
+ denomIn: string;
717
+ denomOut: string;
718
+ sourceOFTContractAddress: string;
719
+ destinationEndpointID: number;
720
+ messagingFeeAsset: Asset;
721
+ messagingFeeAmount: string;
722
+ messagingFeeAmountUSD: string;
723
+ bridgeID: BridgeType;
724
+ };
673
725
  type BankSendJSON = {
674
726
  chain_id: string;
675
727
  denom: string;
@@ -1220,7 +1272,7 @@ type RouteRequestGivenOut = RouteRequestBase & {
1220
1272
  type RouteRequest = RouteRequestGivenIn | RouteRequestGivenOut;
1221
1273
  type RouteWarningType = "LOW_INFO_WARNING" | "BAD_PRICE_WARNING";
1222
1274
  type MsgsWarningType = "INSUFFICIENT_GAS_AT_DEST_EOA" | "INSUFFICIENT_GAS_AT_INTERMEDIATE";
1223
- type ExperimentalFeature = "cctp" | "hyperlane" | "stargate" | "eureka";
1275
+ type ExperimentalFeature = "cctp" | "hyperlane" | "stargate" | "eureka" | "layer_zero";
1224
1276
  type RouteWarning = {
1225
1277
  type: RouteWarningType;
1226
1278
  message: string;
@@ -1276,6 +1328,10 @@ type OperationJSON = (BaseOperationJSON & {
1276
1328
  op_init_transfer: OPInitTransferJSON;
1277
1329
  }) | (BaseOperationJSON & {
1278
1330
  go_fast_transfer: GoFastTransferJSON;
1331
+ }) | (BaseOperationJSON & {
1332
+ stargate_transfer: StargateTransferJSON;
1333
+ }) | (BaseOperationJSON & {
1334
+ layer_zero_transfer: LayerZeroTransferJSON;
1279
1335
  }) | (BaseOperationJSON & {
1280
1336
  eureka_transfer: EurekaTransferJSON;
1281
1337
  }) | (BaseOperationJSON & {
@@ -1304,6 +1360,10 @@ type Operation = (BaseOperation & {
1304
1360
  opInitTransfer: OPInitTransfer;
1305
1361
  }) | (BaseOperation & {
1306
1362
  goFastTransfer: GoFastTransfer;
1363
+ }) | (BaseOperation & {
1364
+ stargateTransfer: StargateTransfer;
1365
+ }) | (BaseOperation & {
1366
+ layerZeroTransfer: LayerZeroTransfer;
1307
1367
  }) | (BaseOperation & {
1308
1368
  eurekaTransfer: EurekaTransfer;
1309
1369
  }) | (BaseOperation & {
@@ -1505,7 +1565,7 @@ type MsgsResponse = {
1505
1565
  txs: Tx[];
1506
1566
  warning?: MsgsWarning;
1507
1567
  };
1508
- type BridgeType = "IBC" | "AXELAR" | "CCTP" | "HYPERLANE" | "OPINIT" | "GO_FAST" | "STARGATE" | "EUREKA";
1568
+ type BridgeType = "IBC" | "AXELAR" | "CCTP" | "HYPERLANE" | "OPINIT" | "GO_FAST" | "STARGATE" | "EUREKA" | "LAYER_ZERO";
1509
1569
  declare enum ChainType {
1510
1570
  Cosmos = "cosmos",
1511
1571
  EVM = "evm",
@@ -1745,6 +1805,8 @@ declare function goFastTransferToJSON(goFast: GoFastTransfer): GoFastTransferJSO
1745
1805
  declare function goFastTransferFromJSON(goFastJSON: GoFastTransferJSON): GoFastTransfer;
1746
1806
  declare function stargateTransferFromJSON(stargateTransferJSON: StargateTransferJSON): StargateTransfer;
1747
1807
  declare function stargateTransferToJSON(stargateTransfer: StargateTransfer): StargateTransferJSON;
1808
+ declare function layerZeroTransferFromJSON(layerZeroTransferJSON: LayerZeroTransferJSON): LayerZeroTransfer;
1809
+ declare function layerZeroTransferToJSON(layerZeroTransfer: LayerZeroTransfer): LayerZeroTransferJSON;
1748
1810
  declare function eurekaTransferFromJSON(eurekaTransferJSON: EurekaTransferJSON): EurekaTransfer;
1749
1811
  declare function eurekaTransferToJSON(eurekaTransfer: EurekaTransfer): EurekaTransferJSON;
1750
1812
  declare function operationFromJSON(operationJSON: OperationJSON): Operation;
@@ -1857,6 +1919,10 @@ declare function opInitTransferTransactionsFromJSON(value: OPInitTransferTransac
1857
1919
  declare function opInitTransferTransactionsToJSON(value: OPInitTransferTransactions): OPInitTransferTransactionsJSON;
1858
1920
  declare function stargateTransferTransactionsFromJSON(value: StargateTransferTransactionsJSON): StargateTransferTransactions;
1859
1921
  declare function stargateTransferTransactionsToJSON(value: StargateTransferTransactions): StargateTransferTransactionsJSON;
1922
+ declare function layerZeroTransferTransactionsFromJSON(value: LayerZeroTransferTransactionsJSON): LayerZeroTransferTransactions;
1923
+ declare function layerZeroTransferTransactionsToJSON(value: LayerZeroTransferTransactions): LayerZeroTransferTransactionsJSON;
1924
+ declare function layerZeroTransferInfoFromJSON(value: LayerZeroTransferInfoJSON): LayerZeroTransferInfo;
1925
+ declare function layerZeroTransferInfoToJSON(value: LayerZeroTransferInfo): LayerZeroTransferInfoJSON;
1860
1926
  declare function opInitTransferInfoFromJSON(value: OPInitTransferInfoJSON): OPInitTransferInfo;
1861
1927
  declare function opInitTransferInfoToJSON(value: OPInitTransferInfo): OPInitTransferInfoJSON;
1862
1928
  declare function stargateTransferInfoFromJSON(value: StargateTransferInfoJSON): StargateTransferInfo;
@@ -2177,13 +2243,14 @@ declare class SkipClient {
2177
2243
  getFeeInfoForChain(chainID: string): Promise<FeeAsset | undefined>;
2178
2244
  private getDefaultGasTokenForChain;
2179
2245
  private getStakingTokensForChain;
2180
- validateGasBalances({ txs, onValidateGasBalance, getFallbackGasAmount, getCosmosSigner, getEVMSigner, simulate, disabledChainIds, enabledChainIds, }: {
2246
+ validateGasBalances({ txs, onValidateGasBalance, getFallbackGasAmount, getCosmosSigner, getEVMSigner, simulate, disabledChainIds, enabledChainIds, useUnlimitedApproval, }: {
2181
2247
  txs: Tx[];
2182
2248
  onValidateGasBalance?: ExecuteRouteOptions["onValidateGasBalance"];
2183
2249
  getFallbackGasAmount?: GetFallbackGasAmount;
2184
2250
  simulate?: ExecuteRouteOptions["simulate"];
2185
2251
  disabledChainIds?: string[];
2186
2252
  enabledChainIds?: string[];
2253
+ useUnlimitedApproval?: boolean;
2187
2254
  } & Pick<SignerGetters, "getCosmosSigner" | "getEVMSigner">): Promise<void>;
2188
2255
  /**
2189
2256
  *
@@ -2211,10 +2278,23 @@ declare class SkipClient {
2211
2278
  asset: FeeAsset;
2212
2279
  fee: StdFee;
2213
2280
  }>;
2214
- validateEvmGasBalance({ signer, tx, getFallbackGasAmount, }: {
2281
+ validateEvmGasBalance({ signer, tx, getFallbackGasAmount, useUnlimitedApproval, }: {
2215
2282
  signer: WalletClient;
2216
2283
  tx: EvmTx;
2217
2284
  getFallbackGasAmount?: GetFallbackGasAmount;
2285
+ useUnlimitedApproval?: boolean;
2286
+ }): Promise<{
2287
+ error: string;
2288
+ asset: null;
2289
+ fee: null;
2290
+ } | undefined>;
2291
+ validateEvmTokenApproval({ requiredERC20Approvals, signer, chain, gasBalance, tx, useUnlimitedApproval, }: {
2292
+ requiredERC20Approvals: ERC20Approval[];
2293
+ signer: WalletClient;
2294
+ gasBalance?: BalanceResponseDenomEntry | undefined;
2295
+ chain: Chain;
2296
+ tx: EvmTx;
2297
+ useUnlimitedApproval?: boolean;
2218
2298
  }): Promise<{
2219
2299
  error: string;
2220
2300
  asset: null;
@@ -2223,7 +2303,7 @@ declare class SkipClient {
2223
2303
  validateSvmGasBalance({ tx }: {
2224
2304
  tx: SvmTx;
2225
2305
  }): Promise<{
2226
- error: string;
2306
+ error: _solana_web3_js.TransactionError;
2227
2307
  asset: null;
2228
2308
  fee: null;
2229
2309
  } | undefined>;
@@ -2245,5 +2325,12 @@ declare function getEncodeObjectFromCosmosMessageInjective(message: CosmosMsg):
2245
2325
  declare function getCosmosGasAmountForMessage(client: SigningStargateClient, signerAddress: string, chainID: string, messages?: CosmosMsg[], encodedMsgs?: EncodeObject[], multiplier?: number): Promise<string>;
2246
2326
  declare function getEVMGasAmountForMessage(signer: WalletClient, tx: EvmTx, getFallbackGasAmount?: GetFallbackGasAmount): Promise<bigint>;
2247
2327
  declare function getSVMGasAmountForMessage(connection: Connection, tx: SvmTx): Promise<number>;
2328
+ interface SimulationResult {
2329
+ success: boolean;
2330
+ logs?: string[];
2331
+ error?: SimulatedTransactionResponse["err"];
2332
+ }
2333
+ declare function simulateSvmTx(connection: Connection, svmTx: SvmTx): Promise<SimulationResult>;
2334
+ declare function getSolShortfall(logs: string[]): number | null;
2248
2335
 
2249
- export { type AcknowledgementError, type Affiliate, type AffiliateJSON, type ApiError, type Asset, type AssetBetweenChains, type AssetBetweenChainsJSON, type AssetJSON, type AssetOrError, type AssetOrErrorJSON, type AssetRecommendation, type AssetRecommendationJSON, type AssetRecommendationRequest, type AssetRecommendationRequestJSON, type AssetsBetweenChainsRequest, type AssetsBetweenChainsRequestJSON, type AssetsBetweenChainsResponse, type AssetsBetweenChainsResponseJSON, type AssetsFromSourceRequest, type AssetsFromSourceRequestJSON, type AssetsRequest, type AssetsRequestJSON, type AutopilotAction, type AutopilotMsg, type AxelarTransfer, type AxelarTransferInfo, type AxelarTransferInfoJSON, type AxelarTransferJSON, type AxelarTransferState, type AxelarTransferTransactions, type AxelarTransferTransactionsJSON, type AxelarTransferType, type BalanceRequest, type BalanceRequestChainEntry, type BalanceRequestChainEntryJSON, type BalanceRequestJSON, type BalanceResponse, type BalanceResponseChainEntry, type BalanceResponseChainEntryJSON, type BalanceResponseDenomEntry, type BalanceResponseDenomEntryJSON, type BalanceResponseJSON, type BankSend, type BankSendJSON, type Bridge, type BridgeJSON, type BridgeType, type BridgesResponse, type BridgesResponseJSON, type CCTPTransfer, type CCTPTransferInfo, type CCTPTransferInfoJSON, type CCTPTransferJSON, type CCTPTransferState, type CCTPTransferTransactions, type CCTPTransferTransactionsJSON, type Chain, type ChainAffiliates, type ChainAffiliatesJSON, type ChainJSON, type ChainTransaction, type ChainTransactionJSON, ChainType, type ChainsRequest, type ChainsRequestJSON, type ContractCallWithTokenError, type ContractCallWithTokenErrorType, type ContractCallWithTokenTransactions, type ContractCallWithTokenTransactionsJSON, type CosmWasmContractMsg, type CosmWasmContractMsgJSON, type CosmosMsg, type CosmosMsgJSON, type CosmosTx, type CosmosTxJSON, DEFAULT_GAS_MULTIPLIER, type DenomWithChainID, type DenomWithChainIDJSON, type ERC20Approval, type ERC20ApprovalJSON, type EndpointOptions, type EstimatedFee, type EstimatedFeeJSON, type EurekaTransfer, type EurekaTransferInfo, type EurekaTransferInfoJSON, type EurekaTransferJSON, type EvmSwap, type EvmSwapJSON, type EvmTx, type EvmTxJSON, type ExecuteCosmosMessage, type ExecuteCosmosMessageOptions, type ExecuteRouteOptions, type ExperimentalFeature, type FeeAsset, type FeeAssetJSON, FeeType, GAS_STATION_CHAIN_IDS, type GasPriceInfo, type GetFallbackGasAmount, type GetGasPrice, type GoFastFee, type GoFastFeeJSON, type GoFastTransfer, type GoFastTransferInfo, type GoFastTransferInfoJSON, type GoFastTransferJSON, type GoFastTransferState, type GoFastTransferTransactions, type GoFastTransferTransactionsJSON, type HyperlaneTransfer, type HyperlaneTransferInfo, type HyperlaneTransferInfoJSON, type HyperlaneTransferJSON, type HyperlaneTransferState, type HyperlaneTransferTransactions, type HyperlaneTransferTransactionsJSON, type IBCAddress, type IBCAddressJSON, type IbcCapabilities, type IbcCapabilitiesJSON, type ModuleSupport, type ModuleVersionInfo, type Msg, type MsgJSON, type MsgsDirectRequest, type MsgsDirectRequestBase, type MsgsDirectRequestBaseJSON, type MsgsDirectRequestGivenIn, type MsgsDirectRequestGivenInJSON, type MsgsDirectRequestGivenOut, type MsgsDirectRequestGivenOutJSON, type MsgsDirectRequestJSON, type MsgsDirectResponse, type MsgsDirectResponseJSON, type MsgsRequest, type MsgsRequestJSON, type MsgsResponse, type MsgsResponseJSON, type MsgsWarning, type MsgsWarningType, type MultiChainMsg, type MultiChainMsgJSON, type NextBlockingTransfer, type NextBlockingTransferJSON, type OPInitTransfer, type OPInitTransferInfo, type OPInitTransferInfoJSON, type OPInitTransferJSON, type OPInitTransferState, type OPInitTransferTransactions, type OPInitTransferTransactionsJSON, type Operation, type OperationJSON, type OriginAssetsRequest, type OriginAssetsRequestJSON, type OriginAssetsResponse, type OriginAssetsResponseJSON, type Packet, type PacketError, type PacketErrorJSON, type PacketErrorType, type PacketJSON, type PostHandler, type PostHandlerJSON, type Reason, type RecommendAssetsRequest, type RecommendAssetsRequestJSON, type RecommendAssetsResponse, type RecommendAssetsResponseJSON, type RecommendationEntry, type RecommendationEntryJSON, type RouteConfig, type RouteRequest, type RouteRequestBase, type RouteRequestBaseJSON, type RouteRequestGivenIn, type RouteRequestGivenInJSON, type RouteRequestGivenOut, type RouteRequestGivenOutJSON, type RouteRequestJSON, type RouteResponse, type RouteResponseJSON, type RouteWarning, type RouteWarningType, SKIP_API_URL, type SendTokenError, type SendTokenErrorType, type SendTokenTransactions, type SendTokenTransactionsJSON, type SignCosmosMessageAminoOptions, type SignCosmosMessageDirectOptions, type SignerGetters, SkipClient, type SkipClientOptions, SkipRouter, type SmartRelayFeeQuote, type SmartRelayFeeQuoteJSON, type SmartSwapExactCoinIn, type SmartSwapExactCoinInJSON, type SmartSwapOptions, type SmartSwapOptionsJSON, type StargateTransfer, type StargateTransferInfo, type StargateTransferInfoJSON, type StargateTransferJSON, type StargateTransferState, type StargateTransferTransactions, type StargateTransferTransactionsJSON, type StatusError, type StatusErrorJSON, type StatusErrorType, type StatusRequest, type StatusRequestJSON, type StatusState, type SubmitTxRequest, type SubmitTxRequestJSON, type SubmitTxResponse, type SubmitTxResponseJSON, type SvmTx, type SvmTxJSON, type Swap, type SwapExactCoinIn, type SwapExactCoinInJSON, type SwapExactCoinOut, type SwapExactCoinOutJSON, type SwapJSON, type SwapOperation, type SwapOperationJSON, type SwapRoute, type SwapRouteJSON, type SwapVenue, type SwapVenueJSON, type SwapVenueRequest, type SwapVenueRequestJSON, type TrackTxRequest, type TrackTxRequestJSON, type TrackTxResponse, type TrackTxResponseJSON, type TransactionCallbacks, type TransactionExecutionError, type Transfer, type TransferAssetRelease, type TransferAssetReleaseJSON, type TransferEvent, type TransferEventJSON, type TransferInfo, type TransferInfoJSON, type TransferJSON, type TransferState, type TransferStatus, type TransferStatusJSON, type Tx, type TxJSON, type TxResult, type TxStatusResponse, type TxStatusResponseJSON, type UserAddress, type ValidateGasResult, type Venue, affiliateFromJSON, affiliateToJSON, assetBetweenChainsFromJSON, assetBetweenChainsToJSON, assetFromJSON, assetOrErrorFromJSON, assetOrErrorToJSON, assetRecommendationFromJSON, assetRecommendationRequestFromJSON, assetRecommendationRequestToJSON, assetRecommendationToJSON, assetToJSON, assetsBetweenChainsRequestFromJSON, assetsBetweenChainsRequestToJSON, assetsBetweenChainsResponseFromJSON, assetsFromSourceRequestFromJSON, assetsFromSourceRequestToJSON, assetsRequestFromJSON, assetsRequestToJSON, axelarTransferFromJSON, axelarTransferInfoFromJSON, axelarTransferInfoToJSON, axelarTransferToJSON, axelarTransferTransactionsFromJSON, axelarTransferTransactionsToJSON, balanceRequestChainEntryFromJSON, balanceRequestChainEntryToJSON, balanceRequestFromJSON, balanceRequestToJSON, balanceResponseChainEntryFromJSON, balanceResponseChainEntryToJSON, balanceResponseDenomEntryFromJSON, balanceResponseDenomEntryToJSON, balanceResponseFromJSON, balanceResponseToJSON, bankSendFromJSON, bankSendToJSON, bridgeFromJSON, bridgeToJSON, bridgesResponseFromJSON, bridgesResponseToJSON, cctpTransferFromJSON, cctpTransferInfoFromJSON, cctpTransferInfoToJSON, cctpTransferToJSON, cctpTransferTransactionsFromJSON, cctpTransferTransactionsToJSON, chainAffiliatesFromJSON, chainAffiliatesToJSON, chainFromJSON, chainIDsToAffiliatesMapFromJSON, chainIDsToAffiliatesMapToJSON, chainToJSON, chainTransactionFromJSON, chainTransactionToJSON, chainsRequestToJSON, contractCallWithTokenTransactionsFromJSON, contractCallWithTokenTransactionsToJSON, cosmWasmContractMsgFromJSON, cosmWasmContractMsgToJSON, cosmosMsgFromJSON, cosmosMsgToJSON, cosmosTxFromJSON, cosmosTxToJSON, denomWithChainIDFromJSON, denomWithChainIDToJSON, erc20ApprovalFromJSON, erc20ApprovalToJSON, estimatedFeeFromJSON, estimatedFeeToJSON, eurekaTransferFromJSON, eurekaTransferInfoFromJSON, eurekaTransferInfoToJSON, eurekaTransferToJSON, evmSwapFromJSON, evmSwapToJSON, evmTxFromJSON, evmTxToJSON, feeAssetFromJSON, feeAssetToJSON, getCosmosGasAmountForMessage, getEVMGasAmountForMessage, getEncodeObjectFromCosmosMessage, getEncodeObjectFromCosmosMessageInjective, getSVMGasAmountForMessage, goFastFeeFromJSON, goFastFeeToJSON, goFastTransferFromJSON, goFastTransferInfoFromJSON, goFastTransferInfoToJson, goFastTransferToJSON, goFastTransferTransactionsFromJSON, goFastTransferTransactionsToJSON, hyperlaneTransferFromJSON, hyperlaneTransferInfoFromJSON, hyperlaneTransferInfoToJSON, hyperlaneTransferToJSON, hyperlaneTransferTransactionsFromJSON, hyperlaneTransferTransactionsToJSON, ibcAddressFromJSON, ibcAddressToJSON, ibcCapabilitiesFromJSON, ibcCapabilitiesToJSON, messageResponseFromJSON, msgFromJSON, msgToJSON, msgsDirectRequestFromJSON, msgsDirectRequestToJSON, msgsRequestFromJSON, msgsRequestToJSON, multiChainMsgFromJSON, multiChainMsgToJSON, nextBlockingTransferFromJSON, nextBlockingTransferToJSON, opInitTransferFromJSON, opInitTransferInfoFromJSON, opInitTransferInfoToJSON, opInitTransferToJSON, opInitTransferTransactionsFromJSON, opInitTransferTransactionsToJSON, operationFromJSON, operationToJSON, originAssetsRequestFromJSON, originAssetsRequestToJSON, originAssetsResponseFromJSON, originAssetsResponseToJSON, packetFromJSON, packetToJSON, postHandlerFromJSON, postHandlerToJSON, recommendAssetsRequestFromJSON, recommendAssetsRequestToJSON, recommendAssetsResponseFromJSON, recommendAssetsResponseToJSON, recommendationEntryFromJSON, recommendationEntryToJSON, routeRequestFromJSON, routeRequestToJSON, routeResponseFromJSON, routeResponseToJSON, sendTokenTransactionsFromJSON, sendTokenTransactionsToJSON, smartRelayFeeQuoteFromJSON, smartRelayFeeQuoteToJSON, smartSwapExactCoinInFromJSON, smartSwapExactCoinInToJSON, smartSwapOptionsFromJSON, smartSwapOptionsToJSON, stargateTransferFromJSON, stargateTransferInfoFromJSON, stargateTransferInfoToJSON, stargateTransferToJSON, stargateTransferTransactionsFromJSON, stargateTransferTransactionsToJSON, submitTxRequestFromJSON, submitTxRequestToJSON, submitTxResponseFromJSON, submitTxResponseToJSON, svmTxFromJSON, svmTxToJSON, swapExactCoinInFromJSON, swapExactCoinInToJSON, swapExactCoinOutFromJSON, swapExactCoinOutToJSON, swapFromJSON, swapOperationFromJSON, swapOperationToJSON, swapRouteFromJSON, swapRouteToJSON, swapToJSON, swapVenueFromJSON, swapVenueRequestFromJSON, swapVenueRequestToJSON, swapVenueToJSON, trackTxRequestFromJSON, trackTxRequestToJSON, trackTxResponseFromJSON, trackTxResponseToJSON, transferAssetReleaseFromJSON, transferAssetReleaseToJSON, transferEventFromJSON, transferEventToJSON, transferFromJSON, transferInfoFromJSON, transferInfoToJSON, transferStatusFromJSON, transferStatusToJSON, transferToJSON, txFromJSON, txStatusRequestFromJSON, txStatusRequestToJSON, txStatusResponseFromJSON, txStatusResponseToJSON, txToJSON };
2336
+ export { type AcknowledgementError, type Affiliate, type AffiliateJSON, type ApiError, type Asset, type AssetBetweenChains, type AssetBetweenChainsJSON, type AssetJSON, type AssetOrError, type AssetOrErrorJSON, type AssetRecommendation, type AssetRecommendationJSON, type AssetRecommendationRequest, type AssetRecommendationRequestJSON, type AssetsBetweenChainsRequest, type AssetsBetweenChainsRequestJSON, type AssetsBetweenChainsResponse, type AssetsBetweenChainsResponseJSON, type AssetsFromSourceRequest, type AssetsFromSourceRequestJSON, type AssetsRequest, type AssetsRequestJSON, type AutopilotAction, type AutopilotMsg, type AxelarTransfer, type AxelarTransferInfo, type AxelarTransferInfoJSON, type AxelarTransferJSON, type AxelarTransferState, type AxelarTransferTransactions, type AxelarTransferTransactionsJSON, type AxelarTransferType, type BalanceRequest, type BalanceRequestChainEntry, type BalanceRequestChainEntryJSON, type BalanceRequestJSON, type BalanceResponse, type BalanceResponseChainEntry, type BalanceResponseChainEntryJSON, type BalanceResponseDenomEntry, type BalanceResponseDenomEntryJSON, type BalanceResponseJSON, type BankSend, type BankSendJSON, type Bridge, type BridgeJSON, type BridgeType, type BridgesResponse, type BridgesResponseJSON, type CCTPTransfer, type CCTPTransferInfo, type CCTPTransferInfoJSON, type CCTPTransferJSON, type CCTPTransferState, type CCTPTransferTransactions, type CCTPTransferTransactionsJSON, type Chain, type ChainAffiliates, type ChainAffiliatesJSON, type ChainJSON, type ChainTransaction, type ChainTransactionJSON, ChainType, type ChainsRequest, type ChainsRequestJSON, type ContractCallWithTokenError, type ContractCallWithTokenErrorType, type ContractCallWithTokenTransactions, type ContractCallWithTokenTransactionsJSON, type CosmWasmContractMsg, type CosmWasmContractMsgJSON, type CosmosMsg, type CosmosMsgJSON, type CosmosTx, type CosmosTxJSON, DEFAULT_GAS_MULTIPLIER, type DenomWithChainID, type DenomWithChainIDJSON, type ERC20Approval, type ERC20ApprovalJSON, type EndpointOptions, type EstimatedFee, type EstimatedFeeJSON, type EurekaTransfer, type EurekaTransferInfo, type EurekaTransferInfoJSON, type EurekaTransferJSON, type EvmSwap, type EvmSwapJSON, type EvmTx, type EvmTxJSON, type ExecuteCosmosMessage, type ExecuteCosmosMessageOptions, type ExecuteRouteOptions, type ExperimentalFeature, type FeeAsset, type FeeAssetJSON, FeeType, GAS_STATION_CHAIN_IDS, type GasPriceInfo, type GetFallbackGasAmount, type GetGasPrice, type GoFastFee, type GoFastFeeJSON, type GoFastTransfer, type GoFastTransferInfo, type GoFastTransferInfoJSON, type GoFastTransferJSON, type GoFastTransferState, type GoFastTransferTransactions, type GoFastTransferTransactionsJSON, type HyperlaneTransfer, type HyperlaneTransferInfo, type HyperlaneTransferInfoJSON, type HyperlaneTransferJSON, type HyperlaneTransferState, type HyperlaneTransferTransactions, type HyperlaneTransferTransactionsJSON, type IBCAddress, type IBCAddressJSON, type IbcCapabilities, type IbcCapabilitiesJSON, type LayerZeroTransfer, type LayerZeroTransferInfo, type LayerZeroTransferInfoJSON, type LayerZeroTransferJSON, type LayerZeroTransferState, type LayerZeroTransferTransactions, type LayerZeroTransferTransactionsJSON, type ModuleSupport, type ModuleVersionInfo, type Msg, type MsgJSON, type MsgsDirectRequest, type MsgsDirectRequestBase, type MsgsDirectRequestBaseJSON, type MsgsDirectRequestGivenIn, type MsgsDirectRequestGivenInJSON, type MsgsDirectRequestGivenOut, type MsgsDirectRequestGivenOutJSON, type MsgsDirectRequestJSON, type MsgsDirectResponse, type MsgsDirectResponseJSON, type MsgsRequest, type MsgsRequestJSON, type MsgsResponse, type MsgsResponseJSON, type MsgsWarning, type MsgsWarningType, type MultiChainMsg, type MultiChainMsgJSON, type NextBlockingTransfer, type NextBlockingTransferJSON, type OPInitTransfer, type OPInitTransferInfo, type OPInitTransferInfoJSON, type OPInitTransferJSON, type OPInitTransferState, type OPInitTransferTransactions, type OPInitTransferTransactionsJSON, type Operation, type OperationJSON, type OriginAssetsRequest, type OriginAssetsRequestJSON, type OriginAssetsResponse, type OriginAssetsResponseJSON, type Packet, type PacketError, type PacketErrorJSON, type PacketErrorType, type PacketJSON, type PostHandler, type PostHandlerJSON, type Reason, type RecommendAssetsRequest, type RecommendAssetsRequestJSON, type RecommendAssetsResponse, type RecommendAssetsResponseJSON, type RecommendationEntry, type RecommendationEntryJSON, type RouteConfig, type RouteRequest, type RouteRequestBase, type RouteRequestBaseJSON, type RouteRequestGivenIn, type RouteRequestGivenInJSON, type RouteRequestGivenOut, type RouteRequestGivenOutJSON, type RouteRequestJSON, type RouteResponse, type RouteResponseJSON, type RouteWarning, type RouteWarningType, SKIP_API_URL, type SendTokenError, type SendTokenErrorType, type SendTokenTransactions, type SendTokenTransactionsJSON, type SignCosmosMessageAminoOptions, type SignCosmosMessageDirectOptions, type SignerGetters, type SimulationResult, SkipClient, type SkipClientOptions, SkipRouter, type SmartRelayFeeQuote, type SmartRelayFeeQuoteJSON, type SmartSwapExactCoinIn, type SmartSwapExactCoinInJSON, type SmartSwapOptions, type SmartSwapOptionsJSON, type StargateTransfer, type StargateTransferInfo, type StargateTransferInfoJSON, type StargateTransferJSON, type StargateTransferState, type StargateTransferTransactions, type StargateTransferTransactionsJSON, type StatusError, type StatusErrorJSON, type StatusErrorType, type StatusRequest, type StatusRequestJSON, type StatusState, type SubmitTxRequest, type SubmitTxRequestJSON, type SubmitTxResponse, type SubmitTxResponseJSON, type SvmTx, type SvmTxJSON, type Swap, type SwapExactCoinIn, type SwapExactCoinInJSON, type SwapExactCoinOut, type SwapExactCoinOutJSON, type SwapJSON, type SwapOperation, type SwapOperationJSON, type SwapRoute, type SwapRouteJSON, type SwapVenue, type SwapVenueJSON, type SwapVenueRequest, type SwapVenueRequestJSON, type TrackTxRequest, type TrackTxRequestJSON, type TrackTxResponse, type TrackTxResponseJSON, type TransactionCallbacks, type TransactionExecutionError, type Transfer, type TransferAssetRelease, type TransferAssetReleaseJSON, type TransferEvent, type TransferEventJSON, type TransferInfo, type TransferInfoJSON, type TransferJSON, type TransferState, type TransferStatus, type TransferStatusJSON, type Tx, type TxJSON, type TxResult, type TxStatusResponse, type TxStatusResponseJSON, type UserAddress, type ValidateGasResult, type Venue, affiliateFromJSON, affiliateToJSON, assetBetweenChainsFromJSON, assetBetweenChainsToJSON, assetFromJSON, assetOrErrorFromJSON, assetOrErrorToJSON, assetRecommendationFromJSON, assetRecommendationRequestFromJSON, assetRecommendationRequestToJSON, assetRecommendationToJSON, assetToJSON, assetsBetweenChainsRequestFromJSON, assetsBetweenChainsRequestToJSON, assetsBetweenChainsResponseFromJSON, assetsFromSourceRequestFromJSON, assetsFromSourceRequestToJSON, assetsRequestFromJSON, assetsRequestToJSON, axelarTransferFromJSON, axelarTransferInfoFromJSON, axelarTransferInfoToJSON, axelarTransferToJSON, axelarTransferTransactionsFromJSON, axelarTransferTransactionsToJSON, balanceRequestChainEntryFromJSON, balanceRequestChainEntryToJSON, balanceRequestFromJSON, balanceRequestToJSON, balanceResponseChainEntryFromJSON, balanceResponseChainEntryToJSON, balanceResponseDenomEntryFromJSON, balanceResponseDenomEntryToJSON, balanceResponseFromJSON, balanceResponseToJSON, bankSendFromJSON, bankSendToJSON, bridgeFromJSON, bridgeToJSON, bridgesResponseFromJSON, bridgesResponseToJSON, cctpTransferFromJSON, cctpTransferInfoFromJSON, cctpTransferInfoToJSON, cctpTransferToJSON, cctpTransferTransactionsFromJSON, cctpTransferTransactionsToJSON, chainAffiliatesFromJSON, chainAffiliatesToJSON, chainFromJSON, chainIDsToAffiliatesMapFromJSON, chainIDsToAffiliatesMapToJSON, chainToJSON, chainTransactionFromJSON, chainTransactionToJSON, chainsRequestToJSON, contractCallWithTokenTransactionsFromJSON, contractCallWithTokenTransactionsToJSON, cosmWasmContractMsgFromJSON, cosmWasmContractMsgToJSON, cosmosMsgFromJSON, cosmosMsgToJSON, cosmosTxFromJSON, cosmosTxToJSON, denomWithChainIDFromJSON, denomWithChainIDToJSON, erc20ApprovalFromJSON, erc20ApprovalToJSON, estimatedFeeFromJSON, estimatedFeeToJSON, eurekaTransferFromJSON, eurekaTransferInfoFromJSON, eurekaTransferInfoToJSON, eurekaTransferToJSON, evmSwapFromJSON, evmSwapToJSON, evmTxFromJSON, evmTxToJSON, feeAssetFromJSON, feeAssetToJSON, getCosmosGasAmountForMessage, getEVMGasAmountForMessage, getEncodeObjectFromCosmosMessage, getEncodeObjectFromCosmosMessageInjective, getSVMGasAmountForMessage, getSolShortfall, goFastFeeFromJSON, goFastFeeToJSON, goFastTransferFromJSON, goFastTransferInfoFromJSON, goFastTransferInfoToJson, goFastTransferToJSON, goFastTransferTransactionsFromJSON, goFastTransferTransactionsToJSON, hyperlaneTransferFromJSON, hyperlaneTransferInfoFromJSON, hyperlaneTransferInfoToJSON, hyperlaneTransferToJSON, hyperlaneTransferTransactionsFromJSON, hyperlaneTransferTransactionsToJSON, ibcAddressFromJSON, ibcAddressToJSON, ibcCapabilitiesFromJSON, ibcCapabilitiesToJSON, layerZeroTransferFromJSON, layerZeroTransferInfoFromJSON, layerZeroTransferInfoToJSON, layerZeroTransferToJSON, layerZeroTransferTransactionsFromJSON, layerZeroTransferTransactionsToJSON, messageResponseFromJSON, msgFromJSON, msgToJSON, msgsDirectRequestFromJSON, msgsDirectRequestToJSON, msgsRequestFromJSON, msgsRequestToJSON, multiChainMsgFromJSON, multiChainMsgToJSON, nextBlockingTransferFromJSON, nextBlockingTransferToJSON, opInitTransferFromJSON, opInitTransferInfoFromJSON, opInitTransferInfoToJSON, opInitTransferToJSON, opInitTransferTransactionsFromJSON, opInitTransferTransactionsToJSON, operationFromJSON, operationToJSON, originAssetsRequestFromJSON, originAssetsRequestToJSON, originAssetsResponseFromJSON, originAssetsResponseToJSON, packetFromJSON, packetToJSON, postHandlerFromJSON, postHandlerToJSON, recommendAssetsRequestFromJSON, recommendAssetsRequestToJSON, recommendAssetsResponseFromJSON, recommendAssetsResponseToJSON, recommendationEntryFromJSON, recommendationEntryToJSON, routeRequestFromJSON, routeRequestToJSON, routeResponseFromJSON, routeResponseToJSON, sendTokenTransactionsFromJSON, sendTokenTransactionsToJSON, simulateSvmTx, smartRelayFeeQuoteFromJSON, smartRelayFeeQuoteToJSON, smartSwapExactCoinInFromJSON, smartSwapExactCoinInToJSON, smartSwapOptionsFromJSON, smartSwapOptionsToJSON, stargateTransferFromJSON, stargateTransferInfoFromJSON, stargateTransferInfoToJSON, stargateTransferToJSON, stargateTransferTransactionsFromJSON, stargateTransferTransactionsToJSON, submitTxRequestFromJSON, submitTxRequestToJSON, submitTxResponseFromJSON, submitTxResponseToJSON, svmTxFromJSON, svmTxToJSON, swapExactCoinInFromJSON, swapExactCoinInToJSON, swapExactCoinOutFromJSON, swapExactCoinOutToJSON, swapFromJSON, swapOperationFromJSON, swapOperationToJSON, swapRouteFromJSON, swapRouteToJSON, swapToJSON, swapVenueFromJSON, swapVenueRequestFromJSON, swapVenueRequestToJSON, swapVenueToJSON, trackTxRequestFromJSON, trackTxRequestToJSON, trackTxResponseFromJSON, trackTxResponseToJSON, transferAssetReleaseFromJSON, transferAssetReleaseToJSON, transferEventFromJSON, transferEventToJSON, transferFromJSON, transferInfoFromJSON, transferInfoToJSON, transferStatusFromJSON, transferStatusToJSON, transferToJSON, txFromJSON, txStatusRequestFromJSON, txStatusRequestToJSON, txStatusResponseFromJSON, txStatusResponseToJSON, txToJSON };