@hyperbridge/sdk 2.8.17 → 2.8.18
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 +12 -21
- package/dist/browser/index.js +11 -25
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.cjs +10 -25
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +12 -21
- package/dist/node/index.d.ts +12 -21
- package/dist/node/index.js +11 -25
- package/dist/node/index.js.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -5182,6 +5182,10 @@ interface QuoteIntentResult {
|
|
|
5182
5182
|
amountIn: bigint;
|
|
5183
5183
|
/** The destination's protocol fee in basis points, already taken off every leg's `amountOut`. */
|
|
5184
5184
|
slippageBps: number;
|
|
5185
|
+
/**
|
|
5186
|
+
* False when the route cannot fill the trade: `legs` is empty and `maxFillableIn` says how much
|
|
5187
|
+
* it could. For an exact output, `amountIn` is then the input the SDK last tried.
|
|
5188
|
+
*/
|
|
5185
5189
|
fillable: boolean;
|
|
5186
5190
|
/** The largest `amountIn` the route's orders could take together, each at its own price. */
|
|
5187
5191
|
maxFillableIn: bigint;
|
|
@@ -5207,6 +5211,11 @@ interface PessimisticQuoteIntentResult {
|
|
|
5207
5211
|
priceBucket: bigint | null;
|
|
5208
5212
|
/** The destination's protocol fee in basis points, already taken off `amountOut`. */
|
|
5209
5213
|
slippageBps: number;
|
|
5214
|
+
/**
|
|
5215
|
+
* False when the route cannot fill the trade: `amountOut` is 0, `rate` and `priceBucket` are
|
|
5216
|
+
* null, and `maxFillableIn` says how much it could. For an exact output, `amountIn` is then the
|
|
5217
|
+
* input the SDK last tried.
|
|
5218
|
+
*/
|
|
5210
5219
|
fillable: boolean;
|
|
5211
5220
|
/** The largest `amountIn` this quote could fill: any one level at its worst price, or the whole route at its worst. */
|
|
5212
5221
|
maxFillableIn: bigint;
|
|
@@ -5288,25 +5297,6 @@ declare class OrderbookQuoteNotConvergedError extends Error {
|
|
|
5288
5297
|
/** The last input quoted, in the source token's raw units. */
|
|
5289
5298
|
lastAmountIn: bigint);
|
|
5290
5299
|
}
|
|
5291
|
-
/** The orderbook cannot fill the requested amount on this route. */
|
|
5292
|
-
declare class InsufficientOrderbookLiquidityError extends Error {
|
|
5293
|
-
readonly route: {
|
|
5294
|
-
tokenIn: string;
|
|
5295
|
-
tokenOut: string;
|
|
5296
|
-
sourceChain: string;
|
|
5297
|
-
destinationChain: string;
|
|
5298
|
-
};
|
|
5299
|
-
/** The largest `amountIn` the route can fill, in the source token's raw units. */
|
|
5300
|
-
readonly maxFillableIn: bigint;
|
|
5301
|
-
constructor(route: {
|
|
5302
|
-
tokenIn: string;
|
|
5303
|
-
tokenOut: string;
|
|
5304
|
-
sourceChain: string;
|
|
5305
|
-
destinationChain: string;
|
|
5306
|
-
},
|
|
5307
|
-
/** The largest `amountIn` the route can fill, in the source token's raw units. */
|
|
5308
|
-
maxFillableIn: bigint);
|
|
5309
|
-
}
|
|
5310
5300
|
|
|
5311
5301
|
/**
|
|
5312
5302
|
* High-level facade for the IntentGatewayV2 protocol.
|
|
@@ -5416,9 +5406,10 @@ declare class IntentGateway {
|
|
|
5416
5406
|
*
|
|
5417
5407
|
* Every `amountOut` already has the destination's protocol fee taken off. For
|
|
5418
5408
|
* an exact output, the quote is for an input that delivers `amountOut`. A
|
|
5409
|
+
* route that cannot fill the trade returns the orderbook's quote with
|
|
5410
|
+
* `fillable: false` and its `maxFillableIn`, rather than throwing. A
|
|
5419
5411
|
* cross-chain route only counts orders whose solvers accept the source chain.
|
|
5420
5412
|
*
|
|
5421
|
-
* @throws {InsufficientOrderbookLiquidityError} When the route cannot fill the amount.
|
|
5422
5413
|
* @throws {OrderbookQuoteNotConvergedError} When an exact-output quote does not settle on an input.
|
|
5423
5414
|
* @throws {OrderbookRequestError} When the orderbook is unreachable or trades no book for the pair.
|
|
5424
5415
|
*/
|
|
@@ -11567,4 +11558,4 @@ declare function teleport(teleport_param: {
|
|
|
11567
11558
|
extrinsics?: Array<SubmittableExtrinsic<"promise", ISubmittableResult>>;
|
|
11568
11559
|
}): Promise<ReadableStream<HyperbridgeTxEvents>>;
|
|
11569
11560
|
|
|
11570
|
-
export { ADDRESS_ZERO, type AllStatusKey, type AssetTeleported, type AssetTeleportedResponse, type AvailableLiquidity, type Bid, type BidStorageEntry, type BidSubmissionResult, type BlockMetadata, type BridgeParams, type BridgeStep, type BundlerGasEstimate, BundlerMethod, type BuyAndSellRates, type BytesLikeHex, CONTRACT_VERSION_ABI, type CancelEvent, type CancelOptions, type CancelOrderOptions, type CancelQuote, type ChainConfig, type ChainConfigData, ChainConfigService, Chains, type ClientConfig, type ConfiguredAssetSymbol, type ConfiguredAssetSymbolInput, CryptoUtils, DEFAULT_ADDRESS, DEFAULT_GRAFFITI, DOMAIN_TYPEHASH, DUMMY_PRIVATE_KEY, type DecodedFillOrder, type DecodedOrderPlacedLog, type DecodedPostRequestEvent, type DecodedPostResponseEvent, type Deployment, type DispatchGet, type DispatchInfo, type DispatchPost, ERC20Method, type ERC7821Call, ERC7821_BATCH_MODE, type Erc4626VaultConfigData, type EstimateFillOrderParams, type EstimateGasCallData, EvmChain, type EvmChainParams, ABI as EvmHostABI, EvmLanguage, type ExecuteIntentOrderOptions, type ExecutionResult, FILL_ORDER_SELECTOR, type FillOptions, type FillOrderEstimate, type FillerBid, type FillerConfig, type GetRequestResponse, type GetRequestWithStatus, type GetResponseByRequestIdResponse, type GetResponseStorageValues, type HexString$1 as HexString, type HostParams, HyperClientStatus, HyperFungibleToken, HyperFungibleTokenABI, HyperFxOrderbook, 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, INCLUSION_TIMEOUT_MS, type IPharosConfig, type IPolkadotHubConfig, type IPostRequest, type IPostResponse, type IProof, type IRequestMessage, type ISubstrateConfig, type ITimeoutPostRequestMessage, type IndexerQueryClient,
|
|
11561
|
+
export { ADDRESS_ZERO, type AllStatusKey, type AssetTeleported, type AssetTeleportedResponse, type AvailableLiquidity, type Bid, type BidStorageEntry, type BidSubmissionResult, type BlockMetadata, type BridgeParams, type BridgeStep, type BundlerGasEstimate, BundlerMethod, type BuyAndSellRates, type BytesLikeHex, CONTRACT_VERSION_ABI, type CancelEvent, type CancelOptions, type CancelOrderOptions, type CancelQuote, type ChainConfig, type ChainConfigData, ChainConfigService, Chains, type ClientConfig, type ConfiguredAssetSymbol, type ConfiguredAssetSymbolInput, CryptoUtils, DEFAULT_ADDRESS, DEFAULT_GRAFFITI, DOMAIN_TYPEHASH, DUMMY_PRIVATE_KEY, type DecodedFillOrder, type DecodedOrderPlacedLog, type DecodedPostRequestEvent, type DecodedPostResponseEvent, type Deployment, type DispatchGet, type DispatchInfo, type DispatchPost, ERC20Method, type ERC7821Call, ERC7821_BATCH_MODE, type Erc4626VaultConfigData, type EstimateFillOrderParams, type EstimateGasCallData, EvmChain, type EvmChainParams, ABI as EvmHostABI, EvmLanguage, type ExecuteIntentOrderOptions, type ExecutionResult, FILL_ORDER_SELECTOR, type FillOptions, type FillOrderEstimate, type FillerBid, type FillerConfig, type GetRequestResponse, type GetRequestWithStatus, type GetResponseByRequestIdResponse, type GetResponseStorageValues, type HexString$1 as HexString, type HostParams, HyperClientStatus, HyperFungibleToken, HyperFungibleTokenABI, HyperFxOrderbook, 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, INCLUSION_TIMEOUT_MS, 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 IntentQuoteLeg, IntentsCoprocessor, IsmpClient, type IsmpRequest, MAX_DECLARED_ENTRIES, MOCK_ADDRESS, ORDERBOOK_DECIMALS, ORDERBOOK_QUERIES, ORDERBOOK_URLS, ORDER_V2_PARAM_TYPE, type Order, type OrderFeesQuote, type OrderResponse, OrderStatus, OrderStatusChecker, type OrderStatusMetadata, type OrderWithStatus, type OrderbookBook, type OrderbookLevelQuote, type OrderbookQuoteFill, OrderbookQuoteNotConvergedError, type OrderbookRate, OrderbookRequestError, type OrderbookRoute, type OrderbookRouteKind, type OrderbookRouteLiquidity, type OrderbookSide, type OrderbookSwapQuote, type OrderbookTopOfBook, PACKED_USEROP_TYPEHASH, PERMIT2_SPONSORSHIP_BYTES, PLACE_ORDER_SELECTOR, type PackedUserOperation, type Params, type PaymentInfo, type PessimisticQuoteIntentResult, type PhantomBidDeclaration, type PhantomBidPaymasterAndData, type PhantomBidSponsorship, PharosChain, type PharosChainParams, PolkadotHubChain, type PolkadotHubChainParams, type PostRequestStatus, type PostRequestTimeoutStatus, type PostRequestWithStatus, type QueryBuyAndSellRatesParams, 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 RateFillPreview, type RequestBody, type RequestCommitment, RequestKind, type RequestResponse, RequestStatus, type RequestStatusKey, type RequestStatusWithMetadata, type ResponseCommitmentWithValues, type ResumeIntentOrderOptions, type RetryConfig, type RpcBidInfo, SELECT_SOLVER_TYPEHASH, STATE_COMMITMENTS_SLOT, SUPPORTED_INTENTS_VERSION, 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, UnsupportedLiquidityAssetError, UnsupportedLiquidityChainError, WrappedHyperFungibleTokenABI, type XcmGatewayParams, __test, adjustDecimals, assertGatewayRelease, bytes20ToBytes32, bytes32ToBytes20, calculateAllowanceMappingLocation, calculateBalanceMappingLocation, chainConfigs, constructRedeemEscrowRequestBody, constructRefundEscrowRequestBody, convertCodecToIGetRequest, convertCodecToIProof, convertIGetRequestToCodec, convertIProofToCodec, convertStateIdToStateMachineId, convertStateMachineEnumToString, convertStateMachineIdToEnum, createEvmChain, createQueryClient, decodeAcceptedSourceChains, decodeERC7821ExecuteBatch, decodeFillOrder, decodePhantomBidDeclaration, decodePhantomBidPaymasterAndData, decodeUserOpScale, deriveHttpUrl, encodeAcceptedSourceChains, encodeERC7821ExecuteBatch, encodeFillOrder, encodeISMPMessage, encodePhantomBidDeclaration, encodePhantomBidPaymasterAndData, encodeStateMachineId, encodeUserOpScale, encodeWithdrawalRequest, estimateGasForPost, fetchPrice, fetchSourceProof, generateRootWithProof, getChainId, getConfigByStateMachineId, getContractCallInput, getContractCallInputs, getGasPriceFromEtherscan, getOrFetchStorageSlot, getOrderPlacedFromTx, getPostRequestEventFromTx, getPostResponseEventFromTx, getRequestCommitment, getStateCommitmentFieldSlot, getStateCommitmentSlot, getStorageSlot, getViemChain, hexToString, hyperbridgeAddress, isCanonicalEvmToken, maxBigInt, normalizeAddressForEvmBytes32, normalizeAddressForStateMachine, normalizeEvmAddress, normalizeEvmChainId, normalizeStateMachineId, orderCommitment, orderbookUrlFor, parseStateMachineId, pharosAtlantic, pharosMainnet, polkadotAssetHubPaseo, polkadotHubMainnet, poolSlug, postRequestCommitment, previewRateFill, queryAssetTeleported, queryGetRequest, queryPostRequest, quoteUniswap, readLegEscrow, readLegPartialFill, requestCommitmentKey, responseCommitmentKey, retryPromise, sortPoolSymbols, supportsRateFills, teleport, teleportDot, transformOrderForContract, tronChainIds, tronNile };
|
package/dist/browser/index.js
CHANGED
|
@@ -19010,18 +19010,6 @@ var OrderbookQuoteNotConvergedError = class extends Error {
|
|
|
19010
19010
|
rounds;
|
|
19011
19011
|
lastAmountIn;
|
|
19012
19012
|
};
|
|
19013
|
-
var InsufficientOrderbookLiquidityError = class extends Error {
|
|
19014
|
-
constructor(route, maxFillableIn) {
|
|
19015
|
-
super(
|
|
19016
|
-
`The HyperFX orderbook cannot fill ${route.tokenIn} -> ${route.tokenOut} on ${route.sourceChain} -> ${route.destinationChain}; max fillable input is ${maxFillableIn} raw units`
|
|
19017
|
-
);
|
|
19018
|
-
this.route = route;
|
|
19019
|
-
this.maxFillableIn = maxFillableIn;
|
|
19020
|
-
this.name = "InsufficientOrderbookLiquidityError";
|
|
19021
|
-
}
|
|
19022
|
-
route;
|
|
19023
|
-
maxFillableIn;
|
|
19024
|
-
};
|
|
19025
19013
|
|
|
19026
19014
|
// src/protocols/intents/orderbook/market.ts
|
|
19027
19015
|
var MAX_EXACT_OUTPUT_ROUNDS = 16;
|
|
@@ -19077,8 +19065,9 @@ var OrderbookMarket = class {
|
|
|
19077
19065
|
};
|
|
19078
19066
|
}
|
|
19079
19067
|
/**
|
|
19080
|
-
* The
|
|
19081
|
-
* exact output, with the assets it trades.
|
|
19068
|
+
* The orderbook's quote for an exact input, or for the input found to deliver
|
|
19069
|
+
* an exact output, with the assets it trades. A route that cannot fill the
|
|
19070
|
+
* trade answers with an unfillable quote rather than an error.
|
|
19082
19071
|
*/
|
|
19083
19072
|
async priceIntent(params, sourceChain, destinationChain, price, totals) {
|
|
19084
19073
|
validateQuoteParams(params);
|
|
@@ -19087,10 +19076,7 @@ var OrderbookMarket = class {
|
|
|
19087
19076
|
const route = toRoute(tokenIn, tokenOut);
|
|
19088
19077
|
if (params.amountIn !== void 0) {
|
|
19089
19078
|
const quote2 = await price(route, toOrderbookAmount(params.amountIn, tokenIn.decimals));
|
|
19090
|
-
|
|
19091
|
-
if (!fillable || fromOrderbookAmount(amountOut, tokenOut.decimals) === 0n) {
|
|
19092
|
-
throw this.insufficient(route, maxFillableIn, tokenIn);
|
|
19093
|
-
}
|
|
19079
|
+
totals(quote2);
|
|
19094
19080
|
return { quote: quote2, tokenIn, tokenOut };
|
|
19095
19081
|
}
|
|
19096
19082
|
const targetOut = toOrderbookAmount(params.amountOut, tokenOut.decimals);
|
|
@@ -19152,18 +19138,21 @@ var OrderbookMarket = class {
|
|
|
19152
19138
|
* filled better than its worst rate and re-pricing the rest of `targetOut` at
|
|
19153
19139
|
* the input-to-output ratio that part filled at, until a quote delivers it.
|
|
19154
19140
|
* That ratio is the orderbook's own, with the protocol fee already taken off.
|
|
19141
|
+
*
|
|
19142
|
+
* An output the route cannot deliver is answered by quoting an input past its
|
|
19143
|
+
* `maxFillableIn`, which the orderbook serves as unfillable: the smallest such
|
|
19144
|
+
* input guessed from the best rate, or one raw unit when no order serves it.
|
|
19155
19145
|
*/
|
|
19156
19146
|
async quoteExactOutput(route, targetOut, tokenIn, price, totals) {
|
|
19157
19147
|
const liquidity = await this.orderbook().routeLiquidity(route);
|
|
19158
|
-
if (liquidity.bestRate === null) throw this.insufficient(route, 0n, tokenIn);
|
|
19159
19148
|
const inputUnit = toOrderbookAmount(1n, tokenIn.decimals);
|
|
19160
|
-
let amountIn = roundUpTo(requiredInput(liquidity.side, targetOut, liquidity.bestRate), inputUnit);
|
|
19149
|
+
let amountIn = liquidity.bestRate === null ? inputUnit : roundUpTo(requiredInput(liquidity.side, targetOut, liquidity.bestRate), inputUnit);
|
|
19161
19150
|
let lastAmountIn = amountIn;
|
|
19162
19151
|
for (let round = 0; round < MAX_EXACT_OUTPUT_ROUNDS; round++) {
|
|
19163
|
-
if (amountIn > liquidity.maxFillableIn) throw this.insufficient(route, liquidity.maxFillableIn, tokenIn);
|
|
19164
19152
|
const served = await price(route, amountIn);
|
|
19165
19153
|
const quote = totals(served);
|
|
19166
19154
|
if (quote.fillable && quote.amountOut >= targetOut) return served;
|
|
19155
|
+
if (!quote.fillable && amountIn > liquidity.maxFillableIn) return served;
|
|
19167
19156
|
lastAmountIn = amountIn;
|
|
19168
19157
|
const betterIn = quote.amountIn - quote.worstIn;
|
|
19169
19158
|
const betterOut = quote.amountOut - quote.worstOut;
|
|
@@ -19176,9 +19165,6 @@ var OrderbookMarket = class {
|
|
|
19176
19165
|
fromOrderbookAmount(lastAmountIn, tokenIn.decimals)
|
|
19177
19166
|
);
|
|
19178
19167
|
}
|
|
19179
|
-
insufficient(route, maxFillableIn, tokenIn) {
|
|
19180
|
-
return new InsufficientOrderbookLiquidityError(route, fromOrderbookAmount(maxFillableIn, tokenIn.decimals));
|
|
19181
|
-
}
|
|
19182
19168
|
assetByAddress(chain, address) {
|
|
19183
19169
|
const resolvedChain = resolveChain(chain);
|
|
19184
19170
|
return withDecimals(
|
|
@@ -24708,6 +24694,6 @@ async function teleportDot(param_) {
|
|
|
24708
24694
|
return stream;
|
|
24709
24695
|
}
|
|
24710
24696
|
|
|
24711
|
-
export { ADDRESS_ZERO2 as ADDRESS_ZERO, BundlerMethod, CONTRACT_VERSION_ABI, ChainConfigService, Chains, CryptoUtils, DEFAULT_ADDRESS, DEFAULT_GRAFFITI, DOMAIN_TYPEHASH, DUMMY_PRIVATE_KEY, ERC20Method, ERC7821_BATCH_MODE, EvmChain, ABI as EvmHostABI, EvmLanguage, FILL_ORDER_SELECTOR, HyperClientStatus, HyperFungibleToken, HyperFungibleTokenABI, HyperFxOrderbook, INCLUSION_TIMEOUT_MS,
|
|
24697
|
+
export { ADDRESS_ZERO2 as ADDRESS_ZERO, BundlerMethod, CONTRACT_VERSION_ABI, ChainConfigService, Chains, CryptoUtils, DEFAULT_ADDRESS, DEFAULT_GRAFFITI, DOMAIN_TYPEHASH, DUMMY_PRIVATE_KEY, ERC20Method, ERC7821_BATCH_MODE, EvmChain, ABI as EvmHostABI, EvmLanguage, FILL_ORDER_SELECTOR, HyperClientStatus, HyperFungibleToken, HyperFungibleTokenABI, HyperFxOrderbook, INCLUSION_TIMEOUT_MS, IntentGateway, ABI3 as IntentGatewayABI, IntentOrderStatus, IntentsCoprocessor, IsmpClient, MAX_DECLARED_ENTRIES, MOCK_ADDRESS, ORDERBOOK_DECIMALS, ORDERBOOK_QUERIES, ORDERBOOK_URLS, ORDER_V2_PARAM_TYPE, OrderStatus, OrderStatusChecker, OrderbookQuoteNotConvergedError, OrderbookRequestError, PACKED_USEROP_TYPEHASH, PERMIT2_SPONSORSHIP_BYTES, PLACE_ORDER_SELECTOR, PharosChain, PolkadotHubChain, REQUEST_COMMITMENTS_SLOT, REQUEST_RECEIPTS_SLOT, RESPONSE_COMMITMENTS_SLOT, RESPONSE_RECEIPTS_SLOT, RequestKind, RequestStatus, SELECT_SOLVER_TYPEHASH, STATE_COMMITMENTS_SLOT, SUPPORTED_INTENTS_VERSION, SubstrateChain, Swap, TESTNET_CHAINS, TeleportStatus, TimeoutStatus, TokenGateway, TronChain, USE_ETHERSCAN_CHAINS, UnsupportedLiquidityAssetError, UnsupportedLiquidityChainError, WrappedHyperFungibleTokenABI, __test, adjustDecimals, assertGatewayRelease, bytes20ToBytes32, bytes32ToBytes20, calculateAllowanceMappingLocation, calculateBalanceMappingLocation, chainConfigs, constructRedeemEscrowRequestBody, constructRefundEscrowRequestBody, convertCodecToIGetRequest, convertCodecToIProof, convertIGetRequestToCodec, convertIProofToCodec, convertStateIdToStateMachineId, convertStateMachineEnumToString, convertStateMachineIdToEnum, createEvmChain, createQueryClient, decodeAcceptedSourceChains, decodeERC7821ExecuteBatch, decodeFillOrder, decodePhantomBidDeclaration, decodePhantomBidPaymasterAndData, decodeUserOpScale, deriveHttpUrl, encodeAcceptedSourceChains, encodeERC7821ExecuteBatch, encodeFillOrder, encodeISMPMessage, encodePhantomBidDeclaration, encodePhantomBidPaymasterAndData, encodeStateMachineId, encodeUserOpScale, encodeWithdrawalRequest, estimateGasForPost, fetchPrice, fetchSourceProof, generateRootWithProof, getChainId, getConfigByStateMachineId, getContractCallInput, getContractCallInputs, getGasPriceFromEtherscan, getOrFetchStorageSlot, getOrderPlacedFromTx, getPostRequestEventFromTx, getPostResponseEventFromTx, getRequestCommitment, getStateCommitmentFieldSlot, getStateCommitmentSlot, getStorageSlot, getViemChain, hexToString, hyperbridgeAddress, isCanonicalEvmToken, maxBigInt, normalizeAddressForEvmBytes32, normalizeAddressForStateMachine, normalizeEvmAddress, normalizeEvmChainId, normalizeStateMachineId, orderCommitment, orderbookUrlFor, parseStateMachineId, pharosAtlantic, pharosMainnet, polkadotAssetHubPaseo, polkadotHubMainnet, poolSlug, postRequestCommitment, previewRateFill, queryAssetTeleported, queryGetRequest, queryPostRequest, quoteUniswap, readLegEscrow, readLegPartialFill, requestCommitmentKey, responseCommitmentKey, retryPromise, sortPoolSymbols, supportsRateFills, teleport, teleportDot, transformOrderForContract, tronChainIds, tronNile };
|
|
24712
24698
|
//# sourceMappingURL=index.js.map
|
|
24713
24699
|
//# sourceMappingURL=index.js.map
|