@hyperbridge/sdk 2.8.16 → 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 +144 -67
- package/dist/browser/index.js +150 -87
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.cjs +149 -87
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +141 -64
- package/dist/node/index.d.ts +141 -64
- package/dist/node/index.js +150 -87
- package/dist/node/index.js.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -5012,8 +5012,10 @@ interface OrderbookRouteLiquidity {
|
|
|
5012
5012
|
book: OrderbookBook;
|
|
5013
5013
|
/** `BID` when tokenIn is the book's base, `ASK` when it is the quote. */
|
|
5014
5014
|
side: OrderbookSide;
|
|
5015
|
-
/** Quote per 1 base; null when no order serves the route. */
|
|
5015
|
+
/** Quote per 1 base, before the protocol fee; null when no order serves the route. */
|
|
5016
5016
|
bestRate: bigint | null;
|
|
5017
|
+
/** The destination chain's protocol fee in basis points, which the gateway takes out of what the orders deliver. */
|
|
5018
|
+
slippageBps: number;
|
|
5017
5019
|
/** Virtual depth: the serving orders' sizes summed, in tokenIn and tokenOut. */
|
|
5018
5020
|
depthIn: bigint;
|
|
5019
5021
|
depthOut: bigint;
|
|
@@ -5024,27 +5026,56 @@ interface OrderbookRouteLiquidity {
|
|
|
5024
5026
|
orderCount: number;
|
|
5025
5027
|
solverCount: number;
|
|
5026
5028
|
}
|
|
5027
|
-
/**
|
|
5029
|
+
/** One order an optimistic quote takes, at the order's own price. Amounts and rates at 1e18. */
|
|
5030
|
+
interface OrderbookQuoteFill {
|
|
5031
|
+
/** The order's full advertised size, not just the part this fill takes. */
|
|
5032
|
+
advertisedSize: bigint;
|
|
5033
|
+
/** The order's own price, quote per 1 base, before the protocol fee: what this fill settles at. */
|
|
5034
|
+
orderRate: bigint;
|
|
5035
|
+
/** The tokenIn this fill takes, in whole raw units on the source chain. */
|
|
5036
|
+
amountIn: bigint;
|
|
5037
|
+
/** The tokenOut this fill delivers, after the protocol fee, floored to a whole raw unit on the destination chain. */
|
|
5038
|
+
amountOut: bigint;
|
|
5039
|
+
}
|
|
5040
|
+
/**
|
|
5041
|
+
* An optimistic quote for an input amount on a route: the trade split across the route's orders,
|
|
5042
|
+
* best price first, each at its own price. There is no one rate and no total output; the fills are
|
|
5043
|
+
* the quote. Amounts and rates at 1e18.
|
|
5044
|
+
*/
|
|
5028
5045
|
interface OrderbookSwapQuote {
|
|
5029
5046
|
route: OrderbookRouteKind;
|
|
5030
5047
|
side: OrderbookSide;
|
|
5031
5048
|
/** The tokenIn priced, floored to a whole raw unit on the source chain. */
|
|
5032
5049
|
amountIn: bigint;
|
|
5033
|
-
/** The
|
|
5050
|
+
/** The destination chain's protocol fee in basis points, already taken off every fill's `amountOut`. */
|
|
5051
|
+
slippageBps: number;
|
|
5052
|
+
fillable: boolean;
|
|
5053
|
+
/** The largest tokenIn amount the route's orders could take together, each at its own price. */
|
|
5054
|
+
maxFillableIn: bigint;
|
|
5055
|
+
/** The orders used, best price first; empty when not fillable. */
|
|
5056
|
+
fills: OrderbookQuoteFill[];
|
|
5057
|
+
}
|
|
5058
|
+
/**
|
|
5059
|
+
* A pessimistic quote for an input amount on a route: one price, from the first level, best first,
|
|
5060
|
+
* deep enough to fill the whole trade by itself, or else the route's worst price when its levels
|
|
5061
|
+
* together can. Amounts and rates at 1e18.
|
|
5062
|
+
*/
|
|
5063
|
+
interface OrderbookLevelQuote {
|
|
5064
|
+
route: OrderbookRouteKind;
|
|
5065
|
+
side: OrderbookSide;
|
|
5066
|
+
/** The tokenIn priced, floored to a whole raw unit on the source chain. */
|
|
5067
|
+
amountIn: bigint;
|
|
5068
|
+
/** The tokenOut delivered at `rate`, after the protocol fee, floored to a whole raw unit on the destination chain; 0 when not fillable. */
|
|
5034
5069
|
amountOut: bigint;
|
|
5035
|
-
/** The
|
|
5070
|
+
/** The worst single-order price in the level that fills it, quote per 1 base, before the protocol fee; null when not fillable. */
|
|
5036
5071
|
rate: bigint | null;
|
|
5072
|
+
/** The price bucket of that level; null when not fillable. */
|
|
5073
|
+
priceBucket: bigint | null;
|
|
5074
|
+
/** The destination chain's protocol fee in basis points, already taken off `amountOut`. */
|
|
5075
|
+
slippageBps: number;
|
|
5037
5076
|
fillable: boolean;
|
|
5038
|
-
/** The tokenIn
|
|
5039
|
-
depth: bigint;
|
|
5040
|
-
/** The largest tokenIn amount the route could fill. */
|
|
5077
|
+
/** The largest tokenIn amount this quote could fill: any one level at its worst price, or the whole route at its worst. */
|
|
5041
5078
|
maxFillableIn: bigint;
|
|
5042
|
-
/** The orders used, best first. */
|
|
5043
|
-
fills: {
|
|
5044
|
-
orderRate: bigint;
|
|
5045
|
-
amountOut: bigint;
|
|
5046
|
-
advertisedSize: bigint;
|
|
5047
|
-
}[];
|
|
5048
5079
|
}
|
|
5049
5080
|
/** The best bid and ask a route can reach, with the book that orients them. */
|
|
5050
5081
|
interface OrderbookTopOfBook {
|
|
@@ -5061,8 +5092,9 @@ declare class OrderbookRequestError extends Error {
|
|
|
5061
5092
|
/** Every document the client sends, so they can be checked against the orderbook's published schema. */
|
|
5062
5093
|
declare const ORDERBOOK_QUERIES: {
|
|
5063
5094
|
readonly topOfBook: "\nquery TopOfBook($tokenA: String!, $tokenB: String!, $fillChain: String!, $sourceChain: String!) {\n books { id base quote }\n aToB: bestRate(tokenIn: $tokenA, tokenOut: $tokenB, fillChain: $fillChain, sourceChain: $sourceChain) { side fillChain rate depthIn depthOut backingLiquidity sourceChains orderCount solverCount }\n bToA: bestRate(tokenIn: $tokenB, tokenOut: $tokenA, fillChain: $fillChain, sourceChain: $sourceChain) { side fillChain rate depthIn depthOut backingLiquidity sourceChains orderCount solverCount }\n}";
|
|
5064
|
-
readonly routeLiquidity: "\nquery RouteLiquidity($route: RouteInput!) {\n books { id base quote }\n routeLiquidity(route: $route) {\n route bestRate depthIn depthOut availableLiquidity maxFillableIn orderCount solverCount\n }\n}";
|
|
5065
|
-
readonly quote: "\nquery Quote($route: RouteInput!, $amountIn: BigInt!) {\n quote(route: $route, amountIn: $amountIn) {\n route side amountIn
|
|
5095
|
+
readonly routeLiquidity: "\nquery RouteLiquidity($route: RouteInput!) {\n books { id base quote }\n routeLiquidity(route: $route) {\n route bestRate slippageBps depthIn depthOut availableLiquidity maxFillableIn orderCount solverCount\n }\n}";
|
|
5096
|
+
readonly quote: "\nquery Quote($route: RouteInput!, $amountIn: BigInt!) {\n quote(route: $route, amountIn: $amountIn) {\n route side amountIn slippageBps fillable maxFillableIn\n fills { advertisedSize orderRate amountIn amountOut }\n }\n}";
|
|
5097
|
+
readonly quotePessimistic: "\nquery QuotePessimistic($route: RouteInput!, $amountIn: BigInt!) {\n quotePessimistic(route: $route, amountIn: $amountIn) {\n route side amountIn amountOut rate priceBucket slippageBps fillable maxFillableIn\n }\n}";
|
|
5066
5098
|
};
|
|
5067
5099
|
/**
|
|
5068
5100
|
* Read-only client for the HyperFX orderbook's GraphQL API.
|
|
@@ -5087,12 +5119,20 @@ declare class HyperFxOrderbook {
|
|
|
5087
5119
|
}): Promise<OrderbookTopOfBook>;
|
|
5088
5120
|
/** Total liquidity on a route, no amount required. */
|
|
5089
5121
|
routeLiquidity(route: OrderbookRoute): Promise<OrderbookRouteLiquidity>;
|
|
5090
|
-
/**
|
|
5122
|
+
/**
|
|
5123
|
+
* The optimistic quote for `amountIn` (1e18 tokenIn) on a route: the route's orders, best price
|
|
5124
|
+
* first, each taking what it can at its own price. The fills' `amountOut`s sum to the output.
|
|
5125
|
+
*/
|
|
5091
5126
|
quote(route: OrderbookRoute, amountIn: bigint): Promise<OrderbookSwapQuote>;
|
|
5127
|
+
/**
|
|
5128
|
+
* The pessimistic quote for `amountIn` (1e18 tokenIn) on a route: one price, from the first level
|
|
5129
|
+
* deep enough to fill the whole trade by itself, at which every order in it fills; the route's
|
|
5130
|
+
* worst price when no one level can but its levels together can.
|
|
5131
|
+
*/
|
|
5132
|
+
quotePessimistic(route: OrderbookRoute, amountIn: bigint): Promise<OrderbookLevelQuote>;
|
|
5092
5133
|
private request;
|
|
5093
5134
|
}
|
|
5094
5135
|
|
|
5095
|
-
type IntentQuoteTradeType = "EXACT_INPUT" | "EXACT_OUTPUT";
|
|
5096
5136
|
/**
|
|
5097
5137
|
* Parameters for `IntentGateway.quoteIntent`. The source and destination chains
|
|
5098
5138
|
* come from the gateway instance itself. `tokenIn` and `tokenOut` are token
|
|
@@ -5106,35 +5146,79 @@ interface QuoteIntentParams {
|
|
|
5106
5146
|
tokenOut: HexString$1;
|
|
5107
5147
|
amountIn?: bigint;
|
|
5108
5148
|
amountOut?: bigint;
|
|
5149
|
+
/**
|
|
5150
|
+
* Return the orderbook's optimistic quote (`QuoteIntentResult`): one leg per
|
|
5151
|
+
* order, each at its own price. Defaults to the pessimistic quote
|
|
5152
|
+
* (`PessimisticQuoteIntentResult`): the whole trade at one price.
|
|
5153
|
+
*/
|
|
5154
|
+
optimistic?: boolean;
|
|
5109
5155
|
}
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5156
|
+
/**
|
|
5157
|
+
* One order an optimistic intent quote takes, at the order's own price. Amounts
|
|
5158
|
+
* are raw token units; the rate stays at 1e18.
|
|
5159
|
+
*/
|
|
5160
|
+
interface IntentQuoteLeg {
|
|
5161
|
+
/** The order's full advertised size in `tokenOut`, not just the part this leg takes. */
|
|
5162
|
+
advertisedSize: bigint;
|
|
5163
|
+
/** The order's own price, quote per 1 base at 1e18, before the protocol fee: what this leg settles at. */
|
|
5164
|
+
orderRate: bigint;
|
|
5165
|
+
/** The `tokenIn` this leg takes. The legs' inputs sum to the quote's `amountIn`. */
|
|
5166
|
+
amountIn: bigint;
|
|
5167
|
+
/** The `tokenOut` this leg delivers, with the destination's protocol fee already taken off. */
|
|
5168
|
+
amountOut: bigint;
|
|
5169
|
+
}
|
|
5170
|
+
/**
|
|
5171
|
+
* `quoteIntent`'s result with `optimistic: true`, the orderbook's optimistic `quote`: the trade split across the
|
|
5172
|
+
* route's orders, best price first, each at its own price. There is no single
|
|
5173
|
+
* rate or total output; the legs are the quote, and their `amountOut`s sum to
|
|
5174
|
+
* what the order should require. Amounts are raw token units.
|
|
5175
|
+
*/
|
|
5176
|
+
interface QuoteIntentResult {
|
|
5113
5177
|
/** `SAME_CHAIN`, or `CROSS_CHAIN` when only orders accepting the source chain can fill it. */
|
|
5114
5178
|
route: OrderbookRouteKind;
|
|
5115
5179
|
/** `BID` when the order sells the book's base token, `ASK` when it buys it. */
|
|
5116
5180
|
side: OrderbookSide;
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
/** The
|
|
5120
|
-
|
|
5121
|
-
/**
|
|
5181
|
+
/** The `tokenIn` priced: the requested input, or the input found to deliver the requested output. */
|
|
5182
|
+
amountIn: bigint;
|
|
5183
|
+
/** The destination's protocol fee in basis points, already taken off every leg's `amountOut`. */
|
|
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
|
+
*/
|
|
5189
|
+
fillable: boolean;
|
|
5190
|
+
/** The largest `amountIn` the route's orders could take together, each at its own price. */
|
|
5122
5191
|
maxFillableIn: bigint;
|
|
5123
|
-
/**
|
|
5124
|
-
|
|
5192
|
+
/** The orders used, best price first. */
|
|
5193
|
+
legs: IntentQuoteLeg[];
|
|
5125
5194
|
}
|
|
5126
5195
|
/**
|
|
5127
|
-
*
|
|
5128
|
-
*
|
|
5129
|
-
*
|
|
5130
|
-
*
|
|
5131
|
-
* the IntentGateway protocol fee, so no further fee adjustment is needed.
|
|
5196
|
+
* `quoteIntent`'s default result, the orderbook's `quotePessimistic`: the whole trade at one
|
|
5197
|
+
* price, the worst single-order price of the first level, best first, deep
|
|
5198
|
+
* enough to fill it by itself, or the route's worst price when no one level
|
|
5199
|
+
* can. Amounts are raw token units; rates stay at 1e18.
|
|
5132
5200
|
*/
|
|
5133
|
-
interface
|
|
5134
|
-
|
|
5201
|
+
interface PessimisticQuoteIntentResult {
|
|
5202
|
+
route: OrderbookRouteKind;
|
|
5203
|
+
side: OrderbookSide;
|
|
5204
|
+
/** The `tokenIn` priced: the requested input, or the input found to deliver the requested output. */
|
|
5135
5205
|
amountIn: bigint;
|
|
5206
|
+
/** The `tokenOut` delivered at `rate`, with the destination's protocol fee already taken off. */
|
|
5136
5207
|
amountOut: bigint;
|
|
5137
|
-
|
|
5208
|
+
/** Quote per 1 base, before the protocol fee: every order in the level fills at it. */
|
|
5209
|
+
rate: bigint | null;
|
|
5210
|
+
/** The price bucket of that level. */
|
|
5211
|
+
priceBucket: bigint | null;
|
|
5212
|
+
/** The destination's protocol fee in basis points, already taken off `amountOut`. */
|
|
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
|
+
*/
|
|
5219
|
+
fillable: boolean;
|
|
5220
|
+
/** The largest `amountIn` this quote could fill: any one level at its worst price, or the whole route at its worst. */
|
|
5221
|
+
maxFillableIn: bigint;
|
|
5138
5222
|
}
|
|
5139
5223
|
/**
|
|
5140
5224
|
* What the orderbook holds for one route, with no amount given. Amounts are
|
|
@@ -5213,25 +5297,6 @@ declare class OrderbookQuoteNotConvergedError extends Error {
|
|
|
5213
5297
|
/** The last input quoted, in the source token's raw units. */
|
|
5214
5298
|
lastAmountIn: bigint);
|
|
5215
5299
|
}
|
|
5216
|
-
/** The orderbook cannot fill the requested amount on this route. */
|
|
5217
|
-
declare class InsufficientOrderbookLiquidityError extends Error {
|
|
5218
|
-
readonly route: {
|
|
5219
|
-
tokenIn: string;
|
|
5220
|
-
tokenOut: string;
|
|
5221
|
-
sourceChain: string;
|
|
5222
|
-
destinationChain: string;
|
|
5223
|
-
};
|
|
5224
|
-
/** The largest `amountIn` the route can fill, in the source token's raw units. */
|
|
5225
|
-
readonly maxFillableIn: bigint;
|
|
5226
|
-
constructor(route: {
|
|
5227
|
-
tokenIn: string;
|
|
5228
|
-
tokenOut: string;
|
|
5229
|
-
sourceChain: string;
|
|
5230
|
-
destinationChain: string;
|
|
5231
|
-
},
|
|
5232
|
-
/** The largest `amountIn` the route can fill, in the source token's raw units. */
|
|
5233
|
-
maxFillableIn: bigint);
|
|
5234
|
-
}
|
|
5235
5300
|
|
|
5236
5301
|
/**
|
|
5237
5302
|
* High-level facade for the IntentGatewayV2 protocol.
|
|
@@ -5329,20 +5394,32 @@ declare class IntentGateway {
|
|
|
5329
5394
|
/**
|
|
5330
5395
|
* Quotes an intent between this gateway's source and destination chains from
|
|
5331
5396
|
* the HyperFX orderbook. Provide exactly one of `amountIn` or `amountOut`, in
|
|
5332
|
-
* raw token units.
|
|
5333
|
-
*
|
|
5334
|
-
*
|
|
5335
|
-
*
|
|
5336
|
-
*
|
|
5337
|
-
*
|
|
5338
|
-
*
|
|
5339
|
-
*
|
|
5340
|
-
*
|
|
5341
|
-
*
|
|
5342
|
-
*
|
|
5397
|
+
* raw token units. The result has the orderbook's shape, in raw token units.
|
|
5398
|
+
*
|
|
5399
|
+
* By default the quote is pessimistic (`PessimisticQuoteIntentResult`): the
|
|
5400
|
+
* whole trade at one price, the worst single-order price of the first level,
|
|
5401
|
+
* best first, deep enough to fill it by itself, or the route's worst price
|
|
5402
|
+
* when no one level can. With `optimistic: true` it is the orderbook's
|
|
5403
|
+
* optimistic quote (`QuoteIntentResult`): the route's orders, best price
|
|
5404
|
+
* first, each filling what it can of the trade at its own price, one leg per
|
|
5405
|
+
* order. There is no total output; the legs' `amountOut`s sum to it.
|
|
5406
|
+
*
|
|
5407
|
+
* Every `amountOut` already has the destination's protocol fee taken off. For
|
|
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
|
|
5411
|
+
* cross-chain route only counts orders whose solvers accept the source chain.
|
|
5412
|
+
*
|
|
5413
|
+
* @throws {OrderbookQuoteNotConvergedError} When an exact-output quote does not settle on an input.
|
|
5343
5414
|
* @throws {OrderbookRequestError} When the orderbook is unreachable or trades no book for the pair.
|
|
5344
5415
|
*/
|
|
5345
|
-
quoteIntent(params: QuoteIntentParams
|
|
5416
|
+
quoteIntent(params: QuoteIntentParams & {
|
|
5417
|
+
optimistic: true;
|
|
5418
|
+
}): Promise<QuoteIntentResult>;
|
|
5419
|
+
quoteIntent(params: QuoteIntentParams & {
|
|
5420
|
+
optimistic?: false;
|
|
5421
|
+
}): Promise<PessimisticQuoteIntentResult>;
|
|
5422
|
+
quoteIntent(params: QuoteIntentParams): Promise<QuoteIntentResult | PessimisticQuoteIntentResult>;
|
|
5346
5423
|
/**
|
|
5347
5424
|
* Returns the orderbook liquidity serving a swap of `tokenIn` on the source
|
|
5348
5425
|
* chain for `tokenOut` on the destination chain: the best rate, true and
|
|
@@ -11481,4 +11558,4 @@ declare function teleport(teleport_param: {
|
|
|
11481
11558
|
extrinsics?: Array<SubmittableExtrinsic<"promise", ISubmittableResult>>;
|
|
11482
11559
|
}): Promise<ReadableStream<HyperbridgeTxEvents>>;
|
|
11483
11560
|
|
|
11484
|
-
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 };
|