@zkp2p/sdk 0.12.1 → 0.12.2-rc.1
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/README.md +96 -24
- package/dist/build-metadata.json +22 -0
- package/dist/{chunk-GHQK65J2.mjs → chunk-3J4FPMPW.mjs} +2 -2
- package/dist/{chunk-GHQK65J2.mjs.map → chunk-3J4FPMPW.mjs.map} +1 -1
- package/dist/chunk-NCX4BO7G.mjs +12 -0
- package/dist/chunk-NCX4BO7G.mjs.map +1 -0
- package/dist/{chunk-DZQOCRT4.mjs → chunk-QVEW2DTE.mjs} +373 -373
- package/dist/{chunk-DZQOCRT4.mjs.map → chunk-QVEW2DTE.mjs.map} +1 -1
- package/dist/{chunk-FCOH36IX.mjs → chunk-YA67SM3A.mjs} +2 -2
- package/dist/{chunk-FCOH36IX.mjs.map → chunk-YA67SM3A.mjs.map} +1 -1
- package/dist/{chunk-ZFBH4HD7.mjs → chunk-ZB22BZLZ.mjs} +2 -2
- package/dist/{chunk-ZFBH4HD7.mjs.map → chunk-ZB22BZLZ.mjs.map} +1 -1
- package/dist/{currency-MARF3D2J.mjs → currency-XA62DCJH.mjs} +4 -4
- package/dist/{currency-MARF3D2J.mjs.map → currency-XA62DCJH.mjs.map} +1 -1
- package/dist/index.cjs +2263 -561
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +34 -9
- package/dist/index.d.ts +34 -9
- package/dist/index.mjs +1638 -105
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-KB2FTOE6.mjs +5 -0
- package/dist/{protocolViewerParsers-WK2QPJH7.mjs.map → protocolViewerParsers-KB2FTOE6.mjs.map} +1 -1
- package/dist/react.cjs +41 -0
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.mts +15 -3
- package/dist/react.d.ts +15 -3
- package/dist/react.mjs +44 -4
- package/dist/react.mjs.map +1 -1
- package/dist/{timeout-YLP3WHZF.mjs → timeout-7UJ6HZ4K.mjs} +4 -4
- package/dist/{timeout-YLP3WHZF.mjs.map → timeout-7UJ6HZ4K.mjs.map} +1 -1
- package/dist/{vaultUtils-Bc9KwywX.d.mts → vaultUtils-Dla_eG15.d.mts} +206 -43
- package/dist/{vaultUtils-Bc9KwywX.d.ts → vaultUtils-Dla_eG15.d.ts} +206 -43
- package/package.json +23 -22
- package/dist/chunk-J5LGTIGS.mjs +0 -9
- package/dist/chunk-J5LGTIGS.mjs.map +0 -1
- package/dist/protocolViewerParsers-WK2QPJH7.mjs +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/timeout.ts"],"names":[],"mappings":";;;;AASA,eAAsB,WAAA,CACpB,OAAA,EACA,SAAA,EACA,cAAA,EACY;AACZ,EAAA,IAAI,SAAA;AAEJ,EAAA,MAAM,cAAA,GAAiB,IAAI,OAAA,CAAe,CAAC,GAAG,MAAA,KAAW;AACvD,IAAA,SAAA,GAAY,WAAW,MAAM;AAC3B,MAAA,MAAA,CAAO,IAAI,YAAA,CAAa,cAAA,EAAgB,EAAE,OAAA,EAAS,SAAA,EAAW,CAAC,CAAA;AAAA,IACjE,GAAG,SAAS,CAAA;AAAA,EACd,CAAC,CAAA;AAED,EAAA,IAAI;AACF,IAAA,MAAM,SAAS,MAAM,OAAA,CAAQ,KAAK,CAAC,OAAA,EAAS,cAAc,CAAC,CAAA;AAC3D,IAAA,IAAI,SAAA,eAAwB,SAAS,CAAA;AACrC,IAAA,OAAO,MAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,IAAI,SAAA,eAAwB,SAAS,CAAA;AACrC,IAAA,MAAM,KAAA;AAAA,EACR;AACF;AAKO,IAAM,gBAAA,GAAmB;AAAA;AAAA,EAE9B,GAAA,EAAK,GAAA;AAAA;AAAA,EAEL,WAAA,EAAa,GAAA;AAAA;AAAA,EAEb,gBAAA,EAAkB,IAAA;AAAA;AAAA,EAElB,SAAA,EAAW;AACb","file":"timeout-
|
|
1
|
+
{"version":3,"sources":["../src/utils/timeout.ts"],"names":[],"mappings":";;;;AASA,eAAsB,WAAA,CACpB,OAAA,EACA,SAAA,EACA,cAAA,EACY;AACZ,EAAA,IAAI,SAAA;AAEJ,EAAA,MAAM,cAAA,GAAiB,IAAI,OAAA,CAAe,CAAC,GAAG,MAAA,KAAW;AACvD,IAAA,SAAA,GAAY,WAAW,MAAM;AAC3B,MAAA,MAAA,CAAO,IAAI,YAAA,CAAa,cAAA,EAAgB,EAAE,OAAA,EAAS,SAAA,EAAW,CAAC,CAAA;AAAA,IACjE,GAAG,SAAS,CAAA;AAAA,EACd,CAAC,CAAA;AAED,EAAA,IAAI;AACF,IAAA,MAAM,SAAS,MAAM,OAAA,CAAQ,KAAK,CAAC,OAAA,EAAS,cAAc,CAAC,CAAA;AAC3D,IAAA,IAAI,SAAA,eAAwB,SAAS,CAAA;AACrC,IAAA,OAAO,MAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,IAAI,SAAA,eAAwB,SAAS,CAAA;AACrC,IAAA,MAAM,KAAA;AAAA,EACR;AACF;AAKO,IAAM,gBAAA,GAAmB;AAAA;AAAA,EAE9B,GAAA,EAAK,GAAA;AAAA;AAAA,EAEL,WAAA,EAAa,GAAA;AAAA;AAAA,EAEb,gBAAA,EAAkB,IAAA;AAAA;AAAA,EAElB,SAAA,EAAW;AACb","file":"timeout-7UJ6HZ4K.mjs","sourcesContent":["import { NetworkError } from '../errors';\n\n/**\n * Wraps a promise with a timeout\n * @param promise - The promise to wrap\n * @param timeoutMs - Timeout in milliseconds\n * @param timeoutMessage - Error message when timeout occurs\n * @returns Promise that rejects if timeout occurs\n */\nexport async function withTimeout<T>(\n promise: Promise<T>,\n timeoutMs: number,\n timeoutMessage: string\n): Promise<T> {\n let timeoutId: NodeJS.Timeout | undefined;\n\n const timeoutPromise = new Promise<never>((_, reject) => {\n timeoutId = setTimeout(() => {\n reject(new NetworkError(timeoutMessage, { timeout: timeoutMs }));\n }, timeoutMs);\n });\n\n try {\n const result = await Promise.race([promise, timeoutPromise]);\n if (timeoutId) clearTimeout(timeoutId);\n return result;\n } catch (error) {\n if (timeoutId) clearTimeout(timeoutId);\n throw error;\n }\n}\n\n/**\n * Default timeout values for different operation types\n */\nexport const DEFAULT_TIMEOUTS = {\n /** API call timeout (30 seconds) */\n API: 30000,\n /** Blockchain transaction timeout (60 seconds) */\n TRANSACTION: 60000,\n /** Proof generation timeout (120 seconds) */\n PROOF_GENERATION: 120000,\n /** Extension communication timeout (60 seconds) */\n EXTENSION: 60000,\n} as const;"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _zkp2p_indexer_schema from '@zkp2p/indexer-schema';
|
|
2
|
-
import { Deposit, DepositStatus as DepositStatus$2, IntentStatus as IntentStatus$1, DepositPaymentMethod, MethodCurrency, Intent as Intent$1, MakerProfitSnapshot, RateManager, ManagerAggregateStats, RateManagerRate, ManagerStats, DepositFundActivity, DepositDailySnapshot, ManagerDailySnapshot } from '@zkp2p/indexer-schema';
|
|
2
|
+
import { Deposit, DepositStatus as DepositStatus$2, IntentStatus as IntentStatus$1, DepositPaymentMethod, MethodCurrency, Intent as Intent$1, MakerProfitSnapshot, RateManager, ManagerAggregateStats, RateManagerRate, ManagerStats, StakeLockStatus as StakeLockStatus$1, StakeActivityKind as StakeActivityKind$1, DepositFundActivity, DepositDailySnapshot, ManagerDailySnapshot } from '@zkp2p/indexer-schema';
|
|
3
3
|
import { Address, Hex, AccessList, AuthorizationList, Hash, PublicClient, WalletClient, Transport } from 'viem';
|
|
4
4
|
import { Abi } from 'abitype';
|
|
5
|
-
import { IdentityPlatform, IdentityAttestationOutputFor as IdentityAttestationOutputFor$1, IdentityActionTypeByPlatform, IdentityParamsByPlatform } from '@zkp2p/zkp2p-attestation';
|
|
5
|
+
import { IdentityPlatform, IdentityAttestationOutputFor as IdentityAttestationOutputFor$1, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityRequestPlatform } from '@zkp2p/zkp2p-attestation';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Contract resolution utilities for the SDK.
|
|
@@ -18,11 +18,11 @@ declare const ORCHESTRATOR_V3_ABI: Abi;
|
|
|
18
18
|
/** Reviewed StakeVault ledger ABI (stake/lock/claim/delegation). */
|
|
19
19
|
declare const STAKE_VAULT_ABI: Abi;
|
|
20
20
|
/**
|
|
21
|
-
* Reviewed
|
|
22
|
-
* per-payment-method risk windows, per-deposit
|
|
23
|
-
* admissions pause, and
|
|
21
|
+
* Reviewed DisputeProtectionPolicy ABI — the deployed StakeVault controller. Owns
|
|
22
|
+
* per-payment-method risk windows, per-deposit dispute-protection enablement,
|
|
23
|
+
* the admissions pause, and protected intents.
|
|
24
24
|
*/
|
|
25
|
-
declare const
|
|
25
|
+
declare const DISPUTE_PROTECTION_POLICY_ABI: Abi;
|
|
26
26
|
/**
|
|
27
27
|
* Contract addresses for a specific deployment.
|
|
28
28
|
*/
|
|
@@ -76,8 +76,8 @@ type V2ContractAddresses = {
|
|
|
76
76
|
whitelistPolicy?: `0x${string}`;
|
|
77
77
|
/** StakeVault contract for taker stake and delegation */
|
|
78
78
|
stakeVault?: `0x${string}`;
|
|
79
|
-
/**
|
|
80
|
-
|
|
79
|
+
/** DisputeProtectionPolicy contract — the StakeVault controller for dispute-risk admission */
|
|
80
|
+
disputeProtectionPolicy?: `0x${string}`;
|
|
81
81
|
};
|
|
82
82
|
/**
|
|
83
83
|
* Contract ABIs for a specific deployment.
|
|
@@ -98,7 +98,7 @@ type V2ContractAbis = {
|
|
|
98
98
|
addressGroupRegistry?: Abi;
|
|
99
99
|
whitelistPolicy?: Abi;
|
|
100
100
|
stakeVault?: Abi;
|
|
101
|
-
|
|
101
|
+
disputeProtectionPolicy?: Abi;
|
|
102
102
|
};
|
|
103
103
|
/**
|
|
104
104
|
* Runtime environment: 'production' for mainnet, 'preproduction' for preprod
|
|
@@ -206,10 +206,10 @@ declare function getOrchestratorV3Contract(chainId: number, env?: RuntimeEnv): {
|
|
|
206
206
|
abi: Abi;
|
|
207
207
|
};
|
|
208
208
|
/**
|
|
209
|
-
* Resolve the
|
|
209
|
+
* Resolve the DisputeProtectionPolicy contract — the deployed StakeVault controller —
|
|
210
210
|
* failing closed when unavailable.
|
|
211
211
|
*/
|
|
212
|
-
declare function
|
|
212
|
+
declare function getDisputeProtectionPolicyContract(chainId: number, env?: RuntimeEnv): {
|
|
213
213
|
address: `0x${string}`;
|
|
214
214
|
abi: Abi;
|
|
215
215
|
};
|
|
@@ -1046,8 +1046,8 @@ type BuyerTeeVerifyPaymentBody = {
|
|
|
1046
1046
|
intent: SellerVerifyIntentDetails;
|
|
1047
1047
|
params: BuyerTeePaymentParams;
|
|
1048
1048
|
};
|
|
1049
|
-
type MakerIdentityPlatform = Extract<
|
|
1050
|
-
type IdentityAttestationParams = IdentityParamsByPlatform[
|
|
1049
|
+
type MakerIdentityPlatform = Extract<IdentityRequestPlatform, 'paypal' | 'wise' | 'alipay'>;
|
|
1050
|
+
type IdentityAttestationParams = IdentityParamsByPlatform[IdentityRequestPlatform] | Record<string, string | number | boolean>;
|
|
1051
1051
|
type IdentityAttestationRequestBody = {
|
|
1052
1052
|
callerAddress: string;
|
|
1053
1053
|
encryptedSessionMaterial: string;
|
|
@@ -1314,7 +1314,8 @@ type QuoteSingleResponse = {
|
|
|
1314
1314
|
takerReferralFeeAmountFormatted?: string;
|
|
1315
1315
|
whitelistEnabled: boolean;
|
|
1316
1316
|
allowedGroupIds: string[];
|
|
1317
|
-
|
|
1317
|
+
disputeProtectionOptedIn: boolean;
|
|
1318
|
+
disputeProtectionRequiresStake: boolean;
|
|
1318
1319
|
/**
|
|
1319
1320
|
* Whether the maker's seller automation is live for this quote — active
|
|
1320
1321
|
* credentials and inside the freshness window, the stricter of curator's two
|
|
@@ -1731,7 +1732,8 @@ type OrderbookEntry = {
|
|
|
1731
1732
|
telegramUsername?: string;
|
|
1732
1733
|
whitelistEnabled: boolean;
|
|
1733
1734
|
allowedGroupIds: string[];
|
|
1734
|
-
|
|
1735
|
+
disputeProtectionOptedIn: boolean;
|
|
1736
|
+
disputeProtectionRequiresStake: boolean;
|
|
1735
1737
|
};
|
|
1736
1738
|
type GetOrderbookResponse = {
|
|
1737
1739
|
chainId: number;
|
|
@@ -1775,7 +1777,8 @@ type OrderbookTableRow = {
|
|
|
1775
1777
|
sellerAutomatedReleaseEnabled: boolean;
|
|
1776
1778
|
whitelistEnabled: boolean;
|
|
1777
1779
|
allowedGroupIds: string[];
|
|
1778
|
-
|
|
1780
|
+
disputeProtectionOptedIn: boolean;
|
|
1781
|
+
disputeProtectionRequiresStake: boolean;
|
|
1779
1782
|
isPrivate: boolean;
|
|
1780
1783
|
updatedAt: string;
|
|
1781
1784
|
};
|
|
@@ -2128,8 +2131,8 @@ type StakeVaultWriteParams = {
|
|
|
2128
2131
|
* `selectedStakeOwner` is the raw selection, which is only meaningful while
|
|
2129
2132
|
* `selectionAuthorized` remains true. The two must never be conflated: a
|
|
2130
2133
|
* stale selection falls back to self-stake on the contract side.
|
|
2131
|
-
* `admissionsPaused` comes from the vault's
|
|
2132
|
-
* blocks new
|
|
2134
|
+
* `admissionsPaused` comes from the vault's DisputeProtectionPolicy controller and
|
|
2135
|
+
* blocks new dispute-protected admissions while true.
|
|
2133
2136
|
*/
|
|
2134
2137
|
type StakeVaultState = {
|
|
2135
2138
|
staker: Address;
|
|
@@ -2241,6 +2244,8 @@ declare function enrichPvIntentView(view: PV_IntentView, chainId: number, env?:
|
|
|
2241
2244
|
type WithOverrides<TBase, TOverrides> = Omit<TBase, keyof TOverrides> & TOverrides;
|
|
2242
2245
|
type DepositStatus = `${DepositStatus$2}`;
|
|
2243
2246
|
type IntentStatus = `${IntentStatus$1}`;
|
|
2247
|
+
type StakeActivityKind = `${StakeActivityKind$1}`;
|
|
2248
|
+
type StakeLockStatus = `${StakeLockStatus$1}`;
|
|
2244
2249
|
type DepositEntity = WithOverrides<Deposit, {
|
|
2245
2250
|
status: DepositStatus;
|
|
2246
2251
|
retainOnEmpty?: boolean;
|
|
@@ -2498,11 +2503,113 @@ declare class IndexerRateManagerService {
|
|
|
2498
2503
|
}): Promise<OracleConfigUpdateEntity[]>;
|
|
2499
2504
|
}
|
|
2500
2505
|
|
|
2506
|
+
type IndexedPageAsOf = {
|
|
2507
|
+
/** Latest entity update/event block observed in this page, not an indexer-head guarantee. */
|
|
2508
|
+
blockNumber: string;
|
|
2509
|
+
/** Timestamp paired with the observed page row. */
|
|
2510
|
+
timestamp: string;
|
|
2511
|
+
};
|
|
2512
|
+
type IndexedPage<T> = {
|
|
2513
|
+
items: T[];
|
|
2514
|
+
/** Opaque keyset cursor. Pass it back unchanged; null means this page is exhausted. */
|
|
2515
|
+
nextCursor: string | null;
|
|
2516
|
+
/** Latest row observed in this page. This is not a strong-consistency watermark. */
|
|
2517
|
+
asOf: IndexedPageAsOf | null;
|
|
2518
|
+
};
|
|
2519
|
+
type PageParams = {
|
|
2520
|
+
chainId: number;
|
|
2521
|
+
limit?: number;
|
|
2522
|
+
cursor?: string;
|
|
2523
|
+
};
|
|
2524
|
+
type StakeLockPageParams = PageParams & {
|
|
2525
|
+
vaultAddress: Address;
|
|
2526
|
+
stakeOwner: Address;
|
|
2527
|
+
status?: StakeLockStatus;
|
|
2528
|
+
};
|
|
2529
|
+
type StakeActivityPageParams = PageParams & {
|
|
2530
|
+
vaultAddress: Address;
|
|
2531
|
+
/** Merchant address matched against either the immutable owner or taker side. */
|
|
2532
|
+
merchant: Address;
|
|
2533
|
+
kind?: StakeActivityKind;
|
|
2534
|
+
};
|
|
2535
|
+
type DisputeProtectionIntentPageParams = PageParams & {
|
|
2536
|
+
/** Exact active policy whose finalized dispute stream is being consumed. */
|
|
2537
|
+
policyAddress: Address;
|
|
2538
|
+
/** Inclusive code-owned finality cutoff for this ingestion pass. */
|
|
2539
|
+
throughBlockNumber: string;
|
|
2540
|
+
};
|
|
2541
|
+
type IndexedStakeLock = {
|
|
2542
|
+
lockId: string;
|
|
2543
|
+
stakeOwner: Address;
|
|
2544
|
+
initialAmount: string;
|
|
2545
|
+
currentAmount: string;
|
|
2546
|
+
maturesAt: string;
|
|
2547
|
+
status: StakeLockStatus;
|
|
2548
|
+
unlockedAmount: string;
|
|
2549
|
+
claimedAmount: string;
|
|
2550
|
+
createdAt: string;
|
|
2551
|
+
updatedAtBlockNumber: string;
|
|
2552
|
+
updatedAt: string;
|
|
2553
|
+
};
|
|
2554
|
+
type IndexedStakeActivity = {
|
|
2555
|
+
stakeOwner: Address | null;
|
|
2556
|
+
taker: Address | null;
|
|
2557
|
+
beneficiary: Address | null;
|
|
2558
|
+
kind: StakeActivityKind;
|
|
2559
|
+
lockId: string | null;
|
|
2560
|
+
counterparty: Address | null;
|
|
2561
|
+
amount: string;
|
|
2562
|
+
previousAmount: string | null;
|
|
2563
|
+
stakeBalanceAfter: string | null;
|
|
2564
|
+
lockedStakeAfter: string | null;
|
|
2565
|
+
freeStakeAfter: string | null;
|
|
2566
|
+
claimableAfter: string | null;
|
|
2567
|
+
maturesAt: string | null;
|
|
2568
|
+
blockNumber: string;
|
|
2569
|
+
logIndex: string;
|
|
2570
|
+
timestamp: string;
|
|
2571
|
+
};
|
|
2572
|
+
type IndexedDisputeProtectionIntent = {
|
|
2573
|
+
policyAddress: Address;
|
|
2574
|
+
intentHash: string;
|
|
2575
|
+
status: 'DISPUTED';
|
|
2576
|
+
stakeOwner: Address;
|
|
2577
|
+
depositor: Address;
|
|
2578
|
+
taker: Address;
|
|
2579
|
+
paymentMethod: string;
|
|
2580
|
+
amount: string;
|
|
2581
|
+
riskWindow: string;
|
|
2582
|
+
releaseEligibleAt: string | null;
|
|
2583
|
+
releaseAmount: string | null;
|
|
2584
|
+
isManualRelease: boolean | null;
|
|
2585
|
+
compensatedAmount: string | null;
|
|
2586
|
+
disputeId: string | null;
|
|
2587
|
+
openedAt: string;
|
|
2588
|
+
openedTxHash: string;
|
|
2589
|
+
cancelledAt: string | null;
|
|
2590
|
+
cancelledTxHash: string | null;
|
|
2591
|
+
settledAt: string | null;
|
|
2592
|
+
settledTxHash: string | null;
|
|
2593
|
+
releasedAt: string | null;
|
|
2594
|
+
releasedTxHash: string | null;
|
|
2595
|
+
disputedAt: string;
|
|
2596
|
+
disputedTxHash: string;
|
|
2597
|
+
disputedAtBlockNumber: string;
|
|
2598
|
+
disputedAtLogIndex: string;
|
|
2599
|
+
updatedAt: string;
|
|
2600
|
+
};
|
|
2601
|
+
type DisputeProtectionIntentPage = IndexedPage<IndexedDisputeProtectionIntent> & {
|
|
2602
|
+
/**
|
|
2603
|
+
* Opaque cursor for the final returned item, including a terminal page.
|
|
2604
|
+
* Persist this after committing the page; null means the page was empty.
|
|
2605
|
+
*/
|
|
2606
|
+
endCursor: string | null;
|
|
2607
|
+
};
|
|
2501
2608
|
type IndexedStakingStateParams = {
|
|
2502
2609
|
chainId: number;
|
|
2503
2610
|
environment: StakeEnvironment;
|
|
2504
2611
|
vaultAddress: Address;
|
|
2505
|
-
|
|
2612
|
+
disputeProtectionPolicyAddress: Address;
|
|
2506
2613
|
taker: Address;
|
|
2507
2614
|
/** Effective owner from the caller's fresh stakeOwnerOf(taker) read. */
|
|
2508
2615
|
stakeOwner: Address;
|
|
@@ -2539,7 +2646,7 @@ type IndexedStakingState = {
|
|
|
2539
2646
|
claimableUsdc: string;
|
|
2540
2647
|
authorizations: IndexedTakerAuthorization[];
|
|
2541
2648
|
/**
|
|
2542
|
-
* Per-payment-method minimum lock windows from the
|
|
2649
|
+
* Per-payment-method minimum lock windows from the DisputeProtectionPolicy. The
|
|
2543
2650
|
* global admissions pause is intentionally absent from the indexed model —
|
|
2544
2651
|
* read it on-chain (`admissionsPaused()`), where it is authoritative.
|
|
2545
2652
|
*/
|
|
@@ -2562,10 +2669,10 @@ type IndexedStakingState = {
|
|
|
2562
2669
|
stakeVaultConfig: IndexedStakingRowFreshness | null;
|
|
2563
2670
|
authorizations: IndexedStakingRowFreshness[];
|
|
2564
2671
|
/**
|
|
2565
|
-
*
|
|
2566
|
-
*
|
|
2672
|
+
* Latest block fully processed by the indexer for this chain. Entity
|
|
2673
|
+
* update blocks above remain provenance and do not measure indexer lag.
|
|
2567
2674
|
*/
|
|
2568
|
-
|
|
2675
|
+
indexerHeadBlockNumber: string | null;
|
|
2569
2676
|
};
|
|
2570
2677
|
};
|
|
2571
2678
|
type StakingEntityIds = {
|
|
@@ -2580,9 +2687,42 @@ declare function buildStakingEntityIds(params: IndexedStakingStateParams): Staki
|
|
|
2580
2687
|
declare class IndexerStakingService {
|
|
2581
2688
|
private readonly client;
|
|
2582
2689
|
constructor(client: IndexerClient);
|
|
2690
|
+
fetchStakeLocks(params: StakeLockPageParams, init?: RequestInit): Promise<IndexedPage<IndexedStakeLock>>;
|
|
2691
|
+
fetchStakeActivity(params: StakeActivityPageParams, init?: RequestInit): Promise<IndexedPage<IndexedStakeActivity>>;
|
|
2692
|
+
fetchDisputeProtectionIntents(params: DisputeProtectionIntentPageParams, init?: RequestInit): Promise<DisputeProtectionIntentPage>;
|
|
2583
2693
|
fetchStakingState(params: IndexedStakingStateParams, init?: RequestInit): Promise<IndexedStakingState>;
|
|
2584
2694
|
}
|
|
2585
2695
|
|
|
2696
|
+
type InactiveReadinessState = 'recognized_predecessor' | 'passive_successor' | 'verified_no_hook';
|
|
2697
|
+
type KnownReadinessBase = {
|
|
2698
|
+
asOfBlock: bigint;
|
|
2699
|
+
manifestNetwork: 'base' | 'base_staging';
|
|
2700
|
+
manifestSelectionHash: string;
|
|
2701
|
+
contractsPackageVersion: string;
|
|
2702
|
+
activeLifecycleHook: Address;
|
|
2703
|
+
orchestratorPaused: boolean;
|
|
2704
|
+
allowMultipleIntents: boolean;
|
|
2705
|
+
policyAdmissionsPaused: boolean | null;
|
|
2706
|
+
};
|
|
2707
|
+
type KnownReadinessResult = KnownReadinessBase & ({
|
|
2708
|
+
state: InactiveReadinessState;
|
|
2709
|
+
readyForDisputeProtection: false;
|
|
2710
|
+
} | {
|
|
2711
|
+
state: 'active_successor_verified';
|
|
2712
|
+
readyForDisputeProtection: boolean;
|
|
2713
|
+
policyAdmissionsPaused: boolean;
|
|
2714
|
+
});
|
|
2715
|
+
type DisputeProtectionReadinessResult = KnownReadinessResult | {
|
|
2716
|
+
state: 'mismatch';
|
|
2717
|
+
readyForDisputeProtection: false;
|
|
2718
|
+
asOfBlock: bigint | null;
|
|
2719
|
+
reason: string;
|
|
2720
|
+
};
|
|
2721
|
+
type DisputeProtectionReadinessOptions = {
|
|
2722
|
+
/** Also prove the dormant successor stack while the recognized predecessor remains active. */
|
|
2723
|
+
verifyPassiveSuccessor?: boolean;
|
|
2724
|
+
};
|
|
2725
|
+
|
|
2586
2726
|
type FulfillmentRecord = {
|
|
2587
2727
|
id: string;
|
|
2588
2728
|
intentHash: string;
|
|
@@ -2933,10 +3073,10 @@ declare class Zkp2pClient {
|
|
|
2933
3073
|
readonly stakeVaultAddress?: Address;
|
|
2934
3074
|
/** StakeVault ABI */
|
|
2935
3075
|
readonly stakeVaultAbi?: Abi;
|
|
2936
|
-
/**
|
|
2937
|
-
readonly
|
|
2938
|
-
/**
|
|
2939
|
-
readonly
|
|
3076
|
+
/** DisputeProtectionPolicy address (undefined when the staking stack is not deployed) */
|
|
3077
|
+
readonly disputeProtectionPolicyAddress?: Address;
|
|
3078
|
+
/** DisputeProtectionPolicy ABI */
|
|
3079
|
+
readonly disputeProtectionPolicyAbi?: Abi;
|
|
2940
3080
|
/** Base API URL for ZKP2P services */
|
|
2941
3081
|
readonly baseApiUrl?: string;
|
|
2942
3082
|
/** Optional internal curator API key (`x-api-key`) for internal seller verification */
|
|
@@ -2958,6 +3098,7 @@ declare class Zkp2pClient {
|
|
|
2958
3098
|
private readonly _pvReader;
|
|
2959
3099
|
private readonly _vaultOps;
|
|
2960
3100
|
private readonly _stakeOps;
|
|
3101
|
+
private readonly _disputeProtectionReadinessReader;
|
|
2961
3102
|
private readonly _intentGuardianOps;
|
|
2962
3103
|
private readonly _intentOps;
|
|
2963
3104
|
private readonly _referralOps;
|
|
@@ -3028,7 +3169,7 @@ declare class Zkp2pClient {
|
|
|
3028
3169
|
private prepareContractTransaction;
|
|
3029
3170
|
private buildContractMethod;
|
|
3030
3171
|
private buildStakeVaultMethod;
|
|
3031
|
-
private
|
|
3172
|
+
private buildDisputeProtectionPolicyMethod;
|
|
3032
3173
|
private buildIntentGuardianMethod;
|
|
3033
3174
|
private buildEscrowMethod;
|
|
3034
3175
|
private buildOrchestratorMethod;
|
|
@@ -3280,6 +3421,18 @@ declare class Zkp2pClient {
|
|
|
3280
3421
|
getStakingState: (params: IndexedStakingStateParams, options?: {
|
|
3281
3422
|
signal?: AbortSignal;
|
|
3282
3423
|
}) => Promise<IndexedStakingState>;
|
|
3424
|
+
/** Pages stake-owner locks by immutable lock identity. */
|
|
3425
|
+
getStakeLocks: (params: StakeLockPageParams, options?: {
|
|
3426
|
+
signal?: AbortSignal;
|
|
3427
|
+
}) => Promise<IndexedPage<IndexedStakeLock>>;
|
|
3428
|
+
/** Pages append-only activity relevant to either side of a merchant's stake delegation. */
|
|
3429
|
+
getStakeActivity: (params: StakeActivityPageParams, options?: {
|
|
3430
|
+
signal?: AbortSignal;
|
|
3431
|
+
}) => Promise<IndexedPage<IndexedStakeActivity>>;
|
|
3432
|
+
/** Pages the exact active policy's finalized dispute stream. */
|
|
3433
|
+
getDisputeProtectionIntents: (params: DisputeProtectionIntentPageParams, options?: {
|
|
3434
|
+
signal?: AbortSignal;
|
|
3435
|
+
}) => Promise<DisputeProtectionIntentPage>;
|
|
3283
3436
|
/**
|
|
3284
3437
|
* Fetches chronological fund activities for a specific deposit.
|
|
3285
3438
|
*/
|
|
@@ -3354,8 +3507,8 @@ declare class Zkp2pClient {
|
|
|
3354
3507
|
address: Address;
|
|
3355
3508
|
abi: Abi;
|
|
3356
3509
|
};
|
|
3357
|
-
/** Return the resolved
|
|
3358
|
-
|
|
3510
|
+
/** Return the resolved DisputeProtectionPolicy coordinates for keeper integrations. */
|
|
3511
|
+
getDisputeProtectionPolicyContract(): {
|
|
3359
3512
|
address: Address;
|
|
3360
3513
|
abi: Abi;
|
|
3361
3514
|
};
|
|
@@ -3423,32 +3576,42 @@ declare class Zkp2pClient {
|
|
|
3423
3576
|
staker: Address;
|
|
3424
3577
|
taker?: Address;
|
|
3425
3578
|
}): Promise<StakeVaultState>;
|
|
3426
|
-
/** Read whether the
|
|
3579
|
+
/** Read whether the DisputeProtectionPolicy is refusing new dispute-protected admissions. */
|
|
3427
3580
|
getAdmissionsPaused(): Promise<boolean>;
|
|
3581
|
+
/** Prove the exact packaged dispute-protection deployment at one block. */
|
|
3582
|
+
getDisputeProtectionReadiness(options?: DisputeProtectionReadinessOptions): Promise<DisputeProtectionReadinessResult>;
|
|
3428
3583
|
/**
|
|
3429
3584
|
* Read a payment method's minimum collateral lock window in seconds. Zero
|
|
3430
3585
|
* means the method admits unbonded — no stake is locked at admission.
|
|
3431
3586
|
*/
|
|
3432
3587
|
getRiskWindow(paymentMethodHash: `0x${string}`): Promise<bigint>;
|
|
3433
|
-
/** Read whether an escrow deposit has opted into
|
|
3434
|
-
|
|
3588
|
+
/** Read whether an escrow deposit has opted into dispute protection. */
|
|
3589
|
+
isDisputeProtectionEnabled(escrow: Address, depositId: bigint): Promise<boolean>;
|
|
3590
|
+
/** Enable or disable dispute protection for one deposit. */
|
|
3591
|
+
readonly setDisputeProtectionEnabled: PrepareableMethod<{
|
|
3592
|
+
escrow: Address;
|
|
3593
|
+
depositId: bigint;
|
|
3594
|
+
enabled: boolean;
|
|
3595
|
+
disputeProtectionPolicyAddress?: Address;
|
|
3596
|
+
txOverrides?: TxOverrides;
|
|
3597
|
+
}, `0x${string}`>;
|
|
3435
3598
|
/**
|
|
3436
|
-
* Release one
|
|
3437
|
-
* stake cover. Permissionless once mature. Pass `
|
|
3599
|
+
* Release one protected intent whose risk window matured, unlocking its
|
|
3600
|
+
* stake cover. Permissionless once mature. Pass `disputeProtectionPolicyAddress` to
|
|
3438
3601
|
* pin the transaction to a snapshotted deployment.
|
|
3439
3602
|
*/
|
|
3440
|
-
readonly
|
|
3603
|
+
readonly releaseMaturedDisputeProtectionIntent: PrepareableMethod<{
|
|
3441
3604
|
intentHash: `0x${string}`;
|
|
3442
|
-
|
|
3605
|
+
disputeProtectionPolicyAddress?: Address;
|
|
3443
3606
|
txOverrides?: TxOverrides;
|
|
3444
3607
|
}, `0x${string}`>;
|
|
3445
3608
|
/**
|
|
3446
|
-
* Release multiple matured
|
|
3447
|
-
* Pass `
|
|
3609
|
+
* Release multiple matured protected intents in one transaction.
|
|
3610
|
+
* Pass `disputeProtectionPolicyAddress` to pin the transaction to a snapshotted deployment.
|
|
3448
3611
|
*/
|
|
3449
|
-
readonly
|
|
3612
|
+
readonly releaseMaturedDisputeProtectionIntents: PrepareableMethod<{
|
|
3450
3613
|
intentHashes: readonly `0x${string}`[];
|
|
3451
|
-
|
|
3614
|
+
disputeProtectionPolicyAddress?: Address;
|
|
3452
3615
|
txOverrides?: TxOverrides;
|
|
3453
3616
|
}, `0x${string}`>;
|
|
3454
3617
|
/**
|
|
@@ -4514,7 +4677,7 @@ declare class Zkp2pClient {
|
|
|
4514
4677
|
rateManagerV1?: Address;
|
|
4515
4678
|
orchestratorRegistry?: Address;
|
|
4516
4679
|
stakeVault?: Address;
|
|
4517
|
-
|
|
4680
|
+
disputeProtectionPolicy?: Address;
|
|
4518
4681
|
usdc?: Address;
|
|
4519
4682
|
};
|
|
4520
4683
|
/**
|
|
@@ -4598,4 +4761,4 @@ type SendBatchFn = (txs: Array<{
|
|
|
4598
4761
|
value?: bigint;
|
|
4599
4762
|
}>) => Promise<string>;
|
|
4600
4763
|
|
|
4601
|
-
export { type RedeemReferralCodeSignatureOptions as $, type AttestationServiceIdentityResponse as A, type BuyerTeeVerifyPaymentBody as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type GetDepositBundleParams as E, type GetDepositBundleResponse as F, type GoogleOAuthSellerCredentialPlatform as G, type GetOrderbookParams as H, type IntentEntity as I, type GetOrderbookResponse as J, type GetOrderbookTableResponse as K, type QuoteRequest as L, type QuoteResponse as M, type CuratorMetadata as N, type CurrencyType as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type PaymentMethodCatalog as T, type UploadSellerCredentialBundleParams as U, type ValidatePayeeDetailsRequest as V, type TxOverrides as W, type ReferralBearerWriteOptions as X, type ReferralReadOptions as Y, Zkp2pClient as Z, type ReferralSignatureOptions as _, type IdentityAttestationRequestBody as a, type SellerPlatform as a$, type SignalIntentReferralFee as a0, type SignalIntentMethodParams as a1, type FulfillIntentMethodParams as a2, type CancelIntentMethodParams as a3, type UpdateReferralCodeSignatureOptions as a4, type Zkp2pNextOptions as a5, type StakeVaultState as a6, type StakeVaultWriteFunction as a7, type StakeVaultWriteParams as a8, type IntentGuardianPolicy as a9, type GetQuoteResponse as aA, type GetQuoteResponseObject as aB, type GetQuoteSingleResponse as aC, type QuoteResponseObject as aD, type QuoteSingleResponse as aE, type QuoteIntentResponse as aF, type QuoteFeesResponse as aG, type FiatResponse as aH, type TokenResponse as aI, type NearbyQuote as aJ, type NearbySuggestions as aK, type ApiDeposit as aL, type DepositVerifier as aM, type DepositVerifierCurrency as aN, type DepositStatus$1 as aO, type GetDepositByIdRequest as aP, type GetDepositByIdResponse as aQ, type Intent as aR, type ApiIntentStatus as aS, type GetOwnerIntentsRequest as aT, type GetOwnerIntentsResponse as aU, type GetIntentsByDepositRequest as aV, type GetIntentsByDepositResponse as aW, type GetIntentByHashRequest as aX, type GetIntentByHashResponse as aY, type RegisterPayeeDetailsRequest as aZ, type RegisterPayeeDetailsResponse as a_, type IntentGuardianQuote as aa, type IntentGuardianWriteFunction as ab, type IntentGuardianWriteParams as ac, type IntentGuardianErrorCode as ad, classifyIntentGuardianError as ae, type AuthorizationTokenProvider as af, type TimeoutConfig as ag, type ActionCallback as ah, type ReferralRedemption as ai, type ReferralSignatureBody as aj, type CreateDepositParams as ak, type CreateDepositConversionRate as al, type Range as am, type WithdrawDepositParams as an, type SignalIntentParams as ao, type FulfillIntentParams as ap, type ReleaseFundsToPayerParams as aq, type CancelIntentParams as ar, type BestByPlatformResponseObject as as, type GetBestByPlatformResponse as at, type GetBestByPlatformResponseObject as au, type GetPlatformQuote as av, type PlatformQuote as aw, type QuotePreference as ax, type GetNearbyQuote as ay, type GetNearbySuggestions as az, type AttestationServiceSellerVerifyResponse as b, fetchFulfillmentAndPayment as b$, type VenmoSessionMaterial as b0, type CashAppSessionMaterial as b1, type WiseSessionMaterial as b2, type WiseProfileInfo as b3, type WiseProfileSelectionRequired as b4, type WiseProfileNotFound as b5, type PayPalGoogleOAuthSellerCredentialUploadBody as b6, type VenmoCredentialUploadInput as b7, type CashAppCredentialUploadInput as b8, type WiseCredentialUploadInput as b9, type GetSellerCredentialStatusParams as bA, type UploadPayPalGoogleOAuthSellerCredentialParams as bB, type UploadGoogleOAuthSellerCredentialParams as bC, type VerifySellerPaymentParams as bD, type IdentityAttestationActionType as bE, type IdentityAttestationOutput as bF, type IdentityAttestationOutputFor as bG, type IdentityAttestationParams as bH, type MakerIdentityAttestationRequestBody as bI, type MakerIdentityPlatform as bJ, type OnchainCurrency as bK, type DepositVerifierData as bL, type PreparedTransaction as bM, type OrderStats as bN, type DepositIntentStatistics as bO, type UsdcAmount as bP, type StakeEnvironment as bQ, type TakerStakeBalances as bR, type OrderbookEntry as bS, type OrderbookTableRow as bT, IndexerClient as bU, defaultIndexerEndpoint as bV, IndexerDepositService as bW, IndexerRateManagerService as bX, compareEventCursorIdsByRecency as bY, buildStakingEntityIds as bZ, IndexerStakingService as b_, type SellerCredentialUploadInputByPlatform as ba, type SellerCiphertextBundle as bb, type SellerSignedCiphertextBundle as bc, type SellerVerifyIntentDetails as bd, type SellerVerifyInput as be, type SellerProbeInput as bf, type SellerCredentialBundleUpload as bg, type SellerCredentialStatusValue as bh, type SellerCredentialStatus as bi, type SellerVerifyProxyBody as bj, type SellerTypedDataField as bk, type SellerTypedDataSpec as bl, type SellerPaymentTypedDataValue as bm, type SellerAttestationOutput as bn, type SellerCredentialProbeResponse as bo, type FulfillIntentAttestationResponse as bp, type AttestationServiceSellerCredentialProbeResponse as bq, type BuyerTeePaymentParams as br, type BuyerTeePaymentProofInput as bs, type BuyerTeeSessionMaterial as bt, type CuratorSellerCredentialStatusResponse as bu, type CuratorSellerVerifyResponse as bv, type RegisteredSellerCredentialPlatform as bw, type UploadSellerCredentialParams as bx, type RegisteredUploadSellerCredentialParams as by, type UploadSellerCredentialOptions as bz, type SellerCredentialUploadInput as c, parseDepositView as c$, type DepositEntity as c0, type IntentFulfilledEntity as c1, type IntentFulfillmentAmountsEntity as c2, type DepositPaymentMethodEntity as c3, type MethodCurrencyEntity as c4, type IntentStatus as c5, type RateManagerEntity as c6, type RateManagerRateEntity as c7, type RateManagerDelegationEntity as c8, type ManagerAggregateStatsEntity as c9, type PaymentVerifiedRecord as cA, type FulfillmentAndPaymentResponse as cB, PAYMENT_PLATFORMS as cC, type PaymentPlatformType as cD, Currency as cE, currencyInfo as cF, getCurrencyInfoFromHash as cG, getCurrencyInfoFromCountryCode as cH, getCurrencyCodeFromHash as cI, isSupportedCurrencyHash as cJ, mapConversionRatesToOnchainMinRate as cK, type CurrencyData as cL, getContracts as cM, getIntentGuardianContract as cN, hasIntentGuardian as cO, getRateManagerContracts as cP, getStakeVaultContract as cQ, getOrchestratorV3Contract as cR, getChargebackPolicyContract as cS, getPaymentMethodsCatalog as cT, getGatingServiceAddress as cU, ORCHESTRATOR_V3_ABI as cV, CHARGEBACK_POLICY_ABI as cW, STAKE_VAULT_ABI as cX, type RuntimeEnv as cY, type V2ContractAddresses as cZ, type V2ContractAbis as c_, type ManagerStatsEntity as ca, type ManagerDailySnapshotEntity as cb, type RateManagerListItem as cc, type RateManagerDetail as cd, type ManualRateUpdateEntity as ce, type OracleConfigUpdateEntity as cf, type DepositFundActivityEntity as cg, type DepositDailySnapshotEntity as ch, type DepositFundActivityType as ci, type IndexedRiskWindow as cj, type IndexedStakingRowFreshness as ck, type IndexedStakingState as cl, type IndexedStakingStateParams as cm, type IndexedTakerAuthorization as cn, type StakingEntityIds as co, type DepositFilter as cp, type PaginationOptions as cq, type DepositOrderField as cr, type OrderDirection$1 as cs, type RateManagerFilter as ct, type RateManagerPaginationOptions as cu, type RateManagerDelegationPaginationOptions as cv, type RateManagerOrderField as cw, type OrderDirection as cx, type DeploymentEnv as cy, type FulfillmentRecord as cz, type SellerCredentialUploadPlatform as d, parseIntentView as d0, enrichPvDepositView as d1, enrichPvIntentView as d2, type PV_DepositView as d3, type PV_Deposit as d4, type PV_PaymentMethodData as d5, type PV_Currency as d6, type PV_ReferralFee as d7, type PV_IntentView as d8, type PV_Intent as d9, type AccessPolicyViolation as dA, ZERO_ADDRESS as dB, asErrorMessage as dC, assertDelegationMethodSupport as dD, ZERO_RATE_MANAGER_ID as da, isZeroRateManagerId as db, normalizeRateManagerId as dc, normalizeRegistry as dd, getDelegationRoute as de, classifyDelegationState as df, type DelegationRoute as dg, type DelegationState as dh, type DelegationDepositTarget as di, type BatchResult as dj, type SendTransactionFn as dk, type SendBatchFn as dl, AccessPolicyOperations as dm, AccessPolicyUnsupportedError as dn, MAX_GROUPS_PER_DEPOSIT as dp, MAX_ADDRESSES_PER_CALL as dq, MAX_WHITELISTED_ADDRESSES as dr, diffAccessPolicy as ds, normalizeAccessPolicyState as dt, planAccessPolicyUpdate as du, type AccessPolicyDiff as dv, type AccessPolicyOrdering as dw, type AccessPolicyPlan as dx, type AccessPolicyPlanStep as dy, type AccessPolicyState as dz, type SellerCredentialAttestationRuntime as e, type AttestationServiceSellerCredentialUploadResponse as f, type BuyerTeeSessionMaterialEncryptionInput as g, type CreateReferralCodeRequest as h, type ApiAdapterOptions as i, type CreateReferralCodeResponse as j, type ReferralReadRequest as k, type ReferralDashboardResponse as l, type ReferralEarningsResponse as m, type ReferralCodeLookupResponse as n, type RedeemReferralCodeRequest as o, type RedeemReferralCodeResponse as p, type UpdateReferralCodeRequest as q, type UpdateReferralCodeResponse as r, type GoogleOAuthSellerCredentialUploadBodyByPlatform as s, type BestByPlatformResponse as t, type ValidatePayeeDetailsResponse as u, type PostDepositDetailsResponse as v, type GetPayeeDetailsRequest as w, type GetPayeeDetailsResponse as x, type GetOwnerDepositsRequest as y, type GetOwnerDepositsResponse as z };
|
|
4764
|
+
export { type RedeemReferralCodeSignatureOptions as $, type AttestationServiceIdentityResponse as A, type BuyerTeeVerifyPaymentBody as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type GetDepositBundleParams as E, type GetDepositBundleResponse as F, type GoogleOAuthSellerCredentialPlatform as G, type GetOrderbookParams as H, type IntentEntity as I, type GetOrderbookResponse as J, type GetOrderbookTableResponse as K, type QuoteRequest as L, type QuoteResponse as M, type CuratorMetadata as N, type CurrencyType as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type PaymentMethodCatalog as T, type UploadSellerCredentialBundleParams as U, type ValidatePayeeDetailsRequest as V, type TxOverrides as W, type ReferralBearerWriteOptions as X, type ReferralReadOptions as Y, Zkp2pClient as Z, type ReferralSignatureOptions as _, type IdentityAttestationRequestBody as a, type RegisterPayeeDetailsRequest as a$, type SignalIntentReferralFee as a0, type SignalIntentMethodParams as a1, type FulfillIntentMethodParams as a2, type CancelIntentMethodParams as a3, type UpdateReferralCodeSignatureOptions as a4, type Zkp2pNextOptions as a5, type StakeVaultState as a6, type StakeVaultWriteFunction as a7, type StakeVaultWriteParams as a8, type DisputeProtectionReadinessOptions as a9, type GetNearbyQuote as aA, type GetNearbySuggestions as aB, type GetQuoteResponse as aC, type GetQuoteResponseObject as aD, type GetQuoteSingleResponse as aE, type QuoteResponseObject as aF, type QuoteSingleResponse as aG, type QuoteIntentResponse as aH, type QuoteFeesResponse as aI, type FiatResponse as aJ, type TokenResponse as aK, type NearbyQuote as aL, type NearbySuggestions as aM, type ApiDeposit as aN, type DepositVerifier as aO, type DepositVerifierCurrency as aP, type DepositStatus$1 as aQ, type GetDepositByIdRequest as aR, type GetDepositByIdResponse as aS, type Intent as aT, type ApiIntentStatus as aU, type GetOwnerIntentsRequest as aV, type GetOwnerIntentsResponse as aW, type GetIntentsByDepositRequest as aX, type GetIntentsByDepositResponse as aY, type GetIntentByHashRequest as aZ, type GetIntentByHashResponse as a_, type DisputeProtectionReadinessResult as aa, type IntentGuardianPolicy as ab, type IntentGuardianQuote as ac, type IntentGuardianWriteFunction as ad, type IntentGuardianWriteParams as ae, type IntentGuardianErrorCode as af, classifyIntentGuardianError as ag, type AuthorizationTokenProvider as ah, type TimeoutConfig as ai, type ActionCallback as aj, type ReferralRedemption as ak, type ReferralSignatureBody as al, type CreateDepositParams as am, type CreateDepositConversionRate as an, type Range as ao, type WithdrawDepositParams as ap, type SignalIntentParams as aq, type FulfillIntentParams as ar, type ReleaseFundsToPayerParams as as, type CancelIntentParams as at, type BestByPlatformResponseObject as au, type GetBestByPlatformResponse as av, type GetBestByPlatformResponseObject as aw, type GetPlatformQuote as ax, type PlatformQuote as ay, type QuotePreference as az, type AttestationServiceSellerVerifyResponse as b, buildStakingEntityIds as b$, type RegisterPayeeDetailsResponse as b0, type SellerPlatform as b1, type VenmoSessionMaterial as b2, type CashAppSessionMaterial as b3, type WiseSessionMaterial as b4, type WiseProfileInfo as b5, type WiseProfileSelectionRequired as b6, type WiseProfileNotFound as b7, type PayPalGoogleOAuthSellerCredentialUploadBody as b8, type VenmoCredentialUploadInput as b9, type RegisteredUploadSellerCredentialParams as bA, type UploadSellerCredentialOptions as bB, type GetSellerCredentialStatusParams as bC, type UploadPayPalGoogleOAuthSellerCredentialParams as bD, type UploadGoogleOAuthSellerCredentialParams as bE, type VerifySellerPaymentParams as bF, type IdentityAttestationActionType as bG, type IdentityAttestationOutput as bH, type IdentityAttestationOutputFor as bI, type IdentityAttestationParams as bJ, type MakerIdentityAttestationRequestBody as bK, type MakerIdentityPlatform as bL, type OnchainCurrency as bM, type DepositVerifierData as bN, type PreparedTransaction as bO, type OrderStats as bP, type DepositIntentStatistics as bQ, type UsdcAmount as bR, type StakeEnvironment as bS, type TakerStakeBalances as bT, type OrderbookEntry as bU, type OrderbookTableRow as bV, IndexerClient as bW, defaultIndexerEndpoint as bX, IndexerDepositService as bY, IndexerRateManagerService as bZ, compareEventCursorIdsByRecency as b_, type CashAppCredentialUploadInput as ba, type WiseCredentialUploadInput as bb, type SellerCredentialUploadInputByPlatform as bc, type SellerCiphertextBundle as bd, type SellerSignedCiphertextBundle as be, type SellerVerifyIntentDetails as bf, type SellerVerifyInput as bg, type SellerProbeInput as bh, type SellerCredentialBundleUpload as bi, type SellerCredentialStatusValue as bj, type SellerCredentialStatus as bk, type SellerVerifyProxyBody as bl, type SellerTypedDataField as bm, type SellerTypedDataSpec as bn, type SellerPaymentTypedDataValue as bo, type SellerAttestationOutput as bp, type SellerCredentialProbeResponse as bq, type FulfillIntentAttestationResponse as br, type AttestationServiceSellerCredentialProbeResponse as bs, type BuyerTeePaymentParams as bt, type BuyerTeePaymentProofInput as bu, type BuyerTeeSessionMaterial as bv, type CuratorSellerCredentialStatusResponse as bw, type CuratorSellerVerifyResponse as bx, type RegisteredSellerCredentialPlatform as by, type UploadSellerCredentialParams as bz, type SellerCredentialUploadInput as c, getStakeVaultContract as c$, IndexerStakingService as c0, fetchFulfillmentAndPayment as c1, type DepositEntity as c2, type IntentFulfilledEntity as c3, type IntentFulfillmentAmountsEntity as c4, type DepositPaymentMethodEntity as c5, type MethodCurrencyEntity as c6, type IntentStatus as c7, type RateManagerEntity as c8, type RateManagerRateEntity as c9, type DepositFilter as cA, type PaginationOptions as cB, type DepositOrderField as cC, type OrderDirection$1 as cD, type RateManagerFilter as cE, type RateManagerPaginationOptions as cF, type RateManagerDelegationPaginationOptions as cG, type RateManagerOrderField as cH, type OrderDirection as cI, type DeploymentEnv as cJ, type FulfillmentRecord as cK, type PaymentVerifiedRecord as cL, type FulfillmentAndPaymentResponse as cM, PAYMENT_PLATFORMS as cN, type PaymentPlatformType as cO, Currency as cP, currencyInfo as cQ, getCurrencyInfoFromHash as cR, getCurrencyInfoFromCountryCode as cS, getCurrencyCodeFromHash as cT, isSupportedCurrencyHash as cU, mapConversionRatesToOnchainMinRate as cV, type CurrencyData as cW, getContracts as cX, getIntentGuardianContract as cY, hasIntentGuardian as cZ, getRateManagerContracts as c_, type RateManagerDelegationEntity as ca, type ManagerAggregateStatsEntity as cb, type ManagerStatsEntity as cc, type ManagerDailySnapshotEntity as cd, type RateManagerListItem as ce, type RateManagerDetail as cf, type ManualRateUpdateEntity as cg, type OracleConfigUpdateEntity as ch, type DepositFundActivityEntity as ci, type DepositDailySnapshotEntity as cj, type DepositFundActivityType as ck, type DisputeProtectionIntentPage as cl, type DisputeProtectionIntentPageParams as cm, type IndexedDisputeProtectionIntent as cn, type IndexedPage as co, type IndexedPageAsOf as cp, type IndexedRiskWindow as cq, type IndexedStakeActivity as cr, type IndexedStakeLock as cs, type IndexedStakingRowFreshness as ct, type IndexedStakingState as cu, type IndexedStakingStateParams as cv, type IndexedTakerAuthorization as cw, type StakeActivityPageParams as cx, type StakeLockPageParams as cy, type StakingEntityIds as cz, type SellerCredentialUploadPlatform as d, getOrchestratorV3Contract as d0, getDisputeProtectionPolicyContract as d1, getPaymentMethodsCatalog as d2, getGatingServiceAddress as d3, ORCHESTRATOR_V3_ABI as d4, DISPUTE_PROTECTION_POLICY_ABI as d5, STAKE_VAULT_ABI as d6, type RuntimeEnv as d7, type V2ContractAddresses as d8, type V2ContractAbis as d9, MAX_GROUPS_PER_DEPOSIT as dA, MAX_ADDRESSES_PER_CALL as dB, MAX_WHITELISTED_ADDRESSES as dC, diffAccessPolicy as dD, normalizeAccessPolicyState as dE, planAccessPolicyUpdate as dF, type AccessPolicyDiff as dG, type AccessPolicyOrdering as dH, type AccessPolicyPlan as dI, type AccessPolicyPlanStep as dJ, type AccessPolicyState as dK, type AccessPolicyViolation as dL, ZERO_ADDRESS as dM, asErrorMessage as dN, assertDelegationMethodSupport as dO, parseDepositView as da, parseIntentView as db, enrichPvDepositView as dc, enrichPvIntentView as dd, type PV_DepositView as de, type PV_Deposit as df, type PV_PaymentMethodData as dg, type PV_Currency as dh, type PV_ReferralFee as di, type PV_IntentView as dj, type PV_Intent as dk, ZERO_RATE_MANAGER_ID as dl, isZeroRateManagerId as dm, normalizeRateManagerId as dn, normalizeRegistry as dp, getDelegationRoute as dq, classifyDelegationState as dr, type DelegationRoute as ds, type DelegationState as dt, type DelegationDepositTarget as du, type BatchResult as dv, type SendTransactionFn as dw, type SendBatchFn as dx, AccessPolicyOperations as dy, AccessPolicyUnsupportedError as dz, type SellerCredentialAttestationRuntime as e, type AttestationServiceSellerCredentialUploadResponse as f, type BuyerTeeSessionMaterialEncryptionInput as g, type CreateReferralCodeRequest as h, type ApiAdapterOptions as i, type CreateReferralCodeResponse as j, type ReferralReadRequest as k, type ReferralDashboardResponse as l, type ReferralEarningsResponse as m, type ReferralCodeLookupResponse as n, type RedeemReferralCodeRequest as o, type RedeemReferralCodeResponse as p, type UpdateReferralCodeRequest as q, type UpdateReferralCodeResponse as r, type GoogleOAuthSellerCredentialUploadBodyByPlatform as s, type BestByPlatformResponse as t, type ValidatePayeeDetailsResponse as u, type PostDepositDetailsResponse as v, type GetPayeeDetailsRequest as w, type GetPayeeDetailsResponse as x, type GetOwnerDepositsRequest as y, type GetOwnerDepositsResponse as z };
|