@hyperbridge/sdk 2.4.2 → 2.5.0
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/browser/index.d.ts +87 -12
- package/dist/browser/index.js +662 -92
- package/dist/browser/index.js.map +1 -1
- package/dist/node/{IntentGatewayV2-PzbhFn_7.d.cts → IntentGatewayV2-tYGohDdW.d.cts} +62 -5
- package/dist/node/{IntentGatewayV2-PzbhFn_7.d.ts → IntentGatewayV2-tYGohDdW.d.ts} +62 -5
- package/dist/node/index.cjs +661 -90
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +28 -10
- package/dist/node/index.d.ts +28 -10
- package/dist/node/index.js +662 -92
- package/dist/node/index.js.map +1 -1
- package/dist/node/intents-helpers.cjs +518 -7
- package/dist/node/intents-helpers.cjs.map +1 -1
- package/dist/node/intents-helpers.d.cts +52 -10
- package/dist/node/intents-helpers.d.ts +52 -10
- package/dist/node/intents-helpers.js +516 -9
- package/dist/node/intents-helpers.js.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -963,6 +963,8 @@ interface ChainConfigData {
|
|
|
963
963
|
UniswapV4StateView?: `0x${string}`;
|
|
964
964
|
/** Circle Paymaster contract address (USDC-based ERC-4337 paymaster) */
|
|
965
965
|
CirclePaymaster?: `0x${string}`;
|
|
966
|
+
/** SimplexPaymaster contract address (ERC-4337 paymaster accepting USDC/USDT via Chainlink pricing) */
|
|
967
|
+
SimplexPaymaster?: `0x${string}`;
|
|
966
968
|
};
|
|
967
969
|
rpcEnvKey?: string;
|
|
968
970
|
defaultRpcUrl?: string;
|
|
@@ -1038,6 +1040,7 @@ declare class ChainConfigService {
|
|
|
1038
1040
|
getPopularTokens(chain: string): string[];
|
|
1039
1041
|
getEntryPointV08Address(chain: string): HexString;
|
|
1040
1042
|
getCirclePaymasterAddress(chain: string): HexString | undefined;
|
|
1043
|
+
getSimplexPaymasterAddress(chain: string): HexString | undefined;
|
|
1041
1044
|
getHyperbridgeAddress(): string;
|
|
1042
1045
|
/**
|
|
1043
1046
|
* Get the LayerZero Endpoint ID for the chain
|
|
@@ -1420,6 +1423,10 @@ declare function normalizeEvmChainId(chainId: number | string): {
|
|
|
1420
1423
|
};
|
|
1421
1424
|
declare function encodeStateMachineId(stateMachineId: string): HexString;
|
|
1422
1425
|
declare function normalizeAddressForEvmBytes32(address: string): HexString;
|
|
1426
|
+
/**
|
|
1427
|
+
* Validates an EVM address and returns its canonical lowercase representation.
|
|
1428
|
+
*/
|
|
1429
|
+
declare function normalizeEvmAddress(address: string, field?: string): HexString;
|
|
1423
1430
|
declare function normalizeAddressForStateMachine(address: string, stateMachineId: string): HexString;
|
|
1424
1431
|
/**
|
|
1425
1432
|
* Retries a promise-returning operation with exponential backoff.
|
|
@@ -1871,6 +1878,23 @@ interface PhantomOrderEvent {
|
|
|
1871
1878
|
tokenB: HexString;
|
|
1872
1879
|
standardAmount: bigint;
|
|
1873
1880
|
}
|
|
1881
|
+
interface PollPhantomOrdersOptions {
|
|
1882
|
+
/** How often to check for a new head. Defaults to 6s, roughly one block. */
|
|
1883
|
+
intervalMs?: number;
|
|
1884
|
+
/**
|
|
1885
|
+
* Most blocks scanned in a single poll, so a long outage catches up over several ticks instead of
|
|
1886
|
+
* one unbounded scan. Defaults to 500.
|
|
1887
|
+
*/
|
|
1888
|
+
maxBlocksPerPoll?: number;
|
|
1889
|
+
/**
|
|
1890
|
+
* How many blocks before the current head to start from on the first poll. Defaults to 0 (start
|
|
1891
|
+
* at the head). Set this to the runtime's bid window to have a restarting process pick up orders
|
|
1892
|
+
* whose window is still open.
|
|
1893
|
+
*/
|
|
1894
|
+
lookbackBlocks?: number;
|
|
1895
|
+
/** Notified when a poll fails; polling continues regardless. */
|
|
1896
|
+
onError?: (err: unknown) => void;
|
|
1897
|
+
}
|
|
1874
1898
|
/**
|
|
1875
1899
|
* Service for interacting with Hyperbridge's pallet-intents coprocessor.
|
|
1876
1900
|
* Handles bid submission and retrieval for the IntentGatewayV2 protocol.
|
|
@@ -2015,11 +2039,26 @@ declare class IntentsCoprocessor {
|
|
|
2015
2039
|
*/
|
|
2016
2040
|
fetchPhantomOrder(commitment: HexString): Promise<Order | null>;
|
|
2017
2041
|
/**
|
|
2018
|
-
*
|
|
2019
|
-
|
|
2020
|
-
|
|
2042
|
+
* Reads the PhantomOrderRegistered events emitted in a single block.
|
|
2043
|
+
*/
|
|
2044
|
+
getPhantomOrdersInBlock(blockNumber: number): Promise<PhantomOrderEvent[]>;
|
|
2045
|
+
/**
|
|
2046
|
+
* Polls for newly registered phantom orders, invoking the callback once per order.
|
|
2047
|
+
*
|
|
2048
|
+
* Each tick reads the current head and scans every block between the last one processed and that
|
|
2049
|
+
* head, so the block cursor — not the connection — determines what has been seen. This replaced a
|
|
2050
|
+
* system.events subscription, which was only as reliable as its socket: polkadot-js reconnects
|
|
2051
|
+
* the transport but does not reliably re-establish storage subscriptions, and anything emitted
|
|
2052
|
+
* while disconnected was lost silently. With a bid window measured in a handful of blocks, that
|
|
2053
|
+
* meant silently missed bids.
|
|
2054
|
+
*
|
|
2055
|
+
* Scanning a block range is gap-free rather than merely self-healing: an outage delays orders but
|
|
2056
|
+
* cannot drop them, because the cursor only advances past a block whose events were actually
|
|
2057
|
+
* read. Recovery replays the backlog.
|
|
2058
|
+
*
|
|
2059
|
+
* Returns a function that stops polling.
|
|
2021
2060
|
*/
|
|
2022
|
-
|
|
2061
|
+
pollPhantomOrders(callback: (event: PhantomOrderEvent) => void, options?: PollPhantomOrdersOptions): () => void;
|
|
2023
2062
|
}
|
|
2024
2063
|
|
|
2025
2064
|
/**
|
|
@@ -2505,6 +2544,8 @@ interface RetryConfig {
|
|
|
2505
2544
|
backoffMs: number;
|
|
2506
2545
|
logMessage?: string;
|
|
2507
2546
|
logger?: ConsolaInstance;
|
|
2547
|
+
/** Return false to stop retrying and immediately rethrow the error. */
|
|
2548
|
+
shouldRetry?: (error: unknown) => boolean;
|
|
2508
2549
|
}
|
|
2509
2550
|
interface IsmpRequest {
|
|
2510
2551
|
source: string;
|
|
@@ -3370,6 +3411,26 @@ interface PhantomOrderPriceSnapshotsResponse {
|
|
|
3370
3411
|
}>;
|
|
3371
3412
|
};
|
|
3372
3413
|
}
|
|
3414
|
+
/**
|
|
3415
|
+
* Total solver liquidity measured at one immutable Phantom price snapshot.
|
|
3416
|
+
*
|
|
3417
|
+
* Liquidity amounts are decimal strings formatted with the configured decimals
|
|
3418
|
+
* for their respective `tokenAddress` and chain.
|
|
3419
|
+
*/
|
|
3420
|
+
interface AvailableLiquiditySnapshot {
|
|
3421
|
+
totalLiquidity: string;
|
|
3422
|
+
providerCount: number;
|
|
3423
|
+
tokenAddress: HexString;
|
|
3424
|
+
snapshotTime: Date;
|
|
3425
|
+
liquidityByChain: AvailableLiquidityByChain[];
|
|
3426
|
+
}
|
|
3427
|
+
/** Liquidity for one chain/token balance group in an availability snapshot. */
|
|
3428
|
+
interface AvailableLiquidityByChain {
|
|
3429
|
+
chain: string;
|
|
3430
|
+
tokenAddress: HexString;
|
|
3431
|
+
totalLiquidity: string;
|
|
3432
|
+
providerCount: number;
|
|
3433
|
+
}
|
|
3373
3434
|
interface TokenPrice {
|
|
3374
3435
|
symbol: string;
|
|
3375
3436
|
address?: string;
|
|
@@ -4592,9 +4653,9 @@ interface BundlerGasEstimate {
|
|
|
4592
4653
|
* - `AWAITING_CANCEL_TRANSACTION` – the caller must sign and submit the cancel tx.
|
|
4593
4654
|
* - `CANCEL_STARTED` – the cancel transaction was confirmed on-chain.
|
|
4594
4655
|
* - `SOURCE_FINALIZED` – the cancel request has been finalised on the source chain.
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4656
|
+
* - `HYPERBRIDGE_DELIVERED` – the cancel message has been delivered to Hyperbridge.
|
|
4657
|
+
* - `HYPERBRIDGE_FINALIZED` – the cancel message has been finalised on Hyperbridge.
|
|
4658
|
+
* - `CANCELLATION_COMPLETE` – the escrow has been refunded; cancellation is done.
|
|
4598
4659
|
*/
|
|
4599
4660
|
type CancelEvent = {
|
|
4600
4661
|
status: "DESTINATION_FINALIZED";
|
|
@@ -4833,6 +4894,8 @@ declare class IntentGateway {
|
|
|
4833
4894
|
private readonly gasEstimator;
|
|
4834
4895
|
/** Quote strategies for pricing orders before placement, keyed by strategy name. */
|
|
4835
4896
|
private readonly quoteStrategies;
|
|
4897
|
+
/** Resolves order tokens to canonical Phantom snapshot market pairs. */
|
|
4898
|
+
private readonly phantomSnapshotPairResolver;
|
|
4836
4899
|
/**
|
|
4837
4900
|
* Private constructor — use {@link IntentGateway.create} instead.
|
|
4838
4901
|
*
|
|
@@ -4887,13 +4950,25 @@ declare class IntentGateway {
|
|
|
4887
4950
|
* @throws {PhantomSnapshotUnavailableError} When an eligible cNGN pair has no snapshot.
|
|
4888
4951
|
*/
|
|
4889
4952
|
quoteIntent(params: QuoteIntentParams): Promise<QuoteIntentResult>;
|
|
4953
|
+
/**
|
|
4954
|
+
* Returns the output-token liquidity measured in the latest directional
|
|
4955
|
+
* Phantom snapshot for this gateway's source and destination.
|
|
4956
|
+
*
|
|
4957
|
+
* Pair resolution uses the same canonical Base market as {@link quoteIntent}.
|
|
4958
|
+
* The snapshot itself determines the output token and chain to aggregate. The
|
|
4959
|
+
* amount is in the token's smallest unit and reflects the indexer's
|
|
4960
|
+
* `snapshotTime`; it is not a live reservation or fill guarantee.
|
|
4961
|
+
*
|
|
4962
|
+
* Requires a prior call to {@link withQueryClient}.
|
|
4963
|
+
*/
|
|
4964
|
+
queryAvailableLiquidity(params: Pick<QuoteIntentParams, "tokenIn" | "tokenOut">): Promise<AvailableLiquiditySnapshot | undefined>;
|
|
4890
4965
|
/**
|
|
4891
4966
|
* Bidirectional async generator that orchestrates the full order lifecycle:
|
|
4892
4967
|
* placement, fee estimation, bid collection, and execution.
|
|
4893
4968
|
*
|
|
4894
4969
|
* **Yield/receive protocol:**
|
|
4895
|
-
* 1. If `order.fees` is unset or zero, estimates gas and sets
|
|
4896
|
-
*
|
|
4970
|
+
* 1. If `order.fees` is unset or zero, estimates gas on an internal copy and sets
|
|
4971
|
+
* same-chain fees to twice the estimate. Cross-chain orders retain a 1% buffer
|
|
4897
4972
|
* and include an additional 600k-gas fee uplift, while the wei cost used for
|
|
4898
4973
|
* the `value` field receives a 2% buffer.
|
|
4899
4974
|
* 2. Yields `AWAITING_PLACE_ORDER` with `{ to, data, value, sessionPrivateKey }`.
|
|
@@ -4903,8 +4978,8 @@ declare class IntentGateway {
|
|
|
4903
4978
|
* 4. Delegates to {@link OrderExecutor.executeOrder} and forwards all
|
|
4904
4979
|
* subsequent status updates until the order is filled, exhausted, or fails.
|
|
4905
4980
|
*
|
|
4906
|
-
* @param order - The order to place and execute. `order.fees`
|
|
4907
|
-
*
|
|
4981
|
+
* @param order - The order to place and execute. It is not mutated. `order.fees`
|
|
4982
|
+
* may be 0; fees are estimated automatically if so.
|
|
4908
4983
|
* @param graffiti - Optional bytes32 tag for orderflow attribution /
|
|
4909
4984
|
* revenue share. Defaults to {@link DEFAULT_GRAFFITI}.
|
|
4910
4985
|
* @param options - Optional tuning parameters:
|
|
@@ -10389,4 +10464,4 @@ declare function teleport(teleport_param: {
|
|
|
10389
10464
|
extrinsics?: Array<SubmittableExtrinsic<"promise", ISubmittableResult>>;
|
|
10390
10465
|
}): Promise<ReadableStream<HyperbridgeTxEvents>>;
|
|
10391
10466
|
|
|
10392
|
-
export { ADDRESS_ZERO, type AllStatusKey, type AssetTeleported, type AssetTeleportedResponse, type Bid, type BidStorageEntry, type BidSubmissionResult, type BlockMetadata, type BridgeParams, type BridgeStep, type BundlerGasEstimate, BundlerMethod, type BytesLikeHex, type CancelEvent, type CancelOptions, type CancelOrderOptions, type CancelQuote, type ChainConfig, type ChainConfigData, ChainConfigService, Chains, type ClientConfig, type ConfiguredAssetSymbol, CryptoUtils, DEFAULT_ADDRESS, DEFAULT_GRAFFITI, DOMAIN_TYPEHASH, DUMMY_PRIVATE_KEY, type DecodedOrderPlacedLog, type DecodedPostRequestEvent, type DecodedPostResponseEvent, type Deployment, type DispatchGet, type DispatchInfo, type DispatchPost, ERC20Method, type ERC7821Call, ERC7821_BATCH_MODE, type EstimateFillOrderParams, type EstimateGasCallData, EvmChain, type EvmChainParams, ABI as EvmHostABI, EvmLanguage, type ExecuteIntentOrderOptions, type ExecutionResult, type FillOptions, type FillOrderEstimate, type FillerBid, type FillerConfig, type GetRequestResponse, type GetRequestWithStatus, type GetResponseByRequestIdResponse, type GetResponseStorageValues, type HexString, type HostParams, HyperClientStatus, HyperFungibleToken, HyperFungibleTokenABI, type HyperbridgeTxEvents, type IBatchConsensusAndGetResponseMessage, type IBatchConsensusAndPostRequestMessage, type IChain, type IConfig, type IConsensusMessage, type IEvmChain, type IEvmConfig, type IGetRequest, type IGetRequestMessage, type IGetResponse, type IGetResponseMessage, type IHyperbridgeConfig, type IIsmpMessage, type IMessage, type IPharosConfig, type IPolkadotHubConfig, type IPostRequest, type IPostResponse, type IProof, type IRequestMessage, type ISubstrateConfig, type ITimeoutPostRequestMessage, type IndexerQueryClient, IntentGateway, ABI$1 as IntentGatewayABI, type IntentGatewayContext, type IntentGatewayParams, IntentOrderStatus, type IntentOrderStatusKey, type IntentOrderStatusUpdate, type IntentQuoteStrategy, type IntentQuoteTradeType, IntentsCoprocessor, InvalidPhantomSnapshotError, IsmpClient, type IsmpRequest, MOCK_ADDRESS, ORDER_V2_PARAM_TYPE, type Order, type OrderResponse, OrderStatus, OrderStatusChecker, type OrderStatusMetadata, type OrderWithStatus, PACKED_USEROP_TYPEHASH, PLACE_ORDER_SELECTOR, type PackedUserOperation, type Params, type PaymentInfo, type PhantomOrderEvent, type PhantomOrderPriceSnapshot, type PhantomOrderPriceSnapshotsResponse, type PhantomSnapshotIntentQuoteMetadata, type PhantomSnapshotQuoteIntentResult, PhantomSnapshotUnavailableError, PharosChain, type PharosChainParams, PolkadotHubChain, type PolkadotHubChainParams, type PostRequestStatus, type PostRequestTimeoutStatus, type PostRequestWithStatus, type QuoteIntentParams, type QuoteIntentResult, type QuoteNativeResult, type QuoteResult, type QuoteUniswapParams, type QuoteUniswapResult, REQUEST_COMMITMENTS_SLOT, REQUEST_RECEIPTS_SLOT, RESPONSE_COMMITMENTS_SLOT, RESPONSE_RECEIPTS_SLOT, type RequestBody, type RequestCommitment, RequestKind, type RequestResponse, RequestStatus, type RequestStatusKey, type RequestStatusWithMetadata, type ResponseCommitmentWithValues, type ResumeIntentOrderOptions, type RetryConfig, SELECT_SOLVER_TYPEHASH, STATE_COMMITMENTS_SLOT, type SelectBidResult, type SelectOptions, type SigningAccount, type StateMachineHeight, type StateMachineId, type StateMachineIdParams, type StateMachineResponse, type StateMachineUpdate, type StorageFacade, type SubmitBidOptions, SubstrateChain, Swap, TESTNET_CHAINS, type TeleportParams, TeleportStatus, TimeoutStatus, type TimeoutStatusKey, TokenGateway, type TokenGatewayAssetTeleportedResponse, type TokenGatewayAssetTeleportedWithStatus, type TokenInfo, type TokenPrice, type TokenPricesResponse, type Transaction, TronChain, type TronChainParams, USE_ETHERSCAN_CHAINS, type UniswapProtocol, type UniswapQuote, type UniswapQuoteToken, type UniswapTradeType, type UniswapV4IntentQuoteMetadata, type UniswapV4IntentQuoteOptions, type UniswapV4PoolConfigData, type UniswapV4PoolKey, type UniswapV4QuoteIntentResult, UnsupportedIntentQuotePairError, UnsupportedIntentQuoteStrategyError, WrappedHyperFungibleTokenABI, type XcmGatewayParams, __test, adjustDecimals, bytes20ToBytes32, bytes32ToBytes20, calculateAllowanceMappingLocation, calculateBalanceMappingLocation, chainConfigs, constructRedeemEscrowRequestBody, constructRefundEscrowRequestBody, convertCodecToIGetRequest, convertCodecToIProof, convertIGetRequestToCodec, convertIProofToCodec, convertStateIdToStateMachineId, convertStateMachineEnumToString, convertStateMachineIdToEnum, createEvmChain, createQueryClient, decodeERC7821ExecuteBatch, decodeUserOpScale, encodeERC7821ExecuteBatch, encodeISMPMessage, encodeStateMachineId, encodeUserOpScale, encodeWithdrawalRequest, estimateGasForPost, fetchPrice, fetchSourceProof, generateRootWithProof, getChainId, getConfigByStateMachineId, getContractCallInput, getContractCallInputs, getGasPriceFromEtherscan, getOrFetchStorageSlot, getOrderPlacedFromTx, getPostRequestEventFromTx, getPostResponseEventFromTx, getRequestCommitment, getStateCommitmentFieldSlot, getStateCommitmentSlot, getStorageSlot, getViemChain, hexToString, hyperbridgeAddress, maxBigInt, normalizeAddressForEvmBytes32, normalizeAddressForStateMachine, normalizeEvmChainId, normalizeStateMachineId, orderCommitment, parseStateMachineId, pharosAtlantic, pharosMainnet, polkadotAssetHubPaseo, polkadotHubMainnet, postRequestCommitment, queryAssetTeleported, queryGetRequest, queryPostRequest, quoteUniswap, requestCommitmentKey, responseCommitmentKey, retryPromise, teleport, teleportDot, transformOrderForContract, tronChainIds, tronNile };
|
|
10467
|
+
export { ADDRESS_ZERO, type AllStatusKey, type AssetTeleported, type AssetTeleportedResponse, type AvailableLiquidityByChain, type AvailableLiquiditySnapshot, type Bid, type BidStorageEntry, type BidSubmissionResult, type BlockMetadata, type BridgeParams, type BridgeStep, type BundlerGasEstimate, BundlerMethod, type BytesLikeHex, type CancelEvent, type CancelOptions, type CancelOrderOptions, type CancelQuote, type ChainConfig, type ChainConfigData, ChainConfigService, Chains, type ClientConfig, type ConfiguredAssetSymbol, CryptoUtils, DEFAULT_ADDRESS, DEFAULT_GRAFFITI, DOMAIN_TYPEHASH, DUMMY_PRIVATE_KEY, type DecodedOrderPlacedLog, type DecodedPostRequestEvent, type DecodedPostResponseEvent, type Deployment, type DispatchGet, type DispatchInfo, type DispatchPost, ERC20Method, type ERC7821Call, ERC7821_BATCH_MODE, type EstimateFillOrderParams, type EstimateGasCallData, EvmChain, type EvmChainParams, ABI as EvmHostABI, EvmLanguage, type ExecuteIntentOrderOptions, type ExecutionResult, type FillOptions, type FillOrderEstimate, type FillerBid, type FillerConfig, type GetRequestResponse, type GetRequestWithStatus, type GetResponseByRequestIdResponse, type GetResponseStorageValues, type HexString, type HostParams, HyperClientStatus, HyperFungibleToken, HyperFungibleTokenABI, type HyperbridgeTxEvents, type IBatchConsensusAndGetResponseMessage, type IBatchConsensusAndPostRequestMessage, type IChain, type IConfig, type IConsensusMessage, type IEvmChain, type IEvmConfig, type IGetRequest, type IGetRequestMessage, type IGetResponse, type IGetResponseMessage, type IHyperbridgeConfig, type IIsmpMessage, type IMessage, type IPharosConfig, type IPolkadotHubConfig, type IPostRequest, type IPostResponse, type IProof, type IRequestMessage, type ISubstrateConfig, type ITimeoutPostRequestMessage, type IndexerQueryClient, IntentGateway, ABI$1 as IntentGatewayABI, type IntentGatewayContext, type IntentGatewayParams, IntentOrderStatus, type IntentOrderStatusKey, type IntentOrderStatusUpdate, type IntentQuoteStrategy, type IntentQuoteTradeType, IntentsCoprocessor, InvalidPhantomSnapshotError, IsmpClient, type IsmpRequest, MOCK_ADDRESS, ORDER_V2_PARAM_TYPE, type Order, type OrderResponse, OrderStatus, OrderStatusChecker, type OrderStatusMetadata, type OrderWithStatus, PACKED_USEROP_TYPEHASH, PLACE_ORDER_SELECTOR, type PackedUserOperation, type Params, type PaymentInfo, type PhantomOrderEvent, type PhantomOrderPriceSnapshot, type PhantomOrderPriceSnapshotsResponse, type PhantomSnapshotIntentQuoteMetadata, type PhantomSnapshotQuoteIntentResult, PhantomSnapshotUnavailableError, PharosChain, type PharosChainParams, PolkadotHubChain, type PolkadotHubChainParams, type PollPhantomOrdersOptions, type PostRequestStatus, type PostRequestTimeoutStatus, type PostRequestWithStatus, type QuoteIntentParams, type QuoteIntentResult, type QuoteNativeResult, type QuoteResult, type QuoteUniswapParams, type QuoteUniswapResult, REQUEST_COMMITMENTS_SLOT, REQUEST_RECEIPTS_SLOT, RESPONSE_COMMITMENTS_SLOT, RESPONSE_RECEIPTS_SLOT, type RequestBody, type RequestCommitment, RequestKind, type RequestResponse, RequestStatus, type RequestStatusKey, type RequestStatusWithMetadata, type ResponseCommitmentWithValues, type ResumeIntentOrderOptions, type RetryConfig, SELECT_SOLVER_TYPEHASH, STATE_COMMITMENTS_SLOT, type SelectBidResult, type SelectOptions, type SigningAccount, type StateMachineHeight, type StateMachineId, type StateMachineIdParams, type StateMachineResponse, type StateMachineUpdate, type StorageFacade, type SubmitBidOptions, SubstrateChain, Swap, TESTNET_CHAINS, type TeleportParams, TeleportStatus, TimeoutStatus, type TimeoutStatusKey, TokenGateway, type TokenGatewayAssetTeleportedResponse, type TokenGatewayAssetTeleportedWithStatus, type TokenInfo, type TokenPrice, type TokenPricesResponse, type Transaction, TronChain, type TronChainParams, USE_ETHERSCAN_CHAINS, type UniswapProtocol, type UniswapQuote, type UniswapQuoteToken, type UniswapTradeType, type UniswapV4IntentQuoteMetadata, type UniswapV4IntentQuoteOptions, type UniswapV4PoolConfigData, type UniswapV4PoolKey, type UniswapV4QuoteIntentResult, UnsupportedIntentQuotePairError, UnsupportedIntentQuoteStrategyError, WrappedHyperFungibleTokenABI, type XcmGatewayParams, __test, adjustDecimals, bytes20ToBytes32, bytes32ToBytes20, calculateAllowanceMappingLocation, calculateBalanceMappingLocation, chainConfigs, constructRedeemEscrowRequestBody, constructRefundEscrowRequestBody, convertCodecToIGetRequest, convertCodecToIProof, convertIGetRequestToCodec, convertIProofToCodec, convertStateIdToStateMachineId, convertStateMachineEnumToString, convertStateMachineIdToEnum, createEvmChain, createQueryClient, decodeERC7821ExecuteBatch, decodeUserOpScale, encodeERC7821ExecuteBatch, encodeISMPMessage, encodeStateMachineId, encodeUserOpScale, encodeWithdrawalRequest, estimateGasForPost, fetchPrice, fetchSourceProof, generateRootWithProof, getChainId, getConfigByStateMachineId, getContractCallInput, getContractCallInputs, getGasPriceFromEtherscan, getOrFetchStorageSlot, getOrderPlacedFromTx, getPostRequestEventFromTx, getPostResponseEventFromTx, getRequestCommitment, getStateCommitmentFieldSlot, getStateCommitmentSlot, getStorageSlot, getViemChain, hexToString, hyperbridgeAddress, maxBigInt, normalizeAddressForEvmBytes32, normalizeAddressForStateMachine, normalizeEvmAddress, normalizeEvmChainId, normalizeStateMachineId, orderCommitment, parseStateMachineId, pharosAtlantic, pharosMainnet, polkadotAssetHubPaseo, polkadotHubMainnet, postRequestCommitment, queryAssetTeleported, queryGetRequest, queryPostRequest, quoteUniswap, requestCommitmentKey, responseCommitmentKey, retryPromise, teleport, teleportDot, transformOrderForContract, tronChainIds, tronNile };
|