@hyperbridge/sdk 2.7.2 → 2.8.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.
@@ -1001,44 +1001,44 @@ declare class ChainConfigService {
1001
1001
  constructor(env?: NodeJS.ProcessEnv);
1002
1002
  private getConfig;
1003
1003
  getChainConfig(chain: string): ChainConfig;
1004
- getIntentGatewayAddress(chain: string): HexString;
1005
- getTokenGatewayAddress(chain: string): HexString;
1006
- getHostAddress(chain: string): HexString;
1004
+ getIntentGatewayAddress(chain: string): HexString$1;
1005
+ getTokenGatewayAddress(chain: string): HexString$1;
1006
+ getHostAddress(chain: string): HexString$1;
1007
1007
  getWrappedNativeAssetWithDecimals(chain: string): {
1008
- asset: HexString;
1008
+ asset: HexString$1;
1009
1009
  decimals: number;
1010
1010
  };
1011
- getDaiAsset(chain: string): HexString;
1012
- getAssetAddress(chain: string, symbol: ConfiguredAssetSymbol): HexString | undefined;
1011
+ getDaiAsset(chain: string): HexString$1;
1012
+ getAssetAddress(chain: string, symbol: ConfiguredAssetSymbol): HexString$1 | undefined;
1013
1013
  /**
1014
1014
  * Resolves configured token metadata from an address on a specific chain.
1015
1015
  * This is used by SDK helpers that accept token addresses rather than caller-
1016
1016
  * supplied symbols or decimals.
1017
1017
  */
1018
- getAssetMetadataByAddress(chain: string, address: HexString): {
1018
+ getAssetMetadataByAddress(chain: string, address: HexString$1): {
1019
1019
  symbol: ConfiguredAssetSymbol;
1020
- address: HexString;
1020
+ address: HexString$1;
1021
1021
  decimals?: number;
1022
1022
  } | undefined;
1023
- getUsdtAsset(chain: string): HexString;
1024
- getUsdcAsset(chain: string): HexString;
1023
+ getUsdtAsset(chain: string): HexString$1;
1024
+ getUsdcAsset(chain: string): HexString$1;
1025
1025
  getUsdcDecimals(chain: string): number;
1026
1026
  getUsdtDecimals(chain: string): number;
1027
- getCNgnAsset(chain: string): HexString | undefined;
1027
+ getCNgnAsset(chain: string): HexString$1 | undefined;
1028
1028
  /**
1029
1029
  * Address of `symbol` on `chain` from the per-chain asset table, matched
1030
1030
  * case-insensitively ("cNGN" ≡ "CNGN"). This table is the single source of
1031
1031
  * truth for token addresses — the simplex asset registry resolves through
1032
1032
  * it, so a new asset is added once in `chain.ts` and nowhere else.
1033
1033
  */
1034
- getAssetBySymbol(chain: string, symbol: string): HexString | undefined;
1034
+ getAssetBySymbol(chain: string, symbol: string): HexString$1 | undefined;
1035
1035
  getCNgnDecimals(chain: string): number | undefined;
1036
- getExtAsset(chain: string): HexString | undefined;
1036
+ getExtAsset(chain: string): HexString$1 | undefined;
1037
1037
  getExtDecimals(chain: string): number | undefined;
1038
1038
  /** Configured exotic (non-USD) tokens on a chain, for selection UIs. EXT is a test asset and is not offered. */
1039
1039
  getKnownExoticTokens(chain: string): Array<{
1040
1040
  symbol: string;
1041
- address: HexString;
1041
+ address: HexString$1;
1042
1042
  decimals?: number;
1043
1043
  }>;
1044
1044
  /** Known ERC-4626 treasury vaults on a chain, for selection UIs. */
@@ -1047,30 +1047,30 @@ declare class ChainConfigService {
1047
1047
  getConsensusStateId(chain: string): string;
1048
1048
  getHyperbridgeChainId(): number;
1049
1049
  getRpcUrl(chain: string): string;
1050
- getUniswapRouterV2Address(chain: string): HexString;
1051
- getAerodromeRouterAddress(chain: string): HexString;
1052
- getUniswapV2FactoryAddress(chain: string): HexString;
1053
- getUniswapV3FactoryAddress(chain: string): HexString;
1054
- getUniversalRouterAddress(chain: string): HexString;
1055
- getUniswapV3QuoterAddress(chain: string): HexString;
1056
- getUniswapV4QuoterAddress(chain: string): HexString;
1057
- getUniswapV4PositionManagerAddress(chain: string): HexString;
1058
- getUniswapV4PoolManagerAddress(chain: string): HexString;
1059
- getUniswapV4StateViewAddress(chain: string): HexString;
1050
+ getUniswapRouterV2Address(chain: string): HexString$1;
1051
+ getAerodromeRouterAddress(chain: string): HexString$1;
1052
+ getUniswapV2FactoryAddress(chain: string): HexString$1;
1053
+ getUniswapV3FactoryAddress(chain: string): HexString$1;
1054
+ getUniversalRouterAddress(chain: string): HexString$1;
1055
+ getUniswapV3QuoterAddress(chain: string): HexString$1;
1056
+ getUniswapV4QuoterAddress(chain: string): HexString$1;
1057
+ getUniswapV4PositionManagerAddress(chain: string): HexString$1;
1058
+ getUniswapV4PoolManagerAddress(chain: string): HexString$1;
1059
+ getUniswapV4StateViewAddress(chain: string): HexString$1;
1060
1060
  getUniswapV4PoolConfigs(chain: string): UniswapV4PoolConfigData[];
1061
- getPermit2Address(chain: string): HexString;
1062
- getSolverAccountAddress(chain: string): HexString | undefined;
1061
+ getPermit2Address(chain: string): HexString$1;
1062
+ getSolverAccountAddress(chain: string): HexString$1 | undefined;
1063
1063
  getCoingeckoId(chain: string): string | undefined;
1064
1064
  getEtherscanApiKey(): string | undefined;
1065
- getCalldispatcherAddress(chain: string): HexString;
1065
+ getCalldispatcherAddress(chain: string): HexString$1;
1066
1066
  getTokenStorageSlots(chain: string, tokenAddress: string): {
1067
1067
  balanceSlot: number;
1068
1068
  allowanceSlot: number;
1069
1069
  } | undefined;
1070
1070
  getPopularTokens(chain: string): string[];
1071
- getEntryPointV08Address(chain: string): HexString;
1072
- getCirclePaymasterAddress(chain: string): HexString | undefined;
1073
- getSimplexPaymasterAddress(chain: string): HexString | undefined;
1071
+ getEntryPointV08Address(chain: string): HexString$1;
1072
+ getCirclePaymasterAddress(chain: string): HexString$1 | undefined;
1073
+ getSimplexPaymasterAddress(chain: string): HexString$1 | undefined;
1074
1074
  getHyperbridgeAddress(): string;
1075
1075
  /**
1076
1076
  * Get the LayerZero Endpoint ID for the chain
@@ -1082,7 +1082,7 @@ declare class ChainConfigService {
1082
1082
  * On Ethereum: OFT Adapter (locks/unlocks USDT)
1083
1083
  * On other chains: OFT contract (mints/burns USDT0)
1084
1084
  */
1085
- getUsdt0OftAddress(chain: string): HexString | undefined;
1085
+ getUsdt0OftAddress(chain: string): HexString$1 | undefined;
1086
1086
  }
1087
1087
 
1088
1088
  /**
@@ -1108,7 +1108,7 @@ interface EvmChainParams {
1108
1108
  /**
1109
1109
  * The host address of the EVM chain (IsmpHost contract address)
1110
1110
  */
1111
- host: HexString;
1111
+ host: HexString$1;
1112
1112
  /**
1113
1113
  * Consensus state identifier of this chain on hyperbridge
1114
1114
  */
@@ -1155,7 +1155,7 @@ declare class EvmChain implements IChain {
1155
1155
  */
1156
1156
  static create(rpcUrl: string, bundlerUrl?: string): Promise<EvmChain>;
1157
1157
  get client(): PublicClient;
1158
- get host(): HexString;
1158
+ get host(): HexString$1;
1159
1159
  get bundlerUrl(): string | undefined;
1160
1160
  get config(): IEvmConfig;
1161
1161
  get configService(): ChainConfigService;
@@ -1168,13 +1168,13 @@ declare class EvmChain implements IChain {
1168
1168
  * @param {HexString} commitment - The commitment to derive the key from.
1169
1169
  * @returns {HexString} The derived key.
1170
1170
  */
1171
- requestReceiptKey(commitment: HexString): HexString;
1171
+ requestReceiptKey(commitment: HexString$1): HexString$1;
1172
1172
  /**
1173
1173
  * Queries the request receipt.
1174
1174
  * @param {HexString} commitment - The commitment to query.
1175
1175
  * @returns {Promise<HexString | undefined>} The relayer address responsible for delivering the request.
1176
1176
  */
1177
- queryRequestReceipt(commitment: HexString): Promise<HexString | undefined>;
1177
+ queryRequestReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
1178
1178
  /**
1179
1179
  * Queries the proof of the commitments.
1180
1180
  * @param {IMessage} message - The message to query.
@@ -1182,7 +1182,7 @@ declare class EvmChain implements IChain {
1182
1182
  * @param {bigint} [at] - The block number to query at.
1183
1183
  * @returns {Promise<HexString>} The proof.
1184
1184
  */
1185
- queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString>;
1185
+ queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString$1>;
1186
1186
  /**
1187
1187
  * Query and return the encoded storage proof for the provided keys at the given height.
1188
1188
  *
@@ -1197,7 +1197,7 @@ declare class EvmChain implements IChain {
1197
1197
  * of this contract. Omit to let 52-byte keys carry their own contract address.
1198
1198
  * @returns {Promise<HexString>} The encoded storage proof.
1199
1199
  */
1200
- queryStateProof(at: bigint, keys: HexString[], address?: HexString): Promise<HexString>;
1200
+ queryStateProof(at: bigint, keys: HexString$1[], address?: HexString$1): Promise<HexString$1>;
1201
1201
  /**
1202
1202
  * Returns the current timestamp of the chain.
1203
1203
  * @returns {Promise<bigint>} The current timestamp.
@@ -1222,7 +1222,7 @@ declare class EvmChain implements IChain {
1222
1222
  * When the transaction contains multiple placeOrder calls, `occurrenceIndex`
1223
1223
  * selects which call's calldata to return (0-indexed in execution order).
1224
1224
  */
1225
- getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString>;
1225
+ getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString$1>;
1226
1226
  /**
1227
1227
  * Get the challenge period for a given state machine id.
1228
1228
  * @param {StateMachineIdParams} stateMachineId - The state machine ID.
@@ -1234,7 +1234,7 @@ declare class EvmChain implements IChain {
1234
1234
  * @param {IIsmpMessage} message The ISMP message to encode.
1235
1235
  * @returns {HexString} The encoded calldata.
1236
1236
  */
1237
- encode(message: IIsmpMessage): HexString;
1237
+ encode(message: IIsmpMessage): HexString$1;
1238
1238
  /**
1239
1239
  * Returns the protocol fee charged by the host on dispatch.
1240
1240
  *
@@ -1249,12 +1249,12 @@ declare class EvmChain implements IChain {
1249
1249
  * Given a desired output amount of a token, returns how much native is needed as input.
1250
1250
  * Uses the chain's Uniswap V2 router (or `router` when provided): WETH → tokenOut path.
1251
1251
  */
1252
- getAmountsIn(amountOut: bigint, tokenOutForQuote: HexString, chain?: string, router?: HexString): Promise<bigint>;
1252
+ getAmountsIn(amountOut: bigint, tokenOutForQuote: HexString$1, chain?: string, router?: HexString$1): Promise<bigint>;
1253
1253
  /**
1254
1254
  * Given an input amount of native token, returns how much of the output token you get.
1255
1255
  * Uses the chain's Uniswap V2 router: WETH → tokenOut path.
1256
1256
  */
1257
- getAmountsOut(amountIn: bigint, tokenOutForQuote: HexString, chain?: string): Promise<bigint>;
1257
+ getAmountsOut(amountIn: bigint, tokenOutForQuote: HexString$1, chain?: string): Promise<bigint>;
1258
1258
  /**
1259
1259
  * Estimates the gas required for a post request execution on this chain.
1260
1260
  * This function generates mock proofs for the post request, creates a state override
@@ -1267,7 +1267,7 @@ declare class EvmChain implements IChain {
1267
1267
  */
1268
1268
  estimateGas(request: IPostRequest): Promise<{
1269
1269
  gas: bigint;
1270
- postRequestCalldata: HexString;
1270
+ postRequestCalldata: HexString$1;
1271
1271
  }>;
1272
1272
  /**
1273
1273
  * Gets the fee token address and decimals for the chain.
@@ -1276,7 +1276,7 @@ declare class EvmChain implements IChain {
1276
1276
  * @returns The fee token address and decimals
1277
1277
  */
1278
1278
  getFeeTokenWithDecimals(): Promise<{
1279
- address: HexString;
1279
+ address: HexString$1;
1280
1280
  decimals: number;
1281
1281
  }>;
1282
1282
  /**
@@ -1286,8 +1286,8 @@ declare class EvmChain implements IChain {
1286
1286
  * @returns The nonce of the host
1287
1287
  */
1288
1288
  getHostNonce(): Promise<bigint>;
1289
- broadcastTransaction(signedTransaction: HexString): Promise<TransactionReceipt>;
1290
- getTransactionReceipt(hash: HexString): Promise<TransactionReceipt>;
1289
+ broadcastTransaction(signedTransaction: HexString$1): Promise<TransactionReceipt>;
1290
+ getTransactionReceipt(hash: HexString$1): Promise<TransactionReceipt>;
1291
1291
  }
1292
1292
  /**
1293
1293
  * Factory function for creating EVM chain instances with common defaults
@@ -1311,7 +1311,7 @@ declare class EvmChain implements IChain {
1311
1311
  * })
1312
1312
  * ```
1313
1313
  */
1314
- declare function createEvmChain(chainId: number, host: HexString, options: {
1314
+ declare function createEvmChain(chainId: number, host: HexString$1, options: {
1315
1315
  rpcUrl: string;
1316
1316
  consensusStateId?: string;
1317
1317
  }): EvmChain;
@@ -1354,8 +1354,8 @@ declare function responseCommitmentKey(key: Hex): Hex;
1354
1354
  * @param field - The field index in the struct (0 for timestamp, 1 for overlayRoot, 2 for stateRoot)
1355
1355
  * @returns The storage slot for the specific field
1356
1356
  */
1357
- declare function getStateCommitmentFieldSlot(stateMachineId: bigint, height: bigint, field: 0 | 1 | 2): HexString;
1358
- declare function getStateCommitmentSlot(stateMachineId: bigint, height: bigint): HexString;
1357
+ declare function getStateCommitmentFieldSlot(stateMachineId: bigint, height: bigint, field: 0 | 1 | 2): HexString$1;
1358
+ declare function getStateCommitmentSlot(stateMachineId: bigint, height: bigint): HexString$1;
1359
1359
 
1360
1360
  /**
1361
1361
  * Generates a Merkle Mountain Range (MMR) root hash and proof for a post request.
@@ -1375,8 +1375,8 @@ declare function getStateCommitmentSlot(stateMachineId: bigint, height: bigint):
1375
1375
  * - mmrSize: The size of the MMR in nodes
1376
1376
  */
1377
1377
  declare function generateRootWithProof(postRequest: IPostRequest, treeSize: bigint): Promise<{
1378
- root: HexString;
1379
- proof: HexString[];
1378
+ root: HexString$1;
1379
+ proof: HexString$1[];
1380
1380
  index: bigint;
1381
1381
  treeSize: bigint;
1382
1382
  mmrSize: bigint;
@@ -1400,10 +1400,10 @@ type IStateMachine = {
1400
1400
  value: number[];
1401
1401
  };
1402
1402
 
1403
- declare const ADDRESS_ZERO: HexString;
1404
- declare const MOCK_ADDRESS: HexString;
1405
- declare const DUMMY_PRIVATE_KEY: HexString;
1406
- declare const DEFAULT_GRAFFITI: HexString;
1403
+ declare const ADDRESS_ZERO: HexString$1;
1404
+ declare const MOCK_ADDRESS: HexString$1;
1405
+ declare const DUMMY_PRIVATE_KEY: HexString$1;
1406
+ declare const DEFAULT_GRAFFITI: HexString$1;
1407
1407
  /**
1408
1408
  * Returns the maximum of two bigint values
1409
1409
  * @param a - First bigint value
@@ -1425,7 +1425,7 @@ declare function maxBigInt(a: bigint, b: bigint): bigint;
1425
1425
  declare function parseStateMachineId(stateMachineId: string): {
1426
1426
  stateId: {
1427
1427
  Evm?: number;
1428
- Substrate?: HexString;
1428
+ Substrate?: HexString$1;
1429
1429
  Polkadot?: number;
1430
1430
  Kusama?: number;
1431
1431
  };
@@ -1436,28 +1436,28 @@ declare function parseStateMachineId(stateMachineId: string): {
1436
1436
  * @returns The commitment hash and the encode packed data.
1437
1437
  */
1438
1438
  declare function postRequestCommitment(post: IPostRequest): {
1439
- commitment: HexString;
1440
- encodePacked: HexString;
1439
+ commitment: HexString$1;
1440
+ encodePacked: HexString$1;
1441
1441
  };
1442
1442
  /**
1443
1443
  * Converts a bytes32 token address to bytes20 format
1444
1444
  * This removes the extra padded zeros from the address
1445
1445
  */
1446
- declare function bytes32ToBytes20(bytes32Address: string): HexString;
1447
- declare function bytes20ToBytes32(bytes20Address: string): HexString;
1446
+ declare function bytes32ToBytes20(bytes32Address: string): HexString$1;
1447
+ declare function bytes20ToBytes32(bytes20Address: string): HexString$1;
1448
1448
  declare function hexToString(hex: string): string;
1449
1449
  declare function normalizeStateMachineId(stateMachineId: string): string;
1450
1450
  declare function normalizeEvmChainId(chainId: number | string): {
1451
1451
  chainId: number;
1452
1452
  stateMachineId: string;
1453
1453
  };
1454
- declare function encodeStateMachineId(stateMachineId: string): HexString;
1455
- declare function normalizeAddressForEvmBytes32(address: string): HexString;
1454
+ declare function encodeStateMachineId(stateMachineId: string): HexString$1;
1455
+ declare function normalizeAddressForEvmBytes32(address: string): HexString$1;
1456
1456
  /**
1457
1457
  * Validates an EVM address and returns its canonical lowercase representation.
1458
1458
  */
1459
- declare function normalizeEvmAddress(address: string, field?: string): HexString;
1460
- declare function normalizeAddressForStateMachine(address: string, stateMachineId: string): HexString;
1459
+ declare function normalizeEvmAddress(address: string, field?: string): HexString$1;
1460
+ declare function normalizeAddressForStateMachine(address: string, stateMachineId: string): HexString$1;
1461
1461
  /**
1462
1462
  * Retries a promise-returning operation with exponential backoff.
1463
1463
  * This function will attempt to execute the operation up to maxRetries times,
@@ -1473,7 +1473,7 @@ declare function retryPromise<T>(operation: () => Promise<T>, retryConfig: Retry
1473
1473
  * @param get The get request to calculate the commitment hash for.
1474
1474
  * @returns The commitment hash.
1475
1475
  */
1476
- declare function getRequestCommitment(get: IGetRequest): HexString;
1476
+ declare function getRequestCommitment(get: IGetRequest): HexString$1;
1477
1477
  /**
1478
1478
  * Estimates the gas required for a post request transaction on the source chain.
1479
1479
  * This function constructs a post request, generates mock proofs, and estimates
@@ -1483,7 +1483,7 @@ declare function estimateGasForPost(params: {
1483
1483
  postRequest: IPostRequest;
1484
1484
  sourceClient: PublicClient;
1485
1485
  hostLatestStateMachineHeight: bigint;
1486
- hostAddress: HexString;
1486
+ hostAddress: HexString$1;
1487
1487
  }): Promise<{
1488
1488
  gas_fee: bigint;
1489
1489
  call_data: EstimateGasCallData;
@@ -1493,18 +1493,18 @@ declare function estimateGasForPost(params: {
1493
1493
  * Used as the GET-request context for cancel-from-source, and as the inner
1494
1494
  * payload (after the RequestKind prefix) for POST-based escrow operations.
1495
1495
  */
1496
- declare function encodeWithdrawalRequest(order: Order | Order, beneficiary: HexString): HexString;
1496
+ declare function encodeWithdrawalRequest(order: Order | Order, beneficiary: HexString$1): HexString$1;
1497
1497
  /**
1498
1498
  * Constructs the request body for a redeem escrow operation.
1499
1499
  * This function encodes the order commitment, beneficiary address, and token inputs
1500
1500
  * to match the format expected by the IntentGateway contract.
1501
1501
  */
1502
- declare function constructRedeemEscrowRequestBody(order: Order | Order, beneficiary: HexString): HexString;
1502
+ declare function constructRedeemEscrowRequestBody(order: Order | Order, beneficiary: HexString$1): HexString$1;
1503
1503
  /**
1504
1504
  * Constructs the request body for a refund escrow operation (cancel from destination).
1505
1505
  * Uses RequestKind.RefundEscrow to match the IntentGatewayV2 contract's _cancelFromDest.
1506
1506
  */
1507
- declare function constructRefundEscrowRequestBody(order: Order | Order, beneficiary: HexString): HexString;
1507
+ declare function constructRefundEscrowRequestBody(order: Order | Order, beneficiary: HexString$1): HexString$1;
1508
1508
  declare function fetchPrice(identifier: string | undefined, chainId?: number, apiKey?: string): Promise<number>;
1509
1509
  /**
1510
1510
  * Fetches the current network gas price from an Etherscan-family explorer API.
@@ -1561,7 +1561,7 @@ declare enum EvmLanguage {
1561
1561
  * )
1562
1562
  * ```
1563
1563
  */
1564
- declare function getStorageSlot(client: PublicClient, contractAddress: HexString, data: HexString): Promise<string>;
1564
+ declare function getStorageSlot(client: PublicClient, contractAddress: HexString$1, data: HexString$1): Promise<string>;
1565
1565
  /**
1566
1566
  * Returns the storage slot for an ERC20 `balanceOf` or `allowance` call,
1567
1567
  * first checking the recorded slot cache and falling back to an RPC trace
@@ -1573,7 +1573,7 @@ declare function getStorageSlot(client: PublicClient, contractAddress: HexString
1573
1573
  * @param data - The ABI-encoded call data (method selector + padded args)
1574
1574
  * @returns The storage slot as a hex string, or undefined if not found
1575
1575
  */
1576
- declare function getOrFetchStorageSlot(client: PublicClient, chain: string, contractAddress: HexString, data: HexString): Promise<HexString | undefined>;
1576
+ declare function getOrFetchStorageSlot(client: PublicClient, chain: string, contractAddress: HexString$1, data: HexString$1): Promise<HexString$1 | undefined>;
1577
1577
  /**
1578
1578
  * Adjusts fee amounts between different decimal precisions.
1579
1579
  * Handles scaling up or down based on the decimal difference.
@@ -1607,7 +1607,7 @@ declare const TESTNET_CHAINS: Set<string>;
1607
1607
  * @returns An ordered list of calldata hex strings (empty if the target is not called)
1608
1608
  * @throws Error if the RPC call fails or returns an unexpected response
1609
1609
  */
1610
- declare function getContractCallInputs(client: PublicClient, txHash: HexString, targetContractAddress: string): Promise<HexString[]>;
1610
+ declare function getContractCallInputs(client: PublicClient, txHash: HexString$1, targetContractAddress: string): Promise<HexString$1[]>;
1611
1611
  /**
1612
1612
  * Retrieves the calldata used to call a target contract within a transaction.
1613
1613
  * Returns the first call by execution order; callers handling multiple logs
@@ -1619,7 +1619,7 @@ declare function getContractCallInputs(client: PublicClient, txHash: HexString,
1619
1619
  * @returns The input (calldata) as a hex string, or null if the target is not found in the trace
1620
1620
  * @throws Error if the RPC call fails or returns an unexpected response
1621
1621
  */
1622
- declare function getContractCallInput(client: PublicClient, txHash: HexString, targetContractAddress: string): Promise<HexString | null>;
1622
+ declare function getContractCallInput(client: PublicClient, txHash: HexString$1, targetContractAddress: string): Promise<HexString$1 | null>;
1623
1623
  /**
1624
1624
  * Calculates the balance mapping location for a given slot and holder address.
1625
1625
  * This function handles the different encoding formats used by Solidity and Vyper.
@@ -1629,7 +1629,7 @@ declare function getContractCallInput(client: PublicClient, txHash: HexString, t
1629
1629
  * @param language - The language of the contract.
1630
1630
  * @returns The balance mapping location as a HexString.
1631
1631
  */
1632
- declare function calculateBalanceMappingLocation(slot: bigint, holder: string, language: EvmLanguage): HexString;
1632
+ declare function calculateBalanceMappingLocation(slot: bigint, holder: string, language: EvmLanguage): HexString$1;
1633
1633
  /**
1634
1634
  * Calculates the allowance mapping location for a given slot, owner, and spender.
1635
1635
  * ERC20 allowance is a nested mapping: mapping(address owner => mapping(address spender => uint256))
@@ -1640,7 +1640,7 @@ declare function calculateBalanceMappingLocation(slot: bigint, holder: string, l
1640
1640
  * @param language - The language of the contract (Solidity or Vyper)
1641
1641
  * @returns The allowance mapping location as a HexString
1642
1642
  */
1643
- declare function calculateAllowanceMappingLocation(slot: bigint, owner: string, spender: string, language: EvmLanguage): HexString;
1643
+ declare function calculateAllowanceMappingLocation(slot: bigint, owner: string, spender: string, language: EvmLanguage): HexString$1;
1644
1644
 
1645
1645
  declare class SubstrateChain implements IChain {
1646
1646
  private readonly params;
@@ -1672,33 +1672,33 @@ declare class SubstrateChain implements IChain {
1672
1672
  * @param key - The H256 hash key (as a 0x-prefixed hex string)
1673
1673
  * @returns The storage key as a hex string
1674
1674
  */
1675
- requestReceiptKey(key: HexString): HexString;
1675
+ requestReceiptKey(key: HexString$1): HexString$1;
1676
1676
  /**
1677
1677
  * Returns the storage key for a request commitment in the child trie
1678
1678
  * The request commitment is the key
1679
1679
  * @param key - The H256 hash key (as a 0x-prefixed hex string)
1680
1680
  * @returns The storage key as a hex string
1681
1681
  */
1682
- requestCommitmentKey(key: HexString): HexString;
1682
+ requestCommitmentKey(key: HexString$1): HexString$1;
1683
1683
  /**
1684
1684
  * Queries a request commitment from the ISMP child trie storage.
1685
1685
  * @param {HexString} commitment - The commitment hash to look up.
1686
1686
  * @returns {Promise<HexString | undefined>} The commitment data if found, undefined otherwise.
1687
1687
  */
1688
- queryRequestCommitment(commitment: HexString): Promise<HexString | undefined>;
1688
+ queryRequestCommitment(commitment: HexString$1): Promise<HexString$1 | undefined>;
1689
1689
  /**
1690
1690
  * Queries the request receipt.
1691
1691
  * @param {HexString} commitment - The commitment to query.
1692
1692
  * @returns {Promise<HexString | undefined>} The relayer address responsible for delivering the request.
1693
1693
  */
1694
- queryRequestReceipt(commitment: HexString): Promise<HexString | undefined>;
1694
+ queryRequestReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
1695
1695
  /**
1696
1696
  * Returns the storage key for a response receipt in the child trie.
1697
1697
  * A response receipt is keyed by the originating *request* commitment.
1698
1698
  * @param {HexString} key - The request commitment (0x-prefixed H256 hex string)
1699
1699
  * @returns {HexString} The storage key as a hex string
1700
1700
  */
1701
- responseReceiptKey(key: HexString): HexString;
1701
+ responseReceiptKey(key: HexString$1): HexString$1;
1702
1702
  /**
1703
1703
  * Queries the response receipt for a request commitment. For a GET, Hyperbridge
1704
1704
  * produces the response as it processes the request, so the presence of a response
@@ -1706,7 +1706,7 @@ declare class SubstrateChain implements IChain {
1706
1706
  * @param {HexString} commitment - The originating request commitment to query.
1707
1707
  * @returns {Promise<HexString | undefined>} The receipt data if present, otherwise undefined.
1708
1708
  */
1709
- queryResponseReceipt(commitment: HexString): Promise<HexString | undefined>;
1709
+ queryResponseReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
1710
1710
  /**
1711
1711
  * Queries the state-machine commitment Hyperbridge holds for a counterparty chain at an
1712
1712
  * exact height — the `BoundedStateCommitments` map that `state_machine_commitment` (and thus
@@ -1715,7 +1715,7 @@ declare class SubstrateChain implements IChain {
1715
1715
  * @param {StateMachineHeight} height - The counterparty state machine id + height.
1716
1716
  * @returns {Promise<HexString | undefined>} The committed state root, or undefined if absent.
1717
1717
  */
1718
- queryStateMachineCommitment(height: StateMachineHeight): Promise<HexString | undefined>;
1718
+ queryStateMachineCommitment(height: StateMachineHeight): Promise<HexString$1 | undefined>;
1719
1719
  /**
1720
1720
  * Returns the current timestamp of the chain.
1721
1721
  * @returns {Promise<bigint>} The current timestamp.
@@ -1728,7 +1728,7 @@ declare class SubstrateChain implements IChain {
1728
1728
  * @param {bigint} [at] - The block number to query at.
1729
1729
  * @returns {Promise<HexString>} The proof.
1730
1730
  */
1731
- queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString>;
1731
+ queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString$1>;
1732
1732
  /**
1733
1733
  * Submit an unsigned ISMP transaction to the chain. Resolves when the transaction is finalized.
1734
1734
  * @param message - The message to be submitted.
@@ -1747,7 +1747,7 @@ declare class SubstrateChain implements IChain {
1747
1747
  * @param _address - Optional address (ignored for Substrate; present for IChain compatibility).
1748
1748
  * @returns The state proof as a hexadecimal string.
1749
1749
  */
1750
- queryStateProof(at: bigint, keys: HexString[], _address?: HexString): Promise<HexString>;
1750
+ queryStateProof(at: bigint, keys: HexString$1[], _address?: HexString$1): Promise<HexString$1>;
1751
1751
  /**
1752
1752
  * Get the latest state machine height for a given state machine ID.
1753
1753
  * @param {StateMachineIdParams} stateMachineId - The state machine ID.
@@ -1774,7 +1774,7 @@ declare class SubstrateChain implements IChain {
1774
1774
  * @param message The ISMP message to encode.
1775
1775
  * @returns The encoded message as a hexadecimal string.
1776
1776
  */
1777
- encode(message: IIsmpMessage): HexString;
1777
+ encode(message: IIsmpMessage): HexString$1;
1778
1778
  /**
1779
1779
  * Queries the latest proven height for this chain from pallet-ismp.
1780
1780
  */
@@ -1788,7 +1788,7 @@ declare class SubstrateChain implements IChain {
1788
1788
  * @param currentEpoch - The current authority set id on the destination EVM chain
1789
1789
  */
1790
1790
  queryConsensusProofs(neededHeight: bigint, currentEpoch: bigint): Promise<{
1791
- proofs: HexString[];
1791
+ proofs: HexString$1[];
1792
1792
  provenHeight: bigint;
1793
1793
  } | undefined>;
1794
1794
  private getPalletIndex;
@@ -1815,7 +1815,7 @@ declare function convertStateMachineEnumToString(stateMachine: {
1815
1815
  */
1816
1816
  declare function convertStateIdToStateMachineId(stateId: {
1817
1817
  Evm?: number;
1818
- Substrate?: HexString;
1818
+ Substrate?: HexString$1;
1819
1819
  Polkadot?: number;
1820
1820
  Kusama?: number;
1821
1821
  }): string;
@@ -1895,21 +1895,29 @@ declare function encodeISMPMessage(message: IIsmpMessage): Uint8Array;
1895
1895
  * @param userOp - The PackedUserOperation to encode
1896
1896
  * @returns Hex-encoded SCALE bytes
1897
1897
  */
1898
- declare function encodeUserOpScale(userOp: PackedUserOperation): HexString;
1898
+ declare function encodeUserOpScale(userOp: PackedUserOperation): HexString$1;
1899
1899
  /**
1900
1900
  * Decodes a SCALE-encoded PackedUserOperation.
1901
1901
  *
1902
1902
  * @param hex - The hex-encoded SCALE bytes
1903
1903
  * @returns The decoded PackedUserOperation
1904
1904
  */
1905
- declare function decodeUserOpScale(hex: HexString): PackedUserOperation;
1905
+ declare function decodeUserOpScale(hex: HexString$1): PackedUserOperation;
1906
+ /** One directed leg of a phantom order: `standardAmount` of `tokenA` quoted in `tokenB`. */
1907
+ interface PhantomOrderLeg {
1908
+ tokenA: HexString$1;
1909
+ tokenB: HexString$1;
1910
+ standardAmount: bigint;
1911
+ }
1906
1912
  interface PhantomOrderEvent {
1907
- commitment: HexString;
1913
+ commitment: HexString$1;
1908
1914
  chain: string;
1909
1915
  createdAt: number;
1910
- tokenA: HexString;
1911
- tokenB: HexString;
1912
- standardAmount: bigint;
1916
+ /**
1917
+ * Every configured pair expands into its configured direction plus the reverse. Listed in
1918
+ * the same order as the order's asset lists, so index `i` here is the order's leg `i`.
1919
+ */
1920
+ legs: PhantomOrderLeg[];
1913
1921
  }
1914
1922
  interface PollPhantomOrdersOptions {
1915
1923
  /** How often to check for a new head. Defaults to 6s, roughly one block. */
@@ -1998,7 +2006,7 @@ declare class IntentsCoprocessor {
1998
2006
  * @param userOp - The encoded PackedUserOperation as hex string
1999
2007
  * @returns BidSubmissionResult with success status and block/extrinsic hash
2000
2008
  */
2001
- submitBid(commitment: HexString, userOp: HexString): Promise<BidSubmissionResult>;
2009
+ submitBid(commitment: HexString$1, userOp: HexString$1): Promise<BidSubmissionResult>;
2002
2010
  /**
2003
2011
  * Retracts a bid from Hyperbridge and reclaims the deposit
2004
2012
  *
@@ -2007,7 +2015,7 @@ declare class IntentsCoprocessor {
2007
2015
  * @param commitment - The order commitment hash (bytes32)
2008
2016
  * @returns BidSubmissionResult with success status and block/extrinsic hash
2009
2017
  */
2010
- retractBid(commitment: HexString): Promise<BidSubmissionResult>;
2018
+ retractBid(commitment: HexString$1): Promise<BidSubmissionResult>;
2011
2019
  /**
2012
2020
  * Places a new bid and retracts a previous one in a single transaction via utility.batch.
2013
2021
  *
@@ -2028,7 +2036,7 @@ declare class IntentsCoprocessor {
2028
2036
  * @param userOp - The encoded PackedUserOperation as hex string
2029
2037
  * @returns BidSubmissionResult with success status and block/extrinsic hash
2030
2038
  */
2031
- submitBidWithRetraction(retractCommitment: HexString, bidCommitment: HexString, userOp: HexString): Promise<BidSubmissionResult>;
2039
+ submitBidWithRetraction(retractCommitment: HexString$1, bidCommitment: HexString$1, userOp: HexString$1): Promise<BidSubmissionResult>;
2032
2040
  /**
2033
2041
  * Fetches all bid storage entries for a given order commitment.
2034
2042
  * Returns the on-chain data only (filler addresses and deposits).
@@ -2036,7 +2044,7 @@ declare class IntentsCoprocessor {
2036
2044
  * @param commitment - The order commitment hash (bytes32)
2037
2045
  * @returns Array of BidStorageEntry objects
2038
2046
  */
2039
- getBidStorageEntries(commitment: HexString): Promise<BidStorageEntry[]>;
2047
+ getBidStorageEntries(commitment: HexString$1): Promise<BidStorageEntry[]>;
2040
2048
  /**
2041
2049
  * Fetches all bids for a given order commitment from Hyperbridge.
2042
2050
  *
@@ -2047,7 +2055,7 @@ declare class IntentsCoprocessor {
2047
2055
  * @param commitment - The order commitment hash (bytes32)
2048
2056
  * @returns Array of FillerBid objects containing filler address, userOp, and deposit
2049
2057
  */
2050
- getBidsForOrder(commitment: HexString): Promise<FillerBid[]>;
2058
+ getBidsForOrder(commitment: HexString$1): Promise<FillerBid[]>;
2051
2059
  /**
2052
2060
  * Fetches bids using the custom intents_getBidsForOrder RPC.
2053
2061
  * Single round-trip but does not include deposit amounts.
@@ -2070,7 +2078,7 @@ declare class IntentsCoprocessor {
2070
2078
  * Returns `null` if the key is absent (e.g. the node is not an offchain worker
2071
2079
  * or the commitment has expired and been cleared).
2072
2080
  */
2073
- fetchPhantomOrder(commitment: HexString): Promise<Order | null>;
2081
+ fetchPhantomOrder(commitment: HexString$1): Promise<Order | null>;
2074
2082
  /**
2075
2083
  * Reads the PhantomOrderRegistered events emitted in a single block.
2076
2084
  */
@@ -2116,7 +2124,7 @@ declare class TronChain implements IChain {
2116
2124
  /** Underlying viem public client (delegated from the internal EvmChain) */
2117
2125
  get client(): PublicClient;
2118
2126
  /** Host contract address for this chain (delegated from the internal EvmChain) */
2119
- get host(): HexString;
2127
+ get host(): HexString$1;
2120
2128
  /** Chain configuration (delegated from the internal EvmChain) */
2121
2129
  get config(): IEvmConfig;
2122
2130
  /** Chain configuration service (delegated from the internal EvmChain) */
@@ -2124,11 +2132,11 @@ declare class TronChain implements IChain {
2124
2132
  /** TronWeb instance for this Tron chain (constructed from rpcUrl) */
2125
2133
  get tronWeb(): InstanceType<typeof TronWeb>;
2126
2134
  timestamp(): Promise<bigint>;
2127
- requestReceiptKey(commitment: HexString): HexString;
2128
- queryRequestReceipt(commitment: HexString): Promise<HexString | undefined>;
2129
- queryStateProof(at: bigint, keys: HexString[], address?: HexString): Promise<HexString>;
2130
- queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString>;
2131
- encode(message: IIsmpMessage): HexString;
2135
+ requestReceiptKey(commitment: HexString$1): HexString$1;
2136
+ queryRequestReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
2137
+ queryStateProof(at: bigint, keys: HexString$1[], address?: HexString$1): Promise<HexString$1>;
2138
+ queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString$1>;
2139
+ encode(message: IIsmpMessage): HexString$1;
2132
2140
  latestStateMachineHeight(stateMachineId: StateMachineIdParams): Promise<bigint>;
2133
2141
  challengePeriod(stateMachineId: StateMachineIdParams): Promise<bigint>;
2134
2142
  stateMachineUpdateTime(stateMachineHeight: StateMachineHeight): Promise<bigint>;
@@ -2137,7 +2145,7 @@ declare class TronChain implements IChain {
2137
2145
  * Only works for direct calls to IntentGateway (not nested/multicall).
2138
2146
  * Tron does not support debug_traceTransaction.
2139
2147
  */
2140
- getPlaceOrderCalldata(txHash: string, _intentGatewayAddress: string, _occurrenceIndex?: number): Promise<HexString>;
2148
+ getPlaceOrderCalldata(txHash: string, _intentGatewayAddress: string, _occurrenceIndex?: number): Promise<HexString$1>;
2141
2149
  /**
2142
2150
  * Broadcasts a signed Tron transaction and waits for confirmation,
2143
2151
  * returning a 0x-prefixed transaction hash compatible with viem.
@@ -2145,10 +2153,10 @@ declare class TronChain implements IChain {
2145
2153
  * This mirrors the behavior used in IntentGatewayV2 for Tron chains.
2146
2154
  */
2147
2155
  broadcastTransaction(signedTransaction: any): Promise<TransactionReceipt>;
2148
- getTransactionReceipt(hash: HexString): Promise<TransactionReceipt>;
2156
+ getTransactionReceipt(hash: HexString$1): Promise<TransactionReceipt>;
2149
2157
  /** Gets the fee token address and decimals for the chain. */
2150
2158
  getFeeTokenWithDecimals(): Promise<{
2151
- address: HexString;
2159
+ address: HexString$1;
2152
2160
  decimals: number;
2153
2161
  }>;
2154
2162
  /** Gets the nonce of the host contract on this chain. */
@@ -2158,7 +2166,7 @@ declare class TronChain implements IChain {
2158
2166
  /** Estimates gas for executing a post request on this chain. */
2159
2167
  estimateGas(request: IPostRequest): Promise<{
2160
2168
  gas: bigint;
2161
- postRequestCalldata: HexString;
2169
+ postRequestCalldata: HexString$1;
2162
2170
  }>;
2163
2171
  }
2164
2172
 
@@ -2189,34 +2197,34 @@ declare class PolkadotHubChain implements IChain {
2189
2197
  static create(evmRpcUrl: string, substrateRpcUrl: string, bundlerUrl?: string): Promise<PolkadotHubChain>;
2190
2198
  private constructor();
2191
2199
  get client(): PublicClient;
2192
- get host(): HexString;
2200
+ get host(): HexString$1;
2193
2201
  get bundlerUrl(): string | undefined;
2194
2202
  get configService(): ChainConfigService;
2195
2203
  get config(): IPolkadotHubConfig;
2196
2204
  private hostAddress20;
2197
2205
  private fetchCombinedProof;
2198
2206
  timestamp(): Promise<bigint>;
2199
- requestReceiptKey(commitment: HexString): HexString;
2200
- queryRequestReceipt(commitment: HexString): Promise<HexString | undefined>;
2201
- queryProof(message: IMessage, _counterparty: string, at?: bigint): Promise<HexString>;
2202
- queryStateProof(at: bigint, keys: HexString[], _address?: HexString): Promise<HexString>;
2203
- encode(message: IIsmpMessage): HexString;
2207
+ requestReceiptKey(commitment: HexString$1): HexString$1;
2208
+ queryRequestReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
2209
+ queryProof(message: IMessage, _counterparty: string, at?: bigint): Promise<HexString$1>;
2210
+ queryStateProof(at: bigint, keys: HexString$1[], _address?: HexString$1): Promise<HexString$1>;
2211
+ encode(message: IIsmpMessage): HexString$1;
2204
2212
  latestStateMachineHeight(stateMachineId: StateMachineIdParams): Promise<bigint>;
2205
2213
  challengePeriod(stateMachineId: StateMachineIdParams): Promise<bigint>;
2206
2214
  stateMachineUpdateTime(stateMachineHeight: StateMachineHeight): Promise<bigint>;
2207
2215
  getHostNonce(): Promise<bigint>;
2208
2216
  quoteNative(request: IPostRequest | IGetRequest, fee: bigint): Promise<bigint>;
2209
2217
  getFeeTokenWithDecimals(): Promise<{
2210
- address: HexString;
2218
+ address: HexString$1;
2211
2219
  decimals: number;
2212
2220
  }>;
2213
- getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString>;
2221
+ getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString$1>;
2214
2222
  estimateGas(request: IPostRequest): Promise<{
2215
2223
  gas: bigint;
2216
- postRequestCalldata: HexString;
2224
+ postRequestCalldata: HexString$1;
2217
2225
  }>;
2218
- broadcastTransaction(signedTransaction: HexString): Promise<TransactionReceipt>;
2219
- getTransactionReceipt(hash: HexString): Promise<TransactionReceipt>;
2226
+ broadcastTransaction(signedTransaction: HexString$1): Promise<TransactionReceipt>;
2227
+ getTransactionReceipt(hash: HexString$1): Promise<TransactionReceipt>;
2220
2228
  }
2221
2229
 
2222
2230
  /**
@@ -2248,7 +2256,7 @@ declare class PharosChain implements IChain {
2248
2256
  static create(rpcUrl: string, bundlerUrl?: string): Promise<PharosChain>;
2249
2257
  private constructor();
2250
2258
  get client(): PublicClient;
2251
- get host(): HexString;
2259
+ get host(): HexString$1;
2252
2260
  get bundlerUrl(): string | undefined;
2253
2261
  get configService(): ChainConfigService;
2254
2262
  get config(): IPharosConfig;
@@ -2265,8 +2273,8 @@ declare class PharosChain implements IChain {
2265
2273
  */
2266
2274
  private fetchAccountProofInto;
2267
2275
  timestamp(): Promise<bigint>;
2268
- requestReceiptKey(commitment: HexString): HexString;
2269
- queryRequestReceipt(commitment: HexString): Promise<HexString | undefined>;
2276
+ requestReceiptKey(commitment: HexString$1): HexString$1;
2277
+ queryRequestReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
2270
2278
  /**
2271
2279
  * Query a Pharos state proof for the request/response commitments in `message`.
2272
2280
  *
@@ -2275,7 +2283,7 @@ declare class PharosChain implements IChain {
2275
2283
  * {@link requestCommitmentKey} / {@link responseCommitmentKey}) and request it
2276
2284
  * from the ISMP host via `eth_getProof`.
2277
2285
  */
2278
- queryProof(message: IMessage, _counterparty: string, at?: bigint): Promise<HexString>;
2286
+ queryProof(message: IMessage, _counterparty: string, at?: bigint): Promise<HexString$1>;
2279
2287
  /**
2280
2288
  * Query a Pharos state proof for arbitrary keys.
2281
2289
  *
@@ -2287,24 +2295,24 @@ declare class PharosChain implements IChain {
2287
2295
  * If `address` is provided, all keys are treated as 32-byte slots under that
2288
2296
  * contract (matching the `EvmChain.queryStateProof` contract-override shape).
2289
2297
  */
2290
- queryStateProof(at: bigint, keys: HexString[], address?: HexString): Promise<HexString>;
2291
- encode(message: IIsmpMessage): HexString;
2298
+ queryStateProof(at: bigint, keys: HexString$1[], address?: HexString$1): Promise<HexString$1>;
2299
+ encode(message: IIsmpMessage): HexString$1;
2292
2300
  latestStateMachineHeight(stateMachineId: StateMachineIdParams): Promise<bigint>;
2293
2301
  challengePeriod(stateMachineId: StateMachineIdParams): Promise<bigint>;
2294
2302
  stateMachineUpdateTime(stateMachineHeight: StateMachineHeight): Promise<bigint>;
2295
2303
  getHostNonce(): Promise<bigint>;
2296
2304
  quoteNative(request: IPostRequest | IGetRequest, fee: bigint): Promise<bigint>;
2297
2305
  getFeeTokenWithDecimals(): Promise<{
2298
- address: HexString;
2306
+ address: HexString$1;
2299
2307
  decimals: number;
2300
2308
  }>;
2301
- getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString>;
2309
+ getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString$1>;
2302
2310
  estimateGas(request: IPostRequest): Promise<{
2303
2311
  gas: bigint;
2304
- postRequestCalldata: HexString;
2312
+ postRequestCalldata: HexString$1;
2305
2313
  }>;
2306
- broadcastTransaction(signedTransaction: HexString): Promise<TransactionReceipt>;
2307
- getTransactionReceipt(hash: HexString): Promise<TransactionReceipt>;
2314
+ broadcastTransaction(signedTransaction: HexString$1): Promise<TransactionReceipt>;
2315
+ getTransactionReceipt(hash: HexString$1): Promise<TransactionReceipt>;
2308
2316
  }
2309
2317
 
2310
2318
  /**
@@ -2313,7 +2321,7 @@ declare class PharosChain implements IChain {
2313
2321
  type IIsmpMessage = IRequestMessage | ITimeoutPostRequestMessage | IGetResponseMessage | IGetRequestMessage | IConsensusMessage | IBatchConsensusAndPostRequestMessage | IBatchConsensusAndGetResponseMessage;
2314
2322
  interface IConsensusMessage {
2315
2323
  kind: "Consensus";
2316
- consensusProof: HexString;
2324
+ consensusProof: HexString$1;
2317
2325
  }
2318
2326
  interface IRequestMessage {
2319
2327
  /**
@@ -2331,7 +2339,7 @@ interface IRequestMessage {
2331
2339
  /**
2332
2340
  * The signer of the message.
2333
2341
  */
2334
- signer: HexString;
2342
+ signer: HexString$1;
2335
2343
  }
2336
2344
  interface IGetRequestMessage {
2337
2345
  /**
@@ -2353,7 +2361,7 @@ interface IGetRequestMessage {
2353
2361
  /**
2354
2362
  * The signer of the message.
2355
2363
  */
2356
- signer: HexString;
2364
+ signer: HexString$1;
2357
2365
  }
2358
2366
  interface IGetResponse {
2359
2367
  /**
@@ -2381,7 +2389,7 @@ interface IGetResponseMessage {
2381
2389
  /**
2382
2390
  * The signer of the message.
2383
2391
  */
2384
- signer: HexString;
2392
+ signer: HexString$1;
2385
2393
  }
2386
2394
  interface ITimeoutPostRequestMessage {
2387
2395
  /**
@@ -2399,17 +2407,17 @@ interface ITimeoutPostRequestMessage {
2399
2407
  }
2400
2408
  interface IBatchConsensusAndPostRequestMessage {
2401
2409
  kind: "BatchConsensusAndPostRequest";
2402
- consensusProofs: HexString[];
2410
+ consensusProofs: HexString$1[];
2403
2411
  requests: IPostRequest[];
2404
2412
  proof: IProof;
2405
- signer: HexString;
2413
+ signer: HexString$1;
2406
2414
  }
2407
2415
  interface IBatchConsensusAndGetResponseMessage {
2408
2416
  kind: "BatchConsensusAndGetResponse";
2409
- consensusProofs: HexString[];
2417
+ consensusProofs: HexString$1[];
2410
2418
  responses: IGetResponse[];
2411
2419
  proof: IProof;
2412
- signer: HexString;
2420
+ signer: HexString$1;
2413
2421
  }
2414
2422
  interface IProof {
2415
2423
  /**
@@ -2427,7 +2435,7 @@ interface IProof {
2427
2435
  /**
2428
2436
  * The encoded storage proof
2429
2437
  */
2430
- proof: HexString;
2438
+ proof: HexString$1;
2431
2439
  }
2432
2440
  /**
2433
2441
  * Interface representing a chain.
@@ -2441,18 +2449,18 @@ interface IChain {
2441
2449
  /**
2442
2450
  * Returns the state trie key for the request-receipt storage item for the given request commitment.
2443
2451
  */
2444
- requestReceiptKey(commitment: HexString): HexString;
2452
+ requestReceiptKey(commitment: HexString$1): HexString$1;
2445
2453
  /**
2446
2454
  * Query and return the request-receipt for the given request commitment.
2447
2455
  */
2448
- queryRequestReceipt(commitment: HexString): Promise<HexString | undefined>;
2456
+ queryRequestReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
2449
2457
  /**
2450
2458
  * Query and return the encoded storage proof for the provided keys at the given height.
2451
2459
  * @param address - Optional contract address for EVM chains; defaults to host contract when omitted.
2452
2460
  */
2453
- queryStateProof(at: bigint, keys: HexString[], address?: HexString): Promise<HexString>;
2454
- queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString>;
2455
- encode(message: IIsmpMessage): HexString;
2461
+ queryStateProof(at: bigint, keys: HexString$1[], address?: HexString$1): Promise<HexString$1>;
2462
+ queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString$1>;
2463
+ encode(message: IIsmpMessage): HexString$1;
2456
2464
  /**
2457
2465
  * Get the latest state machine height for a given state machine ID.
2458
2466
  */
@@ -2477,18 +2485,18 @@ interface IEvmChain extends IChain {
2477
2485
  getHostNonce(): Promise<bigint>;
2478
2486
  quoteNative(request: IPostRequest | IGetRequest, fee: bigint): Promise<bigint>;
2479
2487
  getFeeTokenWithDecimals(): Promise<{
2480
- address: HexString;
2488
+ address: HexString$1;
2481
2489
  decimals: number;
2482
2490
  }>;
2483
- getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString>;
2484
- broadcastTransaction(signedTransaction: HexString): Promise<TransactionReceipt>;
2485
- getTransactionReceipt(hash: HexString): Promise<TransactionReceipt>;
2491
+ getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString$1>;
2492
+ broadcastTransaction(signedTransaction: HexString$1): Promise<TransactionReceipt>;
2493
+ getTransactionReceipt(hash: HexString$1): Promise<TransactionReceipt>;
2486
2494
  }
2487
2495
 
2488
2496
  type EstimateGasCallData = ContractFunctionArgs<typeof _default.ABI, "nonpayable" | "payable", "handlePostRequests">;
2489
- type HexString = `0x${string}`;
2497
+ type HexString$1 = `0x${string}`;
2490
2498
  type StateMachineId = string;
2491
- type BytesLikeHex = HexString;
2499
+ type BytesLikeHex = HexString$1;
2492
2500
  interface IConfig {
2493
2501
  source: IEvmConfig | ISubstrateConfig | IPolkadotHubConfig | IPharosConfig;
2494
2502
  dest: IEvmConfig | ISubstrateConfig | IPolkadotHubConfig | IPharosConfig;
@@ -2498,7 +2506,7 @@ interface IConfig {
2498
2506
  interface IEvmConfig {
2499
2507
  rpcUrl: string;
2500
2508
  stateMachineId: string;
2501
- host: HexString;
2509
+ host: HexString$1;
2502
2510
  consensusStateId: string;
2503
2511
  }
2504
2512
  /**
@@ -2530,25 +2538,25 @@ interface IHyperbridgeConfig {
2530
2538
  interface IPostRequest {
2531
2539
  source: string;
2532
2540
  dest: string;
2533
- from: HexString;
2534
- to: HexString;
2541
+ from: HexString$1;
2542
+ to: HexString$1;
2535
2543
  nonce: bigint;
2536
- body: HexString;
2544
+ body: HexString$1;
2537
2545
  timeoutTimestamp: bigint;
2538
2546
  }
2539
2547
  interface IGetRequest {
2540
2548
  source: string;
2541
2549
  dest: string;
2542
- from: HexString;
2550
+ from: HexString$1;
2543
2551
  nonce: bigint;
2544
2552
  height: bigint;
2545
- keys: HexString[];
2553
+ keys: HexString$1[];
2546
2554
  timeoutTimestamp: bigint;
2547
- context: HexString;
2555
+ context: HexString$1;
2548
2556
  }
2549
2557
  interface GetResponseStorageValues {
2550
- key: HexString;
2551
- value: HexString;
2558
+ key: HexString$1;
2559
+ value: HexString$1;
2552
2560
  }
2553
2561
  interface IPostResponse {
2554
2562
  post: IPostRequest;
@@ -2556,9 +2564,9 @@ interface IPostResponse {
2556
2564
  timeoutTimestamp: bigint;
2557
2565
  }
2558
2566
  type IMessage = {
2559
- Requests: HexString[];
2567
+ Requests: HexString$1[];
2560
2568
  } | {
2561
- Responses: HexString[];
2569
+ Responses: HexString$1[];
2562
2570
  };
2563
2571
  type IndexerQueryClient = GraphQLClient;
2564
2572
  interface ClientConfig {
@@ -2723,10 +2731,10 @@ interface RequestResponse {
2723
2731
  nodes: Array<{
2724
2732
  source: string;
2725
2733
  dest: string;
2726
- to: HexString;
2727
- from: HexString;
2734
+ to: HexString$1;
2735
+ from: HexString$1;
2728
2736
  nonce: bigint;
2729
- body: HexString;
2737
+ body: HexString$1;
2730
2738
  timeoutTimestamp: bigint;
2731
2739
  statusMetadata: {
2732
2740
  nodes: Array<{
@@ -2746,12 +2754,12 @@ interface GetRequestResponse {
2746
2754
  nodes: Array<{
2747
2755
  source: string;
2748
2756
  dest: string;
2749
- to: HexString;
2750
- from: HexString;
2757
+ to: HexString$1;
2758
+ from: HexString$1;
2751
2759
  nonce: bigint;
2752
2760
  height: bigint;
2753
- keys: HexString[];
2754
- context: HexString;
2761
+ keys: HexString$1[];
2762
+ context: HexString$1;
2755
2763
  timeoutTimestamp: bigint;
2756
2764
  statusMetadata: {
2757
2765
  nodes: Array<{
@@ -2851,20 +2859,20 @@ type RequestStatusWithMetadata = {
2851
2859
  interface GenericRequestWithStatuses {
2852
2860
  source: string;
2853
2861
  dest: string;
2854
- from: HexString;
2862
+ from: HexString$1;
2855
2863
  nonce: bigint;
2856
2864
  timeoutTimestamp: bigint;
2857
2865
  statuses: Array<RequestStatusWithMetadata>;
2858
2866
  }
2859
2867
  interface PostRequestWithStatus extends GenericRequestWithStatuses {
2860
- to: HexString;
2861
- body: HexString;
2868
+ to: HexString$1;
2869
+ body: HexString$1;
2862
2870
  }
2863
2871
  interface GetRequestWithStatus extends GenericRequestWithStatuses {
2864
2872
  height: bigint;
2865
- keys: HexString[];
2866
- context: HexString;
2867
- commitment: HexString;
2873
+ keys: HexString$1[];
2874
+ context: HexString$1;
2875
+ commitment: HexString$1;
2868
2876
  }
2869
2877
  interface GetResponseByRequestIdResponse {
2870
2878
  getResponses: {
@@ -2907,7 +2915,7 @@ interface AssetTeleported {
2907
2915
  to: string;
2908
2916
  amount: bigint;
2909
2917
  dest: string;
2910
- commitment: HexString;
2918
+ commitment: HexString$1;
2911
2919
  createdAt: Date;
2912
2920
  blockNumber: number;
2913
2921
  }
@@ -2917,7 +2925,7 @@ interface AssetTeleportedResponse {
2917
2925
  interface StateMachineIdParams {
2918
2926
  stateId: {
2919
2927
  Evm?: number;
2920
- Substrate?: HexString;
2928
+ Substrate?: HexString$1;
2921
2929
  Polkadot?: number;
2922
2930
  Kusama?: number;
2923
2931
  };
@@ -2960,58 +2968,73 @@ interface TokenInfo {
2960
2968
  interface DecodedOrderPlacedLog extends Log {
2961
2969
  eventName: string;
2962
2970
  args: {
2963
- user: HexString;
2971
+ user: HexString$1;
2964
2972
  source: string;
2965
2973
  destination: string;
2966
2974
  deadline: bigint;
2967
2975
  nonce: bigint;
2968
2976
  fees: bigint;
2969
- session: HexString;
2970
- beneficiary: HexString;
2977
+ session: HexString$1;
2978
+ beneficiary: HexString$1;
2971
2979
  predispatch: Array<{
2972
- token: HexString;
2980
+ token: HexString$1;
2973
2981
  amount: bigint;
2974
2982
  }>;
2975
2983
  inputs: Array<{
2976
- token: HexString;
2984
+ token: HexString$1;
2977
2985
  amount: bigint;
2978
2986
  }>;
2979
2987
  outputs: Array<{
2980
- token: HexString;
2988
+ token: HexString$1;
2981
2989
  amount: bigint;
2982
2990
  }>;
2991
+ /**
2992
+ * Calldata executed via the CallDispatcher before escrow.
2993
+ * Absent on logs emitted under the pre-#1092 event schema.
2994
+ */
2995
+ predispatchCall?: HexString$1;
2996
+ /**
2997
+ * Calldata executed on the destination chain during the fill.
2998
+ * Absent on logs emitted under the pre-#1092 event schema.
2999
+ */
3000
+ outputCall?: HexString$1;
3001
+ /**
3002
+ * Attribution tag supplied by the order placer.
3003
+ * Absent on logs emitted under the pre-#1092 event schema.
3004
+ */
3005
+ graffiti?: HexString$1;
2983
3006
  };
2984
- transactionHash: HexString;
3007
+ transactionHash: HexString$1;
2985
3008
  }
2986
3009
  interface DecodedPostRequestEvent extends Log {
2987
3010
  eventName: string;
2988
3011
  args: {
2989
3012
  source: string;
2990
3013
  dest: string;
2991
- from: HexString;
2992
- to: HexString;
3014
+ from: HexString$1;
3015
+ to: HexString$1;
2993
3016
  nonce: bigint;
2994
3017
  timeoutTimestamp: bigint;
2995
- body: HexString;
3018
+ body: HexString$1;
2996
3019
  fee: bigint;
2997
3020
  };
2998
- transactionHash: HexString;
3021
+ transactionHash: HexString$1;
2999
3022
  }
3000
3023
  interface DecodedPostResponseEvent extends Log {
3001
3024
  eventName: string;
3002
3025
  args: {
3003
3026
  source: string;
3004
3027
  dest: string;
3005
- from: HexString;
3006
- to: HexString;
3028
+ from: HexString$1;
3029
+ to: HexString$1;
3007
3030
  nonce: bigint;
3008
3031
  timeoutTimestamp: bigint;
3009
- body: HexString;
3010
- response: HexString;
3032
+ body: HexString$1;
3033
+ response: HexString$1;
3011
3034
  responseTimeoutTimestamp: bigint;
3012
3035
  fee: bigint;
3013
3036
  };
3014
- transactionHash: HexString;
3037
+ transactionHash: HexString$1;
3015
3038
  }
3016
3039
  /**
3017
3040
  * Options for canceling an order
@@ -3033,11 +3056,11 @@ interface Deployment {
3033
3056
  /**
3034
3057
  * The raw state machine ID bytes for the deployment chain (hashed on-chain)
3035
3058
  */
3036
- chain: HexString;
3059
+ chain: HexString$1;
3037
3060
  /**
3038
3061
  * The gateway identifier
3039
3062
  */
3040
- gateway: HexString;
3063
+ gateway: HexString$1;
3041
3064
  }
3042
3065
  /**
3043
3066
  * Represents the body of a request
@@ -3046,11 +3069,11 @@ interface RequestBody {
3046
3069
  /**
3047
3070
  * Represents the commitment of an order
3048
3071
  */
3049
- commitment: HexString;
3072
+ commitment: HexString$1;
3050
3073
  /**
3051
3074
  * Stores the identifier for the beneficiary
3052
3075
  */
3053
- beneficiary: HexString;
3076
+ beneficiary: HexString$1;
3054
3077
  /**
3055
3078
  * An array of token identifiers
3056
3079
  */
@@ -3151,6 +3174,13 @@ interface FillerConfig {
3151
3174
  * Example: { 1: true, 56: false } - watch-only on Ethereum, normal execution on BSC
3152
3175
  */
3153
3176
  watchOnly?: Record<number, boolean>;
3177
+ /**
3178
+ * Source chains (state machine ids, e.g. "EVM-8453") this filler accepts payment from when
3179
+ * filling cross-chain orders, declared inside its phantom bids' paymasterAndData. Omit to
3180
+ * declare nothing, which downstream consumers read as "accepts all CCTP/USDT0-covered
3181
+ * chains"; an empty array declares that no source chain is accepted.
3182
+ */
3183
+ acceptedSourceChains?: string[];
3154
3184
  }
3155
3185
  /**
3156
3186
  * Result of an order execution attempt
@@ -3200,8 +3230,8 @@ interface ExecutionResult {
3200
3230
  * Any tokens exchanged during the fill process
3201
3231
  */
3202
3232
  exchanges?: Array<{
3203
- fromToken: HexString;
3204
- toToken: HexString;
3233
+ fromToken: HexString$1;
3234
+ toToken: HexString$1;
3205
3235
  fromAmount: string;
3206
3236
  toAmount: string;
3207
3237
  exchangeRate: string;
@@ -3223,15 +3253,15 @@ interface DispatchPost {
3223
3253
  /**
3224
3254
  * Bytes representation of the destination state machine
3225
3255
  */
3226
- dest: HexString;
3256
+ dest: HexString$1;
3227
3257
  /**
3228
3258
  * The destination module
3229
3259
  */
3230
- to: HexString;
3260
+ to: HexString$1;
3231
3261
  /**
3232
3262
  * The request body
3233
3263
  */
3234
- body: HexString;
3264
+ body: HexString$1;
3235
3265
  /**
3236
3266
  * Timeout for this request in seconds
3237
3267
  */
@@ -3244,13 +3274,13 @@ interface DispatchPost {
3244
3274
  /**
3245
3275
  * Who pays for this request?
3246
3276
  */
3247
- payer: HexString;
3277
+ payer: HexString$1;
3248
3278
  }
3249
3279
  interface DispatchGet {
3250
3280
  /**
3251
3281
  * Bytes representation of the destination state machine
3252
3282
  */
3253
- dest: HexString;
3283
+ dest: HexString$1;
3254
3284
  /**
3255
3285
  * Height at which to read the state machine
3256
3286
  */
@@ -3258,7 +3288,7 @@ interface DispatchGet {
3258
3288
  /**
3259
3289
  * Raw storage keys to fetch values from the counterparty
3260
3290
  */
3261
- keys: HexString[];
3291
+ keys: HexString$1[];
3262
3292
  /**
3263
3293
  * Timeout for this request in seconds
3264
3294
  */
@@ -3270,17 +3300,17 @@ interface DispatchGet {
3270
3300
  /**
3271
3301
  * Context for the request
3272
3302
  */
3273
- context: HexString;
3303
+ context: HexString$1;
3274
3304
  /**
3275
3305
  * Who pays for this request?
3276
3306
  */
3277
- payer: HexString;
3307
+ payer: HexString$1;
3278
3308
  }
3279
3309
  interface StateMachineHeight {
3280
3310
  id: {
3281
3311
  stateId: {
3282
3312
  Evm?: number;
3283
- Substrate?: HexString;
3313
+ Substrate?: HexString$1;
3284
3314
  Polkadot?: number;
3285
3315
  Kusama?: number;
3286
3316
  };
@@ -3296,26 +3326,26 @@ interface HostParams {
3296
3326
  * The fee token contract address. This will typically be DAI.
3297
3327
  * but we allow it to be configurable to prevent future regrets.
3298
3328
  */
3299
- feeToken: HexString;
3329
+ feeToken: HexString$1;
3300
3330
  /**
3301
3331
  * The admin account, this only has the rights to freeze, or unfreeze the bridge
3302
3332
  */
3303
- admin: HexString;
3333
+ admin: HexString$1;
3304
3334
  /**
3305
3335
  * Ismp message handler contract. This performs all verification logic
3306
3336
  * needed to validate cross-chain messages before they are dispatched to local modules
3307
3337
  */
3308
- handler: HexString;
3338
+ handler: HexString$1;
3309
3339
  /**
3310
3340
  * The authorized host manager contract, is itself an `IIsmpModule`
3311
3341
  * which receives governance requests from the Hyperbridge chain to either
3312
3342
  * withdraw revenue from the host or update its protocol parameters
3313
3343
  */
3314
- hostManager: HexString;
3344
+ hostManager: HexString$1;
3315
3345
  /**
3316
3346
  * The local UniswapV2Router02 contract, used for swapping the native token to the feeToken.
3317
3347
  */
3318
- uniswapV2: HexString;
3348
+ uniswapV2: HexString$1;
3319
3349
  /**
3320
3350
  * The unstaking period of Polkadot's validators. In order to prevent long-range attacks
3321
3351
  */
@@ -3327,7 +3357,7 @@ interface HostParams {
3327
3357
  /**
3328
3358
  * The consensus client contract which handles consensus proof verification
3329
3359
  */
3330
- consensusClient: HexString;
3360
+ consensusClient: HexString$1;
3331
3361
  /**
3332
3362
  * State machines whose state commitments are accepted
3333
3363
  */
@@ -3335,7 +3365,7 @@ interface HostParams {
3335
3365
  /**
3336
3366
  * The state machine identifier for hyperbridge
3337
3367
  */
3338
- hyperbridge: HexString;
3368
+ hyperbridge: HexString$1;
3339
3369
  }
3340
3370
  interface OrderStatusMetadata {
3341
3371
  status: OrderStatus;
@@ -3417,9 +3447,9 @@ interface OrderResponse {
3417
3447
  };
3418
3448
  }
3419
3449
  interface PhantomOrderPriceSnapshot {
3420
- commitment: HexString;
3421
- tokenA: HexString;
3422
- tokenB: HexString;
3450
+ commitment: HexString$1;
3451
+ tokenA: HexString$1;
3452
+ tokenB: HexString$1;
3423
3453
  standardAmount: bigint;
3424
3454
  blockNumber: bigint;
3425
3455
  medianPrice: bigint;
@@ -3453,14 +3483,14 @@ interface PhantomOrderPriceSnapshotsResponse {
3453
3483
  interface AvailableLiquiditySnapshot {
3454
3484
  totalLiquidity: string;
3455
3485
  providerCount: number;
3456
- tokenAddress: HexString;
3486
+ tokenAddress: HexString$1;
3457
3487
  snapshotTime: Date;
3458
3488
  liquidityByChain: AvailableLiquidityByChain[];
3459
3489
  }
3460
3490
  /** Liquidity for one chain/token balance group in an availability snapshot. */
3461
3491
  interface AvailableLiquidityByChain {
3462
3492
  chain: string;
3463
- tokenAddress: HexString;
3493
+ tokenAddress: HexString$1;
3464
3494
  totalLiquidity: string;
3465
3495
  providerCount: number;
3466
3496
  }
@@ -3490,7 +3520,7 @@ interface Transaction {
3490
3520
  /**
3491
3521
  * The address to send the transaction to (typically the Universal Router address)
3492
3522
  */
3493
- to: HexString;
3523
+ to: HexString$1;
3494
3524
  /**
3495
3525
  * The value to send with the transaction (in wei)
3496
3526
  */
@@ -3498,7 +3528,7 @@ interface Transaction {
3498
3528
  /**
3499
3529
  * The calldata for the transaction
3500
3530
  */
3501
- data: HexString;
3531
+ data: HexString$1;
3502
3532
  }
3503
3533
  interface StorageFacade {
3504
3534
  get<T>(key: string): Promise<T | undefined>;
@@ -3509,15 +3539,15 @@ interface PaymentInfo {
3509
3539
  /** Accepts a standard 20-byte address; the SDK pads to bytes32 internally when needed. */
3510
3540
  beneficiary: BytesLikeHex;
3511
3541
  assets: TokenInfo[];
3512
- call: HexString;
3542
+ call: HexString$1;
3513
3543
  }
3514
3544
  interface DispatchInfo {
3515
3545
  assets: TokenInfo[];
3516
- call: HexString;
3546
+ call: HexString$1;
3517
3547
  }
3518
3548
  interface Order {
3519
3549
  id?: string;
3520
- user: HexString;
3550
+ user: HexString$1;
3521
3551
  /** Accepts either `"EVM-1"` style IDs or their hex-encoded form. */
3522
3552
  source: StateMachineId;
3523
3553
  /** Accepts either `"EVM-42161"` style IDs or their hex-encoded form. */
@@ -3525,7 +3555,7 @@ interface Order {
3525
3555
  deadline: bigint;
3526
3556
  nonce: bigint;
3527
3557
  fees: bigint;
3528
- session: HexString;
3558
+ session: HexString$1;
3529
3559
  predispatch: DispatchInfo;
3530
3560
  inputs: TokenInfo[];
3531
3561
  output: PaymentInfo;
@@ -3540,52 +3570,52 @@ interface FillOptions {
3540
3570
  outputs: TokenInfo[];
3541
3571
  }
3542
3572
  interface PackedUserOperation {
3543
- sender: HexString;
3573
+ sender: HexString$1;
3544
3574
  nonce: bigint;
3545
- initCode: HexString;
3546
- callData: HexString;
3547
- accountGasLimits: HexString;
3575
+ initCode: HexString$1;
3576
+ callData: HexString$1;
3577
+ accountGasLimits: HexString$1;
3548
3578
  preVerificationGas: bigint;
3549
- gasFees: HexString;
3550
- paymasterAndData: HexString;
3551
- signature: HexString;
3579
+ gasFees: HexString$1;
3580
+ paymasterAndData: HexString$1;
3581
+ signature: HexString$1;
3552
3582
  }
3553
3583
  interface SigningAccount {
3554
3584
  /** Signs a bid message hash for a given chain. Returns a 65-byte ECDSA signature. */
3555
- signMessage: (messageHash: HexString, chainId: number) => Promise<HexString>;
3585
+ signMessage: (messageHash: HexString$1, chainId: number) => Promise<HexString$1>;
3556
3586
  /** Signs a raw 32-byte hash, returning split signature components for EIP-7702 etc. */
3557
- signRawHash: (hash: HexString) => Promise<{
3558
- r: HexString;
3559
- s: HexString;
3587
+ signRawHash: (hash: HexString$1) => Promise<{
3588
+ r: HexString$1;
3589
+ s: HexString$1;
3560
3590
  yParity: number;
3561
3591
  }>;
3562
3592
  /**
3563
3593
  * Signs an EIP-712 typed-data payload (e.g. an EIP-2612 USDC permit for the Circle Paymaster).
3564
3594
  * The shape of `typedData` matches viem's `TypedDataDefinition` (domain + types + message).
3565
3595
  */
3566
- signTypedData: (typedData: unknown, chainId?: number) => Promise<HexString>;
3596
+ signTypedData: (typedData: unknown, chainId?: number) => Promise<HexString$1>;
3567
3597
  }
3568
3598
  interface SubmitBidOptions {
3569
3599
  order: Order;
3570
3600
  fillOptions: FillOptions;
3571
- solverAccount: HexString;
3601
+ solverAccount: HexString$1;
3572
3602
  /** Canonical signer used for bid message signing and raw-hash operations. */
3573
3603
  solverSigner: SigningAccount;
3574
3604
  nonce: bigint;
3575
- entryPointAddress: HexString;
3605
+ entryPointAddress: HexString$1;
3576
3606
  callGasLimit: bigint;
3577
3607
  verificationGasLimit: bigint;
3578
3608
  preVerificationGas: bigint;
3579
3609
  maxFeePerGas: bigint;
3580
3610
  maxPriorityFeePerGas: bigint;
3581
3611
  /** Pre-built ERC-7821 calldata encoding the UserOp execution (approvals + fillOrder). */
3582
- callData: HexString;
3612
+ callData: HexString$1;
3583
3613
  /**
3584
3614
  * Optional packed paymasterAndData for EntryPoint v0.8.
3585
3615
  * Must be built BEFORE calling prepareSubmitBid so the hash covers paymaster bytes.
3586
3616
  * Defaults to "0x" (EntryPoint deposit pays gas).
3587
3617
  */
3588
- paymasterAndData?: HexString;
3618
+ paymasterAndData?: HexString$1;
3589
3619
  }
3590
3620
  interface EstimateFillOrderParams {
3591
3621
  order: Order;
@@ -3652,7 +3682,7 @@ interface OrderFeesQuote {
3652
3682
  * The source-chain fee token `fees` is denominated in — check the user's
3653
3683
  * balance and allowance against this address when paying the fee directly.
3654
3684
  */
3655
- feeToken: HexString;
3685
+ feeToken: HexString$1;
3656
3686
  /** The underlying gas estimate the quote was derived from. */
3657
3687
  estimate: FillOrderEstimate;
3658
3688
  }
@@ -3667,11 +3697,11 @@ interface BidSubmissionResult {
3667
3697
  /**
3668
3698
  * Block hash where the bid was included
3669
3699
  */
3670
- blockHash?: HexString;
3700
+ blockHash?: HexString$1;
3671
3701
  /**
3672
3702
  * Extrinsic hash of the bid transaction
3673
3703
  */
3674
- extrinsicHash?: HexString;
3704
+ extrinsicHash?: HexString$1;
3675
3705
  /**
3676
3706
  * Error message if submission failed
3677
3707
  */
@@ -3683,7 +3713,7 @@ interface BidSubmissionResult {
3683
3713
  */
3684
3714
  interface BidStorageEntry {
3685
3715
  /** The order commitment hash (H256) */
3686
- commitment: HexString;
3716
+ commitment: HexString$1;
3687
3717
  /** The filler's Substrate account ID (SS58 encoded) */
3688
3718
  filler: string;
3689
3719
  /** The deposit amount stored on-chain (BalanceOf<T> = u128) */
@@ -3706,11 +3736,11 @@ interface FillerBid {
3706
3736
  */
3707
3737
  interface SelectOptions {
3708
3738
  /** The order commitment hash (bytes32) */
3709
- commitment: HexString;
3739
+ commitment: HexString$1;
3710
3740
  /** The solver address to select */
3711
- solver: HexString;
3741
+ solver: HexString$1;
3712
3742
  /** The EIP-712 signature from the session key */
3713
- signature: HexString;
3743
+ signature: HexString$1;
3714
3744
  }
3715
3745
  /**
3716
3746
  * A first-class, executable solver bid surfaced to consumers of the intents SDK.
@@ -3728,7 +3758,7 @@ interface SelectOptions {
3728
3758
  */
3729
3759
  interface Bid {
3730
3760
  /** The solver account that submitted this bid (`userOp.sender`). */
3731
- readonly solverAddress: HexString;
3761
+ readonly solverAddress: HexString$1;
3732
3762
  /** Decoded `FillOptions.outputs` — the tokens and amounts the solver offers. */
3733
3763
  readonly outputs: TokenInfo[];
3734
3764
  /** Relayer fee from the decoded fill options. */
@@ -3777,8 +3807,8 @@ type IntentOrderStatusKey = keyof typeof IntentOrderStatus;
3777
3807
  /** Tagged union of all possible status updates yielded by the intent order execution stream */
3778
3808
  type IntentOrderStatusUpdate = {
3779
3809
  status: "AWAITING_PLACE_ORDER";
3780
- to: HexString;
3781
- data: HexString;
3810
+ to: HexString$1;
3811
+ data: HexString$1;
3782
3812
  /**
3783
3813
  * The order's native-token input amounts. Native inputs cannot be
3784
3814
  * pulled via allowance, so this must be part of the placement
@@ -3792,62 +3822,62 @@ type IntentOrderStatusUpdate = {
3792
3822
  * (fee-token rail).
3793
3823
  */
3794
3824
  nativeFee: bigint;
3795
- sessionPrivateKey: HexString;
3825
+ sessionPrivateKey: HexString$1;
3796
3826
  /** Exact source-chain fee-token amount encoded in `data`. */
3797
3827
  feeTokenAmount: bigint;
3798
3828
  /** Source-chain ERC-20 token charged for `feeTokenAmount`. */
3799
- feeTokenAddress: HexString;
3829
+ feeTokenAddress: HexString$1;
3800
3830
  } | {
3801
3831
  status: "ORDER_PLACED";
3802
3832
  order: Order;
3803
3833
  receipt: TransactionReceipt;
3804
3834
  } | {
3805
3835
  status: "AWAITING_BIDS";
3806
- commitment: HexString;
3836
+ commitment: HexString$1;
3807
3837
  totalFilledAssets: TokenInfo[];
3808
3838
  remainingAssets: TokenInfo[];
3809
3839
  } | {
3810
3840
  status: "NEW_BID";
3811
- commitment: HexString;
3841
+ commitment: HexString$1;
3812
3842
  bid: Bid;
3813
3843
  } | {
3814
3844
  status: "BIDS_RECEIVED";
3815
- commitment: HexString;
3845
+ commitment: HexString$1;
3816
3846
  bidCount: number;
3817
3847
  bids: Bid[];
3818
3848
  } | {
3819
3849
  status: "BID_SELECTED";
3820
- commitment: HexString;
3821
- selectedSolver: HexString;
3822
- userOpHash: HexString;
3850
+ commitment: HexString$1;
3851
+ selectedSolver: HexString$1;
3852
+ userOpHash: HexString$1;
3823
3853
  userOp: PackedUserOperation;
3824
- transactionHash?: HexString;
3854
+ transactionHash?: HexString$1;
3825
3855
  } | {
3826
3856
  status: "FILLED";
3827
- commitment: HexString;
3828
- userOpHash: HexString;
3829
- selectedSolver: HexString;
3830
- transactionHash?: HexString;
3857
+ commitment: HexString$1;
3858
+ userOpHash: HexString$1;
3859
+ selectedSolver: HexString$1;
3860
+ transactionHash?: HexString$1;
3831
3861
  totalFilledAssets: TokenInfo[];
3832
3862
  remainingAssets: TokenInfo[];
3833
3863
  } | {
3834
3864
  status: "PARTIAL_FILL";
3835
- commitment: HexString;
3836
- userOpHash: HexString;
3837
- selectedSolver: HexString;
3838
- transactionHash?: HexString;
3865
+ commitment: HexString$1;
3866
+ userOpHash: HexString$1;
3867
+ selectedSolver: HexString$1;
3868
+ transactionHash?: HexString$1;
3839
3869
  filledAssets: TokenInfo[];
3840
3870
  totalFilledAssets: TokenInfo[];
3841
3871
  remainingAssets: TokenInfo[];
3842
3872
  } | {
3843
3873
  status: "EXPIRED";
3844
- commitment: HexString;
3874
+ commitment: HexString$1;
3845
3875
  totalFilledAssets?: TokenInfo[];
3846
3876
  remainingAssets?: TokenInfo[];
3847
3877
  error: string;
3848
3878
  } | {
3849
3879
  status: "FAILED";
3850
- commitment?: HexString;
3880
+ commitment?: HexString$1;
3851
3881
  totalFilledAssets?: TokenInfo[];
3852
3882
  remainingAssets?: TokenInfo[];
3853
3883
  error: string;
@@ -3855,10 +3885,10 @@ type IntentOrderStatusUpdate = {
3855
3885
  /** Result of selecting a bid and submitting to the bundler */
3856
3886
  interface SelectBidResult {
3857
3887
  userOp: PackedUserOperation;
3858
- userOpHash: HexString;
3859
- solverAddress: HexString;
3860
- commitment: HexString;
3861
- txnHash?: HexString;
3888
+ userOpHash: HexString$1;
3889
+ solverAddress: HexString$1;
3890
+ commitment: HexString$1;
3891
+ txnHash?: HexString$1;
3862
3892
  fillStatus?: "full" | "partial";
3863
3893
  /** Assets filled in this user operation (best-effort, based on on-chain PartialFill logs) */
3864
3894
  filledAssets?: TokenInfo[];
@@ -3866,7 +3896,7 @@ interface SelectBidResult {
3866
3896
  /** Options for executing an intent order */
3867
3897
  interface ExecuteIntentOrderOptions {
3868
3898
  order: Order;
3869
- sessionPrivateKey?: HexString;
3899
+ sessionPrivateKey?: HexString$1;
3870
3900
  /** Duration in ms to collect bids before selecting the best one. */
3871
3901
  auctionTimeMs: number;
3872
3902
  pollIntervalMs?: number;
@@ -3876,19 +3906,19 @@ interface ExecuteIntentOrderOptions {
3876
3906
  */
3877
3907
  solver?: {
3878
3908
  /** Only bids from this address (matched against userOp.sender) will be considered */
3879
- address: HexString;
3909
+ address: HexString$1;
3880
3910
  /** After this many ms without a matching bid, execution falls back to any solver */
3881
3911
  timeoutMs: number;
3882
3912
  };
3883
3913
  }
3884
3914
  /** Options for resuming execution of a previously placed intent order */
3885
3915
  interface ResumeIntentOrderOptions {
3886
- sessionPrivateKey?: HexString;
3916
+ sessionPrivateKey?: HexString$1;
3887
3917
  /** Duration in ms to collect bids before selecting the best one. */
3888
3918
  auctionTimeMs: number;
3889
3919
  pollIntervalMs?: number;
3890
3920
  solver?: {
3891
- address: HexString;
3921
+ address: HexString$1;
3892
3922
  timeoutMs: number;
3893
3923
  };
3894
3924
  }
@@ -3934,11 +3964,11 @@ declare class Queries {
3934
3964
  /**
3935
3965
  * Queries a POST request by commitment hash.
3936
3966
  */
3937
- queryPostRequest(commitmentHash: HexString): Promise<PostRequestWithStatus | undefined>;
3967
+ queryPostRequest(commitmentHash: HexString$1): Promise<PostRequestWithStatus | undefined>;
3938
3968
  /**
3939
3969
  * Queries a GET request by any of its associated hashes.
3940
3970
  */
3941
- queryGetRequest(hash: HexString): Promise<GetRequestWithStatus | undefined>;
3971
+ queryGetRequest(hash: HexString$1): Promise<GetRequestWithStatus | undefined>;
3942
3972
  /**
3943
3973
  * Queries the response associated with a specific request ID and returns its commitment.
3944
3974
  */
@@ -3963,12 +3993,12 @@ declare class GetRequestClient {
3963
3993
  /**
3964
3994
  * Snapshot query with all inferred finality events sorted.
3965
3995
  */
3966
- queryGetRequestWithStatus(hash: HexString): Promise<GetRequestWithStatus | undefined>;
3996
+ queryGetRequestWithStatus(hash: HexString$1): Promise<GetRequestWithStatus | undefined>;
3967
3997
  /**
3968
3998
  * Streaming status updates for a GET request. Ends when the request reaches
3969
3999
  * the destination or a timeout becomes pending.
3970
4000
  */
3971
- getRequestStatusStream(hash: HexString): AsyncGenerator<RequestStatusWithMetadata, void>;
4001
+ getRequestStatusStream(hash: HexString$1): AsyncGenerator<RequestStatusWithMetadata, void>;
3972
4002
  private streamInternal;
3973
4003
  /**
3974
4004
  * Self-delivers a GET request to Hyperbridge — the request→Hyperbridge hop that would
@@ -4021,12 +4051,12 @@ declare class PostRequestClient {
4021
4051
  /**
4022
4052
  * Snapshot query: request + all inferred finality/timeout events, sorted.
4023
4053
  */
4024
- queryRequestWithStatus(hash: HexString): Promise<PostRequestWithStatus | undefined>;
4054
+ queryRequestWithStatus(hash: HexString$1): Promise<PostRequestWithStatus | undefined>;
4025
4055
  /**
4026
4056
  * Streaming status updates for a post request. Ends when the request reaches
4027
4057
  * the destination or a timeout becomes pending.
4028
4058
  */
4029
- postRequestStatusStream(hash: HexString): AsyncGenerator<RequestStatusWithMetadata, void>;
4059
+ postRequestStatusStream(hash: HexString$1): AsyncGenerator<RequestStatusWithMetadata, void>;
4030
4060
  private streamStatusInternal;
4031
4061
  /**
4032
4062
  * Populates timeout-related status events (`PENDING_TIMEOUT`,
@@ -4037,7 +4067,7 @@ declare class PostRequestClient {
4037
4067
  /**
4038
4068
  * Streaming status updates for a timed-out post request.
4039
4069
  */
4040
- postRequestTimeoutStream(hash: HexString): AsyncGenerator<PostRequestTimeoutStatus, void>;
4070
+ postRequestTimeoutStream(hash: HexString$1): AsyncGenerator<PostRequestTimeoutStatus, void>;
4041
4071
  private streamTimeoutInternal;
4042
4072
  /**
4043
4073
  * Snapshot helper: returns the `HYPERBRIDGE_FINALIZED` event with relayer
@@ -4061,7 +4091,7 @@ declare class PostRequestClient {
4061
4091
  * Relay a post-request to Hyperbridge from source-chain state, returning
4062
4092
  * the finalized Hyperbridge extrinsic receipt.
4063
4093
  */
4064
- aggregateTransactionWithCommitment(commitment: HexString): Promise<Awaited<ReturnType<SubstrateChain["submitUnsigned"]>>>;
4094
+ aggregateTransactionWithCommitment(commitment: HexString$1): Promise<Awaited<ReturnType<SubstrateChain["submitUnsigned"]>>>;
4065
4095
  }
4066
4096
 
4067
4097
  /**
@@ -4169,12 +4199,12 @@ declare class IsmpClient {
4169
4199
  * source/destination/hyperbridge tx hash, or timeout tx hash). Returns the
4170
4200
  * raw indexed record without derived finality events.
4171
4201
  */
4172
- queryPostRequest(commitmentHash: HexString): Promise<PostRequestWithStatus | undefined>;
4202
+ queryPostRequest(commitmentHash: HexString$1): Promise<PostRequestWithStatus | undefined>;
4173
4203
  /**
4174
4204
  * Queries a GET request by any of its associated hashes. Returns the raw
4175
4205
  * indexed record without derived finality events.
4176
4206
  */
4177
- queryGetRequest(hash: HexString): Promise<GetRequestWithStatus | undefined>;
4207
+ queryGetRequest(hash: HexString$1): Promise<GetRequestWithStatus | undefined>;
4178
4208
  /**
4179
4209
  * Queries the response a GET request's values come from, by the request's id.
4180
4210
  * Returns the response commitment plus the indexed storage values.
@@ -4188,7 +4218,7 @@ declare class IsmpClient {
4188
4218
  * Unlike {@link postRequestStatusStream} this does not poll; each call
4189
4219
  * returns a fresh snapshot based on the indexer's current state.
4190
4220
  */
4191
- queryRequestWithStatus(hash: HexString): Promise<PostRequestWithStatus | undefined>;
4221
+ queryRequestWithStatus(hash: HexString$1): Promise<PostRequestWithStatus | undefined>;
4192
4222
  /**
4193
4223
  * Streams status updates for a POST request as it progresses through the
4194
4224
  * source → Hyperbridge → destination lifecycle. Ends when the request
@@ -4199,7 +4229,7 @@ declare class IsmpClient {
4199
4229
  * deliver the request (bundled `handleConsensus` + `handlePostRequests` via
4200
4230
  * `batchCall`).
4201
4231
  */
4202
- postRequestStatusStream(hash: HexString): AsyncGenerator<RequestStatusWithMetadata, void>;
4232
+ postRequestStatusStream(hash: HexString$1): AsyncGenerator<RequestStatusWithMetadata, void>;
4203
4233
  /**
4204
4234
  * Streams timeout status updates for a POST request past its
4205
4235
  * `timeoutTimestamp`. Drives the `PENDING_TIMEOUT →
@@ -4207,20 +4237,20 @@ declare class IsmpClient {
4207
4237
  * progression, submitting unsigned extrinsics to Hyperbridge where required
4208
4238
  * and yielding source-chain timeout calldata at the final step.
4209
4239
  */
4210
- postRequestTimeoutStream(hash: HexString): AsyncGenerator<PostRequestTimeoutStatus, void>;
4240
+ postRequestTimeoutStream(hash: HexString$1): AsyncGenerator<PostRequestTimeoutStatus, void>;
4211
4241
  /**
4212
4242
  * Relays a POST request to Hyperbridge from source-chain state (when the
4213
4243
  * request wasn't aggregated there yet) and returns the finalized Hyperbridge
4214
4244
  * extrinsic receipt. Used to bootstrap status tracking for requests that
4215
4245
  * Hyperbridge hasn't seen.
4216
4246
  */
4217
- aggregateTransactionWithCommitment(commitment: HexString): Promise<Awaited<ReturnType<SubstrateChain["submitUnsigned"]>>>;
4247
+ aggregateTransactionWithCommitment(commitment: HexString$1): Promise<Awaited<ReturnType<SubstrateChain["submitUnsigned"]>>>;
4218
4248
  /**
4219
4249
  * Snapshot query for a GET request: returns the indexed record with all
4220
4250
  * inferred finality events (`SOURCE_FINALIZED`, `HYPERBRIDGE_FINALIZED`)
4221
4251
  * sorted by progress weight.
4222
4252
  */
4223
- queryGetRequestWithStatus(hash: HexString): Promise<GetRequestWithStatus | undefined>;
4253
+ queryGetRequestWithStatus(hash: HexString$1): Promise<GetRequestWithStatus | undefined>;
4224
4254
  /**
4225
4255
  * Streams status updates for a GET request. Ends when the response is
4226
4256
  * delivered back to the source chain or the request's timeout elapses.
@@ -4228,7 +4258,7 @@ declare class IsmpClient {
4228
4258
  * submitting the response (bundled `handleConsensus` + `handleGetResponses`
4229
4259
  * via `batchCall`).
4230
4260
  */
4231
- getRequestStatusStream(hash: HexString): AsyncGenerator<RequestStatusWithMetadata, void>;
4261
+ getRequestStatusStream(hash: HexString$1): AsyncGenerator<RequestStatusWithMetadata, void>;
4232
4262
  /**
4233
4263
  * Low-level watcher that yields a single `PENDING_TIMEOUT` event once
4234
4264
  * `chain.timestamp()` passes `timeoutTimestamp`. Used internally by the
@@ -4266,7 +4296,7 @@ declare function queryPostRequest(params: {
4266
4296
  * @returns The asset teleported event if found, undefined otherwise
4267
4297
  */
4268
4298
  declare function queryAssetTeleported(params: {
4269
- id: HexString;
4299
+ id: HexString$1;
4270
4300
  queryClient: IndexerQueryClient;
4271
4301
  }): Promise<AssetTeleported | undefined>;
4272
4302
  /**
@@ -4293,7 +4323,7 @@ type UniswapTradeType = "EXACT_INPUT" | "EXACT_OUTPUT";
4293
4323
  */
4294
4324
  interface UniswapQuoteToken {
4295
4325
  /** Token contract address. Use ADDRESS_ZERO for the native asset. */
4296
- address: HexString;
4326
+ address: HexString$1;
4297
4327
  /** Token decimals used by the integrating app when formatting quote amounts. */
4298
4328
  decimals: number;
4299
4329
  /** Optional display symbol, returned unchanged in quote responses. */
@@ -4325,7 +4355,7 @@ interface QuoteUniswapParams {
4325
4355
  /** Slippage tolerance in basis points, only used when `recipient` is provided. */
4326
4356
  slippageBps?: number;
4327
4357
  /** Optional recipient. When set, executable transaction calldata is included. */
4328
- recipient?: HexString;
4358
+ recipient?: HexString$1;
4329
4359
  }
4330
4360
  /**
4331
4361
  * Normalized quote returned by every Uniswap protocol adapter.
@@ -4349,7 +4379,7 @@ interface UniswapQuote {
4349
4379
  fee?: number;
4350
4380
  /** Token path used by the quote. */
4351
4381
  route: {
4352
- tokens: HexString[];
4382
+ tokens: HexString$1[];
4353
4383
  };
4354
4384
  /** Executable transactions, included only when `recipient` is supplied. */
4355
4385
  transactions?: Transaction[];
@@ -4372,36 +4402,36 @@ declare class Swap {
4372
4402
  /**
4373
4403
  * Gets V2 quote for exact output swap.
4374
4404
  */
4375
- getV2QuoteWithAmountOut(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountOut: bigint, evmChainID: string): Promise<bigint>;
4405
+ getV2QuoteWithAmountOut(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountOut: bigint, evmChainID: string): Promise<bigint>;
4376
4406
  /**
4377
4407
  * Gets V2 quote for exact input swap.
4378
4408
  */
4379
- getV2QuoteWithAmountIn(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountIn: bigint, evmChainID: string): Promise<bigint>;
4409
+ getV2QuoteWithAmountIn(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountIn: bigint, evmChainID: string): Promise<bigint>;
4380
4410
  /**
4381
4411
  * Gets V3 quote for exact output swap.
4382
4412
  */
4383
- getV3QuoteWithAmountOut(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountOut: bigint, evmChainID: string): Promise<{
4413
+ getV3QuoteWithAmountOut(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountOut: bigint, evmChainID: string): Promise<{
4384
4414
  amountIn: bigint;
4385
4415
  fee: number;
4386
4416
  }>;
4387
4417
  /**
4388
4418
  * Gets V3 quote for exact input swap.
4389
4419
  */
4390
- getV3QuoteWithAmountIn(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountIn: bigint, evmChainID: string): Promise<{
4420
+ getV3QuoteWithAmountIn(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountIn: bigint, evmChainID: string): Promise<{
4391
4421
  amountOut: bigint;
4392
4422
  fee: number;
4393
4423
  }>;
4394
4424
  /**
4395
4425
  * Gets V4 quote for exact output swap.
4396
4426
  */
4397
- getV4QuoteWithAmountOut(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountOut: bigint, evmChainID: string): Promise<{
4427
+ getV4QuoteWithAmountOut(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountOut: bigint, evmChainID: string): Promise<{
4398
4428
  amountIn: bigint;
4399
4429
  fee: number;
4400
4430
  }>;
4401
4431
  /**
4402
4432
  * Gets V4 quote for exact input swap.
4403
4433
  */
4404
- getV4QuoteWithAmountIn(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountIn: bigint, evmChainID: string): Promise<{
4434
+ getV4QuoteWithAmountIn(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountIn: bigint, evmChainID: string): Promise<{
4405
4435
  amountOut: bigint;
4406
4436
  fee: number;
4407
4437
  }>;
@@ -4409,30 +4439,30 @@ declare class Swap {
4409
4439
  * Creates transaction structure for V2 exact input swap, including ERC20 transfer if needed.
4410
4440
  * Supports both single-hop and multi-hop swaps.
4411
4441
  */
4412
- createV2SwapCalldataExactIn(path: HexString[], amountIn: bigint, amountOutMinimum: bigint, recipient: HexString, evmChainID: string): Transaction[];
4442
+ createV2SwapCalldataExactIn(path: HexString$1[], amountIn: bigint, amountOutMinimum: bigint, recipient: HexString$1, evmChainID: string): Transaction[];
4413
4443
  /**
4414
4444
  * Creates transaction structure for V2 exact output swap, including ERC20 transfer if needed.
4415
4445
  * Supports both single-hop and multi-hop swaps.
4416
4446
  */
4417
- createV2SwapCalldataExactOut(path: HexString[], amountOut: bigint, amountInMax: bigint, recipient: HexString, evmChainID: string): Transaction[];
4447
+ createV2SwapCalldataExactOut(path: HexString$1[], amountOut: bigint, amountInMax: bigint, recipient: HexString$1, evmChainID: string): Transaction[];
4418
4448
  /**
4419
4449
  * Creates transaction structure for V3 exact input swap, including ERC20 transfer if needed.
4420
4450
  * Supports both single-hop and multi-hop swaps.
4421
4451
  */
4422
- createV3SwapCalldataExactIn(path: HexString[], amountIn: bigint, amountOutMinimum: bigint, fees: number[], recipient: HexString, evmChainID: string): Transaction[];
4452
+ createV3SwapCalldataExactIn(path: HexString$1[], amountIn: bigint, amountOutMinimum: bigint, fees: number[], recipient: HexString$1, evmChainID: string): Transaction[];
4423
4453
  /**
4424
4454
  * Creates transaction structure for V3 exact output swap, including ERC20 transfer if needed.
4425
4455
  * Supports both single-hop and multi-hop swaps.
4426
4456
  */
4427
- createV3SwapCalldataExactOut(path: HexString[], amountOut: bigint, amountInMax: bigint, fees: number[], recipient: HexString, evmChainID: string): Transaction[];
4457
+ createV3SwapCalldataExactOut(path: HexString$1[], amountOut: bigint, amountInMax: bigint, fees: number[], recipient: HexString$1, evmChainID: string): Transaction[];
4428
4458
  /**
4429
4459
  * Creates transaction structure for V4 exact input swap, including Permit2 approvals for ERC20 tokens.
4430
4460
  */
4431
- createV4SwapCalldataExactIn(sourceTokenAddress: HexString, targetTokenAddress: HexString, amountIn: bigint, amountOutMinimum: bigint, fee: number, evmChainID: string): Transaction[];
4461
+ createV4SwapCalldataExactIn(sourceTokenAddress: HexString$1, targetTokenAddress: HexString$1, amountIn: bigint, amountOutMinimum: bigint, fee: number, evmChainID: string): Transaction[];
4432
4462
  /**
4433
4463
  * Creates transaction structure for V4 exact output swap, including Permit2 approvals for ERC20 tokens.
4434
4464
  */
4435
- createV4SwapCalldataExactOut(sourceTokenAddress: HexString, targetTokenAddress: HexString, amountOut: bigint, amountInMax: bigint, fee: number, evmChainID: string): Transaction[];
4465
+ createV4SwapCalldataExactOut(sourceTokenAddress: HexString$1, targetTokenAddress: HexString$1, amountOut: bigint, amountInMax: bigint, fee: number, evmChainID: string): Transaction[];
4436
4466
  /**
4437
4467
  * Finds the best Uniswap protocol (V2, V3, or V4) for swapping tokens given a desired output amount.
4438
4468
  * Compares liquidity and pricing across different protocols and fee tiers.
@@ -4443,10 +4473,10 @@ declare class Swap {
4443
4473
  * @param amountOut - The desired output amount
4444
4474
  * @returns Object containing the best protocol, required input amount, fee tier (for V3/V4), and transaction structure
4445
4475
  */
4446
- findBestProtocolWithAmountOut(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountOut: bigint, evmChainID: string, options?: {
4476
+ findBestProtocolWithAmountOut(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountOut: bigint, evmChainID: string, options?: {
4447
4477
  selectedProtocol?: "v2" | "v3" | "v4";
4448
4478
  generateCalldata?: boolean;
4449
- recipient?: HexString;
4479
+ recipient?: HexString$1;
4450
4480
  }): Promise<{
4451
4481
  protocol: "v2" | "v3" | "v4" | null;
4452
4482
  amountIn: bigint;
@@ -4465,10 +4495,10 @@ declare class Swap {
4465
4495
  * @param selectedProtocol - Optional specific protocol to use ("v2", "v3", or "v4")
4466
4496
  * @returns Object containing the best protocol, expected output amount, fee tier (for V3/V4), and transaction structure
4467
4497
  */
4468
- findBestProtocolWithAmountIn(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountIn: bigint, evmChainID: string, options?: {
4498
+ findBestProtocolWithAmountIn(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountIn: bigint, evmChainID: string, options?: {
4469
4499
  selectedProtocol?: "v2" | "v3" | "v4";
4470
4500
  generateCalldata?: boolean;
4471
- recipient?: HexString;
4501
+ recipient?: HexString$1;
4472
4502
  }): Promise<{
4473
4503
  protocol: "v2" | "v3" | "v4" | null;
4474
4504
  amountOut: bigint;
@@ -4479,9 +4509,9 @@ declare class Swap {
4479
4509
  * Finds the best pair for multi-hop swaps based on popular tokens and liquidity.
4480
4510
  * Prefers pairs with tokenIn as intermediate token, then returns the pair with highest liquidity.
4481
4511
  */
4482
- findPair(client: PublicClient, tokenIn: HexString, tokenOut: HexString, evmChainID: string, protocol?: "v2" | "v3"): Promise<{
4483
- pairAddress: HexString;
4484
- intermediateToken: HexString;
4512
+ findPair(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, evmChainID: string, protocol?: "v2" | "v3"): Promise<{
4513
+ pairAddress: HexString$1;
4514
+ intermediateToken: HexString$1;
4485
4515
  }>;
4486
4516
  /**
4487
4517
  * Gets pair address for V2 or V3 based on protocol parameter
@@ -4492,7 +4522,7 @@ declare class Swap {
4492
4522
  * Gets the best V3 pool based on liquidity across different fee tiers
4493
4523
  */
4494
4524
  private getBestV3Pool;
4495
- createMultiHopSwapThroughPair(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountIn: bigint, evmChainID: string, recipient: HexString, protocol: "v2" | "v3" | undefined, slippagePercentage: bigint, dexPairAddress?: HexString): Promise<{
4525
+ createMultiHopSwapThroughPair(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountIn: bigint, evmChainID: string, recipient: HexString$1, protocol: "v2" | "v3" | undefined, slippagePercentage: bigint, dexPairAddress?: HexString$1): Promise<{
4496
4526
  finalAmountOut: bigint;
4497
4527
  calldata: Transaction[];
4498
4528
  }>;
@@ -4636,17 +4666,17 @@ interface SessionKeyData {
4636
4666
  /**
4637
4667
  * The private key as a hex string
4638
4668
  */
4639
- privateKey: HexString;
4669
+ privateKey: HexString$1;
4640
4670
  /**
4641
4671
  * The derived public address
4642
4672
  */
4643
- address: HexString;
4673
+ address: HexString$1;
4644
4674
  /**
4645
4675
  * The order commitment this session key is associated with.
4646
4676
  * This may be undefined for session keys that were created
4647
4677
  * but whose corresponding order has not been finalized yet.
4648
4678
  */
4649
- commitment?: HexString;
4679
+ commitment?: HexString$1;
4650
4680
  /**
4651
4681
  * Timestamp when the session key was created
4652
4682
  */
@@ -4661,12 +4691,12 @@ interface SessionKeyData {
4661
4691
  * @returns A storage instance with methods to get, set, and remove session keys
4662
4692
  */
4663
4693
  declare function createSessionKeyStorage(options?: SessionKeyStorageOptions): Readonly<{
4664
- getSessionKey: (commitment: HexString) => Promise<SessionKeyData | null>;
4665
- getSessionKeyByAddress: (address: HexString) => Promise<SessionKeyData | null>;
4666
- setSessionKey: (commitment: HexString, data: SessionKeyData) => Promise<void>;
4667
- setSessionKeyByAddress: (address: HexString, data: SessionKeyData) => Promise<void>;
4668
- removeSessionKey: (commitment: HexString) => Promise<void>;
4669
- removeSessionKeyByAddress: (address: HexString) => Promise<void>;
4694
+ getSessionKey: (commitment: HexString$1) => Promise<SessionKeyData | null>;
4695
+ getSessionKeyByAddress: (address: HexString$1) => Promise<SessionKeyData | null>;
4696
+ setSessionKey: (commitment: HexString$1, data: SessionKeyData) => Promise<void>;
4697
+ setSessionKeyByAddress: (address: HexString$1, data: SessionKeyData) => Promise<void>;
4698
+ removeSessionKey: (commitment: HexString$1) => Promise<void>;
4699
+ removeSessionKeyByAddress: (address: HexString$1) => Promise<void>;
4670
4700
  listSessionKeys: () => Promise<SessionKeyData[]>;
4671
4701
  }>;
4672
4702
 
@@ -4686,7 +4716,7 @@ declare const ORDER_V2_PARAM_TYPE = "(bytes32,bytes,bytes,uint256,uint256,uint25
4686
4716
  * The first byte `0x01` indicates batch mode; all remaining bytes are
4687
4717
  * reserved and set to zero.
4688
4718
  */
4689
- declare const ERC7821_BATCH_MODE: HexString;
4719
+ declare const ERC7821_BATCH_MODE: HexString$1;
4690
4720
  /**
4691
4721
  * Bundler RPC method names for ERC-4337 operations.
4692
4722
  *
@@ -4715,15 +4745,15 @@ type BundlerMethod = (typeof BundlerMethod)[keyof typeof BundlerMethod];
4715
4745
  */
4716
4746
  interface BundlerGasEstimate {
4717
4747
  /** Gas required for pre-verification processing (hex). */
4718
- preVerificationGas: HexString;
4748
+ preVerificationGas: HexString$1;
4719
4749
  /** Gas limit for the account verification step (hex). */
4720
- verificationGasLimit: HexString;
4750
+ verificationGasLimit: HexString$1;
4721
4751
  /** Gas limit for the main execution call (hex). */
4722
- callGasLimit: HexString;
4752
+ callGasLimit: HexString$1;
4723
4753
  /** Gas limit for paymaster verification, if a paymaster is used (hex). */
4724
- paymasterVerificationGasLimit?: HexString;
4754
+ paymasterVerificationGasLimit?: HexString$1;
4725
4755
  /** Gas limit for paymaster post-operation hook, if a paymaster is used (hex). */
4726
- paymasterPostOpGasLimit?: HexString;
4756
+ paymasterPostOpGasLimit?: HexString$1;
4727
4757
  }
4728
4758
  /**
4729
4759
  * Tagged union of all status updates that can be yielded by the cancel-order
@@ -4745,8 +4775,8 @@ type CancelEvent = {
4745
4775
  proof: IProof;
4746
4776
  } | {
4747
4777
  status: "AWAITING_CANCEL_TRANSACTION";
4748
- data: HexString;
4749
- to: HexString;
4778
+ data: HexString$1;
4779
+ to: HexString$1;
4750
4780
  value: bigint;
4751
4781
  } | {
4752
4782
  status: "CANCEL_STARTED";
@@ -4769,7 +4799,7 @@ type CancelEvent = {
4769
4799
  } | {
4770
4800
  status: "CANCELLATION_COMPLETE";
4771
4801
  blockNumber: number;
4772
- transactionHash: HexString;
4802
+ transactionHash: HexString$1;
4773
4803
  };
4774
4804
 
4775
4805
  /**
@@ -4793,7 +4823,7 @@ interface IntentGatewayContext {
4793
4823
  * Stores fee-token address, decimals, and the timestamp of the last fetch.
4794
4824
  */
4795
4825
  feeTokenCache: Map<string, {
4796
- address: HexString;
4826
+ address: HexString$1;
4797
4827
  decimals: number;
4798
4828
  cachedAt: number;
4799
4829
  }>;
@@ -4818,23 +4848,23 @@ type IntentQuoteTradeType = "EXACT_INPUT" | "EXACT_OUTPUT";
4818
4848
  * Full Uniswap V4 PoolKey. V4 pools cannot be discovered from a token pair alone.
4819
4849
  */
4820
4850
  interface UniswapV4PoolKey {
4821
- currency0: HexString;
4822
- currency1: HexString;
4851
+ currency0: HexString$1;
4852
+ currency1: HexString$1;
4823
4853
  fee: number;
4824
4854
  tickSpacing: number;
4825
- hooks: HexString;
4855
+ hooks: HexString$1;
4826
4856
  }
4827
4857
  interface UniswapV4IntentQuoteOptions {
4828
4858
  /** Explicit pool override for pairs not yet present in SDK chain config. */
4829
4859
  poolKey?: UniswapV4PoolKey & {
4830
- quoterAddress?: HexString;
4860
+ quoterAddress?: HexString$1;
4831
4861
  /**
4832
4862
  * Destination-side address of the input currency. Defaults to
4833
4863
  * `tokenIn`, which only works for same-chain quotes; pass this
4834
4864
  * explicitly when source and destination chains differ. Must equal
4835
4865
  * `currency0` or `currency1`.
4836
4866
  */
4837
- currencyIn?: HexString;
4867
+ currencyIn?: HexString$1;
4838
4868
  };
4839
4869
  }
4840
4870
  /**
@@ -4849,9 +4879,9 @@ interface UniswapV4IntentQuoteOptions {
4849
4879
  interface QuoteIntentParams {
4850
4880
  strategy?: IntentQuoteStrategy;
4851
4881
  /** Token address on the source chain. */
4852
- tokenIn: HexString;
4882
+ tokenIn: HexString$1;
4853
4883
  /** Token address on the destination chain. */
4854
- tokenOut: HexString;
4884
+ tokenOut: HexString$1;
4855
4885
  amountIn?: bigint;
4856
4886
  amountOut?: bigint;
4857
4887
  uniswapV4?: UniswapV4IntentQuoteOptions;
@@ -4860,7 +4890,7 @@ interface UniswapV4IntentQuoteMetadata {
4860
4890
  /** Chain whose Uniswap pool and quoter were used for the quote. */
4861
4891
  quoteChain: string;
4862
4892
  poolKey: UniswapV4PoolKey;
4863
- quoterAddress: HexString;
4893
+ quoterAddress: HexString$1;
4864
4894
  /**
4865
4895
  * IntentGateway protocol fee on the source chain, already applied to the
4866
4896
  * returned amounts. Exposed so callers can reconstruct the swap-side
@@ -4872,9 +4902,9 @@ interface PhantomSnapshotIntentQuoteMetadata {
4872
4902
  /** Canonical chain whose directional Phantom pair addresses identify the feed. */
4873
4903
  quoteChain: string;
4874
4904
  /** Phantom order whose bids produced this snapshot. */
4875
- commitment: HexString;
4876
- tokenA: HexString;
4877
- tokenB: HexString;
4905
+ commitment: HexString$1;
4906
+ tokenA: HexString$1;
4907
+ tokenB: HexString$1;
4878
4908
  /** Benchmark input and liquidity-weighted median output, both in raw token units. */
4879
4909
  standardAmount: bigint;
4880
4910
  medianPrice: bigint;
@@ -4915,16 +4945,16 @@ declare class UnsupportedIntentQuotePairError extends Error {
4915
4945
  constructor(params: {
4916
4946
  source: string;
4917
4947
  destination: string;
4918
- tokenIn: HexString;
4919
- tokenOut: HexString;
4948
+ tokenIn: HexString$1;
4949
+ tokenOut: HexString$1;
4920
4950
  quoteSource?: string;
4921
4951
  });
4922
4952
  }
4923
4953
  declare class PhantomSnapshotUnavailableError extends Error {
4924
- constructor(tokenA: HexString, tokenB: HexString);
4954
+ constructor(tokenA: HexString$1, tokenB: HexString$1);
4925
4955
  }
4926
4956
  declare class InvalidPhantomSnapshotError extends Error {
4927
- constructor(commitment: HexString, reason: string);
4957
+ constructor(commitment: HexString$1, reason: string);
4928
4958
  }
4929
4959
 
4930
4960
  /**
@@ -5084,16 +5114,16 @@ declare class IntentGateway {
5084
5114
  * @throws If the `placeOrder` generator behaves unexpectedly, or if gas
5085
5115
  * estimation returns zero.
5086
5116
  */
5087
- execute(order: Order, graffiti: HexString | undefined, options: {
5117
+ execute(order: Order, graffiti: HexString$1 | undefined, options: {
5088
5118
  auctionTimeMs: number;
5089
5119
  maxPriorityFeePerGasBumpPercent?: number;
5090
5120
  maxFeePerGasBumpPercent?: number;
5091
5121
  pollIntervalMs?: number;
5092
5122
  solver?: {
5093
- address: HexString;
5123
+ address: HexString$1;
5094
5124
  timeoutMs: number;
5095
5125
  };
5096
- }): AsyncGenerator<IntentOrderStatusUpdate, void, HexString | SelectBidResult | undefined>;
5126
+ }): AsyncGenerator<IntentOrderStatusUpdate, void, HexString$1 | SelectBidResult | undefined>;
5097
5127
  /**
5098
5128
  * Forwards updates from the executor's bidirectional generator to the caller,
5099
5129
  * threading the {@link SelectBidResult} the caller feeds back after a
@@ -5146,16 +5176,16 @@ declare class IntentGateway {
5146
5176
  * @param options - Same tuning parameters as {@link execute}.
5147
5177
  * @yields {@link IntentOrderStatusUpdate} at each lifecycle stage.
5148
5178
  */
5149
- executeBest(order: Order, graffiti: HexString | undefined, options: {
5179
+ executeBest(order: Order, graffiti: HexString$1 | undefined, options: {
5150
5180
  auctionTimeMs: number;
5151
5181
  maxPriorityFeePerGasBumpPercent?: number;
5152
5182
  maxFeePerGasBumpPercent?: number;
5153
5183
  pollIntervalMs?: number;
5154
5184
  solver?: {
5155
- address: HexString;
5185
+ address: HexString$1;
5156
5186
  timeoutMs: number;
5157
5187
  };
5158
- }): AsyncGenerator<IntentOrderStatusUpdate, void, HexString>;
5188
+ }): AsyncGenerator<IntentOrderStatusUpdate, void, HexString$1>;
5159
5189
  /**
5160
5190
  * Batteries-included variant of {@link resume}: auto-selects the best bid each
5161
5191
  * round via {@link selectAndExecuteBest}, with no bid-selection input from the
@@ -5229,7 +5259,7 @@ declare class IntentGateway {
5229
5259
  * storage by `order.session` if omitted.
5230
5260
  * @returns Array of executable {@link Bid} objects.
5231
5261
  */
5232
- buildBids(order: Order, bids: FillerBid[], sessionPrivateKey?: HexString): Bid[];
5262
+ buildBids(order: Order, bids: FillerBid[], sessionPrivateKey?: HexString$1): Bid[];
5233
5263
  /**
5234
5264
  * Sorts bids by output value using the same strategy the autopilot uses.
5235
5265
  *
@@ -5266,7 +5296,7 @@ declare class IntentGateway {
5266
5296
  * @returns A {@link SelectBidResult} with the submitted UserOperation, hashes,
5267
5297
  * and fill status.
5268
5298
  */
5269
- selectBid(order: Order, bids: FillerBid[], sessionPrivateKey?: HexString): Promise<SelectBidResult>;
5299
+ selectBid(order: Order, bids: FillerBid[], sessionPrivateKey?: HexString$1): Promise<SelectBidResult>;
5270
5300
  /**
5271
5301
  * Estimates the gas cost for filling the given order, returning individual
5272
5302
  * gas components and fee-token-denominated totals.
@@ -5311,7 +5341,7 @@ declare class IntentGateway {
5311
5341
  * @param calls - Ordered list of calls to batch.
5312
5342
  * @returns ABI-encoded calldata for the ERC-7821 `execute` function.
5313
5343
  */
5314
- encodeERC7821Execute(calls: ERC7821Call[]): HexString;
5344
+ encodeERC7821Execute(calls: ERC7821Call[]): HexString$1;
5315
5345
  /**
5316
5346
  * Decodes ERC-7821 `execute` calldata back into its constituent calls.
5317
5347
  *
@@ -5320,7 +5350,7 @@ declare class IntentGateway {
5320
5350
  * @param callData - Hex-encoded calldata to decode.
5321
5351
  * @returns Array of decoded {@link ERC7821Call} objects, or `null` on failure.
5322
5352
  */
5323
- decodeERC7821Execute(callData: HexString): ERC7821Call[] | null;
5353
+ decodeERC7821Execute(callData: HexString$1): ERC7821Call[] | null;
5324
5354
  /**
5325
5355
  * Checks whether an order has been filled on the destination chain.
5326
5356
  *
@@ -5369,14 +5399,14 @@ declare class IntentGateway {
5369
5399
  *
5370
5400
  * Requires a prior call to {@link withQueryClient}.
5371
5401
  */
5372
- queryOrder(commitment: HexString): Promise<OrderWithStatus | undefined>;
5402
+ queryOrder(commitment: HexString$1): Promise<OrderWithStatus | undefined>;
5373
5403
  /**
5374
5404
  * Streams status updates for an order until it reaches a terminal state
5375
5405
  * (FILLED, REDEEMED, or REFUNDED).
5376
5406
  *
5377
5407
  * Requires a prior call to {@link withQueryClient}.
5378
5408
  */
5379
- orderStatusStream(commitment: HexString): AsyncGenerator<{
5409
+ orderStatusStream(commitment: HexString$1): AsyncGenerator<{
5380
5410
  status: OrderStatus;
5381
5411
  metadata: {
5382
5412
  blockHash: string;
@@ -5425,12 +5455,12 @@ declare class OrderStatusChecker {
5425
5455
  isOrderRefunded(order: Order): Promise<boolean>;
5426
5456
  }
5427
5457
 
5428
- declare function encodeERC7821ExecuteBatch(calls: ERC7821Call[]): HexString;
5429
- declare function decodeERC7821ExecuteBatch(callData: HexString): ERC7821Call[] | null;
5458
+ declare function encodeERC7821ExecuteBatch(calls: ERC7821Call[]): HexString$1;
5459
+ declare function decodeERC7821ExecuteBatch(callData: HexString$1): ERC7821Call[] | null;
5430
5460
 
5431
5461
  type ContractOrder = Omit<Order, "id" | "source" | "destination"> & {
5432
- source: HexString;
5433
- destination: HexString;
5462
+ source: HexString$1;
5463
+ destination: HexString$1;
5434
5464
  };
5435
5465
  /**
5436
5466
  * Fetches a Merkle/state proof for the given ISMP request commitment on the
@@ -5448,7 +5478,7 @@ type ContractOrder = Omit<Order, "id" | "source" | "destination"> & {
5448
5478
  * @returns Resolves with an {@link IProof} ready to be submitted to Hyperbridge.
5449
5479
  * @internal
5450
5480
  */
5451
- declare function fetchSourceProof(commitment: HexString, source: IEvmChain, sourceStateMachine: string, sourceConsensusStateId: string, sourceHeight: bigint): Promise<IProof>;
5481
+ declare function fetchSourceProof(commitment: HexString$1, source: IEvmChain, sourceStateMachine: string, sourceConsensusStateId: string, sourceHeight: bigint): Promise<IProof>;
5452
5482
  /**
5453
5483
  * Strips SDK-only fields from an {@link Order} and normalises all fields to
5454
5484
  * the encoding the IntentGatewayV2 contract ABI expects:
@@ -5476,7 +5506,7 @@ declare function transformOrderForContract(order: Order): ContractOrder;
5476
5506
  * @param order - The SDK-level order to hash.
5477
5507
  * @returns The keccak256 commitment hash.
5478
5508
  */
5479
- declare function orderCommitment(order: Order): HexString;
5509
+ declare function orderCommitment(order: Order): HexString$1;
5480
5510
 
5481
5511
  /**
5482
5512
  * EIP-712 type hash for the `SelectSolver` struct.
@@ -5527,7 +5557,7 @@ declare class CryptoUtils {
5527
5557
  * @param contractAddress - Address of the verifying contract.
5528
5558
  * @returns The 32-byte domain separator as a hex string.
5529
5559
  */
5530
- static getDomainSeparator(contractName: string, version: string, chainId: bigint, contractAddress: HexString): HexString;
5560
+ static getDomainSeparator(contractName: string, version: string, chainId: bigint, contractAddress: HexString$1): HexString$1;
5531
5561
  /**
5532
5562
  * Signs a `SelectSolver` EIP-712 message with a session key.
5533
5563
  *
@@ -5541,7 +5571,7 @@ declare class CryptoUtils {
5541
5571
  * @param privateKey - Hex-encoded private key of the session key that signs the message.
5542
5572
  * @returns The ECDSA signature as a hex string, or `null` if signing fails.
5543
5573
  */
5544
- static signSolverSelection(commitment: HexString, solverAddress: HexString, domainSeparator: HexString, privateKey: HexString): Promise<HexString | null>;
5574
+ static signSolverSelection(commitment: HexString$1, solverAddress: HexString$1, domainSeparator: HexString$1, privateKey: HexString$1): Promise<HexString$1 | null>;
5545
5575
  /**
5546
5576
  * Computes the EIP-712 hash of a `PackedUserOperation` as defined by
5547
5577
  * ERC-4337 EntryPoint v0.8.
@@ -5564,7 +5594,7 @@ declare class CryptoUtils {
5564
5594
  * @param sessionKey - The order's session key address (`order.session`).
5565
5595
  * @returns The 192-bit nonce key as a bigint (pass to `EntryPoint.getNonce`).
5566
5596
  */
5567
- static bidNonceKey(commitment: HexString, sessionKey: HexString): bigint;
5597
+ static bidNonceKey(commitment: HexString$1, sessionKey: HexString$1): bigint;
5568
5598
  /**
5569
5599
  * Builds the EIP-712 typed-data payload whose digest is the EntryPoint v0.8
5570
5600
  * `userOpHash` (i.e. `hashTypedData(packedUserOpTypedData(...)) ===
@@ -5612,7 +5642,7 @@ declare class CryptoUtils {
5612
5642
  * @param userOp - The packed UserOperation to hash.
5613
5643
  * @returns The struct hash as a 32-byte hex string.
5614
5644
  */
5615
- static getPackedUserStructHash(userOp: PackedUserOperation): HexString;
5645
+ static getPackedUserStructHash(userOp: PackedUserOperation): HexString$1;
5616
5646
  /**
5617
5647
  * Packs `verificationGasLimit` and `callGasLimit` into the ERC-4337
5618
5648
  * `accountGasLimits` bytes32 field.
@@ -5624,7 +5654,7 @@ declare class CryptoUtils {
5624
5654
  * @param callGasLimit - Gas limit for the main execution call.
5625
5655
  * @returns A 32-byte hex string with both limits packed.
5626
5656
  */
5627
- static packGasLimits(verificationGasLimit: bigint, callGasLimit: bigint): HexString;
5657
+ static packGasLimits(verificationGasLimit: bigint, callGasLimit: bigint): HexString$1;
5628
5658
  /**
5629
5659
  * Packs `maxPriorityFeePerGas` and `maxFeePerGas` into the ERC-4337
5630
5660
  * `gasFees` bytes32 field.
@@ -5636,7 +5666,7 @@ declare class CryptoUtils {
5636
5666
  * @param maxFeePerGas - Maximum total fee per gas (EIP-1559).
5637
5667
  * @returns A 32-byte hex string with both fee values packed.
5638
5668
  */
5639
- static packGasFees(maxPriorityFeePerGas: bigint, maxFeePerGas: bigint): HexString;
5669
+ static packGasFees(maxPriorityFeePerGas: bigint, maxFeePerGas: bigint): HexString$1;
5640
5670
  /**
5641
5671
  * Unpacks the `accountGasLimits` bytes32 field back into its constituent
5642
5672
  * gas limits.
@@ -5644,7 +5674,7 @@ declare class CryptoUtils {
5644
5674
  * @param accountGasLimits - The packed 32-byte gas limits field from a `PackedUserOperation`.
5645
5675
  * @returns Object with `verificationGasLimit` and `callGasLimit` as bigints.
5646
5676
  */
5647
- static unpackGasLimits(accountGasLimits: HexString): {
5677
+ static unpackGasLimits(accountGasLimits: HexString$1): {
5648
5678
  verificationGasLimit: bigint;
5649
5679
  callGasLimit: bigint;
5650
5680
  };
@@ -5654,7 +5684,7 @@ declare class CryptoUtils {
5654
5684
  * @param gasFees - The packed 32-byte gas fees field from a `PackedUserOperation`.
5655
5685
  * @returns Object with `maxPriorityFeePerGas` and `maxFeePerGas` as bigints.
5656
5686
  */
5657
- static unpackGasFees(gasFees: HexString): {
5687
+ static unpackGasFees(gasFees: HexString$1): {
5658
5688
  maxPriorityFeePerGas: bigint;
5659
5689
  maxFeePerGas: bigint;
5660
5690
  };
@@ -5699,7 +5729,7 @@ declare class CryptoUtils {
5699
5729
  * address, ETH `value`, and `data`.
5700
5730
  * @returns ABI-encoded calldata for the ERC-7821 `execute(bytes32,bytes)` function.
5701
5731
  */
5702
- encodeERC7821Execute(calls: ERC7821Call[]): HexString;
5732
+ encodeERC7821Execute(calls: ERC7821Call[]): HexString$1;
5703
5733
  /**
5704
5734
  * Decodes ERC-7821 `execute` calldata back into its constituent calls.
5705
5735
  *
@@ -5710,9 +5740,22 @@ declare class CryptoUtils {
5710
5740
  * {@link encodeERC7821Execute} or an equivalent encoder.
5711
5741
  * @returns Array of decoded {@link ERC7821Call} objects, or `null` on failure.
5712
5742
  */
5713
- decodeERC7821Execute(callData: HexString): ERC7821Call[] | null;
5743
+ decodeERC7821Execute(callData: HexString$1): ERC7821Call[] | null;
5714
5744
  }
5715
5745
 
5746
+ type HexString = `0x${string}`;
5747
+ /**
5748
+ * Encodes the accepted source chains (state machine ids, e.g. "EVM-8453") into the
5749
+ * paymasterAndData declaration blob.
5750
+ */
5751
+ declare function encodeAcceptedSourceChains(chains: string[]): HexString;
5752
+ /**
5753
+ * Decodes a phantom bid's paymasterAndData into its declared source chains. Returns null for an
5754
+ * absent, unversioned or malformed blob — the legacy default — and an empty array only for an
5755
+ * explicit zero-entry declaration. Callers must preserve that distinction.
5756
+ */
5757
+ declare function decodeAcceptedSourceChains(paymasterAndData: string | undefined | null): string[] | null;
5758
+
5716
5759
  declare const ABI$1: readonly [{
5717
5760
  readonly type: "constructor";
5718
5761
  readonly inputs: readonly [{
@@ -6903,6 +6946,21 @@ declare const ABI$1: readonly [{
6903
6946
  readonly type: "uint256";
6904
6947
  readonly internalType: "uint256";
6905
6948
  }];
6949
+ }, {
6950
+ readonly name: "predispatchCall";
6951
+ readonly type: "bytes";
6952
+ readonly indexed: false;
6953
+ readonly internalType: "bytes";
6954
+ }, {
6955
+ readonly name: "outputCall";
6956
+ readonly type: "bytes";
6957
+ readonly indexed: false;
6958
+ readonly internalType: "bytes";
6959
+ }, {
6960
+ readonly name: "graffiti";
6961
+ readonly type: "bytes32";
6962
+ readonly indexed: false;
6963
+ readonly internalType: "bytes32";
6906
6964
  }];
6907
6965
  readonly anonymous: false;
6908
6966
  }, {
@@ -8478,17 +8536,17 @@ interface TeleportParams {
8478
8536
  /** Amount to be sent */
8479
8537
  amount: bigint;
8480
8538
  /** The token identifier to send */
8481
- assetId: HexString;
8539
+ assetId: HexString$1;
8482
8540
  /** Redeem ERC20 on the destination? */
8483
8541
  redeem: boolean;
8484
8542
  /** Recipient address. For EVM destinations, plain 20-byte addresses are accepted and padded internally. */
8485
- to: HexString;
8543
+ to: HexString$1;
8486
8544
  /** Recipient state machine */
8487
8545
  dest: string | Uint8Array;
8488
8546
  /** Request timeout in seconds */
8489
8547
  timeout: bigint;
8490
8548
  /** Destination contract call data */
8491
- data?: HexString | Uint8Array;
8549
+ data?: HexString$1 | Uint8Array;
8492
8550
  }
8493
8551
  /**
8494
8552
  * TokenGateway class for managing cross-chain token transfers via Hyperbridge
@@ -8597,14 +8655,14 @@ declare class TokenGateway {
8597
8655
  *
8598
8656
  * Requires a prior call to {@link withQueryClient}.
8599
8657
  */
8600
- queryAssetTeleported(commitment: HexString): Promise<TokenGatewayAssetTeleportedWithStatus | undefined>;
8658
+ queryAssetTeleported(commitment: HexString$1): Promise<TokenGatewayAssetTeleportedWithStatus | undefined>;
8601
8659
  /**
8602
8660
  * Streams status updates for an asset-teleported event until a terminal
8603
8661
  * state (`RECEIVED` or `REFUNDED`).
8604
8662
  *
8605
8663
  * Requires a prior call to {@link withQueryClient}.
8606
8664
  */
8607
- assetTeleportedStatusStream(commitment: HexString): AsyncGenerator<{
8665
+ assetTeleportedStatusStream(commitment: HexString$1): AsyncGenerator<{
8608
8666
  status: TeleportStatus;
8609
8667
  metadata: {
8610
8668
  blockHash: string;
@@ -8624,7 +8682,7 @@ interface BridgeParams {
8624
8682
  /** The sender's address (needed for allowance checks and fee quoting) */
8625
8683
  from: Address;
8626
8684
  /** Recipient on the destination chain (20 bytes for EVM, 32 bytes for substrate) */
8627
- to: HexString | Uint8Array;
8685
+ to: HexString$1 | Uint8Array;
8628
8686
  /** Amount of tokens to send (in token decimals) */
8629
8687
  amount: bigint;
8630
8688
  /** Destination state machine ID (e.g. "EVM-97") */
@@ -8632,7 +8690,7 @@ interface BridgeParams {
8632
8690
  /** Request timeout in seconds (default: 3600) */
8633
8691
  timeout?: bigint;
8634
8692
  /** Optional calldata to execute on the destination chain */
8635
- data?: HexString;
8693
+ data?: HexString$1;
8636
8694
  /** Pay fees in the host's feeToken instead of native. Default: false (pay native) */
8637
8695
  payInFeeToken?: boolean;
8638
8696
  /** Relayer fee override in feeToken units. If not set, automatically estimated from destination gas cost. Set to 0n for self-relay. */
@@ -8656,18 +8714,18 @@ type BridgeStep = {
8656
8714
  type: "approve";
8657
8715
  tx: {
8658
8716
  to: Address;
8659
- data: HexString;
8717
+ data: HexString$1;
8660
8718
  };
8661
8719
  } | {
8662
8720
  type: "send";
8663
8721
  tx: {
8664
8722
  to: Address;
8665
- data: HexString;
8723
+ data: HexString$1;
8666
8724
  value: bigint;
8667
8725
  };
8668
8726
  } | {
8669
8727
  type: "submitted";
8670
- commitment: HexString;
8728
+ commitment: HexString$1;
8671
8729
  } | ({
8672
8730
  type: "status";
8673
8731
  } & RequestStatusWithMetadata);
@@ -8733,7 +8791,7 @@ declare class HyperFungibleToken {
8733
8791
  *
8734
8792
  * Resume the generator with the tx hash after submitting each tx.
8735
8793
  */
8736
- bridge(params: BridgeParams): AsyncGenerator<BridgeStep, void, HexString | undefined>;
8794
+ bridge(params: BridgeParams): AsyncGenerator<BridgeStep, void, HexString$1 | undefined>;
8737
8795
  /**
8738
8796
  * Encodes a state machine ID string to hex bytes.
8739
8797
  */
@@ -10396,7 +10454,7 @@ declare function getOrderPlacedFromTx(client: {
10396
10454
  }) => Promise<{
10397
10455
  logs: any[];
10398
10456
  }>;
10399
- }, txHash: HexString): Promise<DecodedOrderPlacedLog | undefined>;
10457
+ }, txHash: HexString$1): Promise<DecodedOrderPlacedLog | undefined>;
10400
10458
  /**
10401
10459
  * Extracts the EvmHost PostRequestEvent from a transaction hash.
10402
10460
  * @param client - A viem PublicClient-compatible instance
@@ -10409,7 +10467,7 @@ declare function getPostRequestEventFromTx(client: {
10409
10467
  }) => Promise<{
10410
10468
  logs: any[];
10411
10469
  }>;
10412
- }, txHash: HexString): Promise<DecodedPostRequestEvent | undefined>;
10470
+ }, txHash: HexString$1): Promise<DecodedPostRequestEvent | undefined>;
10413
10471
  /**
10414
10472
  * Extracts the EvmHost PostResponseEvent from a transaction hash.
10415
10473
  * @param client - A viem PublicClient-compatible instance
@@ -10422,24 +10480,24 @@ declare function getPostResponseEventFromTx(client: {
10422
10480
  }) => Promise<{
10423
10481
  logs: any[];
10424
10482
  }>;
10425
- }, txHash: HexString): Promise<DecodedPostResponseEvent | undefined>;
10483
+ }, txHash: HexString$1): Promise<DecodedPostResponseEvent | undefined>;
10426
10484
 
10427
10485
  type HyperbridgeTxEvents = {
10428
10486
  kind: "Ready";
10429
- transaction_hash: HexString;
10430
- message_id?: HexString;
10487
+ transaction_hash: HexString$1;
10488
+ message_id?: HexString$1;
10431
10489
  } | {
10432
10490
  kind: "Dispatched";
10433
- transaction_hash: HexString;
10491
+ transaction_hash: HexString$1;
10434
10492
  block_number: bigint;
10435
- message_id?: HexString;
10436
- commitment: HexString;
10493
+ message_id?: HexString$1;
10494
+ commitment: HexString$1;
10437
10495
  } | {
10438
10496
  kind: "Finalized";
10439
- transaction_hash: HexString;
10440
- message_id?: HexString;
10497
+ transaction_hash: HexString$1;
10498
+ message_id?: HexString$1;
10441
10499
  block_number?: bigint;
10442
- commitment?: HexString;
10500
+ commitment?: HexString$1;
10443
10501
  } | {
10444
10502
  kind: "Error";
10445
10503
  error: unknown;
@@ -10457,7 +10515,7 @@ type XcmGatewayParams = {
10457
10515
  * The recipient address on the destination chain (in hex format)
10458
10516
  * This is the EVM address that will receive the teleported assets
10459
10517
  */
10460
- recipient: HexString;
10518
+ recipient: HexString$1;
10461
10519
  /**
10462
10520
  * Amount of DOT to teleport
10463
10521
  * This will be converted to the appropriate format internally
@@ -10517,7 +10575,7 @@ type Params = {
10517
10575
  * Recipient address in hexadecimal format where the assets will be sent
10518
10576
  * on the destination chain
10519
10577
  */
10520
- recipient: HexString;
10578
+ recipient: HexString$1;
10521
10579
  /**
10522
10580
  * Amount of tokens to teleport, represented as a bigint to handle
10523
10581
  * large numeric values precisely
@@ -10581,4 +10639,4 @@ declare function teleport(teleport_param: {
10581
10639
  extrinsics?: Array<SubmittableExtrinsic<"promise", ISubmittableResult>>;
10582
10640
  }): Promise<ReadableStream<HyperbridgeTxEvents>>;
10583
10641
 
10584
- 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 Erc4626VaultConfigData, 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 OrderFeesQuote, 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 };
10642
+ 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 Erc4626VaultConfigData, 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$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, 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 OrderFeesQuote, type OrderResponse, OrderStatus, OrderStatusChecker, type OrderStatusMetadata, type OrderWithStatus, PACKED_USEROP_TYPEHASH, PLACE_ORDER_SELECTOR, type PackedUserOperation, type Params, type PaymentInfo, type PhantomOrderEvent, type PhantomOrderLeg, 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, decodeAcceptedSourceChains, decodeERC7821ExecuteBatch, decodeUserOpScale, encodeAcceptedSourceChains, 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 };