@hyperbridge/sdk 2.7.2 → 2.8.2

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.
@@ -929,6 +929,11 @@ interface ChainConfigData {
929
929
  USDT: number;
930
930
  cNGN?: number;
931
931
  EXT?: number;
932
+ ZARP?: number;
933
+ EURC?: number;
934
+ XSGD?: number;
935
+ TRYB?: number;
936
+ USDR?: number;
932
937
  };
933
938
  tokenStorageSlots?: {
934
939
  USDT?: {
@@ -947,6 +952,30 @@ interface ChainConfigData {
947
952
  balanceSlot: number;
948
953
  allowanceSlot: number;
949
954
  };
955
+ cNGN?: {
956
+ balanceSlot: number;
957
+ allowanceSlot: number;
958
+ };
959
+ ZARP?: {
960
+ balanceSlot: number;
961
+ allowanceSlot: number;
962
+ };
963
+ EURC?: {
964
+ balanceSlot: number;
965
+ allowanceSlot: number;
966
+ };
967
+ XSGD?: {
968
+ balanceSlot: number;
969
+ allowanceSlot: number;
970
+ };
971
+ TRYB?: {
972
+ balanceSlot: number;
973
+ allowanceSlot: number;
974
+ };
975
+ USDR?: {
976
+ balanceSlot: number;
977
+ allowanceSlot: number;
978
+ };
950
979
  };
951
980
  addresses: {
952
981
  IntentGateway?: `0x${string}`;
@@ -1001,44 +1030,44 @@ declare class ChainConfigService {
1001
1030
  constructor(env?: NodeJS.ProcessEnv);
1002
1031
  private getConfig;
1003
1032
  getChainConfig(chain: string): ChainConfig;
1004
- getIntentGatewayAddress(chain: string): HexString;
1005
- getTokenGatewayAddress(chain: string): HexString;
1006
- getHostAddress(chain: string): HexString;
1033
+ getIntentGatewayAddress(chain: string): HexString$1;
1034
+ getTokenGatewayAddress(chain: string): HexString$1;
1035
+ getHostAddress(chain: string): HexString$1;
1007
1036
  getWrappedNativeAssetWithDecimals(chain: string): {
1008
- asset: HexString;
1037
+ asset: HexString$1;
1009
1038
  decimals: number;
1010
1039
  };
1011
- getDaiAsset(chain: string): HexString;
1012
- getAssetAddress(chain: string, symbol: ConfiguredAssetSymbol): HexString | undefined;
1040
+ getDaiAsset(chain: string): HexString$1;
1041
+ getAssetAddress(chain: string, symbol: ConfiguredAssetSymbol): HexString$1 | undefined;
1013
1042
  /**
1014
1043
  * Resolves configured token metadata from an address on a specific chain.
1015
1044
  * This is used by SDK helpers that accept token addresses rather than caller-
1016
1045
  * supplied symbols or decimals.
1017
1046
  */
1018
- getAssetMetadataByAddress(chain: string, address: HexString): {
1047
+ getAssetMetadataByAddress(chain: string, address: HexString$1): {
1019
1048
  symbol: ConfiguredAssetSymbol;
1020
- address: HexString;
1049
+ address: HexString$1;
1021
1050
  decimals?: number;
1022
1051
  } | undefined;
1023
- getUsdtAsset(chain: string): HexString;
1024
- getUsdcAsset(chain: string): HexString;
1052
+ getUsdtAsset(chain: string): HexString$1;
1053
+ getUsdcAsset(chain: string): HexString$1;
1025
1054
  getUsdcDecimals(chain: string): number;
1026
1055
  getUsdtDecimals(chain: string): number;
1027
- getCNgnAsset(chain: string): HexString | undefined;
1056
+ getCNgnAsset(chain: string): HexString$1 | undefined;
1028
1057
  /**
1029
1058
  * Address of `symbol` on `chain` from the per-chain asset table, matched
1030
1059
  * case-insensitively ("cNGN" ≡ "CNGN"). This table is the single source of
1031
1060
  * truth for token addresses — the simplex asset registry resolves through
1032
1061
  * it, so a new asset is added once in `chain.ts` and nowhere else.
1033
1062
  */
1034
- getAssetBySymbol(chain: string, symbol: string): HexString | undefined;
1063
+ getAssetBySymbol(chain: string, symbol: string): HexString$1 | undefined;
1035
1064
  getCNgnDecimals(chain: string): number | undefined;
1036
- getExtAsset(chain: string): HexString | undefined;
1065
+ getExtAsset(chain: string): HexString$1 | undefined;
1037
1066
  getExtDecimals(chain: string): number | undefined;
1038
1067
  /** Configured exotic (non-USD) tokens on a chain, for selection UIs. EXT is a test asset and is not offered. */
1039
1068
  getKnownExoticTokens(chain: string): Array<{
1040
1069
  symbol: string;
1041
- address: HexString;
1070
+ address: HexString$1;
1042
1071
  decimals?: number;
1043
1072
  }>;
1044
1073
  /** Known ERC-4626 treasury vaults on a chain, for selection UIs. */
@@ -1047,30 +1076,30 @@ declare class ChainConfigService {
1047
1076
  getConsensusStateId(chain: string): string;
1048
1077
  getHyperbridgeChainId(): number;
1049
1078
  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;
1079
+ getUniswapRouterV2Address(chain: string): HexString$1;
1080
+ getAerodromeRouterAddress(chain: string): HexString$1;
1081
+ getUniswapV2FactoryAddress(chain: string): HexString$1;
1082
+ getUniswapV3FactoryAddress(chain: string): HexString$1;
1083
+ getUniversalRouterAddress(chain: string): HexString$1;
1084
+ getUniswapV3QuoterAddress(chain: string): HexString$1;
1085
+ getUniswapV4QuoterAddress(chain: string): HexString$1;
1086
+ getUniswapV4PositionManagerAddress(chain: string): HexString$1;
1087
+ getUniswapV4PoolManagerAddress(chain: string): HexString$1;
1088
+ getUniswapV4StateViewAddress(chain: string): HexString$1;
1060
1089
  getUniswapV4PoolConfigs(chain: string): UniswapV4PoolConfigData[];
1061
- getPermit2Address(chain: string): HexString;
1062
- getSolverAccountAddress(chain: string): HexString | undefined;
1090
+ getPermit2Address(chain: string): HexString$1;
1091
+ getSolverAccountAddress(chain: string): HexString$1 | undefined;
1063
1092
  getCoingeckoId(chain: string): string | undefined;
1064
1093
  getEtherscanApiKey(): string | undefined;
1065
- getCalldispatcherAddress(chain: string): HexString;
1094
+ getCalldispatcherAddress(chain: string): HexString$1;
1066
1095
  getTokenStorageSlots(chain: string, tokenAddress: string): {
1067
1096
  balanceSlot: number;
1068
1097
  allowanceSlot: number;
1069
1098
  } | undefined;
1070
1099
  getPopularTokens(chain: string): string[];
1071
- getEntryPointV08Address(chain: string): HexString;
1072
- getCirclePaymasterAddress(chain: string): HexString | undefined;
1073
- getSimplexPaymasterAddress(chain: string): HexString | undefined;
1100
+ getEntryPointV08Address(chain: string): HexString$1;
1101
+ getCirclePaymasterAddress(chain: string): HexString$1 | undefined;
1102
+ getSimplexPaymasterAddress(chain: string): HexString$1 | undefined;
1074
1103
  getHyperbridgeAddress(): string;
1075
1104
  /**
1076
1105
  * Get the LayerZero Endpoint ID for the chain
@@ -1082,7 +1111,7 @@ declare class ChainConfigService {
1082
1111
  * On Ethereum: OFT Adapter (locks/unlocks USDT)
1083
1112
  * On other chains: OFT contract (mints/burns USDT0)
1084
1113
  */
1085
- getUsdt0OftAddress(chain: string): HexString | undefined;
1114
+ getUsdt0OftAddress(chain: string): HexString$1 | undefined;
1086
1115
  }
1087
1116
 
1088
1117
  /**
@@ -1108,7 +1137,7 @@ interface EvmChainParams {
1108
1137
  /**
1109
1138
  * The host address of the EVM chain (IsmpHost contract address)
1110
1139
  */
1111
- host: HexString;
1140
+ host: HexString$1;
1112
1141
  /**
1113
1142
  * Consensus state identifier of this chain on hyperbridge
1114
1143
  */
@@ -1155,7 +1184,7 @@ declare class EvmChain implements IChain {
1155
1184
  */
1156
1185
  static create(rpcUrl: string, bundlerUrl?: string): Promise<EvmChain>;
1157
1186
  get client(): PublicClient;
1158
- get host(): HexString;
1187
+ get host(): HexString$1;
1159
1188
  get bundlerUrl(): string | undefined;
1160
1189
  get config(): IEvmConfig;
1161
1190
  get configService(): ChainConfigService;
@@ -1168,13 +1197,13 @@ declare class EvmChain implements IChain {
1168
1197
  * @param {HexString} commitment - The commitment to derive the key from.
1169
1198
  * @returns {HexString} The derived key.
1170
1199
  */
1171
- requestReceiptKey(commitment: HexString): HexString;
1200
+ requestReceiptKey(commitment: HexString$1): HexString$1;
1172
1201
  /**
1173
1202
  * Queries the request receipt.
1174
1203
  * @param {HexString} commitment - The commitment to query.
1175
1204
  * @returns {Promise<HexString | undefined>} The relayer address responsible for delivering the request.
1176
1205
  */
1177
- queryRequestReceipt(commitment: HexString): Promise<HexString | undefined>;
1206
+ queryRequestReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
1178
1207
  /**
1179
1208
  * Queries the proof of the commitments.
1180
1209
  * @param {IMessage} message - The message to query.
@@ -1182,7 +1211,7 @@ declare class EvmChain implements IChain {
1182
1211
  * @param {bigint} [at] - The block number to query at.
1183
1212
  * @returns {Promise<HexString>} The proof.
1184
1213
  */
1185
- queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString>;
1214
+ queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString$1>;
1186
1215
  /**
1187
1216
  * Query and return the encoded storage proof for the provided keys at the given height.
1188
1217
  *
@@ -1197,7 +1226,7 @@ declare class EvmChain implements IChain {
1197
1226
  * of this contract. Omit to let 52-byte keys carry their own contract address.
1198
1227
  * @returns {Promise<HexString>} The encoded storage proof.
1199
1228
  */
1200
- queryStateProof(at: bigint, keys: HexString[], address?: HexString): Promise<HexString>;
1229
+ queryStateProof(at: bigint, keys: HexString$1[], address?: HexString$1): Promise<HexString$1>;
1201
1230
  /**
1202
1231
  * Returns the current timestamp of the chain.
1203
1232
  * @returns {Promise<bigint>} The current timestamp.
@@ -1222,7 +1251,7 @@ declare class EvmChain implements IChain {
1222
1251
  * When the transaction contains multiple placeOrder calls, `occurrenceIndex`
1223
1252
  * selects which call's calldata to return (0-indexed in execution order).
1224
1253
  */
1225
- getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString>;
1254
+ getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString$1>;
1226
1255
  /**
1227
1256
  * Get the challenge period for a given state machine id.
1228
1257
  * @param {StateMachineIdParams} stateMachineId - The state machine ID.
@@ -1234,7 +1263,7 @@ declare class EvmChain implements IChain {
1234
1263
  * @param {IIsmpMessage} message The ISMP message to encode.
1235
1264
  * @returns {HexString} The encoded calldata.
1236
1265
  */
1237
- encode(message: IIsmpMessage): HexString;
1266
+ encode(message: IIsmpMessage): HexString$1;
1238
1267
  /**
1239
1268
  * Returns the protocol fee charged by the host on dispatch.
1240
1269
  *
@@ -1249,12 +1278,12 @@ declare class EvmChain implements IChain {
1249
1278
  * Given a desired output amount of a token, returns how much native is needed as input.
1250
1279
  * Uses the chain's Uniswap V2 router (or `router` when provided): WETH → tokenOut path.
1251
1280
  */
1252
- getAmountsIn(amountOut: bigint, tokenOutForQuote: HexString, chain?: string, router?: HexString): Promise<bigint>;
1281
+ getAmountsIn(amountOut: bigint, tokenOutForQuote: HexString$1, chain?: string, router?: HexString$1): Promise<bigint>;
1253
1282
  /**
1254
1283
  * Given an input amount of native token, returns how much of the output token you get.
1255
1284
  * Uses the chain's Uniswap V2 router: WETH → tokenOut path.
1256
1285
  */
1257
- getAmountsOut(amountIn: bigint, tokenOutForQuote: HexString, chain?: string): Promise<bigint>;
1286
+ getAmountsOut(amountIn: bigint, tokenOutForQuote: HexString$1, chain?: string): Promise<bigint>;
1258
1287
  /**
1259
1288
  * Estimates the gas required for a post request execution on this chain.
1260
1289
  * This function generates mock proofs for the post request, creates a state override
@@ -1267,7 +1296,7 @@ declare class EvmChain implements IChain {
1267
1296
  */
1268
1297
  estimateGas(request: IPostRequest): Promise<{
1269
1298
  gas: bigint;
1270
- postRequestCalldata: HexString;
1299
+ postRequestCalldata: HexString$1;
1271
1300
  }>;
1272
1301
  /**
1273
1302
  * Gets the fee token address and decimals for the chain.
@@ -1276,7 +1305,7 @@ declare class EvmChain implements IChain {
1276
1305
  * @returns The fee token address and decimals
1277
1306
  */
1278
1307
  getFeeTokenWithDecimals(): Promise<{
1279
- address: HexString;
1308
+ address: HexString$1;
1280
1309
  decimals: number;
1281
1310
  }>;
1282
1311
  /**
@@ -1286,8 +1315,8 @@ declare class EvmChain implements IChain {
1286
1315
  * @returns The nonce of the host
1287
1316
  */
1288
1317
  getHostNonce(): Promise<bigint>;
1289
- broadcastTransaction(signedTransaction: HexString): Promise<TransactionReceipt>;
1290
- getTransactionReceipt(hash: HexString): Promise<TransactionReceipt>;
1318
+ broadcastTransaction(signedTransaction: HexString$1): Promise<TransactionReceipt>;
1319
+ getTransactionReceipt(hash: HexString$1): Promise<TransactionReceipt>;
1291
1320
  }
1292
1321
  /**
1293
1322
  * Factory function for creating EVM chain instances with common defaults
@@ -1311,7 +1340,7 @@ declare class EvmChain implements IChain {
1311
1340
  * })
1312
1341
  * ```
1313
1342
  */
1314
- declare function createEvmChain(chainId: number, host: HexString, options: {
1343
+ declare function createEvmChain(chainId: number, host: HexString$1, options: {
1315
1344
  rpcUrl: string;
1316
1345
  consensusStateId?: string;
1317
1346
  }): EvmChain;
@@ -1354,8 +1383,8 @@ declare function responseCommitmentKey(key: Hex): Hex;
1354
1383
  * @param field - The field index in the struct (0 for timestamp, 1 for overlayRoot, 2 for stateRoot)
1355
1384
  * @returns The storage slot for the specific field
1356
1385
  */
1357
- declare function getStateCommitmentFieldSlot(stateMachineId: bigint, height: bigint, field: 0 | 1 | 2): HexString;
1358
- declare function getStateCommitmentSlot(stateMachineId: bigint, height: bigint): HexString;
1386
+ declare function getStateCommitmentFieldSlot(stateMachineId: bigint, height: bigint, field: 0 | 1 | 2): HexString$1;
1387
+ declare function getStateCommitmentSlot(stateMachineId: bigint, height: bigint): HexString$1;
1359
1388
 
1360
1389
  /**
1361
1390
  * Generates a Merkle Mountain Range (MMR) root hash and proof for a post request.
@@ -1375,8 +1404,8 @@ declare function getStateCommitmentSlot(stateMachineId: bigint, height: bigint):
1375
1404
  * - mmrSize: The size of the MMR in nodes
1376
1405
  */
1377
1406
  declare function generateRootWithProof(postRequest: IPostRequest, treeSize: bigint): Promise<{
1378
- root: HexString;
1379
- proof: HexString[];
1407
+ root: HexString$1;
1408
+ proof: HexString$1[];
1380
1409
  index: bigint;
1381
1410
  treeSize: bigint;
1382
1411
  mmrSize: bigint;
@@ -1400,10 +1429,10 @@ type IStateMachine = {
1400
1429
  value: number[];
1401
1430
  };
1402
1431
 
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;
1432
+ declare const ADDRESS_ZERO: HexString$1;
1433
+ declare const MOCK_ADDRESS: HexString$1;
1434
+ declare const DUMMY_PRIVATE_KEY: HexString$1;
1435
+ declare const DEFAULT_GRAFFITI: HexString$1;
1407
1436
  /**
1408
1437
  * Returns the maximum of two bigint values
1409
1438
  * @param a - First bigint value
@@ -1425,7 +1454,7 @@ declare function maxBigInt(a: bigint, b: bigint): bigint;
1425
1454
  declare function parseStateMachineId(stateMachineId: string): {
1426
1455
  stateId: {
1427
1456
  Evm?: number;
1428
- Substrate?: HexString;
1457
+ Substrate?: HexString$1;
1429
1458
  Polkadot?: number;
1430
1459
  Kusama?: number;
1431
1460
  };
@@ -1436,28 +1465,28 @@ declare function parseStateMachineId(stateMachineId: string): {
1436
1465
  * @returns The commitment hash and the encode packed data.
1437
1466
  */
1438
1467
  declare function postRequestCommitment(post: IPostRequest): {
1439
- commitment: HexString;
1440
- encodePacked: HexString;
1468
+ commitment: HexString$1;
1469
+ encodePacked: HexString$1;
1441
1470
  };
1442
1471
  /**
1443
1472
  * Converts a bytes32 token address to bytes20 format
1444
1473
  * This removes the extra padded zeros from the address
1445
1474
  */
1446
- declare function bytes32ToBytes20(bytes32Address: string): HexString;
1447
- declare function bytes20ToBytes32(bytes20Address: string): HexString;
1475
+ declare function bytes32ToBytes20(bytes32Address: string): HexString$1;
1476
+ declare function bytes20ToBytes32(bytes20Address: string): HexString$1;
1448
1477
  declare function hexToString(hex: string): string;
1449
1478
  declare function normalizeStateMachineId(stateMachineId: string): string;
1450
1479
  declare function normalizeEvmChainId(chainId: number | string): {
1451
1480
  chainId: number;
1452
1481
  stateMachineId: string;
1453
1482
  };
1454
- declare function encodeStateMachineId(stateMachineId: string): HexString;
1455
- declare function normalizeAddressForEvmBytes32(address: string): HexString;
1483
+ declare function encodeStateMachineId(stateMachineId: string): HexString$1;
1484
+ declare function normalizeAddressForEvmBytes32(address: string): HexString$1;
1456
1485
  /**
1457
1486
  * Validates an EVM address and returns its canonical lowercase representation.
1458
1487
  */
1459
- declare function normalizeEvmAddress(address: string, field?: string): HexString;
1460
- declare function normalizeAddressForStateMachine(address: string, stateMachineId: string): HexString;
1488
+ declare function normalizeEvmAddress(address: string, field?: string): HexString$1;
1489
+ declare function normalizeAddressForStateMachine(address: string, stateMachineId: string): HexString$1;
1461
1490
  /**
1462
1491
  * Retries a promise-returning operation with exponential backoff.
1463
1492
  * This function will attempt to execute the operation up to maxRetries times,
@@ -1473,7 +1502,7 @@ declare function retryPromise<T>(operation: () => Promise<T>, retryConfig: Retry
1473
1502
  * @param get The get request to calculate the commitment hash for.
1474
1503
  * @returns The commitment hash.
1475
1504
  */
1476
- declare function getRequestCommitment(get: IGetRequest): HexString;
1505
+ declare function getRequestCommitment(get: IGetRequest): HexString$1;
1477
1506
  /**
1478
1507
  * Estimates the gas required for a post request transaction on the source chain.
1479
1508
  * This function constructs a post request, generates mock proofs, and estimates
@@ -1483,7 +1512,7 @@ declare function estimateGasForPost(params: {
1483
1512
  postRequest: IPostRequest;
1484
1513
  sourceClient: PublicClient;
1485
1514
  hostLatestStateMachineHeight: bigint;
1486
- hostAddress: HexString;
1515
+ hostAddress: HexString$1;
1487
1516
  }): Promise<{
1488
1517
  gas_fee: bigint;
1489
1518
  call_data: EstimateGasCallData;
@@ -1493,18 +1522,18 @@ declare function estimateGasForPost(params: {
1493
1522
  * Used as the GET-request context for cancel-from-source, and as the inner
1494
1523
  * payload (after the RequestKind prefix) for POST-based escrow operations.
1495
1524
  */
1496
- declare function encodeWithdrawalRequest(order: Order | Order, beneficiary: HexString): HexString;
1525
+ declare function encodeWithdrawalRequest(order: Order | Order, beneficiary: HexString$1): HexString$1;
1497
1526
  /**
1498
1527
  * Constructs the request body for a redeem escrow operation.
1499
1528
  * This function encodes the order commitment, beneficiary address, and token inputs
1500
1529
  * to match the format expected by the IntentGateway contract.
1501
1530
  */
1502
- declare function constructRedeemEscrowRequestBody(order: Order | Order, beneficiary: HexString): HexString;
1531
+ declare function constructRedeemEscrowRequestBody(order: Order | Order, beneficiary: HexString$1): HexString$1;
1503
1532
  /**
1504
1533
  * Constructs the request body for a refund escrow operation (cancel from destination).
1505
1534
  * Uses RequestKind.RefundEscrow to match the IntentGatewayV2 contract's _cancelFromDest.
1506
1535
  */
1507
- declare function constructRefundEscrowRequestBody(order: Order | Order, beneficiary: HexString): HexString;
1536
+ declare function constructRefundEscrowRequestBody(order: Order | Order, beneficiary: HexString$1): HexString$1;
1508
1537
  declare function fetchPrice(identifier: string | undefined, chainId?: number, apiKey?: string): Promise<number>;
1509
1538
  /**
1510
1539
  * Fetches the current network gas price from an Etherscan-family explorer API.
@@ -1561,7 +1590,7 @@ declare enum EvmLanguage {
1561
1590
  * )
1562
1591
  * ```
1563
1592
  */
1564
- declare function getStorageSlot(client: PublicClient, contractAddress: HexString, data: HexString): Promise<string>;
1593
+ declare function getStorageSlot(client: PublicClient, contractAddress: HexString$1, data: HexString$1): Promise<string>;
1565
1594
  /**
1566
1595
  * Returns the storage slot for an ERC20 `balanceOf` or `allowance` call,
1567
1596
  * first checking the recorded slot cache and falling back to an RPC trace
@@ -1573,7 +1602,7 @@ declare function getStorageSlot(client: PublicClient, contractAddress: HexString
1573
1602
  * @param data - The ABI-encoded call data (method selector + padded args)
1574
1603
  * @returns The storage slot as a hex string, or undefined if not found
1575
1604
  */
1576
- declare function getOrFetchStorageSlot(client: PublicClient, chain: string, contractAddress: HexString, data: HexString): Promise<HexString | undefined>;
1605
+ declare function getOrFetchStorageSlot(client: PublicClient, chain: string, contractAddress: HexString$1, data: HexString$1): Promise<HexString$1 | undefined>;
1577
1606
  /**
1578
1607
  * Adjusts fee amounts between different decimal precisions.
1579
1608
  * Handles scaling up or down based on the decimal difference.
@@ -1607,7 +1636,7 @@ declare const TESTNET_CHAINS: Set<string>;
1607
1636
  * @returns An ordered list of calldata hex strings (empty if the target is not called)
1608
1637
  * @throws Error if the RPC call fails or returns an unexpected response
1609
1638
  */
1610
- declare function getContractCallInputs(client: PublicClient, txHash: HexString, targetContractAddress: string): Promise<HexString[]>;
1639
+ declare function getContractCallInputs(client: PublicClient, txHash: HexString$1, targetContractAddress: string): Promise<HexString$1[]>;
1611
1640
  /**
1612
1641
  * Retrieves the calldata used to call a target contract within a transaction.
1613
1642
  * Returns the first call by execution order; callers handling multiple logs
@@ -1619,7 +1648,7 @@ declare function getContractCallInputs(client: PublicClient, txHash: HexString,
1619
1648
  * @returns The input (calldata) as a hex string, or null if the target is not found in the trace
1620
1649
  * @throws Error if the RPC call fails or returns an unexpected response
1621
1650
  */
1622
- declare function getContractCallInput(client: PublicClient, txHash: HexString, targetContractAddress: string): Promise<HexString | null>;
1651
+ declare function getContractCallInput(client: PublicClient, txHash: HexString$1, targetContractAddress: string): Promise<HexString$1 | null>;
1623
1652
  /**
1624
1653
  * Calculates the balance mapping location for a given slot and holder address.
1625
1654
  * This function handles the different encoding formats used by Solidity and Vyper.
@@ -1629,7 +1658,7 @@ declare function getContractCallInput(client: PublicClient, txHash: HexString, t
1629
1658
  * @param language - The language of the contract.
1630
1659
  * @returns The balance mapping location as a HexString.
1631
1660
  */
1632
- declare function calculateBalanceMappingLocation(slot: bigint, holder: string, language: EvmLanguage): HexString;
1661
+ declare function calculateBalanceMappingLocation(slot: bigint, holder: string, language: EvmLanguage): HexString$1;
1633
1662
  /**
1634
1663
  * Calculates the allowance mapping location for a given slot, owner, and spender.
1635
1664
  * ERC20 allowance is a nested mapping: mapping(address owner => mapping(address spender => uint256))
@@ -1640,7 +1669,7 @@ declare function calculateBalanceMappingLocation(slot: bigint, holder: string, l
1640
1669
  * @param language - The language of the contract (Solidity or Vyper)
1641
1670
  * @returns The allowance mapping location as a HexString
1642
1671
  */
1643
- declare function calculateAllowanceMappingLocation(slot: bigint, owner: string, spender: string, language: EvmLanguage): HexString;
1672
+ declare function calculateAllowanceMappingLocation(slot: bigint, owner: string, spender: string, language: EvmLanguage): HexString$1;
1644
1673
 
1645
1674
  declare class SubstrateChain implements IChain {
1646
1675
  private readonly params;
@@ -1672,33 +1701,33 @@ declare class SubstrateChain implements IChain {
1672
1701
  * @param key - The H256 hash key (as a 0x-prefixed hex string)
1673
1702
  * @returns The storage key as a hex string
1674
1703
  */
1675
- requestReceiptKey(key: HexString): HexString;
1704
+ requestReceiptKey(key: HexString$1): HexString$1;
1676
1705
  /**
1677
1706
  * Returns the storage key for a request commitment in the child trie
1678
1707
  * The request commitment is the key
1679
1708
  * @param key - The H256 hash key (as a 0x-prefixed hex string)
1680
1709
  * @returns The storage key as a hex string
1681
1710
  */
1682
- requestCommitmentKey(key: HexString): HexString;
1711
+ requestCommitmentKey(key: HexString$1): HexString$1;
1683
1712
  /**
1684
1713
  * Queries a request commitment from the ISMP child trie storage.
1685
1714
  * @param {HexString} commitment - The commitment hash to look up.
1686
1715
  * @returns {Promise<HexString | undefined>} The commitment data if found, undefined otherwise.
1687
1716
  */
1688
- queryRequestCommitment(commitment: HexString): Promise<HexString | undefined>;
1717
+ queryRequestCommitment(commitment: HexString$1): Promise<HexString$1 | undefined>;
1689
1718
  /**
1690
1719
  * Queries the request receipt.
1691
1720
  * @param {HexString} commitment - The commitment to query.
1692
1721
  * @returns {Promise<HexString | undefined>} The relayer address responsible for delivering the request.
1693
1722
  */
1694
- queryRequestReceipt(commitment: HexString): Promise<HexString | undefined>;
1723
+ queryRequestReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
1695
1724
  /**
1696
1725
  * Returns the storage key for a response receipt in the child trie.
1697
1726
  * A response receipt is keyed by the originating *request* commitment.
1698
1727
  * @param {HexString} key - The request commitment (0x-prefixed H256 hex string)
1699
1728
  * @returns {HexString} The storage key as a hex string
1700
1729
  */
1701
- responseReceiptKey(key: HexString): HexString;
1730
+ responseReceiptKey(key: HexString$1): HexString$1;
1702
1731
  /**
1703
1732
  * Queries the response receipt for a request commitment. For a GET, Hyperbridge
1704
1733
  * produces the response as it processes the request, so the presence of a response
@@ -1706,7 +1735,7 @@ declare class SubstrateChain implements IChain {
1706
1735
  * @param {HexString} commitment - The originating request commitment to query.
1707
1736
  * @returns {Promise<HexString | undefined>} The receipt data if present, otherwise undefined.
1708
1737
  */
1709
- queryResponseReceipt(commitment: HexString): Promise<HexString | undefined>;
1738
+ queryResponseReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
1710
1739
  /**
1711
1740
  * Queries the state-machine commitment Hyperbridge holds for a counterparty chain at an
1712
1741
  * exact height — the `BoundedStateCommitments` map that `state_machine_commitment` (and thus
@@ -1715,7 +1744,7 @@ declare class SubstrateChain implements IChain {
1715
1744
  * @param {StateMachineHeight} height - The counterparty state machine id + height.
1716
1745
  * @returns {Promise<HexString | undefined>} The committed state root, or undefined if absent.
1717
1746
  */
1718
- queryStateMachineCommitment(height: StateMachineHeight): Promise<HexString | undefined>;
1747
+ queryStateMachineCommitment(height: StateMachineHeight): Promise<HexString$1 | undefined>;
1719
1748
  /**
1720
1749
  * Returns the current timestamp of the chain.
1721
1750
  * @returns {Promise<bigint>} The current timestamp.
@@ -1728,7 +1757,7 @@ declare class SubstrateChain implements IChain {
1728
1757
  * @param {bigint} [at] - The block number to query at.
1729
1758
  * @returns {Promise<HexString>} The proof.
1730
1759
  */
1731
- queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString>;
1760
+ queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString$1>;
1732
1761
  /**
1733
1762
  * Submit an unsigned ISMP transaction to the chain. Resolves when the transaction is finalized.
1734
1763
  * @param message - The message to be submitted.
@@ -1747,7 +1776,7 @@ declare class SubstrateChain implements IChain {
1747
1776
  * @param _address - Optional address (ignored for Substrate; present for IChain compatibility).
1748
1777
  * @returns The state proof as a hexadecimal string.
1749
1778
  */
1750
- queryStateProof(at: bigint, keys: HexString[], _address?: HexString): Promise<HexString>;
1779
+ queryStateProof(at: bigint, keys: HexString$1[], _address?: HexString$1): Promise<HexString$1>;
1751
1780
  /**
1752
1781
  * Get the latest state machine height for a given state machine ID.
1753
1782
  * @param {StateMachineIdParams} stateMachineId - The state machine ID.
@@ -1774,7 +1803,7 @@ declare class SubstrateChain implements IChain {
1774
1803
  * @param message The ISMP message to encode.
1775
1804
  * @returns The encoded message as a hexadecimal string.
1776
1805
  */
1777
- encode(message: IIsmpMessage): HexString;
1806
+ encode(message: IIsmpMessage): HexString$1;
1778
1807
  /**
1779
1808
  * Queries the latest proven height for this chain from pallet-ismp.
1780
1809
  */
@@ -1788,7 +1817,7 @@ declare class SubstrateChain implements IChain {
1788
1817
  * @param currentEpoch - The current authority set id on the destination EVM chain
1789
1818
  */
1790
1819
  queryConsensusProofs(neededHeight: bigint, currentEpoch: bigint): Promise<{
1791
- proofs: HexString[];
1820
+ proofs: HexString$1[];
1792
1821
  provenHeight: bigint;
1793
1822
  } | undefined>;
1794
1823
  private getPalletIndex;
@@ -1815,7 +1844,7 @@ declare function convertStateMachineEnumToString(stateMachine: {
1815
1844
  */
1816
1845
  declare function convertStateIdToStateMachineId(stateId: {
1817
1846
  Evm?: number;
1818
- Substrate?: HexString;
1847
+ Substrate?: HexString$1;
1819
1848
  Polkadot?: number;
1820
1849
  Kusama?: number;
1821
1850
  }): string;
@@ -1895,21 +1924,29 @@ declare function encodeISMPMessage(message: IIsmpMessage): Uint8Array;
1895
1924
  * @param userOp - The PackedUserOperation to encode
1896
1925
  * @returns Hex-encoded SCALE bytes
1897
1926
  */
1898
- declare function encodeUserOpScale(userOp: PackedUserOperation): HexString;
1927
+ declare function encodeUserOpScale(userOp: PackedUserOperation): HexString$1;
1899
1928
  /**
1900
1929
  * Decodes a SCALE-encoded PackedUserOperation.
1901
1930
  *
1902
1931
  * @param hex - The hex-encoded SCALE bytes
1903
1932
  * @returns The decoded PackedUserOperation
1904
1933
  */
1905
- declare function decodeUserOpScale(hex: HexString): PackedUserOperation;
1934
+ declare function decodeUserOpScale(hex: HexString$1): PackedUserOperation;
1935
+ /** One directed leg of a phantom order: `standardAmount` of `tokenA` quoted in `tokenB`. */
1936
+ interface PhantomOrderLeg {
1937
+ tokenA: HexString$1;
1938
+ tokenB: HexString$1;
1939
+ standardAmount: bigint;
1940
+ }
1906
1941
  interface PhantomOrderEvent {
1907
- commitment: HexString;
1942
+ commitment: HexString$1;
1908
1943
  chain: string;
1909
1944
  createdAt: number;
1910
- tokenA: HexString;
1911
- tokenB: HexString;
1912
- standardAmount: bigint;
1945
+ /**
1946
+ * Every configured pair expands into its configured direction plus the reverse. Listed in
1947
+ * the same order as the order's asset lists, so index `i` here is the order's leg `i`.
1948
+ */
1949
+ legs: PhantomOrderLeg[];
1913
1950
  }
1914
1951
  interface PollPhantomOrdersOptions {
1915
1952
  /** How often to check for a new head. Defaults to 6s, roughly one block. */
@@ -1979,16 +2016,37 @@ declare class IntentsCoprocessor {
1979
2016
  /**
1980
2017
  * Signs and sends an extrinsic. Submissions are serialised through {@link submissionQueue} so
1981
2018
  * concurrent calls never collide on the substrate account nonce — each extrinsic reaches a block
1982
- * before the next is signed.
2019
+ * (or is confirmed still pooled and returned as `pending`) before the next is signed; auto-nonce
2020
+ * via `system.accountNextIndex` counts pooled extrinsics, so a pending one is never re-used.
1983
2021
  */
1984
2022
  private signAndSendExtrinsic;
1985
2023
  /**
1986
2024
  * Signs and sends an extrinsic, handling status updates and errors.
1987
2025
  * Implements retry logic with progressive tip increases for stuck transactions.
2026
+ *
2027
+ * A retry only happens when the previous attempt verifiably went nowhere. Once an attempt's
2028
+ * extrinsic is known to be pooled (`pending`), re-signing the same call would race our own
2029
+ * submission: the copy either bounces off the pool (1014, same nonce below the replacement
2030
+ * priority bump) or — if the original lands first, freeing the nonce — executes as a duplicate
2031
+ * and fails on-chain (e.g. `BidNotFound` for a retraction). Neither can succeed, so the pending
2032
+ * result is returned for the caller to confirm later.
1988
2033
  */
1989
2034
  private sendExtrinsicWithRetries;
1990
2035
  /**
1991
- * Sends an extrinsic with a timeout
2036
+ * Classifies a submission rejection. Codes 1013 ("already imported") and 1014 ("priority is
2037
+ * too low") both mean a copy of this account+nonce is already in the pool — almost always our
2038
+ * own earlier attempt whose watch handle didn't confirm cleanly. That extrinsic is in flight;
2039
+ * resubmitting can only bounce again or land a duplicate, so these are surfaced as `pending`
2040
+ * rather than failure.
2041
+ */
2042
+ private classifySubmissionError;
2043
+ /**
2044
+ * Sends an extrinsic with a timeout.
2045
+ *
2046
+ * A timeout is only a failure when the extrinsic never made it into the transaction pool.
2047
+ * Once a pool-entry status (Future/Ready/Broadcast/Retracted) has been seen, the extrinsic is
2048
+ * in flight and may well execute after the watch is abandoned — the result is then `pending`,
2049
+ * telling the caller to confirm the outcome later instead of re-signing the same call.
1992
2050
  */
1993
2051
  private sendWithTimeout;
1994
2052
  /**
@@ -1998,7 +2056,7 @@ declare class IntentsCoprocessor {
1998
2056
  * @param userOp - The encoded PackedUserOperation as hex string
1999
2057
  * @returns BidSubmissionResult with success status and block/extrinsic hash
2000
2058
  */
2001
- submitBid(commitment: HexString, userOp: HexString): Promise<BidSubmissionResult>;
2059
+ submitBid(commitment: HexString$1, userOp: HexString$1): Promise<BidSubmissionResult>;
2002
2060
  /**
2003
2061
  * Retracts a bid from Hyperbridge and reclaims the deposit
2004
2062
  *
@@ -2007,7 +2065,7 @@ declare class IntentsCoprocessor {
2007
2065
  * @param commitment - The order commitment hash (bytes32)
2008
2066
  * @returns BidSubmissionResult with success status and block/extrinsic hash
2009
2067
  */
2010
- retractBid(commitment: HexString): Promise<BidSubmissionResult>;
2068
+ retractBid(commitment: HexString$1): Promise<BidSubmissionResult>;
2011
2069
  /**
2012
2070
  * Places a new bid and retracts a previous one in a single transaction via utility.batch.
2013
2071
  *
@@ -2028,7 +2086,7 @@ declare class IntentsCoprocessor {
2028
2086
  * @param userOp - The encoded PackedUserOperation as hex string
2029
2087
  * @returns BidSubmissionResult with success status and block/extrinsic hash
2030
2088
  */
2031
- submitBidWithRetraction(retractCommitment: HexString, bidCommitment: HexString, userOp: HexString): Promise<BidSubmissionResult>;
2089
+ submitBidWithRetraction(retractCommitment: HexString$1, bidCommitment: HexString$1, userOp: HexString$1): Promise<BidSubmissionResult>;
2032
2090
  /**
2033
2091
  * Fetches all bid storage entries for a given order commitment.
2034
2092
  * Returns the on-chain data only (filler addresses and deposits).
@@ -2036,7 +2094,7 @@ declare class IntentsCoprocessor {
2036
2094
  * @param commitment - The order commitment hash (bytes32)
2037
2095
  * @returns Array of BidStorageEntry objects
2038
2096
  */
2039
- getBidStorageEntries(commitment: HexString): Promise<BidStorageEntry[]>;
2097
+ getBidStorageEntries(commitment: HexString$1): Promise<BidStorageEntry[]>;
2040
2098
  /**
2041
2099
  * Fetches all bids for a given order commitment from Hyperbridge.
2042
2100
  *
@@ -2047,7 +2105,7 @@ declare class IntentsCoprocessor {
2047
2105
  * @param commitment - The order commitment hash (bytes32)
2048
2106
  * @returns Array of FillerBid objects containing filler address, userOp, and deposit
2049
2107
  */
2050
- getBidsForOrder(commitment: HexString): Promise<FillerBid[]>;
2108
+ getBidsForOrder(commitment: HexString$1): Promise<FillerBid[]>;
2051
2109
  /**
2052
2110
  * Fetches bids using the custom intents_getBidsForOrder RPC.
2053
2111
  * Single round-trip but does not include deposit amounts.
@@ -2070,7 +2128,7 @@ declare class IntentsCoprocessor {
2070
2128
  * Returns `null` if the key is absent (e.g. the node is not an offchain worker
2071
2129
  * or the commitment has expired and been cleared).
2072
2130
  */
2073
- fetchPhantomOrder(commitment: HexString): Promise<Order | null>;
2131
+ fetchPhantomOrder(commitment: HexString$1): Promise<Order | null>;
2074
2132
  /**
2075
2133
  * Reads the PhantomOrderRegistered events emitted in a single block.
2076
2134
  */
@@ -2116,7 +2174,7 @@ declare class TronChain implements IChain {
2116
2174
  /** Underlying viem public client (delegated from the internal EvmChain) */
2117
2175
  get client(): PublicClient;
2118
2176
  /** Host contract address for this chain (delegated from the internal EvmChain) */
2119
- get host(): HexString;
2177
+ get host(): HexString$1;
2120
2178
  /** Chain configuration (delegated from the internal EvmChain) */
2121
2179
  get config(): IEvmConfig;
2122
2180
  /** Chain configuration service (delegated from the internal EvmChain) */
@@ -2124,11 +2182,11 @@ declare class TronChain implements IChain {
2124
2182
  /** TronWeb instance for this Tron chain (constructed from rpcUrl) */
2125
2183
  get tronWeb(): InstanceType<typeof TronWeb>;
2126
2184
  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;
2185
+ requestReceiptKey(commitment: HexString$1): HexString$1;
2186
+ queryRequestReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
2187
+ queryStateProof(at: bigint, keys: HexString$1[], address?: HexString$1): Promise<HexString$1>;
2188
+ queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString$1>;
2189
+ encode(message: IIsmpMessage): HexString$1;
2132
2190
  latestStateMachineHeight(stateMachineId: StateMachineIdParams): Promise<bigint>;
2133
2191
  challengePeriod(stateMachineId: StateMachineIdParams): Promise<bigint>;
2134
2192
  stateMachineUpdateTime(stateMachineHeight: StateMachineHeight): Promise<bigint>;
@@ -2137,7 +2195,7 @@ declare class TronChain implements IChain {
2137
2195
  * Only works for direct calls to IntentGateway (not nested/multicall).
2138
2196
  * Tron does not support debug_traceTransaction.
2139
2197
  */
2140
- getPlaceOrderCalldata(txHash: string, _intentGatewayAddress: string, _occurrenceIndex?: number): Promise<HexString>;
2198
+ getPlaceOrderCalldata(txHash: string, _intentGatewayAddress: string, _occurrenceIndex?: number): Promise<HexString$1>;
2141
2199
  /**
2142
2200
  * Broadcasts a signed Tron transaction and waits for confirmation,
2143
2201
  * returning a 0x-prefixed transaction hash compatible with viem.
@@ -2145,10 +2203,10 @@ declare class TronChain implements IChain {
2145
2203
  * This mirrors the behavior used in IntentGatewayV2 for Tron chains.
2146
2204
  */
2147
2205
  broadcastTransaction(signedTransaction: any): Promise<TransactionReceipt>;
2148
- getTransactionReceipt(hash: HexString): Promise<TransactionReceipt>;
2206
+ getTransactionReceipt(hash: HexString$1): Promise<TransactionReceipt>;
2149
2207
  /** Gets the fee token address and decimals for the chain. */
2150
2208
  getFeeTokenWithDecimals(): Promise<{
2151
- address: HexString;
2209
+ address: HexString$1;
2152
2210
  decimals: number;
2153
2211
  }>;
2154
2212
  /** Gets the nonce of the host contract on this chain. */
@@ -2158,7 +2216,7 @@ declare class TronChain implements IChain {
2158
2216
  /** Estimates gas for executing a post request on this chain. */
2159
2217
  estimateGas(request: IPostRequest): Promise<{
2160
2218
  gas: bigint;
2161
- postRequestCalldata: HexString;
2219
+ postRequestCalldata: HexString$1;
2162
2220
  }>;
2163
2221
  }
2164
2222
 
@@ -2189,34 +2247,34 @@ declare class PolkadotHubChain implements IChain {
2189
2247
  static create(evmRpcUrl: string, substrateRpcUrl: string, bundlerUrl?: string): Promise<PolkadotHubChain>;
2190
2248
  private constructor();
2191
2249
  get client(): PublicClient;
2192
- get host(): HexString;
2250
+ get host(): HexString$1;
2193
2251
  get bundlerUrl(): string | undefined;
2194
2252
  get configService(): ChainConfigService;
2195
2253
  get config(): IPolkadotHubConfig;
2196
2254
  private hostAddress20;
2197
2255
  private fetchCombinedProof;
2198
2256
  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;
2257
+ requestReceiptKey(commitment: HexString$1): HexString$1;
2258
+ queryRequestReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
2259
+ queryProof(message: IMessage, _counterparty: string, at?: bigint): Promise<HexString$1>;
2260
+ queryStateProof(at: bigint, keys: HexString$1[], _address?: HexString$1): Promise<HexString$1>;
2261
+ encode(message: IIsmpMessage): HexString$1;
2204
2262
  latestStateMachineHeight(stateMachineId: StateMachineIdParams): Promise<bigint>;
2205
2263
  challengePeriod(stateMachineId: StateMachineIdParams): Promise<bigint>;
2206
2264
  stateMachineUpdateTime(stateMachineHeight: StateMachineHeight): Promise<bigint>;
2207
2265
  getHostNonce(): Promise<bigint>;
2208
2266
  quoteNative(request: IPostRequest | IGetRequest, fee: bigint): Promise<bigint>;
2209
2267
  getFeeTokenWithDecimals(): Promise<{
2210
- address: HexString;
2268
+ address: HexString$1;
2211
2269
  decimals: number;
2212
2270
  }>;
2213
- getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString>;
2271
+ getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString$1>;
2214
2272
  estimateGas(request: IPostRequest): Promise<{
2215
2273
  gas: bigint;
2216
- postRequestCalldata: HexString;
2274
+ postRequestCalldata: HexString$1;
2217
2275
  }>;
2218
- broadcastTransaction(signedTransaction: HexString): Promise<TransactionReceipt>;
2219
- getTransactionReceipt(hash: HexString): Promise<TransactionReceipt>;
2276
+ broadcastTransaction(signedTransaction: HexString$1): Promise<TransactionReceipt>;
2277
+ getTransactionReceipt(hash: HexString$1): Promise<TransactionReceipt>;
2220
2278
  }
2221
2279
 
2222
2280
  /**
@@ -2248,7 +2306,7 @@ declare class PharosChain implements IChain {
2248
2306
  static create(rpcUrl: string, bundlerUrl?: string): Promise<PharosChain>;
2249
2307
  private constructor();
2250
2308
  get client(): PublicClient;
2251
- get host(): HexString;
2309
+ get host(): HexString$1;
2252
2310
  get bundlerUrl(): string | undefined;
2253
2311
  get configService(): ChainConfigService;
2254
2312
  get config(): IPharosConfig;
@@ -2265,8 +2323,8 @@ declare class PharosChain implements IChain {
2265
2323
  */
2266
2324
  private fetchAccountProofInto;
2267
2325
  timestamp(): Promise<bigint>;
2268
- requestReceiptKey(commitment: HexString): HexString;
2269
- queryRequestReceipt(commitment: HexString): Promise<HexString | undefined>;
2326
+ requestReceiptKey(commitment: HexString$1): HexString$1;
2327
+ queryRequestReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
2270
2328
  /**
2271
2329
  * Query a Pharos state proof for the request/response commitments in `message`.
2272
2330
  *
@@ -2275,7 +2333,7 @@ declare class PharosChain implements IChain {
2275
2333
  * {@link requestCommitmentKey} / {@link responseCommitmentKey}) and request it
2276
2334
  * from the ISMP host via `eth_getProof`.
2277
2335
  */
2278
- queryProof(message: IMessage, _counterparty: string, at?: bigint): Promise<HexString>;
2336
+ queryProof(message: IMessage, _counterparty: string, at?: bigint): Promise<HexString$1>;
2279
2337
  /**
2280
2338
  * Query a Pharos state proof for arbitrary keys.
2281
2339
  *
@@ -2287,24 +2345,24 @@ declare class PharosChain implements IChain {
2287
2345
  * If `address` is provided, all keys are treated as 32-byte slots under that
2288
2346
  * contract (matching the `EvmChain.queryStateProof` contract-override shape).
2289
2347
  */
2290
- queryStateProof(at: bigint, keys: HexString[], address?: HexString): Promise<HexString>;
2291
- encode(message: IIsmpMessage): HexString;
2348
+ queryStateProof(at: bigint, keys: HexString$1[], address?: HexString$1): Promise<HexString$1>;
2349
+ encode(message: IIsmpMessage): HexString$1;
2292
2350
  latestStateMachineHeight(stateMachineId: StateMachineIdParams): Promise<bigint>;
2293
2351
  challengePeriod(stateMachineId: StateMachineIdParams): Promise<bigint>;
2294
2352
  stateMachineUpdateTime(stateMachineHeight: StateMachineHeight): Promise<bigint>;
2295
2353
  getHostNonce(): Promise<bigint>;
2296
2354
  quoteNative(request: IPostRequest | IGetRequest, fee: bigint): Promise<bigint>;
2297
2355
  getFeeTokenWithDecimals(): Promise<{
2298
- address: HexString;
2356
+ address: HexString$1;
2299
2357
  decimals: number;
2300
2358
  }>;
2301
- getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString>;
2359
+ getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString$1>;
2302
2360
  estimateGas(request: IPostRequest): Promise<{
2303
2361
  gas: bigint;
2304
- postRequestCalldata: HexString;
2362
+ postRequestCalldata: HexString$1;
2305
2363
  }>;
2306
- broadcastTransaction(signedTransaction: HexString): Promise<TransactionReceipt>;
2307
- getTransactionReceipt(hash: HexString): Promise<TransactionReceipt>;
2364
+ broadcastTransaction(signedTransaction: HexString$1): Promise<TransactionReceipt>;
2365
+ getTransactionReceipt(hash: HexString$1): Promise<TransactionReceipt>;
2308
2366
  }
2309
2367
 
2310
2368
  /**
@@ -2313,7 +2371,7 @@ declare class PharosChain implements IChain {
2313
2371
  type IIsmpMessage = IRequestMessage | ITimeoutPostRequestMessage | IGetResponseMessage | IGetRequestMessage | IConsensusMessage | IBatchConsensusAndPostRequestMessage | IBatchConsensusAndGetResponseMessage;
2314
2372
  interface IConsensusMessage {
2315
2373
  kind: "Consensus";
2316
- consensusProof: HexString;
2374
+ consensusProof: HexString$1;
2317
2375
  }
2318
2376
  interface IRequestMessage {
2319
2377
  /**
@@ -2331,7 +2389,7 @@ interface IRequestMessage {
2331
2389
  /**
2332
2390
  * The signer of the message.
2333
2391
  */
2334
- signer: HexString;
2392
+ signer: HexString$1;
2335
2393
  }
2336
2394
  interface IGetRequestMessage {
2337
2395
  /**
@@ -2353,7 +2411,7 @@ interface IGetRequestMessage {
2353
2411
  /**
2354
2412
  * The signer of the message.
2355
2413
  */
2356
- signer: HexString;
2414
+ signer: HexString$1;
2357
2415
  }
2358
2416
  interface IGetResponse {
2359
2417
  /**
@@ -2381,7 +2439,7 @@ interface IGetResponseMessage {
2381
2439
  /**
2382
2440
  * The signer of the message.
2383
2441
  */
2384
- signer: HexString;
2442
+ signer: HexString$1;
2385
2443
  }
2386
2444
  interface ITimeoutPostRequestMessage {
2387
2445
  /**
@@ -2399,17 +2457,17 @@ interface ITimeoutPostRequestMessage {
2399
2457
  }
2400
2458
  interface IBatchConsensusAndPostRequestMessage {
2401
2459
  kind: "BatchConsensusAndPostRequest";
2402
- consensusProofs: HexString[];
2460
+ consensusProofs: HexString$1[];
2403
2461
  requests: IPostRequest[];
2404
2462
  proof: IProof;
2405
- signer: HexString;
2463
+ signer: HexString$1;
2406
2464
  }
2407
2465
  interface IBatchConsensusAndGetResponseMessage {
2408
2466
  kind: "BatchConsensusAndGetResponse";
2409
- consensusProofs: HexString[];
2467
+ consensusProofs: HexString$1[];
2410
2468
  responses: IGetResponse[];
2411
2469
  proof: IProof;
2412
- signer: HexString;
2470
+ signer: HexString$1;
2413
2471
  }
2414
2472
  interface IProof {
2415
2473
  /**
@@ -2427,7 +2485,7 @@ interface IProof {
2427
2485
  /**
2428
2486
  * The encoded storage proof
2429
2487
  */
2430
- proof: HexString;
2488
+ proof: HexString$1;
2431
2489
  }
2432
2490
  /**
2433
2491
  * Interface representing a chain.
@@ -2441,18 +2499,18 @@ interface IChain {
2441
2499
  /**
2442
2500
  * Returns the state trie key for the request-receipt storage item for the given request commitment.
2443
2501
  */
2444
- requestReceiptKey(commitment: HexString): HexString;
2502
+ requestReceiptKey(commitment: HexString$1): HexString$1;
2445
2503
  /**
2446
2504
  * Query and return the request-receipt for the given request commitment.
2447
2505
  */
2448
- queryRequestReceipt(commitment: HexString): Promise<HexString | undefined>;
2506
+ queryRequestReceipt(commitment: HexString$1): Promise<HexString$1 | undefined>;
2449
2507
  /**
2450
2508
  * Query and return the encoded storage proof for the provided keys at the given height.
2451
2509
  * @param address - Optional contract address for EVM chains; defaults to host contract when omitted.
2452
2510
  */
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;
2511
+ queryStateProof(at: bigint, keys: HexString$1[], address?: HexString$1): Promise<HexString$1>;
2512
+ queryProof(message: IMessage, counterparty: string, at?: bigint): Promise<HexString$1>;
2513
+ encode(message: IIsmpMessage): HexString$1;
2456
2514
  /**
2457
2515
  * Get the latest state machine height for a given state machine ID.
2458
2516
  */
@@ -2477,18 +2535,18 @@ interface IEvmChain extends IChain {
2477
2535
  getHostNonce(): Promise<bigint>;
2478
2536
  quoteNative(request: IPostRequest | IGetRequest, fee: bigint): Promise<bigint>;
2479
2537
  getFeeTokenWithDecimals(): Promise<{
2480
- address: HexString;
2538
+ address: HexString$1;
2481
2539
  decimals: number;
2482
2540
  }>;
2483
- getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString>;
2484
- broadcastTransaction(signedTransaction: HexString): Promise<TransactionReceipt>;
2485
- getTransactionReceipt(hash: HexString): Promise<TransactionReceipt>;
2541
+ getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string, occurrenceIndex?: number): Promise<HexString$1>;
2542
+ broadcastTransaction(signedTransaction: HexString$1): Promise<TransactionReceipt>;
2543
+ getTransactionReceipt(hash: HexString$1): Promise<TransactionReceipt>;
2486
2544
  }
2487
2545
 
2488
2546
  type EstimateGasCallData = ContractFunctionArgs<typeof _default.ABI, "nonpayable" | "payable", "handlePostRequests">;
2489
- type HexString = `0x${string}`;
2547
+ type HexString$1 = `0x${string}`;
2490
2548
  type StateMachineId = string;
2491
- type BytesLikeHex = HexString;
2549
+ type BytesLikeHex = HexString$1;
2492
2550
  interface IConfig {
2493
2551
  source: IEvmConfig | ISubstrateConfig | IPolkadotHubConfig | IPharosConfig;
2494
2552
  dest: IEvmConfig | ISubstrateConfig | IPolkadotHubConfig | IPharosConfig;
@@ -2498,7 +2556,7 @@ interface IConfig {
2498
2556
  interface IEvmConfig {
2499
2557
  rpcUrl: string;
2500
2558
  stateMachineId: string;
2501
- host: HexString;
2559
+ host: HexString$1;
2502
2560
  consensusStateId: string;
2503
2561
  }
2504
2562
  /**
@@ -2530,25 +2588,25 @@ interface IHyperbridgeConfig {
2530
2588
  interface IPostRequest {
2531
2589
  source: string;
2532
2590
  dest: string;
2533
- from: HexString;
2534
- to: HexString;
2591
+ from: HexString$1;
2592
+ to: HexString$1;
2535
2593
  nonce: bigint;
2536
- body: HexString;
2594
+ body: HexString$1;
2537
2595
  timeoutTimestamp: bigint;
2538
2596
  }
2539
2597
  interface IGetRequest {
2540
2598
  source: string;
2541
2599
  dest: string;
2542
- from: HexString;
2600
+ from: HexString$1;
2543
2601
  nonce: bigint;
2544
2602
  height: bigint;
2545
- keys: HexString[];
2603
+ keys: HexString$1[];
2546
2604
  timeoutTimestamp: bigint;
2547
- context: HexString;
2605
+ context: HexString$1;
2548
2606
  }
2549
2607
  interface GetResponseStorageValues {
2550
- key: HexString;
2551
- value: HexString;
2608
+ key: HexString$1;
2609
+ value: HexString$1;
2552
2610
  }
2553
2611
  interface IPostResponse {
2554
2612
  post: IPostRequest;
@@ -2556,9 +2614,9 @@ interface IPostResponse {
2556
2614
  timeoutTimestamp: bigint;
2557
2615
  }
2558
2616
  type IMessage = {
2559
- Requests: HexString[];
2617
+ Requests: HexString$1[];
2560
2618
  } | {
2561
- Responses: HexString[];
2619
+ Responses: HexString$1[];
2562
2620
  };
2563
2621
  type IndexerQueryClient = GraphQLClient;
2564
2622
  interface ClientConfig {
@@ -2723,10 +2781,10 @@ interface RequestResponse {
2723
2781
  nodes: Array<{
2724
2782
  source: string;
2725
2783
  dest: string;
2726
- to: HexString;
2727
- from: HexString;
2784
+ to: HexString$1;
2785
+ from: HexString$1;
2728
2786
  nonce: bigint;
2729
- body: HexString;
2787
+ body: HexString$1;
2730
2788
  timeoutTimestamp: bigint;
2731
2789
  statusMetadata: {
2732
2790
  nodes: Array<{
@@ -2746,12 +2804,12 @@ interface GetRequestResponse {
2746
2804
  nodes: Array<{
2747
2805
  source: string;
2748
2806
  dest: string;
2749
- to: HexString;
2750
- from: HexString;
2807
+ to: HexString$1;
2808
+ from: HexString$1;
2751
2809
  nonce: bigint;
2752
2810
  height: bigint;
2753
- keys: HexString[];
2754
- context: HexString;
2811
+ keys: HexString$1[];
2812
+ context: HexString$1;
2755
2813
  timeoutTimestamp: bigint;
2756
2814
  statusMetadata: {
2757
2815
  nodes: Array<{
@@ -2851,20 +2909,20 @@ type RequestStatusWithMetadata = {
2851
2909
  interface GenericRequestWithStatuses {
2852
2910
  source: string;
2853
2911
  dest: string;
2854
- from: HexString;
2912
+ from: HexString$1;
2855
2913
  nonce: bigint;
2856
2914
  timeoutTimestamp: bigint;
2857
2915
  statuses: Array<RequestStatusWithMetadata>;
2858
2916
  }
2859
2917
  interface PostRequestWithStatus extends GenericRequestWithStatuses {
2860
- to: HexString;
2861
- body: HexString;
2918
+ to: HexString$1;
2919
+ body: HexString$1;
2862
2920
  }
2863
2921
  interface GetRequestWithStatus extends GenericRequestWithStatuses {
2864
2922
  height: bigint;
2865
- keys: HexString[];
2866
- context: HexString;
2867
- commitment: HexString;
2923
+ keys: HexString$1[];
2924
+ context: HexString$1;
2925
+ commitment: HexString$1;
2868
2926
  }
2869
2927
  interface GetResponseByRequestIdResponse {
2870
2928
  getResponses: {
@@ -2907,7 +2965,7 @@ interface AssetTeleported {
2907
2965
  to: string;
2908
2966
  amount: bigint;
2909
2967
  dest: string;
2910
- commitment: HexString;
2968
+ commitment: HexString$1;
2911
2969
  createdAt: Date;
2912
2970
  blockNumber: number;
2913
2971
  }
@@ -2917,7 +2975,7 @@ interface AssetTeleportedResponse {
2917
2975
  interface StateMachineIdParams {
2918
2976
  stateId: {
2919
2977
  Evm?: number;
2920
- Substrate?: HexString;
2978
+ Substrate?: HexString$1;
2921
2979
  Polkadot?: number;
2922
2980
  Kusama?: number;
2923
2981
  };
@@ -2960,58 +3018,73 @@ interface TokenInfo {
2960
3018
  interface DecodedOrderPlacedLog extends Log {
2961
3019
  eventName: string;
2962
3020
  args: {
2963
- user: HexString;
3021
+ user: HexString$1;
2964
3022
  source: string;
2965
3023
  destination: string;
2966
3024
  deadline: bigint;
2967
3025
  nonce: bigint;
2968
3026
  fees: bigint;
2969
- session: HexString;
2970
- beneficiary: HexString;
3027
+ session: HexString$1;
3028
+ beneficiary: HexString$1;
2971
3029
  predispatch: Array<{
2972
- token: HexString;
3030
+ token: HexString$1;
2973
3031
  amount: bigint;
2974
3032
  }>;
2975
3033
  inputs: Array<{
2976
- token: HexString;
3034
+ token: HexString$1;
2977
3035
  amount: bigint;
2978
3036
  }>;
2979
3037
  outputs: Array<{
2980
- token: HexString;
3038
+ token: HexString$1;
2981
3039
  amount: bigint;
2982
3040
  }>;
3041
+ /**
3042
+ * Calldata executed via the CallDispatcher before escrow.
3043
+ * Absent on logs emitted under the pre-#1092 event schema.
3044
+ */
3045
+ predispatchCall?: HexString$1;
3046
+ /**
3047
+ * Calldata executed on the destination chain during the fill.
3048
+ * Absent on logs emitted under the pre-#1092 event schema.
3049
+ */
3050
+ outputCall?: HexString$1;
3051
+ /**
3052
+ * Attribution tag supplied by the order placer.
3053
+ * Absent on logs emitted under the pre-#1092 event schema.
3054
+ */
3055
+ graffiti?: HexString$1;
2983
3056
  };
2984
- transactionHash: HexString;
3057
+ transactionHash: HexString$1;
2985
3058
  }
2986
3059
  interface DecodedPostRequestEvent extends Log {
2987
3060
  eventName: string;
2988
3061
  args: {
2989
3062
  source: string;
2990
3063
  dest: string;
2991
- from: HexString;
2992
- to: HexString;
3064
+ from: HexString$1;
3065
+ to: HexString$1;
2993
3066
  nonce: bigint;
2994
3067
  timeoutTimestamp: bigint;
2995
- body: HexString;
3068
+ body: HexString$1;
2996
3069
  fee: bigint;
2997
3070
  };
2998
- transactionHash: HexString;
3071
+ transactionHash: HexString$1;
2999
3072
  }
3000
3073
  interface DecodedPostResponseEvent extends Log {
3001
3074
  eventName: string;
3002
3075
  args: {
3003
3076
  source: string;
3004
3077
  dest: string;
3005
- from: HexString;
3006
- to: HexString;
3078
+ from: HexString$1;
3079
+ to: HexString$1;
3007
3080
  nonce: bigint;
3008
3081
  timeoutTimestamp: bigint;
3009
- body: HexString;
3010
- response: HexString;
3082
+ body: HexString$1;
3083
+ response: HexString$1;
3011
3084
  responseTimeoutTimestamp: bigint;
3012
3085
  fee: bigint;
3013
3086
  };
3014
- transactionHash: HexString;
3087
+ transactionHash: HexString$1;
3015
3088
  }
3016
3089
  /**
3017
3090
  * Options for canceling an order
@@ -3033,11 +3106,11 @@ interface Deployment {
3033
3106
  /**
3034
3107
  * The raw state machine ID bytes for the deployment chain (hashed on-chain)
3035
3108
  */
3036
- chain: HexString;
3109
+ chain: HexString$1;
3037
3110
  /**
3038
3111
  * The gateway identifier
3039
3112
  */
3040
- gateway: HexString;
3113
+ gateway: HexString$1;
3041
3114
  }
3042
3115
  /**
3043
3116
  * Represents the body of a request
@@ -3046,11 +3119,11 @@ interface RequestBody {
3046
3119
  /**
3047
3120
  * Represents the commitment of an order
3048
3121
  */
3049
- commitment: HexString;
3122
+ commitment: HexString$1;
3050
3123
  /**
3051
3124
  * Stores the identifier for the beneficiary
3052
3125
  */
3053
- beneficiary: HexString;
3126
+ beneficiary: HexString$1;
3054
3127
  /**
3055
3128
  * An array of token identifiers
3056
3129
  */
@@ -3151,6 +3224,13 @@ interface FillerConfig {
3151
3224
  * Example: { 1: true, 56: false } - watch-only on Ethereum, normal execution on BSC
3152
3225
  */
3153
3226
  watchOnly?: Record<number, boolean>;
3227
+ /**
3228
+ * Source chains (state machine ids, e.g. "EVM-8453") this filler accepts payment from when
3229
+ * filling cross-chain orders, declared inside its phantom bids' paymasterAndData. Omit to
3230
+ * declare nothing, which downstream consumers read as "accepts all CCTP/USDT0-covered
3231
+ * chains"; an empty array declares that no source chain is accepted.
3232
+ */
3233
+ acceptedSourceChains?: string[];
3154
3234
  }
3155
3235
  /**
3156
3236
  * Result of an order execution attempt
@@ -3200,8 +3280,8 @@ interface ExecutionResult {
3200
3280
  * Any tokens exchanged during the fill process
3201
3281
  */
3202
3282
  exchanges?: Array<{
3203
- fromToken: HexString;
3204
- toToken: HexString;
3283
+ fromToken: HexString$1;
3284
+ toToken: HexString$1;
3205
3285
  fromAmount: string;
3206
3286
  toAmount: string;
3207
3287
  exchangeRate: string;
@@ -3223,15 +3303,15 @@ interface DispatchPost {
3223
3303
  /**
3224
3304
  * Bytes representation of the destination state machine
3225
3305
  */
3226
- dest: HexString;
3306
+ dest: HexString$1;
3227
3307
  /**
3228
3308
  * The destination module
3229
3309
  */
3230
- to: HexString;
3310
+ to: HexString$1;
3231
3311
  /**
3232
3312
  * The request body
3233
3313
  */
3234
- body: HexString;
3314
+ body: HexString$1;
3235
3315
  /**
3236
3316
  * Timeout for this request in seconds
3237
3317
  */
@@ -3244,13 +3324,13 @@ interface DispatchPost {
3244
3324
  /**
3245
3325
  * Who pays for this request?
3246
3326
  */
3247
- payer: HexString;
3327
+ payer: HexString$1;
3248
3328
  }
3249
3329
  interface DispatchGet {
3250
3330
  /**
3251
3331
  * Bytes representation of the destination state machine
3252
3332
  */
3253
- dest: HexString;
3333
+ dest: HexString$1;
3254
3334
  /**
3255
3335
  * Height at which to read the state machine
3256
3336
  */
@@ -3258,7 +3338,7 @@ interface DispatchGet {
3258
3338
  /**
3259
3339
  * Raw storage keys to fetch values from the counterparty
3260
3340
  */
3261
- keys: HexString[];
3341
+ keys: HexString$1[];
3262
3342
  /**
3263
3343
  * Timeout for this request in seconds
3264
3344
  */
@@ -3270,17 +3350,17 @@ interface DispatchGet {
3270
3350
  /**
3271
3351
  * Context for the request
3272
3352
  */
3273
- context: HexString;
3353
+ context: HexString$1;
3274
3354
  /**
3275
3355
  * Who pays for this request?
3276
3356
  */
3277
- payer: HexString;
3357
+ payer: HexString$1;
3278
3358
  }
3279
3359
  interface StateMachineHeight {
3280
3360
  id: {
3281
3361
  stateId: {
3282
3362
  Evm?: number;
3283
- Substrate?: HexString;
3363
+ Substrate?: HexString$1;
3284
3364
  Polkadot?: number;
3285
3365
  Kusama?: number;
3286
3366
  };
@@ -3296,26 +3376,26 @@ interface HostParams {
3296
3376
  * The fee token contract address. This will typically be DAI.
3297
3377
  * but we allow it to be configurable to prevent future regrets.
3298
3378
  */
3299
- feeToken: HexString;
3379
+ feeToken: HexString$1;
3300
3380
  /**
3301
3381
  * The admin account, this only has the rights to freeze, or unfreeze the bridge
3302
3382
  */
3303
- admin: HexString;
3383
+ admin: HexString$1;
3304
3384
  /**
3305
3385
  * Ismp message handler contract. This performs all verification logic
3306
3386
  * needed to validate cross-chain messages before they are dispatched to local modules
3307
3387
  */
3308
- handler: HexString;
3388
+ handler: HexString$1;
3309
3389
  /**
3310
3390
  * The authorized host manager contract, is itself an `IIsmpModule`
3311
3391
  * which receives governance requests from the Hyperbridge chain to either
3312
3392
  * withdraw revenue from the host or update its protocol parameters
3313
3393
  */
3314
- hostManager: HexString;
3394
+ hostManager: HexString$1;
3315
3395
  /**
3316
3396
  * The local UniswapV2Router02 contract, used for swapping the native token to the feeToken.
3317
3397
  */
3318
- uniswapV2: HexString;
3398
+ uniswapV2: HexString$1;
3319
3399
  /**
3320
3400
  * The unstaking period of Polkadot's validators. In order to prevent long-range attacks
3321
3401
  */
@@ -3327,7 +3407,7 @@ interface HostParams {
3327
3407
  /**
3328
3408
  * The consensus client contract which handles consensus proof verification
3329
3409
  */
3330
- consensusClient: HexString;
3410
+ consensusClient: HexString$1;
3331
3411
  /**
3332
3412
  * State machines whose state commitments are accepted
3333
3413
  */
@@ -3335,7 +3415,7 @@ interface HostParams {
3335
3415
  /**
3336
3416
  * The state machine identifier for hyperbridge
3337
3417
  */
3338
- hyperbridge: HexString;
3418
+ hyperbridge: HexString$1;
3339
3419
  }
3340
3420
  interface OrderStatusMetadata {
3341
3421
  status: OrderStatus;
@@ -3417,9 +3497,9 @@ interface OrderResponse {
3417
3497
  };
3418
3498
  }
3419
3499
  interface PhantomOrderPriceSnapshot {
3420
- commitment: HexString;
3421
- tokenA: HexString;
3422
- tokenB: HexString;
3500
+ commitment: HexString$1;
3501
+ tokenA: HexString$1;
3502
+ tokenB: HexString$1;
3423
3503
  standardAmount: bigint;
3424
3504
  blockNumber: bigint;
3425
3505
  medianPrice: bigint;
@@ -3453,14 +3533,14 @@ interface PhantomOrderPriceSnapshotsResponse {
3453
3533
  interface AvailableLiquiditySnapshot {
3454
3534
  totalLiquidity: string;
3455
3535
  providerCount: number;
3456
- tokenAddress: HexString;
3536
+ tokenAddress: HexString$1;
3457
3537
  snapshotTime: Date;
3458
3538
  liquidityByChain: AvailableLiquidityByChain[];
3459
3539
  }
3460
3540
  /** Liquidity for one chain/token balance group in an availability snapshot. */
3461
3541
  interface AvailableLiquidityByChain {
3462
3542
  chain: string;
3463
- tokenAddress: HexString;
3543
+ tokenAddress: HexString$1;
3464
3544
  totalLiquidity: string;
3465
3545
  providerCount: number;
3466
3546
  }
@@ -3490,7 +3570,7 @@ interface Transaction {
3490
3570
  /**
3491
3571
  * The address to send the transaction to (typically the Universal Router address)
3492
3572
  */
3493
- to: HexString;
3573
+ to: HexString$1;
3494
3574
  /**
3495
3575
  * The value to send with the transaction (in wei)
3496
3576
  */
@@ -3498,7 +3578,7 @@ interface Transaction {
3498
3578
  /**
3499
3579
  * The calldata for the transaction
3500
3580
  */
3501
- data: HexString;
3581
+ data: HexString$1;
3502
3582
  }
3503
3583
  interface StorageFacade {
3504
3584
  get<T>(key: string): Promise<T | undefined>;
@@ -3509,15 +3589,15 @@ interface PaymentInfo {
3509
3589
  /** Accepts a standard 20-byte address; the SDK pads to bytes32 internally when needed. */
3510
3590
  beneficiary: BytesLikeHex;
3511
3591
  assets: TokenInfo[];
3512
- call: HexString;
3592
+ call: HexString$1;
3513
3593
  }
3514
3594
  interface DispatchInfo {
3515
3595
  assets: TokenInfo[];
3516
- call: HexString;
3596
+ call: HexString$1;
3517
3597
  }
3518
3598
  interface Order {
3519
3599
  id?: string;
3520
- user: HexString;
3600
+ user: HexString$1;
3521
3601
  /** Accepts either `"EVM-1"` style IDs or their hex-encoded form. */
3522
3602
  source: StateMachineId;
3523
3603
  /** Accepts either `"EVM-42161"` style IDs or their hex-encoded form. */
@@ -3525,7 +3605,7 @@ interface Order {
3525
3605
  deadline: bigint;
3526
3606
  nonce: bigint;
3527
3607
  fees: bigint;
3528
- session: HexString;
3608
+ session: HexString$1;
3529
3609
  predispatch: DispatchInfo;
3530
3610
  inputs: TokenInfo[];
3531
3611
  output: PaymentInfo;
@@ -3540,52 +3620,52 @@ interface FillOptions {
3540
3620
  outputs: TokenInfo[];
3541
3621
  }
3542
3622
  interface PackedUserOperation {
3543
- sender: HexString;
3623
+ sender: HexString$1;
3544
3624
  nonce: bigint;
3545
- initCode: HexString;
3546
- callData: HexString;
3547
- accountGasLimits: HexString;
3625
+ initCode: HexString$1;
3626
+ callData: HexString$1;
3627
+ accountGasLimits: HexString$1;
3548
3628
  preVerificationGas: bigint;
3549
- gasFees: HexString;
3550
- paymasterAndData: HexString;
3551
- signature: HexString;
3629
+ gasFees: HexString$1;
3630
+ paymasterAndData: HexString$1;
3631
+ signature: HexString$1;
3552
3632
  }
3553
3633
  interface SigningAccount {
3554
3634
  /** Signs a bid message hash for a given chain. Returns a 65-byte ECDSA signature. */
3555
- signMessage: (messageHash: HexString, chainId: number) => Promise<HexString>;
3635
+ signMessage: (messageHash: HexString$1, chainId: number) => Promise<HexString$1>;
3556
3636
  /** 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;
3637
+ signRawHash: (hash: HexString$1) => Promise<{
3638
+ r: HexString$1;
3639
+ s: HexString$1;
3560
3640
  yParity: number;
3561
3641
  }>;
3562
3642
  /**
3563
3643
  * Signs an EIP-712 typed-data payload (e.g. an EIP-2612 USDC permit for the Circle Paymaster).
3564
3644
  * The shape of `typedData` matches viem's `TypedDataDefinition` (domain + types + message).
3565
3645
  */
3566
- signTypedData: (typedData: unknown, chainId?: number) => Promise<HexString>;
3646
+ signTypedData: (typedData: unknown, chainId?: number) => Promise<HexString$1>;
3567
3647
  }
3568
3648
  interface SubmitBidOptions {
3569
3649
  order: Order;
3570
3650
  fillOptions: FillOptions;
3571
- solverAccount: HexString;
3651
+ solverAccount: HexString$1;
3572
3652
  /** Canonical signer used for bid message signing and raw-hash operations. */
3573
3653
  solverSigner: SigningAccount;
3574
3654
  nonce: bigint;
3575
- entryPointAddress: HexString;
3655
+ entryPointAddress: HexString$1;
3576
3656
  callGasLimit: bigint;
3577
3657
  verificationGasLimit: bigint;
3578
3658
  preVerificationGas: bigint;
3579
3659
  maxFeePerGas: bigint;
3580
3660
  maxPriorityFeePerGas: bigint;
3581
3661
  /** Pre-built ERC-7821 calldata encoding the UserOp execution (approvals + fillOrder). */
3582
- callData: HexString;
3662
+ callData: HexString$1;
3583
3663
  /**
3584
3664
  * Optional packed paymasterAndData for EntryPoint v0.8.
3585
3665
  * Must be built BEFORE calling prepareSubmitBid so the hash covers paymaster bytes.
3586
3666
  * Defaults to "0x" (EntryPoint deposit pays gas).
3587
3667
  */
3588
- paymasterAndData?: HexString;
3668
+ paymasterAndData?: HexString$1;
3589
3669
  }
3590
3670
  interface EstimateFillOrderParams {
3591
3671
  order: Order;
@@ -3652,7 +3732,7 @@ interface OrderFeesQuote {
3652
3732
  * The source-chain fee token `fees` is denominated in — check the user's
3653
3733
  * balance and allowance against this address when paying the fee directly.
3654
3734
  */
3655
- feeToken: HexString;
3735
+ feeToken: HexString$1;
3656
3736
  /** The underlying gas estimate the quote was derived from. */
3657
3737
  estimate: FillOrderEstimate;
3658
3738
  }
@@ -3667,15 +3747,24 @@ interface BidSubmissionResult {
3667
3747
  /**
3668
3748
  * Block hash where the bid was included
3669
3749
  */
3670
- blockHash?: HexString;
3750
+ blockHash?: HexString$1;
3671
3751
  /**
3672
3752
  * Extrinsic hash of the bid transaction
3673
3753
  */
3674
- extrinsicHash?: HexString;
3754
+ extrinsicHash?: HexString$1;
3675
3755
  /**
3676
3756
  * Error message if submission failed
3677
3757
  */
3678
3758
  error?: string;
3759
+ /**
3760
+ * The extrinsic is (or may still be) in the transaction pool: it was accepted but its
3761
+ * inclusion was not observed before the watch timed out, or a resubmission bounced off an
3762
+ * earlier copy already pooled (RPC 1013/1014). Only meaningful when `success` is false —
3763
+ * the operation is in flight, not failed, and must not be re-signed with the same nonce.
3764
+ * Callers should confirm the outcome later (e.g. re-check on-chain state) instead of
3765
+ * treating this as a terminal failure.
3766
+ */
3767
+ pending?: boolean;
3679
3768
  }
3680
3769
  /**
3681
3770
  * Represents a storage entry from pallet-intents Bids storage
@@ -3683,7 +3772,7 @@ interface BidSubmissionResult {
3683
3772
  */
3684
3773
  interface BidStorageEntry {
3685
3774
  /** The order commitment hash (H256) */
3686
- commitment: HexString;
3775
+ commitment: HexString$1;
3687
3776
  /** The filler's Substrate account ID (SS58 encoded) */
3688
3777
  filler: string;
3689
3778
  /** The deposit amount stored on-chain (BalanceOf<T> = u128) */
@@ -3706,11 +3795,11 @@ interface FillerBid {
3706
3795
  */
3707
3796
  interface SelectOptions {
3708
3797
  /** The order commitment hash (bytes32) */
3709
- commitment: HexString;
3798
+ commitment: HexString$1;
3710
3799
  /** The solver address to select */
3711
- solver: HexString;
3800
+ solver: HexString$1;
3712
3801
  /** The EIP-712 signature from the session key */
3713
- signature: HexString;
3802
+ signature: HexString$1;
3714
3803
  }
3715
3804
  /**
3716
3805
  * A first-class, executable solver bid surfaced to consumers of the intents SDK.
@@ -3728,7 +3817,7 @@ interface SelectOptions {
3728
3817
  */
3729
3818
  interface Bid {
3730
3819
  /** The solver account that submitted this bid (`userOp.sender`). */
3731
- readonly solverAddress: HexString;
3820
+ readonly solverAddress: HexString$1;
3732
3821
  /** Decoded `FillOptions.outputs` — the tokens and amounts the solver offers. */
3733
3822
  readonly outputs: TokenInfo[];
3734
3823
  /** Relayer fee from the decoded fill options. */
@@ -3777,8 +3866,8 @@ type IntentOrderStatusKey = keyof typeof IntentOrderStatus;
3777
3866
  /** Tagged union of all possible status updates yielded by the intent order execution stream */
3778
3867
  type IntentOrderStatusUpdate = {
3779
3868
  status: "AWAITING_PLACE_ORDER";
3780
- to: HexString;
3781
- data: HexString;
3869
+ to: HexString$1;
3870
+ data: HexString$1;
3782
3871
  /**
3783
3872
  * The order's native-token input amounts. Native inputs cannot be
3784
3873
  * pulled via allowance, so this must be part of the placement
@@ -3792,62 +3881,62 @@ type IntentOrderStatusUpdate = {
3792
3881
  * (fee-token rail).
3793
3882
  */
3794
3883
  nativeFee: bigint;
3795
- sessionPrivateKey: HexString;
3884
+ sessionPrivateKey: HexString$1;
3796
3885
  /** Exact source-chain fee-token amount encoded in `data`. */
3797
3886
  feeTokenAmount: bigint;
3798
3887
  /** Source-chain ERC-20 token charged for `feeTokenAmount`. */
3799
- feeTokenAddress: HexString;
3888
+ feeTokenAddress: HexString$1;
3800
3889
  } | {
3801
3890
  status: "ORDER_PLACED";
3802
3891
  order: Order;
3803
3892
  receipt: TransactionReceipt;
3804
3893
  } | {
3805
3894
  status: "AWAITING_BIDS";
3806
- commitment: HexString;
3895
+ commitment: HexString$1;
3807
3896
  totalFilledAssets: TokenInfo[];
3808
3897
  remainingAssets: TokenInfo[];
3809
3898
  } | {
3810
3899
  status: "NEW_BID";
3811
- commitment: HexString;
3900
+ commitment: HexString$1;
3812
3901
  bid: Bid;
3813
3902
  } | {
3814
3903
  status: "BIDS_RECEIVED";
3815
- commitment: HexString;
3904
+ commitment: HexString$1;
3816
3905
  bidCount: number;
3817
3906
  bids: Bid[];
3818
3907
  } | {
3819
3908
  status: "BID_SELECTED";
3820
- commitment: HexString;
3821
- selectedSolver: HexString;
3822
- userOpHash: HexString;
3909
+ commitment: HexString$1;
3910
+ selectedSolver: HexString$1;
3911
+ userOpHash: HexString$1;
3823
3912
  userOp: PackedUserOperation;
3824
- transactionHash?: HexString;
3913
+ transactionHash?: HexString$1;
3825
3914
  } | {
3826
3915
  status: "FILLED";
3827
- commitment: HexString;
3828
- userOpHash: HexString;
3829
- selectedSolver: HexString;
3830
- transactionHash?: HexString;
3916
+ commitment: HexString$1;
3917
+ userOpHash: HexString$1;
3918
+ selectedSolver: HexString$1;
3919
+ transactionHash?: HexString$1;
3831
3920
  totalFilledAssets: TokenInfo[];
3832
3921
  remainingAssets: TokenInfo[];
3833
3922
  } | {
3834
3923
  status: "PARTIAL_FILL";
3835
- commitment: HexString;
3836
- userOpHash: HexString;
3837
- selectedSolver: HexString;
3838
- transactionHash?: HexString;
3924
+ commitment: HexString$1;
3925
+ userOpHash: HexString$1;
3926
+ selectedSolver: HexString$1;
3927
+ transactionHash?: HexString$1;
3839
3928
  filledAssets: TokenInfo[];
3840
3929
  totalFilledAssets: TokenInfo[];
3841
3930
  remainingAssets: TokenInfo[];
3842
3931
  } | {
3843
3932
  status: "EXPIRED";
3844
- commitment: HexString;
3933
+ commitment: HexString$1;
3845
3934
  totalFilledAssets?: TokenInfo[];
3846
3935
  remainingAssets?: TokenInfo[];
3847
3936
  error: string;
3848
3937
  } | {
3849
3938
  status: "FAILED";
3850
- commitment?: HexString;
3939
+ commitment?: HexString$1;
3851
3940
  totalFilledAssets?: TokenInfo[];
3852
3941
  remainingAssets?: TokenInfo[];
3853
3942
  error: string;
@@ -3855,10 +3944,10 @@ type IntentOrderStatusUpdate = {
3855
3944
  /** Result of selecting a bid and submitting to the bundler */
3856
3945
  interface SelectBidResult {
3857
3946
  userOp: PackedUserOperation;
3858
- userOpHash: HexString;
3859
- solverAddress: HexString;
3860
- commitment: HexString;
3861
- txnHash?: HexString;
3947
+ userOpHash: HexString$1;
3948
+ solverAddress: HexString$1;
3949
+ commitment: HexString$1;
3950
+ txnHash?: HexString$1;
3862
3951
  fillStatus?: "full" | "partial";
3863
3952
  /** Assets filled in this user operation (best-effort, based on on-chain PartialFill logs) */
3864
3953
  filledAssets?: TokenInfo[];
@@ -3866,7 +3955,7 @@ interface SelectBidResult {
3866
3955
  /** Options for executing an intent order */
3867
3956
  interface ExecuteIntentOrderOptions {
3868
3957
  order: Order;
3869
- sessionPrivateKey?: HexString;
3958
+ sessionPrivateKey?: HexString$1;
3870
3959
  /** Duration in ms to collect bids before selecting the best one. */
3871
3960
  auctionTimeMs: number;
3872
3961
  pollIntervalMs?: number;
@@ -3876,19 +3965,19 @@ interface ExecuteIntentOrderOptions {
3876
3965
  */
3877
3966
  solver?: {
3878
3967
  /** Only bids from this address (matched against userOp.sender) will be considered */
3879
- address: HexString;
3968
+ address: HexString$1;
3880
3969
  /** After this many ms without a matching bid, execution falls back to any solver */
3881
3970
  timeoutMs: number;
3882
3971
  };
3883
3972
  }
3884
3973
  /** Options for resuming execution of a previously placed intent order */
3885
3974
  interface ResumeIntentOrderOptions {
3886
- sessionPrivateKey?: HexString;
3975
+ sessionPrivateKey?: HexString$1;
3887
3976
  /** Duration in ms to collect bids before selecting the best one. */
3888
3977
  auctionTimeMs: number;
3889
3978
  pollIntervalMs?: number;
3890
3979
  solver?: {
3891
- address: HexString;
3980
+ address: HexString$1;
3892
3981
  timeoutMs: number;
3893
3982
  };
3894
3983
  }
@@ -3934,11 +4023,11 @@ declare class Queries {
3934
4023
  /**
3935
4024
  * Queries a POST request by commitment hash.
3936
4025
  */
3937
- queryPostRequest(commitmentHash: HexString): Promise<PostRequestWithStatus | undefined>;
4026
+ queryPostRequest(commitmentHash: HexString$1): Promise<PostRequestWithStatus | undefined>;
3938
4027
  /**
3939
4028
  * Queries a GET request by any of its associated hashes.
3940
4029
  */
3941
- queryGetRequest(hash: HexString): Promise<GetRequestWithStatus | undefined>;
4030
+ queryGetRequest(hash: HexString$1): Promise<GetRequestWithStatus | undefined>;
3942
4031
  /**
3943
4032
  * Queries the response associated with a specific request ID and returns its commitment.
3944
4033
  */
@@ -3963,12 +4052,12 @@ declare class GetRequestClient {
3963
4052
  /**
3964
4053
  * Snapshot query with all inferred finality events sorted.
3965
4054
  */
3966
- queryGetRequestWithStatus(hash: HexString): Promise<GetRequestWithStatus | undefined>;
4055
+ queryGetRequestWithStatus(hash: HexString$1): Promise<GetRequestWithStatus | undefined>;
3967
4056
  /**
3968
4057
  * Streaming status updates for a GET request. Ends when the request reaches
3969
4058
  * the destination or a timeout becomes pending.
3970
4059
  */
3971
- getRequestStatusStream(hash: HexString): AsyncGenerator<RequestStatusWithMetadata, void>;
4060
+ getRequestStatusStream(hash: HexString$1): AsyncGenerator<RequestStatusWithMetadata, void>;
3972
4061
  private streamInternal;
3973
4062
  /**
3974
4063
  * Self-delivers a GET request to Hyperbridge — the request→Hyperbridge hop that would
@@ -4021,12 +4110,12 @@ declare class PostRequestClient {
4021
4110
  /**
4022
4111
  * Snapshot query: request + all inferred finality/timeout events, sorted.
4023
4112
  */
4024
- queryRequestWithStatus(hash: HexString): Promise<PostRequestWithStatus | undefined>;
4113
+ queryRequestWithStatus(hash: HexString$1): Promise<PostRequestWithStatus | undefined>;
4025
4114
  /**
4026
4115
  * Streaming status updates for a post request. Ends when the request reaches
4027
4116
  * the destination or a timeout becomes pending.
4028
4117
  */
4029
- postRequestStatusStream(hash: HexString): AsyncGenerator<RequestStatusWithMetadata, void>;
4118
+ postRequestStatusStream(hash: HexString$1): AsyncGenerator<RequestStatusWithMetadata, void>;
4030
4119
  private streamStatusInternal;
4031
4120
  /**
4032
4121
  * Populates timeout-related status events (`PENDING_TIMEOUT`,
@@ -4037,7 +4126,7 @@ declare class PostRequestClient {
4037
4126
  /**
4038
4127
  * Streaming status updates for a timed-out post request.
4039
4128
  */
4040
- postRequestTimeoutStream(hash: HexString): AsyncGenerator<PostRequestTimeoutStatus, void>;
4129
+ postRequestTimeoutStream(hash: HexString$1): AsyncGenerator<PostRequestTimeoutStatus, void>;
4041
4130
  private streamTimeoutInternal;
4042
4131
  /**
4043
4132
  * Snapshot helper: returns the `HYPERBRIDGE_FINALIZED` event with relayer
@@ -4061,7 +4150,7 @@ declare class PostRequestClient {
4061
4150
  * Relay a post-request to Hyperbridge from source-chain state, returning
4062
4151
  * the finalized Hyperbridge extrinsic receipt.
4063
4152
  */
4064
- aggregateTransactionWithCommitment(commitment: HexString): Promise<Awaited<ReturnType<SubstrateChain["submitUnsigned"]>>>;
4153
+ aggregateTransactionWithCommitment(commitment: HexString$1): Promise<Awaited<ReturnType<SubstrateChain["submitUnsigned"]>>>;
4065
4154
  }
4066
4155
 
4067
4156
  /**
@@ -4169,12 +4258,12 @@ declare class IsmpClient {
4169
4258
  * source/destination/hyperbridge tx hash, or timeout tx hash). Returns the
4170
4259
  * raw indexed record without derived finality events.
4171
4260
  */
4172
- queryPostRequest(commitmentHash: HexString): Promise<PostRequestWithStatus | undefined>;
4261
+ queryPostRequest(commitmentHash: HexString$1): Promise<PostRequestWithStatus | undefined>;
4173
4262
  /**
4174
4263
  * Queries a GET request by any of its associated hashes. Returns the raw
4175
4264
  * indexed record without derived finality events.
4176
4265
  */
4177
- queryGetRequest(hash: HexString): Promise<GetRequestWithStatus | undefined>;
4266
+ queryGetRequest(hash: HexString$1): Promise<GetRequestWithStatus | undefined>;
4178
4267
  /**
4179
4268
  * Queries the response a GET request's values come from, by the request's id.
4180
4269
  * Returns the response commitment plus the indexed storage values.
@@ -4188,7 +4277,7 @@ declare class IsmpClient {
4188
4277
  * Unlike {@link postRequestStatusStream} this does not poll; each call
4189
4278
  * returns a fresh snapshot based on the indexer's current state.
4190
4279
  */
4191
- queryRequestWithStatus(hash: HexString): Promise<PostRequestWithStatus | undefined>;
4280
+ queryRequestWithStatus(hash: HexString$1): Promise<PostRequestWithStatus | undefined>;
4192
4281
  /**
4193
4282
  * Streams status updates for a POST request as it progresses through the
4194
4283
  * source → Hyperbridge → destination lifecycle. Ends when the request
@@ -4199,7 +4288,7 @@ declare class IsmpClient {
4199
4288
  * deliver the request (bundled `handleConsensus` + `handlePostRequests` via
4200
4289
  * `batchCall`).
4201
4290
  */
4202
- postRequestStatusStream(hash: HexString): AsyncGenerator<RequestStatusWithMetadata, void>;
4291
+ postRequestStatusStream(hash: HexString$1): AsyncGenerator<RequestStatusWithMetadata, void>;
4203
4292
  /**
4204
4293
  * Streams timeout status updates for a POST request past its
4205
4294
  * `timeoutTimestamp`. Drives the `PENDING_TIMEOUT →
@@ -4207,20 +4296,20 @@ declare class IsmpClient {
4207
4296
  * progression, submitting unsigned extrinsics to Hyperbridge where required
4208
4297
  * and yielding source-chain timeout calldata at the final step.
4209
4298
  */
4210
- postRequestTimeoutStream(hash: HexString): AsyncGenerator<PostRequestTimeoutStatus, void>;
4299
+ postRequestTimeoutStream(hash: HexString$1): AsyncGenerator<PostRequestTimeoutStatus, void>;
4211
4300
  /**
4212
4301
  * Relays a POST request to Hyperbridge from source-chain state (when the
4213
4302
  * request wasn't aggregated there yet) and returns the finalized Hyperbridge
4214
4303
  * extrinsic receipt. Used to bootstrap status tracking for requests that
4215
4304
  * Hyperbridge hasn't seen.
4216
4305
  */
4217
- aggregateTransactionWithCommitment(commitment: HexString): Promise<Awaited<ReturnType<SubstrateChain["submitUnsigned"]>>>;
4306
+ aggregateTransactionWithCommitment(commitment: HexString$1): Promise<Awaited<ReturnType<SubstrateChain["submitUnsigned"]>>>;
4218
4307
  /**
4219
4308
  * Snapshot query for a GET request: returns the indexed record with all
4220
4309
  * inferred finality events (`SOURCE_FINALIZED`, `HYPERBRIDGE_FINALIZED`)
4221
4310
  * sorted by progress weight.
4222
4311
  */
4223
- queryGetRequestWithStatus(hash: HexString): Promise<GetRequestWithStatus | undefined>;
4312
+ queryGetRequestWithStatus(hash: HexString$1): Promise<GetRequestWithStatus | undefined>;
4224
4313
  /**
4225
4314
  * Streams status updates for a GET request. Ends when the response is
4226
4315
  * delivered back to the source chain or the request's timeout elapses.
@@ -4228,7 +4317,7 @@ declare class IsmpClient {
4228
4317
  * submitting the response (bundled `handleConsensus` + `handleGetResponses`
4229
4318
  * via `batchCall`).
4230
4319
  */
4231
- getRequestStatusStream(hash: HexString): AsyncGenerator<RequestStatusWithMetadata, void>;
4320
+ getRequestStatusStream(hash: HexString$1): AsyncGenerator<RequestStatusWithMetadata, void>;
4232
4321
  /**
4233
4322
  * Low-level watcher that yields a single `PENDING_TIMEOUT` event once
4234
4323
  * `chain.timestamp()` passes `timeoutTimestamp`. Used internally by the
@@ -4266,7 +4355,7 @@ declare function queryPostRequest(params: {
4266
4355
  * @returns The asset teleported event if found, undefined otherwise
4267
4356
  */
4268
4357
  declare function queryAssetTeleported(params: {
4269
- id: HexString;
4358
+ id: HexString$1;
4270
4359
  queryClient: IndexerQueryClient;
4271
4360
  }): Promise<AssetTeleported | undefined>;
4272
4361
  /**
@@ -4293,7 +4382,7 @@ type UniswapTradeType = "EXACT_INPUT" | "EXACT_OUTPUT";
4293
4382
  */
4294
4383
  interface UniswapQuoteToken {
4295
4384
  /** Token contract address. Use ADDRESS_ZERO for the native asset. */
4296
- address: HexString;
4385
+ address: HexString$1;
4297
4386
  /** Token decimals used by the integrating app when formatting quote amounts. */
4298
4387
  decimals: number;
4299
4388
  /** Optional display symbol, returned unchanged in quote responses. */
@@ -4325,7 +4414,7 @@ interface QuoteUniswapParams {
4325
4414
  /** Slippage tolerance in basis points, only used when `recipient` is provided. */
4326
4415
  slippageBps?: number;
4327
4416
  /** Optional recipient. When set, executable transaction calldata is included. */
4328
- recipient?: HexString;
4417
+ recipient?: HexString$1;
4329
4418
  }
4330
4419
  /**
4331
4420
  * Normalized quote returned by every Uniswap protocol adapter.
@@ -4349,7 +4438,7 @@ interface UniswapQuote {
4349
4438
  fee?: number;
4350
4439
  /** Token path used by the quote. */
4351
4440
  route: {
4352
- tokens: HexString[];
4441
+ tokens: HexString$1[];
4353
4442
  };
4354
4443
  /** Executable transactions, included only when `recipient` is supplied. */
4355
4444
  transactions?: Transaction[];
@@ -4372,36 +4461,36 @@ declare class Swap {
4372
4461
  /**
4373
4462
  * Gets V2 quote for exact output swap.
4374
4463
  */
4375
- getV2QuoteWithAmountOut(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountOut: bigint, evmChainID: string): Promise<bigint>;
4464
+ getV2QuoteWithAmountOut(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountOut: bigint, evmChainID: string): Promise<bigint>;
4376
4465
  /**
4377
4466
  * Gets V2 quote for exact input swap.
4378
4467
  */
4379
- getV2QuoteWithAmountIn(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountIn: bigint, evmChainID: string): Promise<bigint>;
4468
+ getV2QuoteWithAmountIn(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountIn: bigint, evmChainID: string): Promise<bigint>;
4380
4469
  /**
4381
4470
  * Gets V3 quote for exact output swap.
4382
4471
  */
4383
- getV3QuoteWithAmountOut(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountOut: bigint, evmChainID: string): Promise<{
4472
+ getV3QuoteWithAmountOut(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountOut: bigint, evmChainID: string): Promise<{
4384
4473
  amountIn: bigint;
4385
4474
  fee: number;
4386
4475
  }>;
4387
4476
  /**
4388
4477
  * Gets V3 quote for exact input swap.
4389
4478
  */
4390
- getV3QuoteWithAmountIn(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountIn: bigint, evmChainID: string): Promise<{
4479
+ getV3QuoteWithAmountIn(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountIn: bigint, evmChainID: string): Promise<{
4391
4480
  amountOut: bigint;
4392
4481
  fee: number;
4393
4482
  }>;
4394
4483
  /**
4395
4484
  * Gets V4 quote for exact output swap.
4396
4485
  */
4397
- getV4QuoteWithAmountOut(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountOut: bigint, evmChainID: string): Promise<{
4486
+ getV4QuoteWithAmountOut(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountOut: bigint, evmChainID: string): Promise<{
4398
4487
  amountIn: bigint;
4399
4488
  fee: number;
4400
4489
  }>;
4401
4490
  /**
4402
4491
  * Gets V4 quote for exact input swap.
4403
4492
  */
4404
- getV4QuoteWithAmountIn(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountIn: bigint, evmChainID: string): Promise<{
4493
+ getV4QuoteWithAmountIn(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountIn: bigint, evmChainID: string): Promise<{
4405
4494
  amountOut: bigint;
4406
4495
  fee: number;
4407
4496
  }>;
@@ -4409,30 +4498,30 @@ declare class Swap {
4409
4498
  * Creates transaction structure for V2 exact input swap, including ERC20 transfer if needed.
4410
4499
  * Supports both single-hop and multi-hop swaps.
4411
4500
  */
4412
- createV2SwapCalldataExactIn(path: HexString[], amountIn: bigint, amountOutMinimum: bigint, recipient: HexString, evmChainID: string): Transaction[];
4501
+ createV2SwapCalldataExactIn(path: HexString$1[], amountIn: bigint, amountOutMinimum: bigint, recipient: HexString$1, evmChainID: string): Transaction[];
4413
4502
  /**
4414
4503
  * Creates transaction structure for V2 exact output swap, including ERC20 transfer if needed.
4415
4504
  * Supports both single-hop and multi-hop swaps.
4416
4505
  */
4417
- createV2SwapCalldataExactOut(path: HexString[], amountOut: bigint, amountInMax: bigint, recipient: HexString, evmChainID: string): Transaction[];
4506
+ createV2SwapCalldataExactOut(path: HexString$1[], amountOut: bigint, amountInMax: bigint, recipient: HexString$1, evmChainID: string): Transaction[];
4418
4507
  /**
4419
4508
  * Creates transaction structure for V3 exact input swap, including ERC20 transfer if needed.
4420
4509
  * Supports both single-hop and multi-hop swaps.
4421
4510
  */
4422
- createV3SwapCalldataExactIn(path: HexString[], amountIn: bigint, amountOutMinimum: bigint, fees: number[], recipient: HexString, evmChainID: string): Transaction[];
4511
+ createV3SwapCalldataExactIn(path: HexString$1[], amountIn: bigint, amountOutMinimum: bigint, fees: number[], recipient: HexString$1, evmChainID: string): Transaction[];
4423
4512
  /**
4424
4513
  * Creates transaction structure for V3 exact output swap, including ERC20 transfer if needed.
4425
4514
  * Supports both single-hop and multi-hop swaps.
4426
4515
  */
4427
- createV3SwapCalldataExactOut(path: HexString[], amountOut: bigint, amountInMax: bigint, fees: number[], recipient: HexString, evmChainID: string): Transaction[];
4516
+ createV3SwapCalldataExactOut(path: HexString$1[], amountOut: bigint, amountInMax: bigint, fees: number[], recipient: HexString$1, evmChainID: string): Transaction[];
4428
4517
  /**
4429
4518
  * Creates transaction structure for V4 exact input swap, including Permit2 approvals for ERC20 tokens.
4430
4519
  */
4431
- createV4SwapCalldataExactIn(sourceTokenAddress: HexString, targetTokenAddress: HexString, amountIn: bigint, amountOutMinimum: bigint, fee: number, evmChainID: string): Transaction[];
4520
+ createV4SwapCalldataExactIn(sourceTokenAddress: HexString$1, targetTokenAddress: HexString$1, amountIn: bigint, amountOutMinimum: bigint, fee: number, evmChainID: string): Transaction[];
4432
4521
  /**
4433
4522
  * Creates transaction structure for V4 exact output swap, including Permit2 approvals for ERC20 tokens.
4434
4523
  */
4435
- createV4SwapCalldataExactOut(sourceTokenAddress: HexString, targetTokenAddress: HexString, amountOut: bigint, amountInMax: bigint, fee: number, evmChainID: string): Transaction[];
4524
+ createV4SwapCalldataExactOut(sourceTokenAddress: HexString$1, targetTokenAddress: HexString$1, amountOut: bigint, amountInMax: bigint, fee: number, evmChainID: string): Transaction[];
4436
4525
  /**
4437
4526
  * Finds the best Uniswap protocol (V2, V3, or V4) for swapping tokens given a desired output amount.
4438
4527
  * Compares liquidity and pricing across different protocols and fee tiers.
@@ -4443,10 +4532,10 @@ declare class Swap {
4443
4532
  * @param amountOut - The desired output amount
4444
4533
  * @returns Object containing the best protocol, required input amount, fee tier (for V3/V4), and transaction structure
4445
4534
  */
4446
- findBestProtocolWithAmountOut(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountOut: bigint, evmChainID: string, options?: {
4535
+ findBestProtocolWithAmountOut(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountOut: bigint, evmChainID: string, options?: {
4447
4536
  selectedProtocol?: "v2" | "v3" | "v4";
4448
4537
  generateCalldata?: boolean;
4449
- recipient?: HexString;
4538
+ recipient?: HexString$1;
4450
4539
  }): Promise<{
4451
4540
  protocol: "v2" | "v3" | "v4" | null;
4452
4541
  amountIn: bigint;
@@ -4465,10 +4554,10 @@ declare class Swap {
4465
4554
  * @param selectedProtocol - Optional specific protocol to use ("v2", "v3", or "v4")
4466
4555
  * @returns Object containing the best protocol, expected output amount, fee tier (for V3/V4), and transaction structure
4467
4556
  */
4468
- findBestProtocolWithAmountIn(client: PublicClient, tokenIn: HexString, tokenOut: HexString, amountIn: bigint, evmChainID: string, options?: {
4557
+ findBestProtocolWithAmountIn(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, amountIn: bigint, evmChainID: string, options?: {
4469
4558
  selectedProtocol?: "v2" | "v3" | "v4";
4470
4559
  generateCalldata?: boolean;
4471
- recipient?: HexString;
4560
+ recipient?: HexString$1;
4472
4561
  }): Promise<{
4473
4562
  protocol: "v2" | "v3" | "v4" | null;
4474
4563
  amountOut: bigint;
@@ -4479,9 +4568,9 @@ declare class Swap {
4479
4568
  * Finds the best pair for multi-hop swaps based on popular tokens and liquidity.
4480
4569
  * Prefers pairs with tokenIn as intermediate token, then returns the pair with highest liquidity.
4481
4570
  */
4482
- findPair(client: PublicClient, tokenIn: HexString, tokenOut: HexString, evmChainID: string, protocol?: "v2" | "v3"): Promise<{
4483
- pairAddress: HexString;
4484
- intermediateToken: HexString;
4571
+ findPair(client: PublicClient, tokenIn: HexString$1, tokenOut: HexString$1, evmChainID: string, protocol?: "v2" | "v3"): Promise<{
4572
+ pairAddress: HexString$1;
4573
+ intermediateToken: HexString$1;
4485
4574
  }>;
4486
4575
  /**
4487
4576
  * Gets pair address for V2 or V3 based on protocol parameter
@@ -4492,7 +4581,7 @@ declare class Swap {
4492
4581
  * Gets the best V3 pool based on liquidity across different fee tiers
4493
4582
  */
4494
4583
  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<{
4584
+ 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
4585
  finalAmountOut: bigint;
4497
4586
  calldata: Transaction[];
4498
4587
  }>;
@@ -4636,17 +4725,17 @@ interface SessionKeyData {
4636
4725
  /**
4637
4726
  * The private key as a hex string
4638
4727
  */
4639
- privateKey: HexString;
4728
+ privateKey: HexString$1;
4640
4729
  /**
4641
4730
  * The derived public address
4642
4731
  */
4643
- address: HexString;
4732
+ address: HexString$1;
4644
4733
  /**
4645
4734
  * The order commitment this session key is associated with.
4646
4735
  * This may be undefined for session keys that were created
4647
4736
  * but whose corresponding order has not been finalized yet.
4648
4737
  */
4649
- commitment?: HexString;
4738
+ commitment?: HexString$1;
4650
4739
  /**
4651
4740
  * Timestamp when the session key was created
4652
4741
  */
@@ -4661,12 +4750,12 @@ interface SessionKeyData {
4661
4750
  * @returns A storage instance with methods to get, set, and remove session keys
4662
4751
  */
4663
4752
  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>;
4753
+ getSessionKey: (commitment: HexString$1) => Promise<SessionKeyData | null>;
4754
+ getSessionKeyByAddress: (address: HexString$1) => Promise<SessionKeyData | null>;
4755
+ setSessionKey: (commitment: HexString$1, data: SessionKeyData) => Promise<void>;
4756
+ setSessionKeyByAddress: (address: HexString$1, data: SessionKeyData) => Promise<void>;
4757
+ removeSessionKey: (commitment: HexString$1) => Promise<void>;
4758
+ removeSessionKeyByAddress: (address: HexString$1) => Promise<void>;
4670
4759
  listSessionKeys: () => Promise<SessionKeyData[]>;
4671
4760
  }>;
4672
4761
 
@@ -4686,7 +4775,7 @@ declare const ORDER_V2_PARAM_TYPE = "(bytes32,bytes,bytes,uint256,uint256,uint25
4686
4775
  * The first byte `0x01` indicates batch mode; all remaining bytes are
4687
4776
  * reserved and set to zero.
4688
4777
  */
4689
- declare const ERC7821_BATCH_MODE: HexString;
4778
+ declare const ERC7821_BATCH_MODE: HexString$1;
4690
4779
  /**
4691
4780
  * Bundler RPC method names for ERC-4337 operations.
4692
4781
  *
@@ -4715,15 +4804,15 @@ type BundlerMethod = (typeof BundlerMethod)[keyof typeof BundlerMethod];
4715
4804
  */
4716
4805
  interface BundlerGasEstimate {
4717
4806
  /** Gas required for pre-verification processing (hex). */
4718
- preVerificationGas: HexString;
4807
+ preVerificationGas: HexString$1;
4719
4808
  /** Gas limit for the account verification step (hex). */
4720
- verificationGasLimit: HexString;
4809
+ verificationGasLimit: HexString$1;
4721
4810
  /** Gas limit for the main execution call (hex). */
4722
- callGasLimit: HexString;
4811
+ callGasLimit: HexString$1;
4723
4812
  /** Gas limit for paymaster verification, if a paymaster is used (hex). */
4724
- paymasterVerificationGasLimit?: HexString;
4813
+ paymasterVerificationGasLimit?: HexString$1;
4725
4814
  /** Gas limit for paymaster post-operation hook, if a paymaster is used (hex). */
4726
- paymasterPostOpGasLimit?: HexString;
4815
+ paymasterPostOpGasLimit?: HexString$1;
4727
4816
  }
4728
4817
  /**
4729
4818
  * Tagged union of all status updates that can be yielded by the cancel-order
@@ -4745,8 +4834,8 @@ type CancelEvent = {
4745
4834
  proof: IProof;
4746
4835
  } | {
4747
4836
  status: "AWAITING_CANCEL_TRANSACTION";
4748
- data: HexString;
4749
- to: HexString;
4837
+ data: HexString$1;
4838
+ to: HexString$1;
4750
4839
  value: bigint;
4751
4840
  } | {
4752
4841
  status: "CANCEL_STARTED";
@@ -4769,7 +4858,7 @@ type CancelEvent = {
4769
4858
  } | {
4770
4859
  status: "CANCELLATION_COMPLETE";
4771
4860
  blockNumber: number;
4772
- transactionHash: HexString;
4861
+ transactionHash: HexString$1;
4773
4862
  };
4774
4863
 
4775
4864
  /**
@@ -4793,7 +4882,7 @@ interface IntentGatewayContext {
4793
4882
  * Stores fee-token address, decimals, and the timestamp of the last fetch.
4794
4883
  */
4795
4884
  feeTokenCache: Map<string, {
4796
- address: HexString;
4885
+ address: HexString$1;
4797
4886
  decimals: number;
4798
4887
  cachedAt: number;
4799
4888
  }>;
@@ -4818,23 +4907,23 @@ type IntentQuoteTradeType = "EXACT_INPUT" | "EXACT_OUTPUT";
4818
4907
  * Full Uniswap V4 PoolKey. V4 pools cannot be discovered from a token pair alone.
4819
4908
  */
4820
4909
  interface UniswapV4PoolKey {
4821
- currency0: HexString;
4822
- currency1: HexString;
4910
+ currency0: HexString$1;
4911
+ currency1: HexString$1;
4823
4912
  fee: number;
4824
4913
  tickSpacing: number;
4825
- hooks: HexString;
4914
+ hooks: HexString$1;
4826
4915
  }
4827
4916
  interface UniswapV4IntentQuoteOptions {
4828
4917
  /** Explicit pool override for pairs not yet present in SDK chain config. */
4829
4918
  poolKey?: UniswapV4PoolKey & {
4830
- quoterAddress?: HexString;
4919
+ quoterAddress?: HexString$1;
4831
4920
  /**
4832
4921
  * Destination-side address of the input currency. Defaults to
4833
4922
  * `tokenIn`, which only works for same-chain quotes; pass this
4834
4923
  * explicitly when source and destination chains differ. Must equal
4835
4924
  * `currency0` or `currency1`.
4836
4925
  */
4837
- currencyIn?: HexString;
4926
+ currencyIn?: HexString$1;
4838
4927
  };
4839
4928
  }
4840
4929
  /**
@@ -4849,9 +4938,9 @@ interface UniswapV4IntentQuoteOptions {
4849
4938
  interface QuoteIntentParams {
4850
4939
  strategy?: IntentQuoteStrategy;
4851
4940
  /** Token address on the source chain. */
4852
- tokenIn: HexString;
4941
+ tokenIn: HexString$1;
4853
4942
  /** Token address on the destination chain. */
4854
- tokenOut: HexString;
4943
+ tokenOut: HexString$1;
4855
4944
  amountIn?: bigint;
4856
4945
  amountOut?: bigint;
4857
4946
  uniswapV4?: UniswapV4IntentQuoteOptions;
@@ -4860,7 +4949,7 @@ interface UniswapV4IntentQuoteMetadata {
4860
4949
  /** Chain whose Uniswap pool and quoter were used for the quote. */
4861
4950
  quoteChain: string;
4862
4951
  poolKey: UniswapV4PoolKey;
4863
- quoterAddress: HexString;
4952
+ quoterAddress: HexString$1;
4864
4953
  /**
4865
4954
  * IntentGateway protocol fee on the source chain, already applied to the
4866
4955
  * returned amounts. Exposed so callers can reconstruct the swap-side
@@ -4872,9 +4961,9 @@ interface PhantomSnapshotIntentQuoteMetadata {
4872
4961
  /** Canonical chain whose directional Phantom pair addresses identify the feed. */
4873
4962
  quoteChain: string;
4874
4963
  /** Phantom order whose bids produced this snapshot. */
4875
- commitment: HexString;
4876
- tokenA: HexString;
4877
- tokenB: HexString;
4964
+ commitment: HexString$1;
4965
+ tokenA: HexString$1;
4966
+ tokenB: HexString$1;
4878
4967
  /** Benchmark input and liquidity-weighted median output, both in raw token units. */
4879
4968
  standardAmount: bigint;
4880
4969
  medianPrice: bigint;
@@ -4915,16 +5004,16 @@ declare class UnsupportedIntentQuotePairError extends Error {
4915
5004
  constructor(params: {
4916
5005
  source: string;
4917
5006
  destination: string;
4918
- tokenIn: HexString;
4919
- tokenOut: HexString;
5007
+ tokenIn: HexString$1;
5008
+ tokenOut: HexString$1;
4920
5009
  quoteSource?: string;
4921
5010
  });
4922
5011
  }
4923
5012
  declare class PhantomSnapshotUnavailableError extends Error {
4924
- constructor(tokenA: HexString, tokenB: HexString);
5013
+ constructor(tokenA: HexString$1, tokenB: HexString$1);
4925
5014
  }
4926
5015
  declare class InvalidPhantomSnapshotError extends Error {
4927
- constructor(commitment: HexString, reason: string);
5016
+ constructor(commitment: HexString$1, reason: string);
4928
5017
  }
4929
5018
 
4930
5019
  /**
@@ -5084,16 +5173,16 @@ declare class IntentGateway {
5084
5173
  * @throws If the `placeOrder` generator behaves unexpectedly, or if gas
5085
5174
  * estimation returns zero.
5086
5175
  */
5087
- execute(order: Order, graffiti: HexString | undefined, options: {
5176
+ execute(order: Order, graffiti: HexString$1 | undefined, options: {
5088
5177
  auctionTimeMs: number;
5089
5178
  maxPriorityFeePerGasBumpPercent?: number;
5090
5179
  maxFeePerGasBumpPercent?: number;
5091
5180
  pollIntervalMs?: number;
5092
5181
  solver?: {
5093
- address: HexString;
5182
+ address: HexString$1;
5094
5183
  timeoutMs: number;
5095
5184
  };
5096
- }): AsyncGenerator<IntentOrderStatusUpdate, void, HexString | SelectBidResult | undefined>;
5185
+ }): AsyncGenerator<IntentOrderStatusUpdate, void, HexString$1 | SelectBidResult | undefined>;
5097
5186
  /**
5098
5187
  * Forwards updates from the executor's bidirectional generator to the caller,
5099
5188
  * threading the {@link SelectBidResult} the caller feeds back after a
@@ -5146,16 +5235,16 @@ declare class IntentGateway {
5146
5235
  * @param options - Same tuning parameters as {@link execute}.
5147
5236
  * @yields {@link IntentOrderStatusUpdate} at each lifecycle stage.
5148
5237
  */
5149
- executeBest(order: Order, graffiti: HexString | undefined, options: {
5238
+ executeBest(order: Order, graffiti: HexString$1 | undefined, options: {
5150
5239
  auctionTimeMs: number;
5151
5240
  maxPriorityFeePerGasBumpPercent?: number;
5152
5241
  maxFeePerGasBumpPercent?: number;
5153
5242
  pollIntervalMs?: number;
5154
5243
  solver?: {
5155
- address: HexString;
5244
+ address: HexString$1;
5156
5245
  timeoutMs: number;
5157
5246
  };
5158
- }): AsyncGenerator<IntentOrderStatusUpdate, void, HexString>;
5247
+ }): AsyncGenerator<IntentOrderStatusUpdate, void, HexString$1>;
5159
5248
  /**
5160
5249
  * Batteries-included variant of {@link resume}: auto-selects the best bid each
5161
5250
  * round via {@link selectAndExecuteBest}, with no bid-selection input from the
@@ -5229,7 +5318,7 @@ declare class IntentGateway {
5229
5318
  * storage by `order.session` if omitted.
5230
5319
  * @returns Array of executable {@link Bid} objects.
5231
5320
  */
5232
- buildBids(order: Order, bids: FillerBid[], sessionPrivateKey?: HexString): Bid[];
5321
+ buildBids(order: Order, bids: FillerBid[], sessionPrivateKey?: HexString$1): Bid[];
5233
5322
  /**
5234
5323
  * Sorts bids by output value using the same strategy the autopilot uses.
5235
5324
  *
@@ -5266,7 +5355,7 @@ declare class IntentGateway {
5266
5355
  * @returns A {@link SelectBidResult} with the submitted UserOperation, hashes,
5267
5356
  * and fill status.
5268
5357
  */
5269
- selectBid(order: Order, bids: FillerBid[], sessionPrivateKey?: HexString): Promise<SelectBidResult>;
5358
+ selectBid(order: Order, bids: FillerBid[], sessionPrivateKey?: HexString$1): Promise<SelectBidResult>;
5270
5359
  /**
5271
5360
  * Estimates the gas cost for filling the given order, returning individual
5272
5361
  * gas components and fee-token-denominated totals.
@@ -5311,7 +5400,7 @@ declare class IntentGateway {
5311
5400
  * @param calls - Ordered list of calls to batch.
5312
5401
  * @returns ABI-encoded calldata for the ERC-7821 `execute` function.
5313
5402
  */
5314
- encodeERC7821Execute(calls: ERC7821Call[]): HexString;
5403
+ encodeERC7821Execute(calls: ERC7821Call[]): HexString$1;
5315
5404
  /**
5316
5405
  * Decodes ERC-7821 `execute` calldata back into its constituent calls.
5317
5406
  *
@@ -5320,7 +5409,7 @@ declare class IntentGateway {
5320
5409
  * @param callData - Hex-encoded calldata to decode.
5321
5410
  * @returns Array of decoded {@link ERC7821Call} objects, or `null` on failure.
5322
5411
  */
5323
- decodeERC7821Execute(callData: HexString): ERC7821Call[] | null;
5412
+ decodeERC7821Execute(callData: HexString$1): ERC7821Call[] | null;
5324
5413
  /**
5325
5414
  * Checks whether an order has been filled on the destination chain.
5326
5415
  *
@@ -5369,14 +5458,14 @@ declare class IntentGateway {
5369
5458
  *
5370
5459
  * Requires a prior call to {@link withQueryClient}.
5371
5460
  */
5372
- queryOrder(commitment: HexString): Promise<OrderWithStatus | undefined>;
5461
+ queryOrder(commitment: HexString$1): Promise<OrderWithStatus | undefined>;
5373
5462
  /**
5374
5463
  * Streams status updates for an order until it reaches a terminal state
5375
5464
  * (FILLED, REDEEMED, or REFUNDED).
5376
5465
  *
5377
5466
  * Requires a prior call to {@link withQueryClient}.
5378
5467
  */
5379
- orderStatusStream(commitment: HexString): AsyncGenerator<{
5468
+ orderStatusStream(commitment: HexString$1): AsyncGenerator<{
5380
5469
  status: OrderStatus;
5381
5470
  metadata: {
5382
5471
  blockHash: string;
@@ -5425,12 +5514,12 @@ declare class OrderStatusChecker {
5425
5514
  isOrderRefunded(order: Order): Promise<boolean>;
5426
5515
  }
5427
5516
 
5428
- declare function encodeERC7821ExecuteBatch(calls: ERC7821Call[]): HexString;
5429
- declare function decodeERC7821ExecuteBatch(callData: HexString): ERC7821Call[] | null;
5517
+ declare function encodeERC7821ExecuteBatch(calls: ERC7821Call[]): HexString$1;
5518
+ declare function decodeERC7821ExecuteBatch(callData: HexString$1): ERC7821Call[] | null;
5430
5519
 
5431
5520
  type ContractOrder = Omit<Order, "id" | "source" | "destination"> & {
5432
- source: HexString;
5433
- destination: HexString;
5521
+ source: HexString$1;
5522
+ destination: HexString$1;
5434
5523
  };
5435
5524
  /**
5436
5525
  * Fetches a Merkle/state proof for the given ISMP request commitment on the
@@ -5448,7 +5537,7 @@ type ContractOrder = Omit<Order, "id" | "source" | "destination"> & {
5448
5537
  * @returns Resolves with an {@link IProof} ready to be submitted to Hyperbridge.
5449
5538
  * @internal
5450
5539
  */
5451
- declare function fetchSourceProof(commitment: HexString, source: IEvmChain, sourceStateMachine: string, sourceConsensusStateId: string, sourceHeight: bigint): Promise<IProof>;
5540
+ declare function fetchSourceProof(commitment: HexString$1, source: IEvmChain, sourceStateMachine: string, sourceConsensusStateId: string, sourceHeight: bigint): Promise<IProof>;
5452
5541
  /**
5453
5542
  * Strips SDK-only fields from an {@link Order} and normalises all fields to
5454
5543
  * the encoding the IntentGatewayV2 contract ABI expects:
@@ -5476,7 +5565,7 @@ declare function transformOrderForContract(order: Order): ContractOrder;
5476
5565
  * @param order - The SDK-level order to hash.
5477
5566
  * @returns The keccak256 commitment hash.
5478
5567
  */
5479
- declare function orderCommitment(order: Order): HexString;
5568
+ declare function orderCommitment(order: Order): HexString$1;
5480
5569
 
5481
5570
  /**
5482
5571
  * EIP-712 type hash for the `SelectSolver` struct.
@@ -5527,7 +5616,7 @@ declare class CryptoUtils {
5527
5616
  * @param contractAddress - Address of the verifying contract.
5528
5617
  * @returns The 32-byte domain separator as a hex string.
5529
5618
  */
5530
- static getDomainSeparator(contractName: string, version: string, chainId: bigint, contractAddress: HexString): HexString;
5619
+ static getDomainSeparator(contractName: string, version: string, chainId: bigint, contractAddress: HexString$1): HexString$1;
5531
5620
  /**
5532
5621
  * Signs a `SelectSolver` EIP-712 message with a session key.
5533
5622
  *
@@ -5541,7 +5630,7 @@ declare class CryptoUtils {
5541
5630
  * @param privateKey - Hex-encoded private key of the session key that signs the message.
5542
5631
  * @returns The ECDSA signature as a hex string, or `null` if signing fails.
5543
5632
  */
5544
- static signSolverSelection(commitment: HexString, solverAddress: HexString, domainSeparator: HexString, privateKey: HexString): Promise<HexString | null>;
5633
+ static signSolverSelection(commitment: HexString$1, solverAddress: HexString$1, domainSeparator: HexString$1, privateKey: HexString$1): Promise<HexString$1 | null>;
5545
5634
  /**
5546
5635
  * Computes the EIP-712 hash of a `PackedUserOperation` as defined by
5547
5636
  * ERC-4337 EntryPoint v0.8.
@@ -5564,7 +5653,7 @@ declare class CryptoUtils {
5564
5653
  * @param sessionKey - The order's session key address (`order.session`).
5565
5654
  * @returns The 192-bit nonce key as a bigint (pass to `EntryPoint.getNonce`).
5566
5655
  */
5567
- static bidNonceKey(commitment: HexString, sessionKey: HexString): bigint;
5656
+ static bidNonceKey(commitment: HexString$1, sessionKey: HexString$1): bigint;
5568
5657
  /**
5569
5658
  * Builds the EIP-712 typed-data payload whose digest is the EntryPoint v0.8
5570
5659
  * `userOpHash` (i.e. `hashTypedData(packedUserOpTypedData(...)) ===
@@ -5612,7 +5701,7 @@ declare class CryptoUtils {
5612
5701
  * @param userOp - The packed UserOperation to hash.
5613
5702
  * @returns The struct hash as a 32-byte hex string.
5614
5703
  */
5615
- static getPackedUserStructHash(userOp: PackedUserOperation): HexString;
5704
+ static getPackedUserStructHash(userOp: PackedUserOperation): HexString$1;
5616
5705
  /**
5617
5706
  * Packs `verificationGasLimit` and `callGasLimit` into the ERC-4337
5618
5707
  * `accountGasLimits` bytes32 field.
@@ -5624,7 +5713,7 @@ declare class CryptoUtils {
5624
5713
  * @param callGasLimit - Gas limit for the main execution call.
5625
5714
  * @returns A 32-byte hex string with both limits packed.
5626
5715
  */
5627
- static packGasLimits(verificationGasLimit: bigint, callGasLimit: bigint): HexString;
5716
+ static packGasLimits(verificationGasLimit: bigint, callGasLimit: bigint): HexString$1;
5628
5717
  /**
5629
5718
  * Packs `maxPriorityFeePerGas` and `maxFeePerGas` into the ERC-4337
5630
5719
  * `gasFees` bytes32 field.
@@ -5636,7 +5725,7 @@ declare class CryptoUtils {
5636
5725
  * @param maxFeePerGas - Maximum total fee per gas (EIP-1559).
5637
5726
  * @returns A 32-byte hex string with both fee values packed.
5638
5727
  */
5639
- static packGasFees(maxPriorityFeePerGas: bigint, maxFeePerGas: bigint): HexString;
5728
+ static packGasFees(maxPriorityFeePerGas: bigint, maxFeePerGas: bigint): HexString$1;
5640
5729
  /**
5641
5730
  * Unpacks the `accountGasLimits` bytes32 field back into its constituent
5642
5731
  * gas limits.
@@ -5644,7 +5733,7 @@ declare class CryptoUtils {
5644
5733
  * @param accountGasLimits - The packed 32-byte gas limits field from a `PackedUserOperation`.
5645
5734
  * @returns Object with `verificationGasLimit` and `callGasLimit` as bigints.
5646
5735
  */
5647
- static unpackGasLimits(accountGasLimits: HexString): {
5736
+ static unpackGasLimits(accountGasLimits: HexString$1): {
5648
5737
  verificationGasLimit: bigint;
5649
5738
  callGasLimit: bigint;
5650
5739
  };
@@ -5654,7 +5743,7 @@ declare class CryptoUtils {
5654
5743
  * @param gasFees - The packed 32-byte gas fees field from a `PackedUserOperation`.
5655
5744
  * @returns Object with `maxPriorityFeePerGas` and `maxFeePerGas` as bigints.
5656
5745
  */
5657
- static unpackGasFees(gasFees: HexString): {
5746
+ static unpackGasFees(gasFees: HexString$1): {
5658
5747
  maxPriorityFeePerGas: bigint;
5659
5748
  maxFeePerGas: bigint;
5660
5749
  };
@@ -5699,7 +5788,7 @@ declare class CryptoUtils {
5699
5788
  * address, ETH `value`, and `data`.
5700
5789
  * @returns ABI-encoded calldata for the ERC-7821 `execute(bytes32,bytes)` function.
5701
5790
  */
5702
- encodeERC7821Execute(calls: ERC7821Call[]): HexString;
5791
+ encodeERC7821Execute(calls: ERC7821Call[]): HexString$1;
5703
5792
  /**
5704
5793
  * Decodes ERC-7821 `execute` calldata back into its constituent calls.
5705
5794
  *
@@ -5710,9 +5799,22 @@ declare class CryptoUtils {
5710
5799
  * {@link encodeERC7821Execute} or an equivalent encoder.
5711
5800
  * @returns Array of decoded {@link ERC7821Call} objects, or `null` on failure.
5712
5801
  */
5713
- decodeERC7821Execute(callData: HexString): ERC7821Call[] | null;
5802
+ decodeERC7821Execute(callData: HexString$1): ERC7821Call[] | null;
5714
5803
  }
5715
5804
 
5805
+ type HexString = `0x${string}`;
5806
+ /**
5807
+ * Encodes the accepted source chains (state machine ids, e.g. "EVM-8453") into the
5808
+ * paymasterAndData declaration blob.
5809
+ */
5810
+ declare function encodeAcceptedSourceChains(chains: string[]): HexString;
5811
+ /**
5812
+ * Decodes a phantom bid's paymasterAndData into its declared source chains. Returns null for an
5813
+ * absent, unversioned or malformed blob — the legacy default — and an empty array only for an
5814
+ * explicit zero-entry declaration. Callers must preserve that distinction.
5815
+ */
5816
+ declare function decodeAcceptedSourceChains(paymasterAndData: string | undefined | null): string[] | null;
5817
+
5716
5818
  declare const ABI$1: readonly [{
5717
5819
  readonly type: "constructor";
5718
5820
  readonly inputs: readonly [{
@@ -6903,6 +7005,21 @@ declare const ABI$1: readonly [{
6903
7005
  readonly type: "uint256";
6904
7006
  readonly internalType: "uint256";
6905
7007
  }];
7008
+ }, {
7009
+ readonly name: "predispatchCall";
7010
+ readonly type: "bytes";
7011
+ readonly indexed: false;
7012
+ readonly internalType: "bytes";
7013
+ }, {
7014
+ readonly name: "outputCall";
7015
+ readonly type: "bytes";
7016
+ readonly indexed: false;
7017
+ readonly internalType: "bytes";
7018
+ }, {
7019
+ readonly name: "graffiti";
7020
+ readonly type: "bytes32";
7021
+ readonly indexed: false;
7022
+ readonly internalType: "bytes32";
6906
7023
  }];
6907
7024
  readonly anonymous: false;
6908
7025
  }, {
@@ -8478,17 +8595,17 @@ interface TeleportParams {
8478
8595
  /** Amount to be sent */
8479
8596
  amount: bigint;
8480
8597
  /** The token identifier to send */
8481
- assetId: HexString;
8598
+ assetId: HexString$1;
8482
8599
  /** Redeem ERC20 on the destination? */
8483
8600
  redeem: boolean;
8484
8601
  /** Recipient address. For EVM destinations, plain 20-byte addresses are accepted and padded internally. */
8485
- to: HexString;
8602
+ to: HexString$1;
8486
8603
  /** Recipient state machine */
8487
8604
  dest: string | Uint8Array;
8488
8605
  /** Request timeout in seconds */
8489
8606
  timeout: bigint;
8490
8607
  /** Destination contract call data */
8491
- data?: HexString | Uint8Array;
8608
+ data?: HexString$1 | Uint8Array;
8492
8609
  }
8493
8610
  /**
8494
8611
  * TokenGateway class for managing cross-chain token transfers via Hyperbridge
@@ -8597,14 +8714,14 @@ declare class TokenGateway {
8597
8714
  *
8598
8715
  * Requires a prior call to {@link withQueryClient}.
8599
8716
  */
8600
- queryAssetTeleported(commitment: HexString): Promise<TokenGatewayAssetTeleportedWithStatus | undefined>;
8717
+ queryAssetTeleported(commitment: HexString$1): Promise<TokenGatewayAssetTeleportedWithStatus | undefined>;
8601
8718
  /**
8602
8719
  * Streams status updates for an asset-teleported event until a terminal
8603
8720
  * state (`RECEIVED` or `REFUNDED`).
8604
8721
  *
8605
8722
  * Requires a prior call to {@link withQueryClient}.
8606
8723
  */
8607
- assetTeleportedStatusStream(commitment: HexString): AsyncGenerator<{
8724
+ assetTeleportedStatusStream(commitment: HexString$1): AsyncGenerator<{
8608
8725
  status: TeleportStatus;
8609
8726
  metadata: {
8610
8727
  blockHash: string;
@@ -8624,7 +8741,7 @@ interface BridgeParams {
8624
8741
  /** The sender's address (needed for allowance checks and fee quoting) */
8625
8742
  from: Address;
8626
8743
  /** Recipient on the destination chain (20 bytes for EVM, 32 bytes for substrate) */
8627
- to: HexString | Uint8Array;
8744
+ to: HexString$1 | Uint8Array;
8628
8745
  /** Amount of tokens to send (in token decimals) */
8629
8746
  amount: bigint;
8630
8747
  /** Destination state machine ID (e.g. "EVM-97") */
@@ -8632,7 +8749,7 @@ interface BridgeParams {
8632
8749
  /** Request timeout in seconds (default: 3600) */
8633
8750
  timeout?: bigint;
8634
8751
  /** Optional calldata to execute on the destination chain */
8635
- data?: HexString;
8752
+ data?: HexString$1;
8636
8753
  /** Pay fees in the host's feeToken instead of native. Default: false (pay native) */
8637
8754
  payInFeeToken?: boolean;
8638
8755
  /** Relayer fee override in feeToken units. If not set, automatically estimated from destination gas cost. Set to 0n for self-relay. */
@@ -8656,18 +8773,18 @@ type BridgeStep = {
8656
8773
  type: "approve";
8657
8774
  tx: {
8658
8775
  to: Address;
8659
- data: HexString;
8776
+ data: HexString$1;
8660
8777
  };
8661
8778
  } | {
8662
8779
  type: "send";
8663
8780
  tx: {
8664
8781
  to: Address;
8665
- data: HexString;
8782
+ data: HexString$1;
8666
8783
  value: bigint;
8667
8784
  };
8668
8785
  } | {
8669
8786
  type: "submitted";
8670
- commitment: HexString;
8787
+ commitment: HexString$1;
8671
8788
  } | ({
8672
8789
  type: "status";
8673
8790
  } & RequestStatusWithMetadata);
@@ -8733,7 +8850,7 @@ declare class HyperFungibleToken {
8733
8850
  *
8734
8851
  * Resume the generator with the tx hash after submitting each tx.
8735
8852
  */
8736
- bridge(params: BridgeParams): AsyncGenerator<BridgeStep, void, HexString | undefined>;
8853
+ bridge(params: BridgeParams): AsyncGenerator<BridgeStep, void, HexString$1 | undefined>;
8737
8854
  /**
8738
8855
  * Encodes a state machine ID string to hex bytes.
8739
8856
  */
@@ -10396,7 +10513,7 @@ declare function getOrderPlacedFromTx(client: {
10396
10513
  }) => Promise<{
10397
10514
  logs: any[];
10398
10515
  }>;
10399
- }, txHash: HexString): Promise<DecodedOrderPlacedLog | undefined>;
10516
+ }, txHash: HexString$1): Promise<DecodedOrderPlacedLog | undefined>;
10400
10517
  /**
10401
10518
  * Extracts the EvmHost PostRequestEvent from a transaction hash.
10402
10519
  * @param client - A viem PublicClient-compatible instance
@@ -10409,7 +10526,7 @@ declare function getPostRequestEventFromTx(client: {
10409
10526
  }) => Promise<{
10410
10527
  logs: any[];
10411
10528
  }>;
10412
- }, txHash: HexString): Promise<DecodedPostRequestEvent | undefined>;
10529
+ }, txHash: HexString$1): Promise<DecodedPostRequestEvent | undefined>;
10413
10530
  /**
10414
10531
  * Extracts the EvmHost PostResponseEvent from a transaction hash.
10415
10532
  * @param client - A viem PublicClient-compatible instance
@@ -10422,24 +10539,24 @@ declare function getPostResponseEventFromTx(client: {
10422
10539
  }) => Promise<{
10423
10540
  logs: any[];
10424
10541
  }>;
10425
- }, txHash: HexString): Promise<DecodedPostResponseEvent | undefined>;
10542
+ }, txHash: HexString$1): Promise<DecodedPostResponseEvent | undefined>;
10426
10543
 
10427
10544
  type HyperbridgeTxEvents = {
10428
10545
  kind: "Ready";
10429
- transaction_hash: HexString;
10430
- message_id?: HexString;
10546
+ transaction_hash: HexString$1;
10547
+ message_id?: HexString$1;
10431
10548
  } | {
10432
10549
  kind: "Dispatched";
10433
- transaction_hash: HexString;
10550
+ transaction_hash: HexString$1;
10434
10551
  block_number: bigint;
10435
- message_id?: HexString;
10436
- commitment: HexString;
10552
+ message_id?: HexString$1;
10553
+ commitment: HexString$1;
10437
10554
  } | {
10438
10555
  kind: "Finalized";
10439
- transaction_hash: HexString;
10440
- message_id?: HexString;
10556
+ transaction_hash: HexString$1;
10557
+ message_id?: HexString$1;
10441
10558
  block_number?: bigint;
10442
- commitment?: HexString;
10559
+ commitment?: HexString$1;
10443
10560
  } | {
10444
10561
  kind: "Error";
10445
10562
  error: unknown;
@@ -10457,7 +10574,7 @@ type XcmGatewayParams = {
10457
10574
  * The recipient address on the destination chain (in hex format)
10458
10575
  * This is the EVM address that will receive the teleported assets
10459
10576
  */
10460
- recipient: HexString;
10577
+ recipient: HexString$1;
10461
10578
  /**
10462
10579
  * Amount of DOT to teleport
10463
10580
  * This will be converted to the appropriate format internally
@@ -10517,7 +10634,7 @@ type Params = {
10517
10634
  * Recipient address in hexadecimal format where the assets will be sent
10518
10635
  * on the destination chain
10519
10636
  */
10520
- recipient: HexString;
10637
+ recipient: HexString$1;
10521
10638
  /**
10522
10639
  * Amount of tokens to teleport, represented as a bigint to handle
10523
10640
  * large numeric values precisely
@@ -10581,4 +10698,4 @@ declare function teleport(teleport_param: {
10581
10698
  extrinsics?: Array<SubmittableExtrinsic<"promise", ISubmittableResult>>;
10582
10699
  }): Promise<ReadableStream<HyperbridgeTxEvents>>;
10583
10700
 
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 };
10701
+ 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 };