@zkp2p/sdk 0.12.2-rc.2 → 0.12.2-rc.4

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.
@@ -0,0 +1,5 @@
1
+ export { enrichPvDepositView, enrichPvIntentView, parseDepositView, parseIntentView } from './chunk-6XJOOLD5.mjs';
2
+ import './chunk-ZB22BZLZ.mjs';
3
+ import './chunk-ALXVPWTM.mjs';
4
+ //# sourceMappingURL=protocolViewerParsers-CB3CJ2TB.mjs.map
5
+ //# sourceMappingURL=protocolViewerParsers-CB3CJ2TB.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-QE6LWS3W.mjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-CB3CJ2TB.mjs"}
package/dist/react.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bO as PreparedTransaction, a2 as FulfillIntentMethodParams, dw as SendTransactionFn, dx as SendBatchFn, du as DelegationDepositTarget, dv as BatchResult, af as IntentGuardianErrorCode, ab as IntentGuardianPolicy, ac as IntentGuardianQuote } from './vaultUtils-Dla_eG15.mjs';
2
- export { ds as DelegationRoute, dt as DelegationState, dM as VAULT_ZERO_ADDRESS, dl as ZERO_RATE_MANAGER_ID, dN as asErrorMessage, dO as assertDelegationMethodSupport, dr as classifyDelegationState, dq as getDelegationRoute, dm as isZeroRateManagerId, dn as normalizeRateManagerId, dp as normalizeRegistry } from './vaultUtils-Dla_eG15.mjs';
1
+ import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bR as PreparedTransaction, a2 as FulfillIntentMethodParams, dB as SendTransactionFn, dC as SendBatchFn, dz as DelegationDepositTarget, dA as BatchResult, ai as IntentGuardianErrorCode, ae as IntentGuardianPolicy, af as IntentGuardianQuote } from './vaultUtils-D9um2feo.mjs';
2
+ export { dx as DelegationRoute, dy as DelegationState, dF as VAULT_ZERO_ADDRESS, dr as ZERO_RATE_MANAGER_ID, dG as asErrorMessage, dH as assertDelegationMethodSupport, dw as classifyDelegationState, dv as getDelegationRoute, ds as isZeroRateManagerId, dt as normalizeRateManagerId, du as normalizeRegistry } from './vaultUtils-D9um2feo.mjs';
3
3
  import { Hash, Address, Hex } from 'viem';
4
4
  import '@zkp2p/indexer-schema';
5
5
  import 'abitype';
package/dist/react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bO as PreparedTransaction, a2 as FulfillIntentMethodParams, dw as SendTransactionFn, dx as SendBatchFn, du as DelegationDepositTarget, dv as BatchResult, af as IntentGuardianErrorCode, ab as IntentGuardianPolicy, ac as IntentGuardianQuote } from './vaultUtils-Dla_eG15.js';
2
- export { ds as DelegationRoute, dt as DelegationState, dM as VAULT_ZERO_ADDRESS, dl as ZERO_RATE_MANAGER_ID, dN as asErrorMessage, dO as assertDelegationMethodSupport, dr as classifyDelegationState, dq as getDelegationRoute, dm as isZeroRateManagerId, dn as normalizeRateManagerId, dp as normalizeRegistry } from './vaultUtils-Dla_eG15.js';
1
+ import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bR as PreparedTransaction, a2 as FulfillIntentMethodParams, dB as SendTransactionFn, dC as SendBatchFn, dz as DelegationDepositTarget, dA as BatchResult, ai as IntentGuardianErrorCode, ae as IntentGuardianPolicy, af as IntentGuardianQuote } from './vaultUtils-D9um2feo.js';
2
+ export { dx as DelegationRoute, dy as DelegationState, dF as VAULT_ZERO_ADDRESS, dr as ZERO_RATE_MANAGER_ID, dG as asErrorMessage, dH as assertDelegationMethodSupport, dw as classifyDelegationState, dv as getDelegationRoute, ds as isZeroRateManagerId, dt as normalizeRateManagerId, du as normalizeRegistry } from './vaultUtils-D9um2feo.js';
3
3
  import { Hash, Address, Hex } from 'viem';
4
4
  import '@zkp2p/indexer-schema';
5
5
  import 'abitype';
package/dist/react.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { asErrorMessage, ZERO_ADDRESS, getDelegationRoute, assertDelegationMethodSupport, prepareClearDelegationTx, normalizeRateManagerId, normalizeRegistry, isZeroRateManagerId, assertAtomicDelegationSwitchSupport, prepareSetDelegationTx, classifyIntentGuardianError } from './chunk-YA67SM3A.mjs';
2
2
  export { ZERO_ADDRESS as VAULT_ZERO_ADDRESS, ZERO_RATE_MANAGER_ID, asErrorMessage, assertDelegationMethodSupport, classifyDelegationState, getDelegationRoute, isZeroRateManagerId, normalizeRateManagerId, normalizeRegistry } from './chunk-YA67SM3A.mjs';
3
- import './chunk-UQEKVVIN.mjs';
3
+ import './chunk-ALXVPWTM.mjs';
4
4
  import { useState, useCallback, useMemo } from 'react';
5
5
 
6
6
  function useCreateDeposit({ client, onSuccess, onError }) {
@@ -1,5 +1,5 @@
1
1
  import { NetworkError } from './chunk-3J4FPMPW.mjs';
2
- import './chunk-UQEKVVIN.mjs';
2
+ import './chunk-ALXVPWTM.mjs';
3
3
 
4
4
  // src/utils/timeout.ts
5
5
  async function withTimeout(promise, timeoutMs, timeoutMessage) {
@@ -30,5 +30,5 @@ var DEFAULT_TIMEOUTS = {
30
30
  };
31
31
 
32
32
  export { DEFAULT_TIMEOUTS, withTimeout };
33
- //# sourceMappingURL=timeout-CQ4Y2Z4T.mjs.map
34
- //# sourceMappingURL=timeout-CQ4Y2Z4T.mjs.map
33
+ //# sourceMappingURL=timeout-EL45PCAU.mjs.map
34
+ //# sourceMappingURL=timeout-EL45PCAU.mjs.map
@@ -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-CQ4Y2Z4T.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
+ {"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-EL45PCAU.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;"]}
@@ -1314,7 +1314,7 @@ type QuoteSingleResponse = {
1314
1314
  takerReferralFeeAmountFormatted?: string;
1315
1315
  whitelistEnabled: boolean;
1316
1316
  allowedGroupIds: string[];
1317
- disputeProtectionOptedIn: boolean;
1317
+ disputeProtectionOptedOut: boolean;
1318
1318
  disputeProtectionRequiresStake: boolean;
1319
1319
  /**
1320
1320
  * Whether the maker's seller automation is live for this quote — active
@@ -1732,7 +1732,7 @@ type OrderbookEntry = {
1732
1732
  telegramUsername?: string;
1733
1733
  whitelistEnabled: boolean;
1734
1734
  allowedGroupIds: string[];
1735
- disputeProtectionOptedIn: boolean;
1735
+ disputeProtectionOptedOut: boolean;
1736
1736
  disputeProtectionRequiresStake: boolean;
1737
1737
  };
1738
1738
  type GetOrderbookResponse = {
@@ -1777,7 +1777,7 @@ type OrderbookTableRow = {
1777
1777
  sellerAutomatedReleaseEnabled: boolean;
1778
1778
  whitelistEnabled: boolean;
1779
1779
  allowedGroupIds: string[];
1780
- disputeProtectionOptedIn: boolean;
1780
+ disputeProtectionOptedOut: boolean;
1781
1781
  disputeProtectionRequiresStake: boolean;
1782
1782
  isPrivate: boolean;
1783
1783
  updatedAt: string;
@@ -1802,7 +1802,7 @@ type GetOrderbookTableResponse = {
1802
1802
  rows: OrderbookTableRow[];
1803
1803
  };
1804
1804
 
1805
- declare const PAYMENT_PLATFORMS: readonly ["wise", "venmo", "revolut", "cashapp", "mercadopago", "zelle", "paypal", "monzo", "chime", "luxon", "n26"];
1805
+ declare const PAYMENT_PLATFORMS: readonly ["wise", "venmo", "revolut", "cashapp", "mercadopago", "zelle", "paypal", "monzo", "chime", "luxon", "n26", "upi"];
1806
1806
  type PaymentPlatformType = (typeof PAYMENT_PLATFORMS)[number];
1807
1807
 
1808
1808
  type ReferralReadOptions$1 = {
@@ -1836,99 +1836,10 @@ type UpdateReferralCodeSignatureOptions$1 = ReferralSignatureOptions$1 & {
1836
1836
  oldCode: string;
1837
1837
  };
1838
1838
 
1839
- /**
1840
- * Deterministic persisted -> draft diff for a deposit's access policy.
1841
- *
1842
- * `WhitelistPolicy` cannot replace a policy in one call: `configureDeposit`
1843
- * replaces only the enabled flag and *appends* groups and takers, so removals
1844
- * are always separate calls. A single "Save policy" action is therefore a plan
1845
- * of one or more steps, and the ordering matters:
1846
- *
1847
- * - Staying or becoming Restricted: add before removing, so the deposit is
1848
- * never left enforcing against an empty allow set.
1849
- * - Becoming Public: disable first, so the fail-open switch lands before any
1850
- * destructive cleanup and a partially applied plan cannot strand the deposit
1851
- * enforcing a half-removed list.
1852
- * - Swapping more groups than the cap allows: fail open, remove, add, then
1853
- * restore enforcement, because `addAllowedGroups` reverts once the stored
1854
- * array reaches the maximum.
1855
- *
1856
- * Every step is idempotent at the contract level (duplicate adds and absent
1857
- * removals are no-ops), so a partially applied plan can be retried from the
1858
- * beginning without corrupting state.
1859
- */
1860
- declare const MAX_GROUPS_PER_DEPOSIT = 10;
1861
- /**
1862
- * Direct addresses written per transaction.
1863
- *
1864
- * `WhitelistPolicy` caps groups at ten but places no limit on the taker array,
1865
- * so an unchunked editor draft becomes one call whose calldata and per-entry
1866
- * storage writes can exceed what a wallet will submit or a block will accept —
1867
- * an unmineable transaction rather than a clean revert. Fifty entries keeps a
1868
- * single call comfortably inside a normal wallet gas ceiling.
1869
- */
1870
- declare const MAX_ADDRESSES_PER_CALL = 50;
1871
- /**
1872
- * Total direct addresses one deposit may hold from this client.
1873
- *
1874
- * The contract has no such limit; this is a product cap, chosen so the worst
1875
- * case is ten address transactions rather than an unbounded confirmation queue.
1876
- * Groups are the intended mechanism for admitting many takers — a maker who
1877
- * needs more than this wants a group, not a longer list.
1878
- */
1879
- declare const MAX_WHITELISTED_ADDRESSES = 500;
1880
- type AccessPolicyState = {
1881
- enabled: boolean;
1882
- groupIds: string[];
1883
- addresses: string[];
1884
- };
1885
- type AccessPolicyPlanStep = {
1886
- kind: 'configureDeposit';
1887
- enabled: boolean;
1888
- groupIds: string[];
1889
- takers: string[];
1890
- } | {
1891
- kind: 'setEnabled';
1892
- enabled: boolean;
1893
- } | {
1894
- kind: 'addAllowedGroups';
1895
- groupIds: string[];
1896
- } | {
1897
- kind: 'removeAllowedGroups';
1898
- groupIds: string[];
1899
- } | {
1900
- kind: 'addWhitelistedAddresses';
1901
- takers: string[];
1902
- } | {
1903
- kind: 'removeWhitelistedAddresses';
1904
- takers: string[];
1905
- };
1906
- type AccessPolicyViolation = 'group-cap-exceeded' | 'empty-restricted-policy' | 'address-cap-exceeded';
1907
- type AccessPolicyOrdering = 'no-changes' | 'additions-first' | 'removals-first' | 'disable-first';
1908
- type AccessPolicyDiff = {
1909
- addedGroupIds: string[];
1910
- removedGroupIds: string[];
1911
- addedAddresses: string[];
1912
- removedAddresses: string[];
1913
- enabledChanged: boolean;
1914
- };
1915
- type AccessPolicyPlan = {
1916
- diff: AccessPolicyDiff;
1917
- steps: AccessPolicyPlanStep[];
1918
- hasChanges: boolean;
1919
- ordering: AccessPolicyOrdering;
1920
- /** Non-empty means the draft must not be submitted. */
1921
- violations: AccessPolicyViolation[];
1922
- /** Group count once the plan has fully applied. */
1923
- resultingGroupCount: number;
1924
- };
1925
- /** Normalizes a state so callers cannot smuggle duplicates or casing through. */
1926
- declare const normalizeAccessPolicyState: (state: AccessPolicyState) => AccessPolicyState;
1927
- declare const diffAccessPolicy: (persistedInput: AccessPolicyState, draftInput: AccessPolicyState) => AccessPolicyDiff;
1928
- declare const planAccessPolicyUpdate: (persistedInput: AccessPolicyState, draftInput: AccessPolicyState) => AccessPolicyPlan;
1929
-
1930
1839
  type AccessPolicyOperationsConfig = {
1931
1840
  getPublicClient: () => PublicClient;
1841
+ /** Required only for environment-owned policy writes. */
1842
+ getRuntimeEnv?: () => RuntimeEnv;
1932
1843
  /** Undefined wherever the policy is not deployed. */
1933
1844
  getPolicyAddress: () => Address | undefined;
1934
1845
  getPolicyAbi: () => Abi | undefined;
@@ -1946,14 +1857,16 @@ declare class AccessPolicyUnsupportedError extends Error {
1946
1857
  constructor(contract: 'WhitelistPolicy' | 'AddressGroupRegistry');
1947
1858
  }
1948
1859
  /**
1949
- * Reads and prepareable writes for `WhitelistPolicy` and `AddressGroupRegistry`.
1860
+ * Historical reads and narrowly scoped writes for `WhitelistPolicy` and
1861
+ * `AddressGroupRegistry`.
1950
1862
  *
1951
1863
  * Writes are depositor-only at the contract level: `onlyDepositor` resolves the
1952
1864
  * escrow's recorded depositor, so a deposit delegate is rejected. Callers must
1953
1865
  * gate the UI on that rather than relying on a revert.
1954
1866
  *
1955
- * Nothing here enforces admission. Until the intent path consumes the policy,
1956
- * a saved configuration is stored intent, not active gating.
1867
+ * General-purpose group management is retired. New sell deposits may still
1868
+ * configure the protocol-owned Peer Pay merchant default; every other write
1869
+ * remains limited to failing open or removing historical entries.
1957
1870
  */
1958
1871
  declare class AccessPolicyOperations {
1959
1872
  private readonly config;
@@ -1964,11 +1877,13 @@ declare class AccessPolicyOperations {
1964
1877
  isEnabled(params: {
1965
1878
  escrow: Address;
1966
1879
  depositId: bigint;
1880
+ paymentMethod: Hex;
1967
1881
  }): Promise<boolean>;
1968
1882
  /** Groups are enumerable onchain; direct addresses deliberately are not. */
1969
1883
  getAllowedGroups(params: {
1970
1884
  escrow: Address;
1971
1885
  depositId: bigint;
1886
+ paymentMethod: Hex;
1972
1887
  }): Promise<Hex[]>;
1973
1888
  /**
1974
1889
  * Point check for one address. There is no enumeration getter, so this can
@@ -1979,7 +1894,7 @@ declare class AccessPolicyOperations {
1979
1894
  depositId: bigint;
1980
1895
  taker: Address;
1981
1896
  }): Promise<boolean>;
1982
- maxGroupsPerDeposit(): Promise<bigint>;
1897
+ maxGroupsPerDepositPaymentMethod(): Promise<bigint>;
1983
1898
  groupExists(groupId: Hex): Promise<boolean>;
1984
1899
  /** Curated membership OR resolver. Resolver failures fail closed. */
1985
1900
  isMember(params: {
@@ -1987,63 +1902,33 @@ declare class AccessPolicyOperations {
1987
1902
  account: Address;
1988
1903
  }): Promise<boolean>;
1989
1904
  private preparePolicyCall;
1990
- prepareConfigureDeposit(params: {
1905
+ /** Configure the fixed Peer Pay merchant default while creating a sell deposit. */
1906
+ prepareConfigurePeerPayMerchantDeposit(params: {
1991
1907
  escrow: Address;
1992
1908
  depositId: bigint;
1993
- enabled: boolean;
1994
- groupIds: readonly Hex[];
1995
- takers: readonly Address[];
1996
- txOverrides?: TxOverrides;
1997
- }): PreparedTransactionWithAbi;
1998
- prepareSetEnabled(params: {
1999
- escrow: Address;
2000
- depositId: bigint;
2001
- enabled: boolean;
1909
+ paymentMethod: Hex;
2002
1910
  txOverrides?: TxOverrides;
2003
1911
  }): PreparedTransactionWithAbi;
2004
- prepareAddAllowedGroups(params: {
1912
+ /** Fail open before removing historical policy entries. */
1913
+ prepareDisable(params: {
2005
1914
  escrow: Address;
2006
1915
  depositId: bigint;
2007
- groupIds: readonly Hex[];
1916
+ paymentMethod: Hex;
2008
1917
  txOverrides?: TxOverrides;
2009
1918
  }): PreparedTransactionWithAbi;
2010
1919
  prepareRemoveAllowedGroups(params: {
2011
1920
  escrow: Address;
2012
1921
  depositId: bigint;
1922
+ paymentMethod: Hex;
2013
1923
  groupIds: readonly Hex[];
2014
1924
  txOverrides?: TxOverrides;
2015
1925
  }): PreparedTransactionWithAbi;
2016
- prepareAddWhitelistedAddresses(params: {
2017
- escrow: Address;
2018
- depositId: bigint;
2019
- takers: readonly Address[];
2020
- txOverrides?: TxOverrides;
2021
- }): PreparedTransactionWithAbi;
2022
1926
  prepareRemoveWhitelistedAddresses(params: {
2023
1927
  escrow: Address;
2024
1928
  depositId: bigint;
2025
1929
  takers: readonly Address[];
2026
1930
  txOverrides?: TxOverrides;
2027
1931
  }): PreparedTransactionWithAbi;
2028
- /** Encodes one planner step. */
2029
- preparePlanStep(params: {
2030
- escrow: Address;
2031
- depositId: bigint;
2032
- step: AccessPolicyPlanStep;
2033
- txOverrides?: TxOverrides;
2034
- }): PreparedTransactionWithAbi;
2035
- /**
2036
- * Encodes a whole plan, in order.
2037
- *
2038
- * A plan with violations encodes to nothing: an invalid draft must be
2039
- * rejected before a wallet is ever opened.
2040
- */
2041
- preparePlan(params: {
2042
- escrow: Address;
2043
- depositId: bigint;
2044
- plan: AccessPolicyPlan;
2045
- txOverrides?: TxOverrides;
2046
- }): PreparedTransactionWithAbi[];
2047
1932
  }
2048
1933
 
2049
1934
  type IntentGuardianWriteFunction = 'extendIntent';
@@ -2526,6 +2411,21 @@ type StakeLockPageParams = PageParams & {
2526
2411
  stakeOwner: Address;
2527
2412
  status?: StakeLockStatus;
2528
2413
  };
2414
+ /**
2415
+ * Exactly one of `stakeOwner` (owner side: the takers this stake owner has
2416
+ * authorized) or `taker` (taker side: the stake owners that have authorized
2417
+ * this taker) scopes the page.
2418
+ */
2419
+ type TakerStakeAuthorizationPageParams = PageParams & {
2420
+ vaultAddress: Address;
2421
+ authorized?: boolean;
2422
+ } & ({
2423
+ stakeOwner: Address;
2424
+ taker?: never;
2425
+ } | {
2426
+ taker: Address;
2427
+ stakeOwner?: never;
2428
+ });
2529
2429
  type StakeActivityPageParams = PageParams & {
2530
2430
  vaultAddress: Address;
2531
2431
  /** Merchant address matched against either the immutable owner or taker side. */
@@ -2551,6 +2451,13 @@ type IndexedStakeLock = {
2551
2451
  updatedAtBlockNumber: string;
2552
2452
  updatedAt: string;
2553
2453
  };
2454
+ type IndexedTakerStakeAuthorization = {
2455
+ taker: Address;
2456
+ stakeOwner: Address;
2457
+ authorized: boolean;
2458
+ updatedAtBlockNumber: string;
2459
+ updatedAt: string;
2460
+ };
2554
2461
  type IndexedStakeActivity = {
2555
2462
  stakeOwner: Address | null;
2556
2463
  taker: Address | null;
@@ -2688,6 +2595,12 @@ declare class IndexerStakingService {
2688
2595
  private readonly client;
2689
2596
  constructor(client: IndexerClient);
2690
2597
  fetchStakeLocks(params: StakeLockPageParams, init?: RequestInit): Promise<IndexedPage<IndexedStakeLock>>;
2598
+ /**
2599
+ * Pages one side of the vault's authorization graph: takers a stake owner
2600
+ * has authorized, or stake owners that have authorized a taker. Exactly one
2601
+ * of `stakeOwner` or `taker` scopes the page.
2602
+ */
2603
+ fetchTakerStakeAuthorizations(params: TakerStakeAuthorizationPageParams, init?: RequestInit): Promise<IndexedPage<IndexedTakerStakeAuthorization>>;
2691
2604
  fetchStakeActivity(params: StakeActivityPageParams, init?: RequestInit): Promise<IndexedPage<IndexedStakeActivity>>;
2692
2605
  fetchDisputeProtectionIntents(params: DisputeProtectionIntentPageParams, init?: RequestInit): Promise<DisputeProtectionIntentPage>;
2693
2606
  fetchStakingState(params: IndexedStakingStateParams, init?: RequestInit): Promise<IndexedStakingState>;
@@ -2722,6 +2635,21 @@ type DisputeProtectionReadinessOptions = {
2722
2635
  /** Also prove the dormant successor stack while the recognized predecessor remains active. */
2723
2636
  verifyPassiveSuccessor?: boolean;
2724
2637
  };
2638
+ type DisputeAttestationConfig = {
2639
+ asOfBlock: bigint;
2640
+ chainId: number;
2641
+ policyAddress: Address;
2642
+ verifierAddress: Address;
2643
+ trustedSigners: readonly Address[];
2644
+ requiredSignatures: number;
2645
+ };
2646
+ type ReadDisputeAttestationConfigParams = {
2647
+ publicClient: PublicClient;
2648
+ chainId: number;
2649
+ environment?: RuntimeEnv;
2650
+ };
2651
+ /** Read the canonical dispute addresses and live attestation trust roots at one block. */
2652
+ declare function readDisputeAttestationConfig({ publicClient, chainId, environment, }: ReadDisputeAttestationConfigParams): Promise<DisputeAttestationConfig>;
2725
2653
 
2726
2654
  type FulfillmentRecord = {
2727
2655
  id: string;
@@ -3425,6 +3353,13 @@ declare class Zkp2pClient {
3425
3353
  getStakeLocks: (params: StakeLockPageParams, options?: {
3426
3354
  signal?: AbortSignal;
3427
3355
  }) => Promise<IndexedPage<IndexedStakeLock>>;
3356
+ /**
3357
+ * Pages one side of the vault's authorization graph: the takers a stake
3358
+ * owner has authorized, or the stake owners that have authorized a taker.
3359
+ */
3360
+ getTakerStakeAuthorizations: (params: TakerStakeAuthorizationPageParams, options?: {
3361
+ signal?: AbortSignal;
3362
+ }) => Promise<IndexedPage<IndexedTakerStakeAuthorization>>;
3428
3363
  /** Pages append-only activity relevant to either side of a merchant's stake delegation. */
3429
3364
  getStakeActivity: (params: StakeActivityPageParams, options?: {
3430
3365
  signal?: AbortSignal;
@@ -3586,11 +3521,12 @@ declare class Zkp2pClient {
3586
3521
  */
3587
3522
  getRiskWindow(paymentMethodHash: `0x${string}`): Promise<bigint>;
3588
3523
  /** Read whether an escrow deposit has opted into dispute protection. */
3589
- isDisputeProtectionEnabled(escrow: Address, depositId: bigint): Promise<boolean>;
3524
+ isDisputeProtectionEnabled(escrow: Address, depositId: bigint, paymentMethod: Hex): Promise<boolean>;
3590
3525
  /** Enable or disable dispute protection for one deposit. */
3591
3526
  readonly setDisputeProtectionEnabled: PrepareableMethod<{
3592
3527
  escrow: Address;
3593
3528
  depositId: bigint;
3529
+ paymentMethod: Hex;
3594
3530
  enabled: boolean;
3595
3531
  disputeProtectionPolicyAddress?: Address;
3596
3532
  txOverrides?: TxOverrides;
@@ -4761,4 +4697,4 @@ type SendBatchFn = (txs: Array<{
4761
4697
  value?: bigint;
4762
4698
  }>) => Promise<string>;
4763
4699
 
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 };
4700
+ 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 GetIntentsByDepositResponse 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, readDisputeAttestationConfig as a9, type GetPlatformQuote as aA, type PlatformQuote as aB, type QuotePreference as aC, type GetNearbyQuote as aD, type GetNearbySuggestions as aE, type GetQuoteResponse as aF, type GetQuoteResponseObject as aG, type GetQuoteSingleResponse as aH, type QuoteResponseObject as aI, type QuoteSingleResponse as aJ, type QuoteIntentResponse as aK, type QuoteFeesResponse as aL, type FiatResponse as aM, type TokenResponse as aN, type NearbyQuote as aO, type NearbySuggestions as aP, type ApiDeposit as aQ, type DepositVerifier as aR, type DepositVerifierCurrency as aS, type DepositStatus$1 as aT, type GetDepositByIdRequest as aU, type GetDepositByIdResponse as aV, type Intent as aW, type ApiIntentStatus as aX, type GetOwnerIntentsRequest as aY, type GetOwnerIntentsResponse as aZ, type GetIntentsByDepositRequest as a_, type DisputeAttestationConfig as aa, type DisputeProtectionReadinessOptions as ab, type DisputeProtectionReadinessResult as ac, type ReadDisputeAttestationConfigParams as ad, type IntentGuardianPolicy as ae, type IntentGuardianQuote as af, type IntentGuardianWriteFunction as ag, type IntentGuardianWriteParams as ah, type IntentGuardianErrorCode as ai, classifyIntentGuardianError as aj, type AuthorizationTokenProvider as ak, type TimeoutConfig as al, type ActionCallback as am, type ReferralRedemption as an, type ReferralSignatureBody as ao, type CreateDepositParams as ap, type CreateDepositConversionRate as aq, type Range as ar, type WithdrawDepositParams as as, type SignalIntentParams as at, type FulfillIntentParams as au, type ReleaseFundsToPayerParams as av, type CancelIntentParams as aw, type BestByPlatformResponseObject as ax, type GetBestByPlatformResponse as ay, type GetBestByPlatformResponseObject as az, type AttestationServiceSellerVerifyResponse as b, IndexerDepositService as b$, type GetIntentByHashRequest as b0, type GetIntentByHashResponse as b1, type RegisterPayeeDetailsRequest as b2, type RegisterPayeeDetailsResponse as b3, type SellerPlatform as b4, type VenmoSessionMaterial as b5, type CashAppSessionMaterial as b6, type WiseSessionMaterial as b7, type WiseProfileInfo as b8, type WiseProfileSelectionRequired as b9, type CuratorSellerVerifyResponse as bA, type RegisteredSellerCredentialPlatform as bB, type UploadSellerCredentialParams as bC, type RegisteredUploadSellerCredentialParams as bD, type UploadSellerCredentialOptions as bE, type GetSellerCredentialStatusParams as bF, type UploadPayPalGoogleOAuthSellerCredentialParams as bG, type UploadGoogleOAuthSellerCredentialParams as bH, type VerifySellerPaymentParams as bI, type IdentityAttestationActionType as bJ, type IdentityAttestationOutput as bK, type IdentityAttestationOutputFor as bL, type IdentityAttestationParams as bM, type MakerIdentityAttestationRequestBody as bN, type MakerIdentityPlatform as bO, type OnchainCurrency as bP, type DepositVerifierData as bQ, type PreparedTransaction as bR, type OrderStats as bS, type DepositIntentStatistics as bT, type UsdcAmount as bU, type StakeEnvironment as bV, type TakerStakeBalances as bW, type OrderbookEntry as bX, type OrderbookTableRow as bY, IndexerClient as bZ, defaultIndexerEndpoint as b_, type WiseProfileNotFound as ba, type PayPalGoogleOAuthSellerCredentialUploadBody as bb, type VenmoCredentialUploadInput as bc, type CashAppCredentialUploadInput as bd, type WiseCredentialUploadInput as be, type SellerCredentialUploadInputByPlatform as bf, type SellerCiphertextBundle as bg, type SellerSignedCiphertextBundle as bh, type SellerVerifyIntentDetails as bi, type SellerVerifyInput as bj, type SellerProbeInput as bk, type SellerCredentialBundleUpload as bl, type SellerCredentialStatusValue as bm, type SellerCredentialStatus as bn, type SellerVerifyProxyBody as bo, type SellerTypedDataField as bp, type SellerTypedDataSpec as bq, type SellerPaymentTypedDataValue as br, type SellerAttestationOutput as bs, type SellerCredentialProbeResponse as bt, type FulfillIntentAttestationResponse as bu, type AttestationServiceSellerCredentialProbeResponse as bv, type BuyerTeePaymentParams as bw, type BuyerTeePaymentProofInput as bx, type BuyerTeeSessionMaterial as by, type CuratorSellerCredentialStatusResponse as bz, type SellerCredentialUploadInput as c, type CurrencyData as c$, IndexerRateManagerService as c0, compareEventCursorIdsByRecency as c1, buildStakingEntityIds as c2, IndexerStakingService as c3, fetchFulfillmentAndPayment as c4, type DepositEntity as c5, type IntentFulfilledEntity as c6, type IntentFulfillmentAmountsEntity as c7, type DepositPaymentMethodEntity as c8, type MethodCurrencyEntity as c9, type IndexedTakerStakeAuthorization as cA, type StakeActivityPageParams as cB, type StakeLockPageParams as cC, type StakingEntityIds as cD, type TakerStakeAuthorizationPageParams as cE, type DepositFilter as cF, type PaginationOptions as cG, type DepositOrderField as cH, type OrderDirection$1 as cI, type RateManagerFilter as cJ, type RateManagerPaginationOptions as cK, type RateManagerDelegationPaginationOptions as cL, type RateManagerOrderField as cM, type OrderDirection as cN, type DeploymentEnv as cO, type FulfillmentRecord as cP, type PaymentVerifiedRecord as cQ, type FulfillmentAndPaymentResponse as cR, PAYMENT_PLATFORMS as cS, type PaymentPlatformType as cT, Currency as cU, currencyInfo as cV, getCurrencyInfoFromHash as cW, getCurrencyInfoFromCountryCode as cX, getCurrencyCodeFromHash as cY, isSupportedCurrencyHash as cZ, mapConversionRatesToOnchainMinRate as c_, type IntentStatus as ca, type RateManagerEntity as cb, type RateManagerRateEntity as cc, type RateManagerDelegationEntity as cd, type ManagerAggregateStatsEntity as ce, type ManagerStatsEntity as cf, type ManagerDailySnapshotEntity as cg, type RateManagerListItem as ch, type RateManagerDetail as ci, type ManualRateUpdateEntity as cj, type OracleConfigUpdateEntity as ck, type DepositFundActivityEntity as cl, type DepositDailySnapshotEntity as cm, type DepositFundActivityType as cn, type DisputeProtectionIntentPage as co, type DisputeProtectionIntentPageParams as cp, type IndexedDisputeProtectionIntent as cq, type IndexedPage as cr, type IndexedPageAsOf as cs, type IndexedRiskWindow as ct, type IndexedStakeActivity as cu, type IndexedStakeLock as cv, type IndexedStakingRowFreshness as cw, type IndexedStakingState as cx, type IndexedStakingStateParams as cy, type IndexedTakerAuthorization as cz, type SellerCredentialUploadPlatform as d, getContracts as d0, getIntentGuardianContract as d1, hasIntentGuardian as d2, getRateManagerContracts as d3, getStakeVaultContract as d4, getOrchestratorV3Contract as d5, getDisputeProtectionPolicyContract as d6, getPaymentMethodsCatalog as d7, getGatingServiceAddress as d8, ORCHESTRATOR_V3_ABI as d9, type BatchResult as dA, type SendTransactionFn as dB, type SendBatchFn as dC, AccessPolicyOperations as dD, AccessPolicyUnsupportedError as dE, ZERO_ADDRESS as dF, asErrorMessage as dG, assertDelegationMethodSupport as dH, DISPUTE_PROTECTION_POLICY_ABI as da, STAKE_VAULT_ABI as db, type RuntimeEnv as dc, type V2ContractAddresses as dd, type V2ContractAbis as de, parseDepositView as df, parseIntentView as dg, enrichPvDepositView as dh, enrichPvIntentView as di, type PV_DepositView as dj, type PV_Deposit as dk, type PV_PaymentMethodData as dl, type PV_Currency as dm, type PV_ReferralFee as dn, type PV_IntentView as dp, type PV_Intent as dq, ZERO_RATE_MANAGER_ID as dr, isZeroRateManagerId as ds, normalizeRateManagerId as dt, normalizeRegistry as du, getDelegationRoute as dv, classifyDelegationState as dw, type DelegationRoute as dx, type DelegationState as dy, type DelegationDepositTarget 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 };