@hyperbridge/sdk 1.9.5 → 1.9.6
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 +211 -5
- package/dist/browser/index.js +359 -5
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.d.ts +211 -5
- package/dist/node/index.js +359 -5
- package/dist/node/index.js.map +1 -1
- package/package.json +1 -1
package/dist/node/index.d.ts
CHANGED
|
@@ -1613,6 +1613,94 @@ declare class PolkadotHubChain implements IChain {
|
|
|
1613
1613
|
getTransactionReceipt(hash: HexString): Promise<TransactionReceipt>;
|
|
1614
1614
|
}
|
|
1615
1615
|
|
|
1616
|
+
/**
|
|
1617
|
+
* Chain parameters for a Pharos EVM chain. Pharos reuses the EVM JSON-RPC
|
|
1618
|
+
* surface for reads, writes and host queries — proof fetching is the only
|
|
1619
|
+
* place where the Pharos client deviates from a standard EVM chain.
|
|
1620
|
+
*/
|
|
1621
|
+
type PharosChainParams = EvmChainParams;
|
|
1622
|
+
/**
|
|
1623
|
+
* Pharos EVM chain client.
|
|
1624
|
+
*
|
|
1625
|
+
* Delegates every standard EVM interaction to {@link EvmChain} and overrides
|
|
1626
|
+
* {@link PharosChain.queryProof} / {@link PharosChain.queryStateProof} to speak
|
|
1627
|
+
* Pharos's custom `eth_getProof` response format — mirroring the Rust
|
|
1628
|
+
* `tesseract-messaging-pharos-evm` client.
|
|
1629
|
+
*/
|
|
1630
|
+
declare class PharosChain implements IChain {
|
|
1631
|
+
private readonly params;
|
|
1632
|
+
private readonly evm;
|
|
1633
|
+
private readonly rpc;
|
|
1634
|
+
static fromParams(params: PharosChainParams): PharosChain;
|
|
1635
|
+
/**
|
|
1636
|
+
* Creates a `PharosChain` by auto-detecting the EVM chain ID and `IsmpHost`
|
|
1637
|
+
* address via {@link EvmChain.create}.
|
|
1638
|
+
*
|
|
1639
|
+
* @param rpcUrl - HTTP(S) JSON-RPC URL of the Pharos node
|
|
1640
|
+
* @param bundlerUrl - Optional ERC-4337 bundler URL forwarded to `EvmChain.create`
|
|
1641
|
+
*/
|
|
1642
|
+
static create(rpcUrl: string, bundlerUrl?: string): Promise<PharosChain>;
|
|
1643
|
+
private constructor();
|
|
1644
|
+
get client(): PublicClient;
|
|
1645
|
+
get host(): HexString;
|
|
1646
|
+
get bundlerUrl(): string | undefined;
|
|
1647
|
+
get configService(): ChainConfigService;
|
|
1648
|
+
get config(): IPharosConfig;
|
|
1649
|
+
private hostAddress;
|
|
1650
|
+
/**
|
|
1651
|
+
* Fetch a storage proof for `slotKeys` under `address` at the given block and
|
|
1652
|
+
* merge the response into the supplied accumulator. Mirrors the membership
|
|
1653
|
+
* proof path of `PharosEvmClient::fetch_pharos_proof` on the Rust side.
|
|
1654
|
+
*/
|
|
1655
|
+
private fetchStorageProofInto;
|
|
1656
|
+
/**
|
|
1657
|
+
* Fetch an account proof (no storage keys) at the given block and record it on
|
|
1658
|
+
* the accumulator. Mirrors `PharosEvmClient::fetch_account_proof`.
|
|
1659
|
+
*/
|
|
1660
|
+
private fetchAccountProofInto;
|
|
1661
|
+
timestamp(): Promise<bigint>;
|
|
1662
|
+
requestReceiptKey(commitment: HexString): HexString;
|
|
1663
|
+
queryRequestReceipt(commitment: HexString): Promise<HexString | undefined>;
|
|
1664
|
+
/**
|
|
1665
|
+
* Query a Pharos state proof for the request/response commitments in `message`.
|
|
1666
|
+
*
|
|
1667
|
+
* Mirrors `PharosEvmClient::query_requests_proof` / `query_responses_proof`:
|
|
1668
|
+
* for every commitment we derive the second storage slot (`slot1` from
|
|
1669
|
+
* {@link requestCommitmentKey} / {@link responseCommitmentKey}) and request it
|
|
1670
|
+
* from the ISMP host via `eth_getProof`.
|
|
1671
|
+
*/
|
|
1672
|
+
queryProof(message: IMessage, _counterparty: string, at?: bigint): Promise<HexString>;
|
|
1673
|
+
/**
|
|
1674
|
+
* Query a Pharos state proof for arbitrary keys.
|
|
1675
|
+
*
|
|
1676
|
+
* Supports the same key shapes as `PharosEvmClient::query_state_proof`:
|
|
1677
|
+
* - 32-byte keys: ISMP host storage slots
|
|
1678
|
+
* - 52-byte keys: `address (20) || slot (32)` grouped by contract
|
|
1679
|
+
* - 20-byte keys: account queries (proves the account leaf itself)
|
|
1680
|
+
*
|
|
1681
|
+
* If `address` is provided, all keys are treated as 32-byte slots under that
|
|
1682
|
+
* contract (matching the `EvmChain.queryStateProof` contract-override shape).
|
|
1683
|
+
*/
|
|
1684
|
+
queryStateProof(at: bigint, keys: HexString[], address?: HexString): Promise<HexString>;
|
|
1685
|
+
encode(message: IIsmpMessage): HexString;
|
|
1686
|
+
latestStateMachineHeight(stateMachineId: StateMachineIdParams): Promise<bigint>;
|
|
1687
|
+
challengePeriod(stateMachineId: StateMachineIdParams): Promise<bigint>;
|
|
1688
|
+
stateMachineUpdateTime(stateMachineHeight: StateMachineHeight): Promise<bigint>;
|
|
1689
|
+
getHostNonce(): Promise<bigint>;
|
|
1690
|
+
quoteNative(request: IPostRequest | IGetRequest, fee: bigint): Promise<bigint>;
|
|
1691
|
+
getFeeTokenWithDecimals(): Promise<{
|
|
1692
|
+
address: HexString;
|
|
1693
|
+
decimals: number;
|
|
1694
|
+
}>;
|
|
1695
|
+
getPlaceOrderCalldata(txHash: string, intentGatewayAddress: string): Promise<HexString>;
|
|
1696
|
+
estimateGas(request: IPostRequest): Promise<{
|
|
1697
|
+
gas: bigint;
|
|
1698
|
+
postRequestCalldata: HexString;
|
|
1699
|
+
}>;
|
|
1700
|
+
broadcastTransaction(signedTransaction: HexString): Promise<TransactionReceipt>;
|
|
1701
|
+
getTransactionReceipt(hash: HexString): Promise<TransactionReceipt>;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1616
1704
|
/**
|
|
1617
1705
|
* Type representing an ISMP message.
|
|
1618
1706
|
*/
|
|
@@ -1724,7 +1812,7 @@ interface IChain {
|
|
|
1724
1812
|
/**
|
|
1725
1813
|
* Returns the configuration for this chain
|
|
1726
1814
|
*/
|
|
1727
|
-
get config(): IEvmConfig | ISubstrateConfig | IPolkadotHubConfig;
|
|
1815
|
+
get config(): IEvmConfig | ISubstrateConfig | IPolkadotHubConfig | IPharosConfig;
|
|
1728
1816
|
timestamp(): Promise<bigint>;
|
|
1729
1817
|
/**
|
|
1730
1818
|
* Returns the state trie key for the request-receipt storage item for the given request commitment.
|
|
@@ -1776,8 +1864,8 @@ interface IEvmChain extends IChain {
|
|
|
1776
1864
|
type EstimateGasCallData = ContractFunctionArgs<typeof _default.ABI, "nonpayable" | "payable", "handlePostRequests">;
|
|
1777
1865
|
type HexString = `0x${string}`;
|
|
1778
1866
|
interface IConfig {
|
|
1779
|
-
source: IEvmConfig | ISubstrateConfig | IPolkadotHubConfig;
|
|
1780
|
-
dest: IEvmConfig | ISubstrateConfig | IPolkadotHubConfig;
|
|
1867
|
+
source: IEvmConfig | ISubstrateConfig | IPolkadotHubConfig | IPharosConfig;
|
|
1868
|
+
dest: IEvmConfig | ISubstrateConfig | IPolkadotHubConfig | IPharosConfig;
|
|
1781
1869
|
hyperbridge: IHyperbridgeConfig;
|
|
1782
1870
|
tracing?: boolean;
|
|
1783
1871
|
}
|
|
@@ -1794,6 +1882,14 @@ interface IEvmConfig {
|
|
|
1794
1882
|
interface IPolkadotHubConfig extends IEvmConfig {
|
|
1795
1883
|
substrateRpcUrl: string;
|
|
1796
1884
|
}
|
|
1885
|
+
/**
|
|
1886
|
+
* Pharos EVM chain — same as {@link IEvmConfig}. Pharos uses a non-standard
|
|
1887
|
+
* `eth_getProof` response format (hexary hash tree proof nodes with offsets plus
|
|
1888
|
+
* SHA-256 hashing), so proof fetching is handled by the Pharos-specific chain
|
|
1889
|
+
* client rather than viem's standard `getProof`.
|
|
1890
|
+
*/
|
|
1891
|
+
interface IPharosConfig extends IEvmConfig {
|
|
1892
|
+
}
|
|
1797
1893
|
interface ISubstrateConfig {
|
|
1798
1894
|
wsUrl: string;
|
|
1799
1895
|
consensusStateId: string;
|
|
@@ -8006,7 +8102,9 @@ declare enum Chains {
|
|
|
8006
8102
|
POLYGON_AMOY = "EVM-80002",
|
|
8007
8103
|
POLKADOT_ASSET_HUB_PASEO = "EVM-420420417",
|
|
8008
8104
|
TRON_MAINNET = "EVM-728126428",
|
|
8009
|
-
TRON_NILE = "EVM-3448148188"
|
|
8105
|
+
TRON_NILE = "EVM-3448148188",
|
|
8106
|
+
PHAROS_MAINNET = "EVM-688600",
|
|
8107
|
+
PHAROS_ATLANTIC = "EVM-688689"
|
|
8010
8108
|
}
|
|
8011
8109
|
/** Polkadot Asset Hub Paseo testnet (chain ID 420420417) — not in viem/chains */
|
|
8012
8110
|
declare const polkadotAssetHubPaseo: {
|
|
@@ -8056,6 +8154,114 @@ declare const polkadotAssetHubPaseo: {
|
|
|
8056
8154
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
8057
8155
|
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
8058
8156
|
};
|
|
8157
|
+
/** Pharos Mainnet (chain ID 688600) — not in viem/chains */
|
|
8158
|
+
declare const pharosMainnet: {
|
|
8159
|
+
blockExplorers?: {
|
|
8160
|
+
[key: string]: {
|
|
8161
|
+
name: string;
|
|
8162
|
+
url: string;
|
|
8163
|
+
apiUrl?: string | undefined;
|
|
8164
|
+
};
|
|
8165
|
+
default: {
|
|
8166
|
+
name: string;
|
|
8167
|
+
url: string;
|
|
8168
|
+
apiUrl?: string | undefined;
|
|
8169
|
+
};
|
|
8170
|
+
} | undefined | undefined;
|
|
8171
|
+
blockTime?: number | undefined | undefined;
|
|
8172
|
+
contracts?: {
|
|
8173
|
+
[x: string]: viem.ChainContract | {
|
|
8174
|
+
[sourceId: number]: viem.ChainContract | undefined;
|
|
8175
|
+
} | undefined;
|
|
8176
|
+
ensRegistry?: viem.ChainContract | undefined;
|
|
8177
|
+
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
8178
|
+
multicall3?: viem.ChainContract | undefined;
|
|
8179
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
8180
|
+
} | undefined;
|
|
8181
|
+
ensTlds?: readonly string[] | undefined;
|
|
8182
|
+
id: 688600;
|
|
8183
|
+
name: "Pharos Mainnet";
|
|
8184
|
+
nativeCurrency: {
|
|
8185
|
+
readonly name: "PHRS";
|
|
8186
|
+
readonly symbol: "PHRS";
|
|
8187
|
+
readonly decimals: 18;
|
|
8188
|
+
};
|
|
8189
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
8190
|
+
rpcUrls: {
|
|
8191
|
+
readonly default: {
|
|
8192
|
+
readonly http: readonly ["https://atlantic.dplabs-internal.com"];
|
|
8193
|
+
};
|
|
8194
|
+
};
|
|
8195
|
+
sourceId?: number | undefined | undefined;
|
|
8196
|
+
testnet?: boolean | undefined | undefined;
|
|
8197
|
+
custom?: Record<string, unknown> | undefined;
|
|
8198
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
8199
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
8200
|
+
formatters?: undefined;
|
|
8201
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8202
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8203
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8204
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8205
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
8206
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
8207
|
+
}] | undefined;
|
|
8208
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
8209
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
8210
|
+
};
|
|
8211
|
+
/** Pharos Atlantic Testnet (chain ID 688689) — not in viem/chains */
|
|
8212
|
+
declare const pharosAtlantic: {
|
|
8213
|
+
blockExplorers?: {
|
|
8214
|
+
[key: string]: {
|
|
8215
|
+
name: string;
|
|
8216
|
+
url: string;
|
|
8217
|
+
apiUrl?: string | undefined;
|
|
8218
|
+
};
|
|
8219
|
+
default: {
|
|
8220
|
+
name: string;
|
|
8221
|
+
url: string;
|
|
8222
|
+
apiUrl?: string | undefined;
|
|
8223
|
+
};
|
|
8224
|
+
} | undefined | undefined;
|
|
8225
|
+
blockTime?: number | undefined | undefined;
|
|
8226
|
+
contracts?: {
|
|
8227
|
+
[x: string]: viem.ChainContract | {
|
|
8228
|
+
[sourceId: number]: viem.ChainContract | undefined;
|
|
8229
|
+
} | undefined;
|
|
8230
|
+
ensRegistry?: viem.ChainContract | undefined;
|
|
8231
|
+
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
8232
|
+
multicall3?: viem.ChainContract | undefined;
|
|
8233
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
8234
|
+
} | undefined;
|
|
8235
|
+
ensTlds?: readonly string[] | undefined;
|
|
8236
|
+
id: 688689;
|
|
8237
|
+
name: "Pharos Atlantic Testnet";
|
|
8238
|
+
nativeCurrency: {
|
|
8239
|
+
readonly name: "PHRS";
|
|
8240
|
+
readonly symbol: "PHRS";
|
|
8241
|
+
readonly decimals: 18;
|
|
8242
|
+
};
|
|
8243
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
8244
|
+
rpcUrls: {
|
|
8245
|
+
readonly default: {
|
|
8246
|
+
readonly http: readonly ["https://atlantic.dplabs-internal.com"];
|
|
8247
|
+
};
|
|
8248
|
+
};
|
|
8249
|
+
sourceId?: number | undefined | undefined;
|
|
8250
|
+
testnet?: boolean | undefined | undefined;
|
|
8251
|
+
custom?: Record<string, unknown> | undefined;
|
|
8252
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
8253
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
8254
|
+
formatters?: undefined;
|
|
8255
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8256
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8257
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8258
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8259
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
8260
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
8261
|
+
}] | undefined;
|
|
8262
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
8263
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
8264
|
+
};
|
|
8059
8265
|
/** Tron Nile Testnet (chain ID 3448148188) — not in viem/chains */
|
|
8060
8266
|
declare const tronNile: {
|
|
8061
8267
|
blockExplorers: {
|
|
@@ -8186,4 +8392,4 @@ declare const getChainId: (stateMachineId: string) => number | undefined;
|
|
|
8186
8392
|
declare const getViemChain: (chainId: number) => Chain | undefined;
|
|
8187
8393
|
declare const hyperbridgeAddress = "";
|
|
8188
8394
|
|
|
8189
|
-
export { ADDRESS_ZERO, type AllStatusKey, type AssetTeleported, type AssetTeleportedResponse, type BidStorageEntry, type BidSubmissionResult, type BlockMetadata, type BundlerGasEstimate, BundlerMethod, type CancelEvent, type CancelOptions, type CancelQuote, type ChainConfig, type ChainConfigData, ChainConfigService, Chains, type ClientConfig, DEFAULT_ADDRESS, DEFAULT_GRAFFITI, DOMAIN_TYPEHASH, DUMMY_PRIVATE_KEY, type DecodedOrderPlacedLog, type DecodedPostRequestEvent, type DecodedPostResponseEvent, type DispatchGet, type DispatchInfo, type DispatchPost, ERC20Method, type ERC7821Call, ERC7821_BATCH_MODE, 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, type HyperbridgeTxEvents, type IChain, type IConfig, type IEvmChain, type IEvmConfig, type IGetRequest, type IGetRequestMessage, type IGetResponse, type IGetResponseMessage, type IHyperbridgeConfig, type IIsmpMessage, type IMessage, type IPolkadotHubConfig, type IPostRequest, type IPostResponse, type IProof, type IRequestMessage, type ISubstrateConfig, type ITimeoutPostRequestMessage, IndexerClient, type IndexerQueryClient, IntentGateway, type IntentGatewayContext, type IntentGatewayParams, ABI$1 as IntentGatewayV2ABI, IntentOrderStatus, type IntentOrderStatusKey, type IntentOrderStatusUpdate, IntentsCoprocessor, type IsmpRequest, MOCK_ADDRESS, type NewDeployment, ORDER_V2_PARAM_TYPE, type Order, type OrderResponse, OrderStatus, OrderStatusChecker, type OrderStatusMetadata, type OrderWithStatus, PACKED_USEROP_TYPEHASH, PLACE_ORDER_SELECTOR, type PackedUserOperation, type Params, type PaymentInfo, PolkadotHubChain, type PolkadotHubChainParams, type PostRequestStatus, type PostRequestTimeoutStatus, type PostRequestWithStatus, type QuoteNativeResult, 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 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 XcmGatewayParams, __test, adjustDecimals, bytes20ToBytes32, bytes32ToBytes20, calculateAllowanceMappingLocation, calculateBalanceMappingLocation, chainConfigs, constructRedeemEscrowRequestBody, constructRefundEscrowRequestBody, convertCodecToIGetRequest, convertCodecToIProof, convertIGetRequestToCodec, convertIProofToCodec, convertStateIdToStateMachineId, convertStateMachineEnumToString, convertStateMachineIdToEnum, createEvmChain, createQueryClient, decodeUserOpScale, encodeERC7821ExecuteBatch, encodeISMPMessage, encodeUserOpScale, encodeWithdrawalRequest, estimateGasForPost, fetchPrice, fetchSourceProof, generateRootWithProof, getChainId, getConfigByStateMachineId, getContractCallInput, getGasPriceFromEtherscan, getOrFetchStorageSlot, getOrderPlacedFromTx, getPostRequestEventFromTx, getPostResponseEventFromTx, getRequestCommitment, getStateCommitmentFieldSlot, getStateCommitmentSlot, getStorageSlot, getViemChain, hexToString, hyperbridgeAddress, maxBigInt, orderCommitment, parseStateMachineId, polkadotAssetHubPaseo, postRequestCommitment, queryAssetTeleported, queryGetRequest, queryPostRequest, requestCommitmentKey, responseCommitmentKey, retryPromise, teleport, teleportDot, transformOrderForContract, tronChainIds, tronNile };
|
|
8395
|
+
export { ADDRESS_ZERO, type AllStatusKey, type AssetTeleported, type AssetTeleportedResponse, type BidStorageEntry, type BidSubmissionResult, type BlockMetadata, type BundlerGasEstimate, BundlerMethod, type CancelEvent, type CancelOptions, type CancelQuote, type ChainConfig, type ChainConfigData, ChainConfigService, Chains, type ClientConfig, DEFAULT_ADDRESS, DEFAULT_GRAFFITI, DOMAIN_TYPEHASH, DUMMY_PRIVATE_KEY, type DecodedOrderPlacedLog, type DecodedPostRequestEvent, type DecodedPostResponseEvent, type DispatchGet, type DispatchInfo, type DispatchPost, ERC20Method, type ERC7821Call, ERC7821_BATCH_MODE, 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, type HyperbridgeTxEvents, type IChain, type IConfig, 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, IndexerClient, type IndexerQueryClient, IntentGateway, type IntentGatewayContext, type IntentGatewayParams, ABI$1 as IntentGatewayV2ABI, IntentOrderStatus, type IntentOrderStatusKey, type IntentOrderStatusUpdate, IntentsCoprocessor, type IsmpRequest, MOCK_ADDRESS, type NewDeployment, ORDER_V2_PARAM_TYPE, type Order, type OrderResponse, OrderStatus, OrderStatusChecker, type OrderStatusMetadata, type OrderWithStatus, PACKED_USEROP_TYPEHASH, PLACE_ORDER_SELECTOR, type PackedUserOperation, type Params, type PaymentInfo, PharosChain, type PharosChainParams, PolkadotHubChain, type PolkadotHubChainParams, type PostRequestStatus, type PostRequestTimeoutStatus, type PostRequestWithStatus, type QuoteNativeResult, 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 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 XcmGatewayParams, __test, adjustDecimals, bytes20ToBytes32, bytes32ToBytes20, calculateAllowanceMappingLocation, calculateBalanceMappingLocation, chainConfigs, constructRedeemEscrowRequestBody, constructRefundEscrowRequestBody, convertCodecToIGetRequest, convertCodecToIProof, convertIGetRequestToCodec, convertIProofToCodec, convertStateIdToStateMachineId, convertStateMachineEnumToString, convertStateMachineIdToEnum, createEvmChain, createQueryClient, decodeUserOpScale, encodeERC7821ExecuteBatch, encodeISMPMessage, encodeUserOpScale, encodeWithdrawalRequest, estimateGasForPost, fetchPrice, fetchSourceProof, generateRootWithProof, getChainId, getConfigByStateMachineId, getContractCallInput, getGasPriceFromEtherscan, getOrFetchStorageSlot, getOrderPlacedFromTx, getPostRequestEventFromTx, getPostResponseEventFromTx, getRequestCommitment, getStateCommitmentFieldSlot, getStateCommitmentSlot, getStorageSlot, getViemChain, hexToString, hyperbridgeAddress, maxBigInt, orderCommitment, parseStateMachineId, pharosAtlantic, pharosMainnet, polkadotAssetHubPaseo, postRequestCommitment, queryAssetTeleported, queryGetRequest, queryPostRequest, requestCommitmentKey, responseCommitmentKey, retryPromise, teleport, teleportDot, transformOrderForContract, tronChainIds, tronNile };
|