@hyperbridge/sdk 2.8.10 → 2.8.12

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.
@@ -3570,13 +3570,6 @@ interface FillerConfig {
3570
3570
  * Example: { 1: true, 56: false } - watch-only on Ethereum, normal execution on BSC
3571
3571
  */
3572
3572
  watchOnly?: Record<number, boolean>;
3573
- /**
3574
- * Source chains (state machine ids, e.g. "EVM-8453") this filler accepts payment from when
3575
- * filling cross-chain orders, declared inside its phantom bids' paymasterAndData. Omit to
3576
- * declare nothing, which downstream consumers read as "accepts all CCTP/USDT0-covered
3577
- * chains"; an empty array declares that no source chain is accepted.
3578
- */
3579
- acceptedSourceChains?: string[];
3580
3573
  /**
3581
3574
  * Uniswap V4 position tokenIds this filler holds, per chain (state machine id -> tokenIds as
3582
3575
  * decimal strings), declared inside its phantom bids' paymasterAndData for the bid's own chain.
@@ -6542,24 +6535,29 @@ declare function decodeAcceptedSourceChains(paymasterAndData: string | undefined
6542
6535
  * paid its cost of goods.
6543
6536
  */
6544
6537
  declare const UNISWAP_QUOTE_HAIRCUT_BPS = 10n;
6538
+ /** Applies {@link UNISWAP_QUOTE_HAIRCUT_BPS} to a quoted output amount, rounding down. */
6539
+ declare function applyUniswapQuoteHaircut(amount: bigint): bigint;
6545
6540
  /**
6546
- * Haircut applied to every phantom quote that is NOT priced off a Uniswap V4 pool, in basis points.
6541
+ * The protocol fee haircut: the fee the IntentGateway at `gatewayAddress` charges on order inputs,
6542
+ * in basis points, read live from its `params()`.
6543
+ *
6544
+ * A wallet-funded quote is shaded by exactly this, so the published rate is the one a taker
6545
+ * actually realizes after the gateway takes its cut, and it moves with governance rather than
6546
+ * with a constant someone has to remember to keep in step. Read on the phantom order's own chain,
6547
+ * which is the chain whose gateway will collect the fee on the fills this rate is published for.
6547
6548
  *
6548
- * A wallet-funded quote is still the best case the solver sees at bid time; the published rate is
6549
- * what the protocol tells takers they can trade against, so it is shaded by this margin rather
6550
- * than being the most optimistic number any bidder named. Pool-priced quotes pay
6551
- * {@link UNISWAP_QUOTE_HAIRCUT_BPS} instead of this — not on top of it.
6549
+ * Fails loudly rather than defaulting: a gateway that returns no code, or a fee at or above 100%,
6550
+ * is a misconfiguration, and pricing a window unhaircut on the back of it would publish a rate
6551
+ * nobody can trade at. The `PhantomRpcError` lets the run's retry loop have another go first.
6552
6552
  */
6553
- declare const PHANTOM_QUOTE_HAIRCUT_BPS = 5n;
6554
- /** Applies {@link UNISWAP_QUOTE_HAIRCUT_BPS} to a quoted output amount, rounding down. */
6555
- declare function applyUniswapQuoteHaircut(amount: bigint): bigint;
6556
- /** Applies {@link PHANTOM_QUOTE_HAIRCUT_BPS} to a quoted output amount, rounding down. */
6557
- declare function applyPhantomQuoteHaircut(amount: bigint): bigint;
6553
+ declare function readProtocolFeeHaircutBps(evmRpcUrl: string, gatewayAddress: string): Promise<bigint>;
6554
+ /** Applies the protocol fee haircut (see {@link readProtocolFeeHaircutBps}) to a quoted output amount, rounding down. */
6555
+ declare function applyProtocolFeeHaircut(amount: bigint, protocolFeeBps: bigint): bigint;
6558
6556
 
6559
6557
  declare const ABI$1: readonly [{
6560
6558
  readonly type: "constructor";
6561
6559
  readonly inputs: readonly [{
6562
- readonly name: "admin";
6560
+ readonly name: "owner";
6563
6561
  readonly type: "address";
6564
6562
  readonly internalType: "address";
6565
6563
  }];
@@ -6615,20 +6613,6 @@ declare const ABI$1: readonly [{
6615
6613
  readonly internalType: "address";
6616
6614
  }];
6617
6615
  readonly stateMutability: "view";
6618
- }, {
6619
- readonly type: "function";
6620
- readonly name: "_instances";
6621
- readonly inputs: readonly [{
6622
- readonly name: "";
6623
- readonly type: "bytes32";
6624
- readonly internalType: "bytes32";
6625
- }];
6626
- readonly outputs: readonly [{
6627
- readonly name: "";
6628
- readonly type: "address";
6629
- readonly internalType: "address";
6630
- }];
6631
- readonly stateMutability: "view";
6632
6616
  }, {
6633
6617
  readonly type: "function";
6634
6618
  readonly name: "_nonce";
@@ -6657,6 +6641,16 @@ declare const ABI$1: readonly [{
6657
6641
  readonly internalType: "uint256";
6658
6642
  }];
6659
6643
  readonly stateMutability: "view";
6644
+ }, {
6645
+ readonly type: "function";
6646
+ readonly name: "_owner";
6647
+ readonly inputs: readonly [];
6648
+ readonly outputs: readonly [{
6649
+ readonly name: "";
6650
+ readonly type: "address";
6651
+ readonly internalType: "address";
6652
+ }];
6653
+ readonly stateMutability: "view";
6660
6654
  }, {
6661
6655
  readonly type: "function";
6662
6656
  readonly name: "_partialFills";
@@ -6976,6 +6970,49 @@ declare const ABI$1: readonly [{
6976
6970
  readonly internalType: "address";
6977
6971
  }];
6978
6972
  readonly stateMutability: "view";
6973
+ }, {
6974
+ readonly type: "function";
6975
+ readonly name: "initialize";
6976
+ readonly inputs: readonly [{
6977
+ readonly name: "p";
6978
+ readonly type: "tuple";
6979
+ readonly internalType: "struct Params";
6980
+ readonly components: readonly [{
6981
+ readonly name: "host";
6982
+ readonly type: "address";
6983
+ readonly internalType: "address";
6984
+ }, {
6985
+ readonly name: "dispatcher";
6986
+ readonly type: "address";
6987
+ readonly internalType: "address";
6988
+ }, {
6989
+ readonly name: "solverSelection";
6990
+ readonly type: "bool";
6991
+ readonly internalType: "bool";
6992
+ }, {
6993
+ readonly name: "surplusShareBps";
6994
+ readonly type: "uint256";
6995
+ readonly internalType: "uint256";
6996
+ }, {
6997
+ readonly name: "protocolFeeBps";
6998
+ readonly type: "uint256";
6999
+ readonly internalType: "uint256";
7000
+ }, {
7001
+ readonly name: "priceOracle";
7002
+ readonly type: "address";
7003
+ readonly internalType: "address";
7004
+ }];
7005
+ }, {
7006
+ readonly name: "peerChains";
7007
+ readonly type: "bytes[]";
7008
+ readonly internalType: "bytes[]";
7009
+ }, {
7010
+ readonly name: "relayer";
7011
+ readonly type: "address";
7012
+ readonly internalType: "address";
7013
+ }];
7014
+ readonly outputs: readonly [];
7015
+ readonly stateMutability: "nonpayable";
6979
7016
  }, {
6980
7017
  readonly type: "function";
6981
7018
  readonly name: "instance";
@@ -6990,6 +7027,16 @@ declare const ABI$1: readonly [{
6990
7027
  readonly internalType: "address";
6991
7028
  }];
6992
7029
  readonly stateMutability: "view";
7030
+ }, {
7031
+ readonly type: "function";
7032
+ readonly name: "migrate";
7033
+ readonly inputs: readonly [{
7034
+ readonly name: "relayer";
7035
+ readonly type: "address";
7036
+ readonly internalType: "address";
7037
+ }];
7038
+ readonly outputs: readonly [];
7039
+ readonly stateMutability: "nonpayable";
6993
7040
  }, {
6994
7041
  readonly type: "function";
6995
7042
  readonly name: "onAccept";
@@ -7385,7 +7432,7 @@ declare const ABI$1: readonly [{
7385
7432
  readonly type: "uint256";
7386
7433
  readonly internalType: "uint256";
7387
7434
  }];
7388
- readonly stateMutability: "view";
7435
+ readonly stateMutability: "nonpayable";
7389
7436
  }, {
7390
7437
  readonly type: "function";
7391
7438
  readonly name: "quote";
@@ -7428,6 +7475,16 @@ declare const ABI$1: readonly [{
7428
7475
  readonly type: "uint256";
7429
7476
  readonly internalType: "uint256";
7430
7477
  }];
7478
+ readonly stateMutability: "nonpayable";
7479
+ }, {
7480
+ readonly type: "function";
7481
+ readonly name: "relayer";
7482
+ readonly inputs: readonly [];
7483
+ readonly outputs: readonly [{
7484
+ readonly name: "";
7485
+ readonly type: "address";
7486
+ readonly internalType: "address";
7487
+ }];
7431
7488
  readonly stateMutability: "view";
7432
7489
  }, {
7433
7490
  readonly type: "function";
@@ -7458,52 +7515,53 @@ declare const ABI$1: readonly [{
7458
7515
  readonly stateMutability: "nonpayable";
7459
7516
  }, {
7460
7517
  readonly type: "function";
7461
- readonly name: "init";
7518
+ readonly name: "setRelayer";
7462
7519
  readonly inputs: readonly [{
7463
- readonly name: "p";
7464
- readonly type: "tuple";
7465
- readonly internalType: "struct Params";
7466
- readonly components: readonly [{
7467
- readonly name: "host";
7468
- readonly type: "address";
7469
- readonly internalType: "address";
7470
- }, {
7471
- readonly name: "dispatcher";
7472
- readonly type: "address";
7473
- readonly internalType: "address";
7474
- }, {
7475
- readonly name: "solverSelection";
7476
- readonly type: "bool";
7477
- readonly internalType: "bool";
7478
- }, {
7479
- readonly name: "surplusShareBps";
7480
- readonly type: "uint256";
7481
- readonly internalType: "uint256";
7482
- }, {
7483
- readonly name: "protocolFeeBps";
7484
- readonly type: "uint256";
7485
- readonly internalType: "uint256";
7486
- }, {
7487
- readonly name: "priceOracle";
7488
- readonly type: "address";
7489
- readonly internalType: "address";
7490
- }];
7520
+ readonly name: "relayer";
7521
+ readonly type: "address";
7522
+ readonly internalType: "address";
7523
+ }];
7524
+ readonly outputs: readonly [];
7525
+ readonly stateMutability: "nonpayable";
7526
+ }, {
7527
+ readonly type: "function";
7528
+ readonly name: "upgradeToAndCall";
7529
+ readonly inputs: readonly [{
7530
+ readonly name: "newImplementation";
7531
+ readonly type: "address";
7532
+ readonly internalType: "address";
7491
7533
  }, {
7492
- readonly name: "deployments";
7493
- readonly type: "tuple[]";
7494
- readonly internalType: "struct Deployment[]";
7495
- readonly components: readonly [{
7496
- readonly name: "chain";
7497
- readonly type: "bytes";
7498
- readonly internalType: "bytes";
7499
- }, {
7500
- readonly name: "gateway";
7501
- readonly type: "address";
7502
- readonly internalType: "address";
7503
- }];
7534
+ readonly name: "data";
7535
+ readonly type: "bytes";
7536
+ readonly internalType: "bytes";
7504
7537
  }];
7505
7538
  readonly outputs: readonly [];
7506
7539
  readonly stateMutability: "nonpayable";
7540
+ }, {
7541
+ readonly type: "function";
7542
+ readonly name: "version";
7543
+ readonly inputs: readonly [];
7544
+ readonly outputs: readonly [{
7545
+ readonly name: "";
7546
+ readonly type: "uint64";
7547
+ readonly internalType: "uint64";
7548
+ }];
7549
+ readonly stateMutability: "view";
7550
+ }, {
7551
+ readonly type: "event";
7552
+ readonly name: "DeploymentAdded";
7553
+ readonly inputs: readonly [{
7554
+ readonly name: "chain";
7555
+ readonly type: "string";
7556
+ readonly indexed: false;
7557
+ readonly internalType: "string";
7558
+ }, {
7559
+ readonly name: "gateway";
7560
+ readonly type: "address";
7561
+ readonly indexed: false;
7562
+ readonly internalType: "address";
7563
+ }];
7564
+ readonly anonymous: false;
7507
7565
  }, {
7508
7566
  readonly type: "event";
7509
7567
  readonly name: "DestinationProtocolFeeUpdated";
@@ -7609,14 +7667,24 @@ declare const ABI$1: readonly [{
7609
7667
  readonly anonymous: false;
7610
7668
  }, {
7611
7669
  readonly type: "event";
7612
- readonly name: "DeploymentAdded";
7670
+ readonly name: "Initialized";
7613
7671
  readonly inputs: readonly [{
7614
- readonly name: "chain";
7615
- readonly type: "string";
7672
+ readonly name: "version";
7673
+ readonly type: "uint64";
7616
7674
  readonly indexed: false;
7617
- readonly internalType: "string";
7675
+ readonly internalType: "uint64";
7676
+ }];
7677
+ readonly anonymous: false;
7678
+ }, {
7679
+ readonly type: "event";
7680
+ readonly name: "OrderCancelled";
7681
+ readonly inputs: readonly [{
7682
+ readonly name: "commitment";
7683
+ readonly type: "bytes32";
7684
+ readonly indexed: true;
7685
+ readonly internalType: "bytes32";
7618
7686
  }, {
7619
- readonly name: "gateway";
7687
+ readonly name: "canceller";
7620
7688
  readonly type: "address";
7621
7689
  readonly indexed: false;
7622
7690
  readonly internalType: "address";
@@ -7875,13 +7943,42 @@ declare const ABI$1: readonly [{
7875
7943
  }];
7876
7944
  }];
7877
7945
  readonly anonymous: false;
7946
+ }, {
7947
+ readonly type: "event";
7948
+ readonly name: "RelayerUpdated";
7949
+ readonly inputs: readonly [{
7950
+ readonly name: "previous";
7951
+ readonly type: "address";
7952
+ readonly indexed: false;
7953
+ readonly internalType: "address";
7954
+ }, {
7955
+ readonly name: "current";
7956
+ readonly type: "address";
7957
+ readonly indexed: false;
7958
+ readonly internalType: "address";
7959
+ }];
7960
+ readonly anonymous: false;
7961
+ }, {
7962
+ readonly type: "event";
7963
+ readonly name: "Upgraded";
7964
+ readonly inputs: readonly [{
7965
+ readonly name: "implementation";
7966
+ readonly type: "address";
7967
+ readonly indexed: true;
7968
+ readonly internalType: "address";
7969
+ }];
7970
+ readonly anonymous: false;
7878
7971
  }, {
7879
7972
  readonly type: "error";
7880
- readonly name: "Cancelled";
7881
- readonly inputs: readonly [];
7973
+ readonly name: "AddressEmptyCode";
7974
+ readonly inputs: readonly [{
7975
+ readonly name: "target";
7976
+ readonly type: "address";
7977
+ readonly internalType: "address";
7978
+ }];
7882
7979
  }, {
7883
7980
  readonly type: "error";
7884
- readonly name: "UnknownInstance";
7981
+ readonly name: "Cancelled";
7885
7982
  readonly inputs: readonly [];
7886
7983
  }, {
7887
7984
  readonly type: "error";
@@ -7903,10 +8000,30 @@ declare const ABI$1: readonly [{
7903
8000
  readonly type: "bytes32";
7904
8001
  readonly internalType: "bytes32";
7905
8002
  }];
8003
+ }, {
8004
+ readonly type: "error";
8005
+ readonly name: "ERC1967InvalidImplementation";
8006
+ readonly inputs: readonly [{
8007
+ readonly name: "implementation";
8008
+ readonly type: "address";
8009
+ readonly internalType: "address";
8010
+ }];
8011
+ }, {
8012
+ readonly type: "error";
8013
+ readonly name: "ERC1967NonPayable";
8014
+ readonly inputs: readonly [];
7906
8015
  }, {
7907
8016
  readonly type: "error";
7908
8017
  readonly name: "Expired";
7909
8018
  readonly inputs: readonly [];
8019
+ }, {
8020
+ readonly type: "error";
8021
+ readonly name: "FailedCall";
8022
+ readonly inputs: readonly [];
8023
+ }, {
8024
+ readonly type: "error";
8025
+ readonly name: "FillExpired";
8026
+ readonly inputs: readonly [];
7910
8027
  }, {
7911
8028
  readonly type: "error";
7912
8029
  readonly name: "Filled";
@@ -7915,6 +8032,10 @@ declare const ABI$1: readonly [{
7915
8032
  readonly type: "error";
7916
8033
  readonly name: "InsufficientNativeToken";
7917
8034
  readonly inputs: readonly [];
8035
+ }, {
8036
+ readonly type: "error";
8037
+ readonly name: "InvalidInitialization";
8038
+ readonly inputs: readonly [];
7918
8039
  }, {
7919
8040
  readonly type: "error";
7920
8041
  readonly name: "InvalidInput";
@@ -7927,6 +8048,18 @@ declare const ABI$1: readonly [{
7927
8048
  readonly type: "error";
7928
8049
  readonly name: "NotExpired";
7929
8050
  readonly inputs: readonly [];
8051
+ }, {
8052
+ readonly type: "error";
8053
+ readonly name: "NotInitializing";
8054
+ readonly inputs: readonly [];
8055
+ }, {
8056
+ readonly type: "error";
8057
+ readonly name: "PartialFillNotAllowed";
8058
+ readonly inputs: readonly [];
8059
+ }, {
8060
+ readonly type: "error";
8061
+ readonly name: "ReentrancyGuardReentrantCall";
8062
+ readonly inputs: readonly [];
7930
8063
  }, {
7931
8064
  readonly type: "error";
7932
8065
  readonly name: "SafeERC20FailedOperation";
@@ -7955,6 +8088,10 @@ declare const ABI$1: readonly [{
7955
8088
  readonly type: "error";
7956
8089
  readonly name: "UnexpectedCall";
7957
8090
  readonly inputs: readonly [];
8091
+ }, {
8092
+ readonly type: "error";
8093
+ readonly name: "UnknownInstance";
8094
+ readonly inputs: readonly [];
7958
8095
  }, {
7959
8096
  readonly type: "error";
7960
8097
  readonly name: "UnknownOrder";
@@ -11443,4 +11580,4 @@ declare function teleport(teleport_param: {
11443
11580
  extrinsics?: Array<SubmittableExtrinsic<"promise", ISubmittableResult>>;
11444
11581
  }): Promise<ReadableStream<HyperbridgeTxEvents>>;
11445
11582
 
11446
- 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, CHAINS_WITHOUT_VALID_UNTIL, 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 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_V1_ABI, type FillOptions, type FillOptionsVersion, type FillOrderEstimate, type FillerBid, type FillerConfig, type GetRequestResponse, type GetRequestWithStatus, type GetResponseByRequestIdResponse, type GetResponseStorageValues, type HexString$1 as 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, INCLUSION_TIMEOUT_MS, type IPharosConfig, type IPolkadotHubConfig, type IPostRequest, type IPostResponse, type IProof, type IRequestMessage, type ISubstrateConfig, type ITimeoutPostRequestMessage, type IndexedRateIntentQuoteMetadata, type IndexedRateQuoteIntentResult, type IndexedRateSide, IndexedRateUnavailableError, type IndexerQueryClient, IntentGateway, ABI$1 as IntentGatewayABI, type IntentGatewayContext, type IntentGatewayParams, IntentOrderStatus, type IntentOrderStatusKey, type IntentOrderStatusUpdate, type IntentQuoteStrategy, type IntentQuoteTradeType, IntentsCoprocessor, InvalidIndexedRateError, InvalidLiquidityIndexerResponseError, InvalidPhantomSnapshotError, IsmpClient, type IsmpRequest, LEGACY_FILL_OPTIONS_IMPLEMENTATIONS, type LiquiditySlice, MOCK_ADDRESS, ORDER_V2_PARAM_TYPE, type Order, type OrderFeesQuote, type OrderResponse, OrderStatus, OrderStatusChecker, type OrderStatusMetadata, type OrderWithStatus, PACKED_USEROP_TYPEHASH, PHANTOM_QUOTE_HAIRCUT_BPS, PLACE_ORDER_SELECTOR, type PackedUserOperation, type Params, type PaymentInfo, type PhantomBid, type PhantomBidBatchResult, type PhantomBidDeclaration, type PhantomBidOutcome, type PhantomOrderEvent, type PhantomOrderLeg, type PhantomOrderPriceSnapshot, type PhantomOrderPriceSnapshotsResponse, type PhantomSnapshotIntentQuoteMetadata, type PhantomSnapshotQuoteIntentResult, PhantomSnapshotUnavailableError, type PhantomTimings, PharosChain, type PharosChainParams, PolkadotHubChain, type PolkadotHubChainParams, type PollPhantomOrdersOptions, 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 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, UNISWAP_QUOTE_HAIRCUT_BPS, USE_ETHERSCAN_CHAINS, type UniswapProtocol, type UniswapQuote, type UniswapQuoteToken, type UniswapTradeType, type UniswapV4IntentQuoteMetadata, type UniswapV4IntentQuoteOptions, type UniswapV4PoolConfigData, type UniswapV4PoolKey, type UniswapV4QuoteIntentResult, UnsupportedIntentQuotePairError, UnsupportedIntentQuoteStrategyError, UnsupportedLiquidityAssetError, UnsupportedLiquidityChainError, WrappedHyperFungibleTokenABI, type XcmGatewayParams, __test, adjustDecimals, applyPhantomQuoteHaircut, applyUniswapQuoteHaircut, bytes20ToBytes32, bytes32ToBytes20, calculateAllowanceMappingLocation, calculateBalanceMappingLocation, chainConfigs, constructRedeemEscrowRequestBody, constructRefundEscrowRequestBody, convertCodecToIGetRequest, convertCodecToIProof, convertIGetRequestToCodec, convertIProofToCodec, convertStateIdToStateMachineId, convertStateMachineEnumToString, convertStateMachineIdToEnum, createEvmChain, createQueryClient, decodeAcceptedSourceChains, decodeERC7821ExecuteBatch, decodeFillOrder, decodePhantomBidDeclaration, decodeUserOpScale, deriveHttpUrl, encodeAcceptedSourceChains, encodeERC7821ExecuteBatch, encodeFillOrder, encodeISMPMessage, encodePhantomBidDeclaration, encodeStateMachineId, encodeUserOpScale, encodeWithdrawalRequest, estimateGasForPost, fetchPrice, fetchSourceProof, generateRootWithProof, getChainId, getConfigByStateMachineId, getContractCallInput, getContractCallInputs, getFillOptionsVersion, getGasPriceFromEtherscan, getOrFetchStorageSlot, getOrderPlacedFromTx, getPostRequestEventFromTx, getPostResponseEventFromTx, getRequestCommitment, getStateCommitmentFieldSlot, getStateCommitmentSlot, getStorageSlot, getViemChain, hexToString, hyperbridgeAddress, maxBigInt, normalizeAddressForEvmBytes32, normalizeAddressForStateMachine, normalizeEvmAddress, normalizeEvmChainId, normalizeStateMachineId, orderCommitment, parseStateMachineId, pharosAtlantic, pharosMainnet, polkadotAssetHubPaseo, polkadotHubMainnet, poolSlug, postRequestCommitment, queryAssetTeleported, queryGetRequest, queryPostRequest, quoteUniswap, requestCommitmentKey, resetFillOptionsVersionCache, responseCommitmentKey, retryPromise, sortPoolSymbols, teleport, teleportDot, transformOrderForContract, tronChainIds, tronNile };
11583
+ 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, CHAINS_WITHOUT_VALID_UNTIL, 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 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_V1_ABI, type FillOptions, type FillOptionsVersion, type FillOrderEstimate, type FillerBid, type FillerConfig, type GetRequestResponse, type GetRequestWithStatus, type GetResponseByRequestIdResponse, type GetResponseStorageValues, type HexString$1 as 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, INCLUSION_TIMEOUT_MS, type IPharosConfig, type IPolkadotHubConfig, type IPostRequest, type IPostResponse, type IProof, type IRequestMessage, type ISubstrateConfig, type ITimeoutPostRequestMessage, type IndexedRateIntentQuoteMetadata, type IndexedRateQuoteIntentResult, type IndexedRateSide, IndexedRateUnavailableError, type IndexerQueryClient, IntentGateway, ABI$1 as IntentGatewayABI, type IntentGatewayContext, type IntentGatewayParams, IntentOrderStatus, type IntentOrderStatusKey, type IntentOrderStatusUpdate, type IntentQuoteStrategy, type IntentQuoteTradeType, IntentsCoprocessor, InvalidIndexedRateError, InvalidLiquidityIndexerResponseError, InvalidPhantomSnapshotError, IsmpClient, type IsmpRequest, LEGACY_FILL_OPTIONS_IMPLEMENTATIONS, type LiquiditySlice, MOCK_ADDRESS, ORDER_V2_PARAM_TYPE, type Order, type OrderFeesQuote, type OrderResponse, OrderStatus, OrderStatusChecker, type OrderStatusMetadata, type OrderWithStatus, PACKED_USEROP_TYPEHASH, PLACE_ORDER_SELECTOR, type PackedUserOperation, type Params, type PaymentInfo, type PhantomBid, type PhantomBidBatchResult, type PhantomBidDeclaration, type PhantomBidOutcome, type PhantomOrderEvent, type PhantomOrderLeg, type PhantomOrderPriceSnapshot, type PhantomOrderPriceSnapshotsResponse, type PhantomSnapshotIntentQuoteMetadata, type PhantomSnapshotQuoteIntentResult, PhantomSnapshotUnavailableError, type PhantomTimings, PharosChain, type PharosChainParams, PolkadotHubChain, type PolkadotHubChainParams, type PollPhantomOrdersOptions, 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 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, UNISWAP_QUOTE_HAIRCUT_BPS, USE_ETHERSCAN_CHAINS, type UniswapProtocol, type UniswapQuote, type UniswapQuoteToken, type UniswapTradeType, type UniswapV4IntentQuoteMetadata, type UniswapV4IntentQuoteOptions, type UniswapV4PoolConfigData, type UniswapV4PoolKey, type UniswapV4QuoteIntentResult, UnsupportedIntentQuotePairError, UnsupportedIntentQuoteStrategyError, UnsupportedLiquidityAssetError, UnsupportedLiquidityChainError, WrappedHyperFungibleTokenABI, type XcmGatewayParams, __test, adjustDecimals, applyProtocolFeeHaircut, applyUniswapQuoteHaircut, bytes20ToBytes32, bytes32ToBytes20, calculateAllowanceMappingLocation, calculateBalanceMappingLocation, chainConfigs, constructRedeemEscrowRequestBody, constructRefundEscrowRequestBody, convertCodecToIGetRequest, convertCodecToIProof, convertIGetRequestToCodec, convertIProofToCodec, convertStateIdToStateMachineId, convertStateMachineEnumToString, convertStateMachineIdToEnum, createEvmChain, createQueryClient, decodeAcceptedSourceChains, decodeERC7821ExecuteBatch, decodeFillOrder, decodePhantomBidDeclaration, decodeUserOpScale, deriveHttpUrl, encodeAcceptedSourceChains, encodeERC7821ExecuteBatch, encodeFillOrder, encodeISMPMessage, encodePhantomBidDeclaration, encodeStateMachineId, encodeUserOpScale, encodeWithdrawalRequest, estimateGasForPost, fetchPrice, fetchSourceProof, generateRootWithProof, getChainId, getConfigByStateMachineId, getContractCallInput, getContractCallInputs, getFillOptionsVersion, getGasPriceFromEtherscan, getOrFetchStorageSlot, getOrderPlacedFromTx, getPostRequestEventFromTx, getPostResponseEventFromTx, getRequestCommitment, getStateCommitmentFieldSlot, getStateCommitmentSlot, getStorageSlot, getViemChain, hexToString, hyperbridgeAddress, maxBigInt, normalizeAddressForEvmBytes32, normalizeAddressForStateMachine, normalizeEvmAddress, normalizeEvmChainId, normalizeStateMachineId, orderCommitment, parseStateMachineId, pharosAtlantic, pharosMainnet, polkadotAssetHubPaseo, polkadotHubMainnet, poolSlug, postRequestCommitment, queryAssetTeleported, queryGetRequest, queryPostRequest, quoteUniswap, readProtocolFeeHaircutBps, requestCommitmentKey, resetFillOptionsVersionCache, responseCommitmentKey, retryPromise, sortPoolSymbols, teleport, teleportDot, transformOrderForContract, tronChainIds, tronNile };