@hyperbridge/sdk 2.4.2 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.d.ts +109 -14
- package/dist/browser/index.js +721 -131
- package/dist/browser/index.js.map +1 -1
- package/dist/node/{IntentGatewayV2-PzbhFn_7.d.cts → IntentGatewayV2-DuSwlT02.d.cts} +80 -5
- package/dist/node/{IntentGatewayV2-PzbhFn_7.d.ts → IntentGatewayV2-DuSwlT02.d.ts} +80 -5
- package/dist/node/index.cjs +720 -129
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +32 -12
- package/dist/node/index.d.ts +32 -12
- package/dist/node/index.js +721 -131
- package/dist/node/index.js.map +1 -1
- package/dist/node/intents-helpers.cjs +518 -7
- package/dist/node/intents-helpers.cjs.map +1 -1
- package/dist/node/intents-helpers.d.cts +52 -10
- package/dist/node/intents-helpers.d.ts +52 -10
- package/dist/node/intents-helpers.js +516 -9
- package/dist/node/intents-helpers.js.map +1 -1
- package/package.json +1 -1
|
@@ -905,6 +905,10 @@ interface ChainConfigData {
|
|
|
905
905
|
USDT: string;
|
|
906
906
|
cNGN?: string;
|
|
907
907
|
EXT?: string;
|
|
908
|
+
ZARP?: string;
|
|
909
|
+
EURC?: string;
|
|
910
|
+
XSGD?: string;
|
|
911
|
+
TRYB?: string;
|
|
908
912
|
};
|
|
909
913
|
tokenDecimals?: {
|
|
910
914
|
USDC: number;
|
|
@@ -958,6 +962,8 @@ interface ChainConfigData {
|
|
|
958
962
|
UniswapV4StateView?: `0x${string}`;
|
|
959
963
|
/** Circle Paymaster contract address (USDC-based ERC-4337 paymaster) */
|
|
960
964
|
CirclePaymaster?: `0x${string}`;
|
|
965
|
+
/** SimplexPaymaster contract address (ERC-4337 paymaster accepting USDC/USDT via Chainlink pricing) */
|
|
966
|
+
SimplexPaymaster?: `0x${string}`;
|
|
961
967
|
};
|
|
962
968
|
rpcEnvKey?: string;
|
|
963
969
|
defaultRpcUrl?: string;
|
|
@@ -1003,6 +1009,13 @@ declare class ChainConfigService {
|
|
|
1003
1009
|
getUsdcDecimals(chain: string): number;
|
|
1004
1010
|
getUsdtDecimals(chain: string): number;
|
|
1005
1011
|
getCNgnAsset(chain: string): HexString | undefined;
|
|
1012
|
+
/**
|
|
1013
|
+
* Address of `symbol` on `chain` from the per-chain asset table, matched
|
|
1014
|
+
* case-insensitively ("cNGN" ≡ "CNGN"). This table is the single source of
|
|
1015
|
+
* truth for token addresses — the simplex asset registry resolves through
|
|
1016
|
+
* it, so a new asset is added once in `chain.ts` and nowhere else.
|
|
1017
|
+
*/
|
|
1018
|
+
getAssetBySymbol(chain: string, symbol: string): HexString | undefined;
|
|
1006
1019
|
getCNgnDecimals(chain: string): number | undefined;
|
|
1007
1020
|
getExtAsset(chain: string): HexString | undefined;
|
|
1008
1021
|
getExtDecimals(chain: string): number | undefined;
|
|
@@ -1033,6 +1046,7 @@ declare class ChainConfigService {
|
|
|
1033
1046
|
getPopularTokens(chain: string): string[];
|
|
1034
1047
|
getEntryPointV08Address(chain: string): HexString;
|
|
1035
1048
|
getCirclePaymasterAddress(chain: string): HexString | undefined;
|
|
1049
|
+
getSimplexPaymasterAddress(chain: string): HexString | undefined;
|
|
1036
1050
|
getHyperbridgeAddress(): string;
|
|
1037
1051
|
/**
|
|
1038
1052
|
* Get the LayerZero Endpoint ID for the chain
|
|
@@ -1330,6 +1344,23 @@ interface PhantomOrderEvent {
|
|
|
1330
1344
|
tokenB: HexString;
|
|
1331
1345
|
standardAmount: bigint;
|
|
1332
1346
|
}
|
|
1347
|
+
interface PollPhantomOrdersOptions {
|
|
1348
|
+
/** How often to check for a new head. Defaults to 6s, roughly one block. */
|
|
1349
|
+
intervalMs?: number;
|
|
1350
|
+
/**
|
|
1351
|
+
* Most blocks scanned in a single poll, so a long outage catches up over several ticks instead of
|
|
1352
|
+
* one unbounded scan. Defaults to 500.
|
|
1353
|
+
*/
|
|
1354
|
+
maxBlocksPerPoll?: number;
|
|
1355
|
+
/**
|
|
1356
|
+
* How many blocks before the current head to start from on the first poll. Defaults to 0 (start
|
|
1357
|
+
* at the head). Set this to the runtime's bid window to have a restarting process pick up orders
|
|
1358
|
+
* whose window is still open.
|
|
1359
|
+
*/
|
|
1360
|
+
lookbackBlocks?: number;
|
|
1361
|
+
/** Notified when a poll fails; polling continues regardless. */
|
|
1362
|
+
onError?: (err: unknown) => void;
|
|
1363
|
+
}
|
|
1333
1364
|
/**
|
|
1334
1365
|
* Service for interacting with Hyperbridge's pallet-intents coprocessor.
|
|
1335
1366
|
* Handles bid submission and retrieval for the IntentGatewayV2 protocol.
|
|
@@ -1474,11 +1505,26 @@ declare class IntentsCoprocessor {
|
|
|
1474
1505
|
*/
|
|
1475
1506
|
fetchPhantomOrder(commitment: HexString): Promise<Order | null>;
|
|
1476
1507
|
/**
|
|
1477
|
-
*
|
|
1478
|
-
* Calls the callback for each new phantom order as blocks arrive.
|
|
1479
|
-
* Returns an unsubscribe function to stop the subscription.
|
|
1508
|
+
* Reads the PhantomOrderRegistered events emitted in a single block.
|
|
1480
1509
|
*/
|
|
1481
|
-
|
|
1510
|
+
getPhantomOrdersInBlock(blockNumber: number): Promise<PhantomOrderEvent[]>;
|
|
1511
|
+
/**
|
|
1512
|
+
* Polls for newly registered phantom orders, invoking the callback once per order.
|
|
1513
|
+
*
|
|
1514
|
+
* Each tick reads the current head and scans every block between the last one processed and that
|
|
1515
|
+
* head, so the block cursor — not the connection — determines what has been seen. This replaced a
|
|
1516
|
+
* system.events subscription, which was only as reliable as its socket: polkadot-js reconnects
|
|
1517
|
+
* the transport but does not reliably re-establish storage subscriptions, and anything emitted
|
|
1518
|
+
* while disconnected was lost silently. With a bid window measured in a handful of blocks, that
|
|
1519
|
+
* meant silently missed bids.
|
|
1520
|
+
*
|
|
1521
|
+
* Scanning a block range is gap-free rather than merely self-healing: an outage delays orders but
|
|
1522
|
+
* cannot drop them, because the cursor only advances past a block whose events were actually
|
|
1523
|
+
* read. Recovery replays the backlog.
|
|
1524
|
+
*
|
|
1525
|
+
* Returns a function that stops polling.
|
|
1526
|
+
*/
|
|
1527
|
+
pollPhantomOrders(callback: (event: PhantomOrderEvent) => void, options?: PollPhantomOrdersOptions): () => void;
|
|
1482
1528
|
}
|
|
1483
1529
|
|
|
1484
1530
|
/**
|
|
@@ -1751,6 +1797,8 @@ interface RetryConfig {
|
|
|
1751
1797
|
backoffMs: number;
|
|
1752
1798
|
logMessage?: string;
|
|
1753
1799
|
logger?: ConsolaInstance;
|
|
1800
|
+
/** Return false to stop retrying and immediately rethrow the error. */
|
|
1801
|
+
shouldRetry?: (error: unknown) => boolean;
|
|
1754
1802
|
}
|
|
1755
1803
|
interface IsmpRequest {
|
|
1756
1804
|
source: string;
|
|
@@ -2616,6 +2664,26 @@ interface PhantomOrderPriceSnapshotsResponse {
|
|
|
2616
2664
|
}>;
|
|
2617
2665
|
};
|
|
2618
2666
|
}
|
|
2667
|
+
/**
|
|
2668
|
+
* Total solver liquidity measured at one immutable Phantom price snapshot.
|
|
2669
|
+
*
|
|
2670
|
+
* Liquidity amounts are decimal strings formatted with the configured decimals
|
|
2671
|
+
* for their respective `tokenAddress` and chain.
|
|
2672
|
+
*/
|
|
2673
|
+
interface AvailableLiquiditySnapshot {
|
|
2674
|
+
totalLiquidity: string;
|
|
2675
|
+
providerCount: number;
|
|
2676
|
+
tokenAddress: HexString;
|
|
2677
|
+
snapshotTime: Date;
|
|
2678
|
+
liquidityByChain: AvailableLiquidityByChain[];
|
|
2679
|
+
}
|
|
2680
|
+
/** Liquidity for one chain/token balance group in an availability snapshot. */
|
|
2681
|
+
interface AvailableLiquidityByChain {
|
|
2682
|
+
chain: string;
|
|
2683
|
+
tokenAddress: HexString;
|
|
2684
|
+
totalLiquidity: string;
|
|
2685
|
+
providerCount: number;
|
|
2686
|
+
}
|
|
2619
2687
|
interface TokenPrice {
|
|
2620
2688
|
symbol: string;
|
|
2621
2689
|
address?: string;
|
|
@@ -2773,6 +2841,13 @@ interface FillOrderEstimate {
|
|
|
2773
2841
|
maxPriorityFeePerGas: bigint;
|
|
2774
2842
|
totalGasCostWei: bigint;
|
|
2775
2843
|
totalGasInFeeToken: bigint;
|
|
2844
|
+
/**
|
|
2845
|
+
* Relayer fee for the cross-chain settlement message, denominated in the
|
|
2846
|
+
* SOURCE fee token (same unit as `Order.fees`). This is `RELAYER_MESSAGE_GAS`
|
|
2847
|
+
* priced on the source chain; it is 0 for same-chain fills. A filler's
|
|
2848
|
+
* `order.fees` must cover `totalGasInFeeToken + relayerFeeInSourceFeeToken`.
|
|
2849
|
+
*/
|
|
2850
|
+
relayerFeeInSourceFeeToken: bigint;
|
|
2776
2851
|
}
|
|
2777
2852
|
/**
|
|
2778
2853
|
* Result of submitting a bid to Hyperbridge
|
|
@@ -5785,4 +5860,4 @@ declare const _default: {
|
|
|
5785
5860
|
}];
|
|
5786
5861
|
};
|
|
5787
5862
|
|
|
5788
|
-
export { type
|
|
5863
|
+
export { type BidSubmissionResult as $, type AssetTeleported as A, type Bid as B, ChainConfigService as C, type EstimateFillOrderParams as D, type EstimateGasCallData as E, type FillerBid as F, type GetRequestWithStatus as G, type HexString as H, type IChain as I, type FillOrderEstimate as J, type ERC7821Call as K, type OrderWithStatus as L, OrderStatus as M, type TokenGatewayAssetTeleportedWithStatus as N, type Order as O, type PostRequestWithStatus as P, TeleportStatus as Q, type RetryConfig as R, type StateMachineIdParams as S, type Transaction as T, type DecodedOrderPlacedLog as U, type DecodedPostRequestEvent as V, type DecodedPostResponseEvent as W, type AllStatusKey as X, type AssetTeleportedResponse as Y, type AvailableLiquidityByChain as Z, type BidStorageEntry as _, type IEvmConfig as a, chainConfigs as a$, type BlockMetadata as a0, type BytesLikeHex as a1, type CancelOptions as a2, type ChainConfig as a3, type ChainConfigData as a4, Chains as a5, type ConfiguredAssetSymbol as a6, type Deployment as a7, type DispatchGet as a8, type DispatchInfo as a9, type IsmpRequest as aA, type OrderResponse as aB, type OrderStatusMetadata as aC, type PaymentInfo as aD, type PhantomOrderEvent as aE, type PhantomOrderPriceSnapshot as aF, type PhantomOrderPriceSnapshotsResponse as aG, type PollPhantomOrdersOptions as aH, type PostRequestStatus as aI, type RequestBody as aJ, type RequestCommitment as aK, RequestKind as aL, type RequestResponse as aM, RequestStatus as aN, type RequestStatusKey as aO, type SelectOptions as aP, type SigningAccount as aQ, type StateMachineId as aR, type StateMachineResponse as aS, type StorageFacade as aT, TimeoutStatus as aU, type TimeoutStatusKey as aV, type TokenGatewayAssetTeleportedResponse as aW, type TokenInfo as aX, type TokenPrice as aY, type TokenPricesResponse as aZ, type UniswapV4PoolConfigData as a_, type DispatchPost as aa, type ExecuteIntentOrderOptions as ab, type ExecutionResult as ac, type FillOptions as ad, type FillerConfig as ae, type GetRequestResponse as af, type GetResponseByRequestIdResponse as ag, type GetResponseStorageValues as ah, type HostParams as ai, HyperClientStatus as aj, type IBatchConsensusAndGetResponseMessage as ak, type IBatchConsensusAndPostRequestMessage as al, type IConfig as am, type IConsensusMessage as an, type IGetRequestMessage as ao, type IGetResponse as ap, type IGetResponseMessage as aq, type IHyperbridgeConfig as ar, type IPostResponse as as, type IRequestMessage as at, type ISubstrateConfig as au, type ITimeoutPostRequestMessage as av, ABI as aw, type IntentGatewayParams as ax, IntentOrderStatus as ay, type IntentOrderStatusKey as az, type IMessage as b, convertCodecToIGetRequest as b0, convertCodecToIProof as b1, convertIGetRequestToCodec as b2, convertIProofToCodec as b3, convertStateIdToStateMachineId as b4, convertStateMachineEnumToString as b5, convertStateMachineIdToEnum as b6, decodeERC7821ExecuteBatch as b7, decodeUserOpScale as b8, encodeERC7821ExecuteBatch as b9, encodeISMPMessage as ba, encodeUserOpScale as bb, getChainId as bc, getConfigByStateMachineId as bd, getViemChain as be, hyperbridgeAddress as bf, pharosAtlantic as bg, pharosMainnet as bh, polkadotAssetHubPaseo as bi, polkadotHubMainnet as bj, tronChainIds as bk, tronNile as bl, _default as bm, type StateMachineHeight as c, type IIsmpMessage as d, type IPostRequest as e, type IGetRequest as f, type IPolkadotHubConfig as g, type IPharosConfig as h, type StateMachineUpdate as i, type ResponseCommitmentWithValues as j, type RequestStatusWithMetadata as k, type PostRequestTimeoutStatus as l, SubstrateChain as m, type ClientConfig as n, type IndexerQueryClient as o, type IProof as p, type IEvmChain as q, IntentsCoprocessor as r, type AvailableLiquiditySnapshot as s, type IntentOrderStatusUpdate as t, type SelectBidResult as u, type ResumeIntentOrderOptions as v, type CancelOrderOptions as w, type CancelQuote as x, type SubmitBidOptions as y, type PackedUserOperation as z };
|
|
@@ -905,6 +905,10 @@ interface ChainConfigData {
|
|
|
905
905
|
USDT: string;
|
|
906
906
|
cNGN?: string;
|
|
907
907
|
EXT?: string;
|
|
908
|
+
ZARP?: string;
|
|
909
|
+
EURC?: string;
|
|
910
|
+
XSGD?: string;
|
|
911
|
+
TRYB?: string;
|
|
908
912
|
};
|
|
909
913
|
tokenDecimals?: {
|
|
910
914
|
USDC: number;
|
|
@@ -958,6 +962,8 @@ interface ChainConfigData {
|
|
|
958
962
|
UniswapV4StateView?: `0x${string}`;
|
|
959
963
|
/** Circle Paymaster contract address (USDC-based ERC-4337 paymaster) */
|
|
960
964
|
CirclePaymaster?: `0x${string}`;
|
|
965
|
+
/** SimplexPaymaster contract address (ERC-4337 paymaster accepting USDC/USDT via Chainlink pricing) */
|
|
966
|
+
SimplexPaymaster?: `0x${string}`;
|
|
961
967
|
};
|
|
962
968
|
rpcEnvKey?: string;
|
|
963
969
|
defaultRpcUrl?: string;
|
|
@@ -1003,6 +1009,13 @@ declare class ChainConfigService {
|
|
|
1003
1009
|
getUsdcDecimals(chain: string): number;
|
|
1004
1010
|
getUsdtDecimals(chain: string): number;
|
|
1005
1011
|
getCNgnAsset(chain: string): HexString | undefined;
|
|
1012
|
+
/**
|
|
1013
|
+
* Address of `symbol` on `chain` from the per-chain asset table, matched
|
|
1014
|
+
* case-insensitively ("cNGN" ≡ "CNGN"). This table is the single source of
|
|
1015
|
+
* truth for token addresses — the simplex asset registry resolves through
|
|
1016
|
+
* it, so a new asset is added once in `chain.ts` and nowhere else.
|
|
1017
|
+
*/
|
|
1018
|
+
getAssetBySymbol(chain: string, symbol: string): HexString | undefined;
|
|
1006
1019
|
getCNgnDecimals(chain: string): number | undefined;
|
|
1007
1020
|
getExtAsset(chain: string): HexString | undefined;
|
|
1008
1021
|
getExtDecimals(chain: string): number | undefined;
|
|
@@ -1033,6 +1046,7 @@ declare class ChainConfigService {
|
|
|
1033
1046
|
getPopularTokens(chain: string): string[];
|
|
1034
1047
|
getEntryPointV08Address(chain: string): HexString;
|
|
1035
1048
|
getCirclePaymasterAddress(chain: string): HexString | undefined;
|
|
1049
|
+
getSimplexPaymasterAddress(chain: string): HexString | undefined;
|
|
1036
1050
|
getHyperbridgeAddress(): string;
|
|
1037
1051
|
/**
|
|
1038
1052
|
* Get the LayerZero Endpoint ID for the chain
|
|
@@ -1330,6 +1344,23 @@ interface PhantomOrderEvent {
|
|
|
1330
1344
|
tokenB: HexString;
|
|
1331
1345
|
standardAmount: bigint;
|
|
1332
1346
|
}
|
|
1347
|
+
interface PollPhantomOrdersOptions {
|
|
1348
|
+
/** How often to check for a new head. Defaults to 6s, roughly one block. */
|
|
1349
|
+
intervalMs?: number;
|
|
1350
|
+
/**
|
|
1351
|
+
* Most blocks scanned in a single poll, so a long outage catches up over several ticks instead of
|
|
1352
|
+
* one unbounded scan. Defaults to 500.
|
|
1353
|
+
*/
|
|
1354
|
+
maxBlocksPerPoll?: number;
|
|
1355
|
+
/**
|
|
1356
|
+
* How many blocks before the current head to start from on the first poll. Defaults to 0 (start
|
|
1357
|
+
* at the head). Set this to the runtime's bid window to have a restarting process pick up orders
|
|
1358
|
+
* whose window is still open.
|
|
1359
|
+
*/
|
|
1360
|
+
lookbackBlocks?: number;
|
|
1361
|
+
/** Notified when a poll fails; polling continues regardless. */
|
|
1362
|
+
onError?: (err: unknown) => void;
|
|
1363
|
+
}
|
|
1333
1364
|
/**
|
|
1334
1365
|
* Service for interacting with Hyperbridge's pallet-intents coprocessor.
|
|
1335
1366
|
* Handles bid submission and retrieval for the IntentGatewayV2 protocol.
|
|
@@ -1474,11 +1505,26 @@ declare class IntentsCoprocessor {
|
|
|
1474
1505
|
*/
|
|
1475
1506
|
fetchPhantomOrder(commitment: HexString): Promise<Order | null>;
|
|
1476
1507
|
/**
|
|
1477
|
-
*
|
|
1478
|
-
* Calls the callback for each new phantom order as blocks arrive.
|
|
1479
|
-
* Returns an unsubscribe function to stop the subscription.
|
|
1508
|
+
* Reads the PhantomOrderRegistered events emitted in a single block.
|
|
1480
1509
|
*/
|
|
1481
|
-
|
|
1510
|
+
getPhantomOrdersInBlock(blockNumber: number): Promise<PhantomOrderEvent[]>;
|
|
1511
|
+
/**
|
|
1512
|
+
* Polls for newly registered phantom orders, invoking the callback once per order.
|
|
1513
|
+
*
|
|
1514
|
+
* Each tick reads the current head and scans every block between the last one processed and that
|
|
1515
|
+
* head, so the block cursor — not the connection — determines what has been seen. This replaced a
|
|
1516
|
+
* system.events subscription, which was only as reliable as its socket: polkadot-js reconnects
|
|
1517
|
+
* the transport but does not reliably re-establish storage subscriptions, and anything emitted
|
|
1518
|
+
* while disconnected was lost silently. With a bid window measured in a handful of blocks, that
|
|
1519
|
+
* meant silently missed bids.
|
|
1520
|
+
*
|
|
1521
|
+
* Scanning a block range is gap-free rather than merely self-healing: an outage delays orders but
|
|
1522
|
+
* cannot drop them, because the cursor only advances past a block whose events were actually
|
|
1523
|
+
* read. Recovery replays the backlog.
|
|
1524
|
+
*
|
|
1525
|
+
* Returns a function that stops polling.
|
|
1526
|
+
*/
|
|
1527
|
+
pollPhantomOrders(callback: (event: PhantomOrderEvent) => void, options?: PollPhantomOrdersOptions): () => void;
|
|
1482
1528
|
}
|
|
1483
1529
|
|
|
1484
1530
|
/**
|
|
@@ -1751,6 +1797,8 @@ interface RetryConfig {
|
|
|
1751
1797
|
backoffMs: number;
|
|
1752
1798
|
logMessage?: string;
|
|
1753
1799
|
logger?: ConsolaInstance;
|
|
1800
|
+
/** Return false to stop retrying and immediately rethrow the error. */
|
|
1801
|
+
shouldRetry?: (error: unknown) => boolean;
|
|
1754
1802
|
}
|
|
1755
1803
|
interface IsmpRequest {
|
|
1756
1804
|
source: string;
|
|
@@ -2616,6 +2664,26 @@ interface PhantomOrderPriceSnapshotsResponse {
|
|
|
2616
2664
|
}>;
|
|
2617
2665
|
};
|
|
2618
2666
|
}
|
|
2667
|
+
/**
|
|
2668
|
+
* Total solver liquidity measured at one immutable Phantom price snapshot.
|
|
2669
|
+
*
|
|
2670
|
+
* Liquidity amounts are decimal strings formatted with the configured decimals
|
|
2671
|
+
* for their respective `tokenAddress` and chain.
|
|
2672
|
+
*/
|
|
2673
|
+
interface AvailableLiquiditySnapshot {
|
|
2674
|
+
totalLiquidity: string;
|
|
2675
|
+
providerCount: number;
|
|
2676
|
+
tokenAddress: HexString;
|
|
2677
|
+
snapshotTime: Date;
|
|
2678
|
+
liquidityByChain: AvailableLiquidityByChain[];
|
|
2679
|
+
}
|
|
2680
|
+
/** Liquidity for one chain/token balance group in an availability snapshot. */
|
|
2681
|
+
interface AvailableLiquidityByChain {
|
|
2682
|
+
chain: string;
|
|
2683
|
+
tokenAddress: HexString;
|
|
2684
|
+
totalLiquidity: string;
|
|
2685
|
+
providerCount: number;
|
|
2686
|
+
}
|
|
2619
2687
|
interface TokenPrice {
|
|
2620
2688
|
symbol: string;
|
|
2621
2689
|
address?: string;
|
|
@@ -2773,6 +2841,13 @@ interface FillOrderEstimate {
|
|
|
2773
2841
|
maxPriorityFeePerGas: bigint;
|
|
2774
2842
|
totalGasCostWei: bigint;
|
|
2775
2843
|
totalGasInFeeToken: bigint;
|
|
2844
|
+
/**
|
|
2845
|
+
* Relayer fee for the cross-chain settlement message, denominated in the
|
|
2846
|
+
* SOURCE fee token (same unit as `Order.fees`). This is `RELAYER_MESSAGE_GAS`
|
|
2847
|
+
* priced on the source chain; it is 0 for same-chain fills. A filler's
|
|
2848
|
+
* `order.fees` must cover `totalGasInFeeToken + relayerFeeInSourceFeeToken`.
|
|
2849
|
+
*/
|
|
2850
|
+
relayerFeeInSourceFeeToken: bigint;
|
|
2776
2851
|
}
|
|
2777
2852
|
/**
|
|
2778
2853
|
* Result of submitting a bid to Hyperbridge
|
|
@@ -5785,4 +5860,4 @@ declare const _default: {
|
|
|
5785
5860
|
}];
|
|
5786
5861
|
};
|
|
5787
5862
|
|
|
5788
|
-
export { type
|
|
5863
|
+
export { type BidSubmissionResult as $, type AssetTeleported as A, type Bid as B, ChainConfigService as C, type EstimateFillOrderParams as D, type EstimateGasCallData as E, type FillerBid as F, type GetRequestWithStatus as G, type HexString as H, type IChain as I, type FillOrderEstimate as J, type ERC7821Call as K, type OrderWithStatus as L, OrderStatus as M, type TokenGatewayAssetTeleportedWithStatus as N, type Order as O, type PostRequestWithStatus as P, TeleportStatus as Q, type RetryConfig as R, type StateMachineIdParams as S, type Transaction as T, type DecodedOrderPlacedLog as U, type DecodedPostRequestEvent as V, type DecodedPostResponseEvent as W, type AllStatusKey as X, type AssetTeleportedResponse as Y, type AvailableLiquidityByChain as Z, type BidStorageEntry as _, type IEvmConfig as a, chainConfigs as a$, type BlockMetadata as a0, type BytesLikeHex as a1, type CancelOptions as a2, type ChainConfig as a3, type ChainConfigData as a4, Chains as a5, type ConfiguredAssetSymbol as a6, type Deployment as a7, type DispatchGet as a8, type DispatchInfo as a9, type IsmpRequest as aA, type OrderResponse as aB, type OrderStatusMetadata as aC, type PaymentInfo as aD, type PhantomOrderEvent as aE, type PhantomOrderPriceSnapshot as aF, type PhantomOrderPriceSnapshotsResponse as aG, type PollPhantomOrdersOptions as aH, type PostRequestStatus as aI, type RequestBody as aJ, type RequestCommitment as aK, RequestKind as aL, type RequestResponse as aM, RequestStatus as aN, type RequestStatusKey as aO, type SelectOptions as aP, type SigningAccount as aQ, type StateMachineId as aR, type StateMachineResponse as aS, type StorageFacade as aT, TimeoutStatus as aU, type TimeoutStatusKey as aV, type TokenGatewayAssetTeleportedResponse as aW, type TokenInfo as aX, type TokenPrice as aY, type TokenPricesResponse as aZ, type UniswapV4PoolConfigData as a_, type DispatchPost as aa, type ExecuteIntentOrderOptions as ab, type ExecutionResult as ac, type FillOptions as ad, type FillerConfig as ae, type GetRequestResponse as af, type GetResponseByRequestIdResponse as ag, type GetResponseStorageValues as ah, type HostParams as ai, HyperClientStatus as aj, type IBatchConsensusAndGetResponseMessage as ak, type IBatchConsensusAndPostRequestMessage as al, type IConfig as am, type IConsensusMessage as an, type IGetRequestMessage as ao, type IGetResponse as ap, type IGetResponseMessage as aq, type IHyperbridgeConfig as ar, type IPostResponse as as, type IRequestMessage as at, type ISubstrateConfig as au, type ITimeoutPostRequestMessage as av, ABI as aw, type IntentGatewayParams as ax, IntentOrderStatus as ay, type IntentOrderStatusKey as az, type IMessage as b, convertCodecToIGetRequest as b0, convertCodecToIProof as b1, convertIGetRequestToCodec as b2, convertIProofToCodec as b3, convertStateIdToStateMachineId as b4, convertStateMachineEnumToString as b5, convertStateMachineIdToEnum as b6, decodeERC7821ExecuteBatch as b7, decodeUserOpScale as b8, encodeERC7821ExecuteBatch as b9, encodeISMPMessage as ba, encodeUserOpScale as bb, getChainId as bc, getConfigByStateMachineId as bd, getViemChain as be, hyperbridgeAddress as bf, pharosAtlantic as bg, pharosMainnet as bh, polkadotAssetHubPaseo as bi, polkadotHubMainnet as bj, tronChainIds as bk, tronNile as bl, _default as bm, type StateMachineHeight as c, type IIsmpMessage as d, type IPostRequest as e, type IGetRequest as f, type IPolkadotHubConfig as g, type IPharosConfig as h, type StateMachineUpdate as i, type ResponseCommitmentWithValues as j, type RequestStatusWithMetadata as k, type PostRequestTimeoutStatus as l, SubstrateChain as m, type ClientConfig as n, type IndexerQueryClient as o, type IProof as p, type IEvmChain as q, IntentsCoprocessor as r, type AvailableLiquiditySnapshot as s, type IntentOrderStatusUpdate as t, type SelectBidResult as u, type ResumeIntentOrderOptions as v, type CancelOrderOptions as w, type CancelQuote as x, type SubmitBidOptions as y, type PackedUserOperation as z };
|