@zkp2p/sdk 0.14.8 → 0.15.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +148 -6
- package/dist/build-metadata.json +4 -4
- package/dist/chunk-6K2RTFER.mjs +12 -0
- package/dist/chunk-6K2RTFER.mjs.map +1 -0
- package/dist/{chunk-Q33OEQMR.mjs → chunk-ZYCDBPQR.mjs} +37220 -27627
- package/dist/{chunk-Q33OEQMR.mjs.map → chunk-ZYCDBPQR.mjs.map} +1 -1
- package/dist/{currency-ELLII4P5.mjs → currency-CSMMPWY5.mjs} +3 -3
- package/dist/{currency-ELLII4P5.mjs.map → currency-CSMMPWY5.mjs.map} +1 -1
- package/dist/index.cjs +44807 -34545
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +29 -4
- package/dist/index.d.ts +29 -4
- package/dist/index.mjs +1492 -880
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-5IK7K5HX.mjs +5 -0
- package/dist/{protocolViewerParsers-6IAP5ZIJ.mjs.map → protocolViewerParsers-5IK7K5HX.mjs.map} +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.mjs +1 -1
- package/dist/{timeout-GGK4EEKQ.mjs → timeout-CU53EYLL.mjs} +3 -3
- package/dist/{timeout-GGK4EEKQ.mjs.map → timeout-CU53EYLL.mjs.map} +1 -1
- package/dist/{vaultUtils-C8yL2H-O.d.mts → vaultUtils-DUyYQUYu.d.mts} +242 -15
- package/dist/{vaultUtils-C8yL2H-O.d.ts → vaultUtils-DUyYQUYu.d.ts} +242 -15
- package/package.json +2 -2
- package/dist/chunk-HG27KAGT.mjs +0 -12
- package/dist/chunk-HG27KAGT.mjs.map +0 -1
- package/dist/protocolViewerParsers-6IAP5ZIJ.mjs +0 -5
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { enrichPvDepositView, enrichPvIntentView, parseDepositView, parseIntentView } from './chunk-ZYCDBPQR.mjs';
|
|
2
|
+
import './chunk-WDEEWFEU.mjs';
|
|
3
|
+
import './chunk-6K2RTFER.mjs';
|
|
4
|
+
//# sourceMappingURL=protocolViewerParsers-5IK7K5HX.mjs.map
|
|
5
|
+
//# sourceMappingURL=protocolViewerParsers-5IK7K5HX.mjs.map
|
package/dist/{protocolViewerParsers-6IAP5ZIJ.mjs.map → protocolViewerParsers-5IK7K5HX.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-5IK7K5HX.mjs"}
|
package/dist/react.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { a0 as Zkp2pClient, P as PostDepositDetailsRequest, a6 as SignalIntentMethodParams, b$ as PreparedTransaction, a7 as FulfillIntentMethodParams, dL as SendTransactionFn, dM as SendBatchFn, dJ as DelegationDepositTarget, dK as BatchResult, ao as IntentGuardianErrorCode, ak as IntentGuardianPolicy, al as IntentGuardianQuote } from './vaultUtils-DUyYQUYu.mjs';
|
|
2
|
+
export { dH as DelegationRoute, dI as DelegationState, d_ as VAULT_ZERO_ADDRESS, dB as ZERO_RATE_MANAGER_ID, d$ as asErrorMessage, e0 as assertDelegationMethodSupport, dG as classifyDelegationState, dF as getDelegationRoute, dC as isZeroRateManagerId, dD as normalizeRateManagerId, dE as normalizeRegistry } from './vaultUtils-DUyYQUYu.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 {
|
|
2
|
-
export {
|
|
1
|
+
import { a0 as Zkp2pClient, P as PostDepositDetailsRequest, a6 as SignalIntentMethodParams, b$ as PreparedTransaction, a7 as FulfillIntentMethodParams, dL as SendTransactionFn, dM as SendBatchFn, dJ as DelegationDepositTarget, dK as BatchResult, ao as IntentGuardianErrorCode, ak as IntentGuardianPolicy, al as IntentGuardianQuote } from './vaultUtils-DUyYQUYu.js';
|
|
2
|
+
export { dH as DelegationRoute, dI as DelegationState, d_ as VAULT_ZERO_ADDRESS, dB as ZERO_RATE_MANAGER_ID, d$ as asErrorMessage, e0 as assertDelegationMethodSupport, dG as classifyDelegationState, dF as getDelegationRoute, dC as isZeroRateManagerId, dD as normalizeRateManagerId, dE as normalizeRegistry } from './vaultUtils-DUyYQUYu.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-
|
|
3
|
+
import './chunk-6K2RTFER.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-
|
|
2
|
+
import './chunk-6K2RTFER.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-
|
|
34
|
-
//# sourceMappingURL=timeout-
|
|
33
|
+
//# sourceMappingURL=timeout-CU53EYLL.mjs.map
|
|
34
|
+
//# sourceMappingURL=timeout-CU53EYLL.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-
|
|
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-CU53EYLL.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,6 +1,6 @@
|
|
|
1
|
+
import { Address, Hex, AccessList, AuthorizationList, Hash, PublicClient, WalletClient, Transport } from 'viem';
|
|
1
2
|
import * as _zkp2p_indexer_schema from '@zkp2p/indexer-schema';
|
|
2
3
|
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
|
-
import { Address, Hex, AccessList, AuthorizationList, Hash, PublicClient, WalletClient, Transport } from 'viem';
|
|
4
4
|
import { Abi } from 'abitype';
|
|
5
5
|
import { IdentityPlatform, IdentityAttestationOutputFor as IdentityAttestationOutputFor$1, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityRequestPlatform } from '@zkp2p/zkp2p-attestation';
|
|
6
6
|
|
|
@@ -78,6 +78,12 @@ type V2ContractAddresses = {
|
|
|
78
78
|
stakeVault?: `0x${string}`;
|
|
79
79
|
/** DisputeProtectionPolicy contract — the StakeVault controller for dispute-risk admission */
|
|
80
80
|
disputeProtectionPolicy?: `0x${string}`;
|
|
81
|
+
/** Successor policy that supports payment validation and no-stake intent modes. */
|
|
82
|
+
disputeProtectionPolicyBypass?: Address;
|
|
83
|
+
/** Successor stake vault; independent of the canonical alias during rollout. */
|
|
84
|
+
stakeVaultBypass?: Address;
|
|
85
|
+
/** Successor lifecycle hook that requires a payment-validation envelope. */
|
|
86
|
+
intentLifecycleHookV1Bypass?: Address;
|
|
81
87
|
};
|
|
82
88
|
/**
|
|
83
89
|
* Contract ABIs for a specific deployment.
|
|
@@ -98,6 +104,9 @@ type V2ContractAbis = {
|
|
|
98
104
|
addressGroupRegistry?: Abi;
|
|
99
105
|
whitelistPolicy?: Abi;
|
|
100
106
|
stakeVault?: Abi;
|
|
107
|
+
disputeProtectionPolicyBypass?: Abi;
|
|
108
|
+
stakeVaultBypass?: Abi;
|
|
109
|
+
intentLifecycleHookV1Bypass?: Abi;
|
|
101
110
|
disputeProtectionPolicy?: Abi;
|
|
102
111
|
};
|
|
103
112
|
/**
|
|
@@ -213,6 +222,114 @@ declare function getDisputeProtectionPolicyContract(chainId: number, env?: Runti
|
|
|
213
222
|
address: `0x${string}`;
|
|
214
223
|
abi: Abi;
|
|
215
224
|
};
|
|
225
|
+
/** Stable no-stake surface, also usable for the legacy policy's identical intent getter. */
|
|
226
|
+
declare const NO_STAKE_DISPUTE_PROTECTION_POLICY_ABI: readonly [{
|
|
227
|
+
readonly name: "setIntentNoStake";
|
|
228
|
+
readonly type: "function";
|
|
229
|
+
readonly stateMutability: "nonpayable";
|
|
230
|
+
readonly inputs: readonly [{
|
|
231
|
+
readonly type: "address";
|
|
232
|
+
readonly name: "orchestrator";
|
|
233
|
+
}, {
|
|
234
|
+
readonly type: "bytes32";
|
|
235
|
+
readonly name: "intentHash";
|
|
236
|
+
}, {
|
|
237
|
+
readonly type: "bool";
|
|
238
|
+
readonly name: "noStake";
|
|
239
|
+
}];
|
|
240
|
+
readonly outputs: readonly [];
|
|
241
|
+
}, {
|
|
242
|
+
readonly name: "isIntentNoStake";
|
|
243
|
+
readonly type: "function";
|
|
244
|
+
readonly stateMutability: "view";
|
|
245
|
+
readonly inputs: readonly [{
|
|
246
|
+
readonly type: "bytes32";
|
|
247
|
+
readonly name: "intentHash";
|
|
248
|
+
}];
|
|
249
|
+
readonly outputs: readonly [{
|
|
250
|
+
readonly type: "bool";
|
|
251
|
+
}];
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: "validatePayment";
|
|
254
|
+
readonly type: "function";
|
|
255
|
+
readonly stateMutability: "view";
|
|
256
|
+
readonly inputs: readonly [{
|
|
257
|
+
readonly type: "bytes32";
|
|
258
|
+
readonly name: "intentHash";
|
|
259
|
+
}, {
|
|
260
|
+
readonly type: "bytes";
|
|
261
|
+
readonly name: "data";
|
|
262
|
+
}, {
|
|
263
|
+
readonly type: "bytes";
|
|
264
|
+
readonly name: "hookData";
|
|
265
|
+
}];
|
|
266
|
+
readonly outputs: readonly [];
|
|
267
|
+
}, {
|
|
268
|
+
readonly name: "getDisputeProtectionIntent";
|
|
269
|
+
readonly type: "function";
|
|
270
|
+
readonly stateMutability: "view";
|
|
271
|
+
readonly inputs: readonly [{
|
|
272
|
+
readonly type: "bytes32";
|
|
273
|
+
readonly name: "intentHash";
|
|
274
|
+
}];
|
|
275
|
+
readonly outputs: readonly [{
|
|
276
|
+
readonly type: "tuple";
|
|
277
|
+
readonly components: readonly [{
|
|
278
|
+
readonly type: "address";
|
|
279
|
+
readonly name: "taker";
|
|
280
|
+
}, {
|
|
281
|
+
readonly type: "address";
|
|
282
|
+
readonly name: "stakeOwner";
|
|
283
|
+
}, {
|
|
284
|
+
readonly type: "address";
|
|
285
|
+
readonly name: "depositor";
|
|
286
|
+
}, {
|
|
287
|
+
readonly type: "bytes32";
|
|
288
|
+
readonly name: "paymentMethod";
|
|
289
|
+
}, {
|
|
290
|
+
readonly type: "uint8";
|
|
291
|
+
readonly name: "status";
|
|
292
|
+
}, {
|
|
293
|
+
readonly type: "uint64";
|
|
294
|
+
readonly name: "riskWindow";
|
|
295
|
+
}, {
|
|
296
|
+
readonly type: "uint64";
|
|
297
|
+
readonly name: "releaseEligibleAt";
|
|
298
|
+
}, {
|
|
299
|
+
readonly type: "uint256";
|
|
300
|
+
readonly name: "releaseAmount";
|
|
301
|
+
}];
|
|
302
|
+
}];
|
|
303
|
+
}, {
|
|
304
|
+
readonly name: "DisputeProtectionIntentStakeModeChanged";
|
|
305
|
+
readonly type: "event";
|
|
306
|
+
readonly inputs: readonly [{
|
|
307
|
+
readonly type: "bytes32";
|
|
308
|
+
readonly name: "intentHash";
|
|
309
|
+
readonly indexed: true;
|
|
310
|
+
}, {
|
|
311
|
+
readonly type: "address";
|
|
312
|
+
readonly name: "stakeOwner";
|
|
313
|
+
readonly indexed: true;
|
|
314
|
+
}, {
|
|
315
|
+
readonly type: "bool";
|
|
316
|
+
readonly name: "noStake";
|
|
317
|
+
}];
|
|
318
|
+
}];
|
|
319
|
+
/**
|
|
320
|
+
* Resolve the envelope target independently of the live lifecycle hook. Bypass
|
|
321
|
+
* records remain exported by name before and after canonical aliases move.
|
|
322
|
+
*/
|
|
323
|
+
declare function getPaymentValidationPolicyContract(chainId: number, env?: RuntimeEnv): {
|
|
324
|
+
address: Address;
|
|
325
|
+
abi: Abi;
|
|
326
|
+
} | undefined;
|
|
327
|
+
|
|
328
|
+
type ActiveDisputeProtectionStack = {
|
|
329
|
+
lifecycleHook: Address;
|
|
330
|
+
disputeProtectionPolicy: Address;
|
|
331
|
+
stakeVault: Address;
|
|
332
|
+
};
|
|
216
333
|
|
|
217
334
|
/**
|
|
218
335
|
* Minimal fetch-based GraphQL client for the ZKP2P indexer.
|
|
@@ -1229,6 +1346,11 @@ type QuotePreference = 'EXCLUSIVE_SAR' | 'PREFER_SAR' | 'PREFER_BUYER_TEE' | 'EX
|
|
|
1229
1346
|
type QuoteVisibilityMode = 'eligible' | 'eligible_with_chargeback' | 'eligible_with_chargeback_staked';
|
|
1230
1347
|
type OrderbookVisibilityMode = 'all' | 'eligible' | 'eligible_with_chargeback';
|
|
1231
1348
|
type QuoteRequest = {
|
|
1349
|
+
/**
|
|
1350
|
+
* Opt in to protected rows a taker may signal without stake (Venmo only today).
|
|
1351
|
+
* Omitted by default.
|
|
1352
|
+
*/
|
|
1353
|
+
includeNoStakeCompatible?: boolean;
|
|
1232
1354
|
paymentPlatforms: string[];
|
|
1233
1355
|
fiatCurrency: string;
|
|
1234
1356
|
user: string;
|
|
@@ -1261,6 +1383,11 @@ type QuoteRequest = {
|
|
|
1261
1383
|
quotePreference?: QuotePreference;
|
|
1262
1384
|
};
|
|
1263
1385
|
type QuotesBestByPlatformRequest = {
|
|
1386
|
+
/**
|
|
1387
|
+
* Opt in to protected rows a taker may signal without stake (Venmo only today).
|
|
1388
|
+
* Omitted by default.
|
|
1389
|
+
*/
|
|
1390
|
+
includeNoStakeCompatible?: boolean;
|
|
1264
1391
|
fiatCurrency: string;
|
|
1265
1392
|
user: string;
|
|
1266
1393
|
recipient: string;
|
|
@@ -1349,6 +1476,8 @@ type QuoteSingleResponse = {
|
|
|
1349
1476
|
whitelistEnabled: boolean;
|
|
1350
1477
|
allowedGroupIds: string[];
|
|
1351
1478
|
disputeProtectionOptedOut: boolean;
|
|
1479
|
+
/** Curator-owned eligibility; absent means not compatible. */
|
|
1480
|
+
disputeProtectionNoStakeCompatible?: boolean;
|
|
1352
1481
|
disputeProtectionRequiresStake: boolean;
|
|
1353
1482
|
/**
|
|
1354
1483
|
* Whether the maker's seller automation is live for this quote — active
|
|
@@ -1732,6 +1861,11 @@ type TakerStakeBalances = {
|
|
|
1732
1861
|
type GetDepositBundleParams = DepositBundleRequest;
|
|
1733
1862
|
type GetDepositBundleResponse = DepositBundleResponse;
|
|
1734
1863
|
type GetOrderbookParams = {
|
|
1864
|
+
/**
|
|
1865
|
+
* Opt in to protected rows a taker may signal without stake (Venmo only today).
|
|
1866
|
+
* Omitted by default.
|
|
1867
|
+
*/
|
|
1868
|
+
includeNoStakeCompatible?: boolean;
|
|
1735
1869
|
currency: string;
|
|
1736
1870
|
paymentPlatform?: string;
|
|
1737
1871
|
mode?: OrderbookVisibilityMode;
|
|
@@ -1769,6 +1903,8 @@ type OrderbookEntry = {
|
|
|
1769
1903
|
whitelistEnabled: boolean;
|
|
1770
1904
|
allowedGroupIds: string[];
|
|
1771
1905
|
disputeProtectionOptedOut: boolean;
|
|
1906
|
+
/** Curator-owned eligibility; absent means not compatible. */
|
|
1907
|
+
disputeProtectionNoStakeCompatible?: boolean;
|
|
1772
1908
|
disputeProtectionRequiresStake: boolean;
|
|
1773
1909
|
};
|
|
1774
1910
|
type GetOrderbookResponse = {
|
|
@@ -1814,6 +1950,8 @@ type OrderbookTableRow = {
|
|
|
1814
1950
|
whitelistEnabled: boolean;
|
|
1815
1951
|
allowedGroupIds: string[];
|
|
1816
1952
|
disputeProtectionOptedOut: boolean;
|
|
1953
|
+
/** Curator-owned eligibility; absent means not compatible. */
|
|
1954
|
+
disputeProtectionNoStakeCompatible?: boolean;
|
|
1817
1955
|
disputeProtectionRequiresStake: boolean;
|
|
1818
1956
|
isPrivate: boolean;
|
|
1819
1957
|
updatedAt: string;
|
|
@@ -2034,6 +2172,7 @@ declare function classifyIntentGuardianError(error: unknown): IntentGuardianErro
|
|
|
2034
2172
|
|
|
2035
2173
|
type StakeVaultWriteFunction = 'depositStake' | 'withdrawStake' | 'claim' | 'setTakerAuthorization' | 'selectStakeOwner' | 'clearStakeOwner';
|
|
2036
2174
|
type StakeWriteBase = {
|
|
2175
|
+
stakeVaultAddress?: Address;
|
|
2037
2176
|
txOverrides?: TxOverrides;
|
|
2038
2177
|
};
|
|
2039
2178
|
type StakeVaultWriteParams = {
|
|
@@ -2662,6 +2801,10 @@ declare class IndexerStakingService {
|
|
|
2662
2801
|
}
|
|
2663
2802
|
|
|
2664
2803
|
type InactiveReadinessState = 'recognized_predecessor' | 'passive_successor' | 'verified_no_hook';
|
|
2804
|
+
declare enum DisputeProtectionVerifiedStack {
|
|
2805
|
+
Manifest = "manifest",
|
|
2806
|
+
BypassRecords = "bypass_records"
|
|
2807
|
+
}
|
|
2665
2808
|
type KnownReadinessBase = {
|
|
2666
2809
|
asOfBlock: bigint;
|
|
2667
2810
|
manifestNetwork: 'base' | 'base_staging';
|
|
@@ -2671,6 +2814,7 @@ type KnownReadinessBase = {
|
|
|
2671
2814
|
orchestratorPaused: boolean;
|
|
2672
2815
|
allowMultipleIntents: boolean;
|
|
2673
2816
|
policyAdmissionsPaused: boolean | null;
|
|
2817
|
+
verifiedStack: DisputeProtectionVerifiedStack;
|
|
2674
2818
|
};
|
|
2675
2819
|
type KnownReadinessResult = KnownReadinessBase & ({
|
|
2676
2820
|
state: InactiveReadinessState;
|
|
@@ -2702,9 +2846,10 @@ type ReadDisputeAttestationConfigParams = {
|
|
|
2702
2846
|
publicClient: PublicClient;
|
|
2703
2847
|
chainId: number;
|
|
2704
2848
|
environment?: RuntimeEnv;
|
|
2849
|
+
policyAddress?: Address;
|
|
2705
2850
|
};
|
|
2706
2851
|
/** Read the canonical dispute addresses and live attestation trust roots at one block. */
|
|
2707
|
-
declare function readDisputeAttestationConfig({ publicClient, chainId, environment, }: ReadDisputeAttestationConfigParams): Promise<DisputeAttestationConfig>;
|
|
2852
|
+
declare function readDisputeAttestationConfig({ publicClient, chainId, environment, policyAddress, }: ReadDisputeAttestationConfigParams): Promise<DisputeAttestationConfig>;
|
|
2708
2853
|
|
|
2709
2854
|
type FulfillmentRecord = {
|
|
2710
2855
|
id: string;
|
|
@@ -2729,6 +2874,27 @@ type FulfillmentAndPaymentResponse = {
|
|
|
2729
2874
|
};
|
|
2730
2875
|
declare function fetchFulfillmentAndPayment(client: IndexerClient, intentHash: string): Promise<FulfillmentAndPaymentResponse>;
|
|
2731
2876
|
|
|
2877
|
+
declare enum DisputeProtectionIntentStatus {
|
|
2878
|
+
None = 0,
|
|
2879
|
+
Pending = 1,
|
|
2880
|
+
Cancelled = 2,
|
|
2881
|
+
Settled = 3,
|
|
2882
|
+
Released = 4,
|
|
2883
|
+
Disputed = 5
|
|
2884
|
+
}
|
|
2885
|
+
type DisputeProtectionIntent = {
|
|
2886
|
+
taker: Address;
|
|
2887
|
+
stakeOwner: Address;
|
|
2888
|
+
depositor: Address;
|
|
2889
|
+
paymentMethod: Hex;
|
|
2890
|
+
status: DisputeProtectionIntentStatus;
|
|
2891
|
+
riskWindow: bigint;
|
|
2892
|
+
releaseEligibleAt: bigint;
|
|
2893
|
+
releaseAmount: bigint;
|
|
2894
|
+
};
|
|
2895
|
+
/** Accept viem's named or positional struct representation, validating the on-chain field widths. */
|
|
2896
|
+
declare function parseDisputeProtectionIntent(value: unknown): DisputeProtectionIntent | null;
|
|
2897
|
+
|
|
2732
2898
|
type ICloudMailSellerPlatform = 'paypal' | 'venmo';
|
|
2733
2899
|
type UploadICloudMailSellerCredentialParams = {
|
|
2734
2900
|
/** Registered maker hash used in the Curator route. */
|
|
@@ -2884,8 +3050,8 @@ type SignalIntentMethodParams = {
|
|
|
2884
3050
|
postIntentHook?: Address;
|
|
2885
3051
|
/** Optional data for pre-intent hook (defaults to '0x') */
|
|
2886
3052
|
preIntentHookData?: `0x${string}`;
|
|
2887
|
-
/**
|
|
2888
|
-
|
|
3053
|
+
/** Venmo only; requires a Friends & Family payment from Venmo balance. Default false. */
|
|
3054
|
+
noStake?: boolean;
|
|
2889
3055
|
/** Optional escrow override (auto-routes orchestrator when provided) */
|
|
2890
3056
|
escrowAddress?: Address;
|
|
2891
3057
|
/**
|
|
@@ -3143,6 +3309,7 @@ declare class Zkp2pClient {
|
|
|
3143
3309
|
private readonly _pvReader;
|
|
3144
3310
|
private readonly _vaultOps;
|
|
3145
3311
|
private readonly _stakeOps;
|
|
3312
|
+
private readonly _liveDisputeProtection;
|
|
3146
3313
|
private readonly _disputeProtectionReadinessReader;
|
|
3147
3314
|
private readonly _intentGuardianOps;
|
|
3148
3315
|
private readonly _intentOps;
|
|
@@ -3213,6 +3380,7 @@ declare class Zkp2pClient {
|
|
|
3213
3380
|
private prepareResolvedOrchestratorTransaction;
|
|
3214
3381
|
private prepareContractTransaction;
|
|
3215
3382
|
private buildContractMethod;
|
|
3383
|
+
private resolveStakeContract;
|
|
3216
3384
|
private buildStakeVaultMethod;
|
|
3217
3385
|
private buildDisputeProtectionPolicyMethod;
|
|
3218
3386
|
private buildIntentGuardianMethod;
|
|
@@ -3552,19 +3720,56 @@ declare class Zkp2pClient {
|
|
|
3552
3720
|
hash?: Hash;
|
|
3553
3721
|
}>;
|
|
3554
3722
|
/**
|
|
3555
|
-
* Return
|
|
3556
|
-
* or
|
|
3723
|
+
* Return bundle/canonical StakeVault coordinates when no address is supplied,
|
|
3724
|
+
* or validate and return an explicit known vault. This synchronous getter
|
|
3725
|
+
* does not discover the live stack. Use getActiveStakeVaultContract() for the
|
|
3726
|
+
* vault the live policy locks from, used by every implicit stake read and write.
|
|
3557
3727
|
*/
|
|
3558
|
-
getStakeVaultContract(
|
|
3728
|
+
getStakeVaultContract(options?: {
|
|
3729
|
+
stakeVaultAddress?: Address;
|
|
3730
|
+
}): {
|
|
3559
3731
|
address: Address;
|
|
3560
3732
|
abi: Abi;
|
|
3561
3733
|
stakeToken: Address;
|
|
3562
3734
|
};
|
|
3735
|
+
getKnownStakeVaults(): {
|
|
3736
|
+
address: `0x${string}`;
|
|
3737
|
+
abi: Abi;
|
|
3738
|
+
stakeToken: `0x${string}`;
|
|
3739
|
+
}[];
|
|
3740
|
+
getActiveDisputeProtectionStack(): Promise<ActiveDisputeProtectionStack | null>;
|
|
3741
|
+
getActiveStakeVaultContract(): Promise<{
|
|
3742
|
+
address: `0x${string}`;
|
|
3743
|
+
abi: Abi;
|
|
3744
|
+
stakeToken: `0x${string}`;
|
|
3745
|
+
}>;
|
|
3746
|
+
isNoStakeAvailable(): Promise<boolean>;
|
|
3563
3747
|
/** Return the resolved OrchestratorV3 coordinates for advanced integrations. */
|
|
3564
3748
|
getOrchestratorV3Contract(): {
|
|
3565
3749
|
address: Address;
|
|
3566
3750
|
abi: Abi;
|
|
3567
3751
|
};
|
|
3752
|
+
getPaymentValidationPolicyContract(): {
|
|
3753
|
+
address: Address;
|
|
3754
|
+
abi: Abi;
|
|
3755
|
+
} | undefined;
|
|
3756
|
+
/** A mode change must name a configured orchestrator; it never follows the live hook. */
|
|
3757
|
+
readonly setIntentNoStake: PrepareableMethod<{
|
|
3758
|
+
intentHash: Hex;
|
|
3759
|
+
noStake: boolean;
|
|
3760
|
+
orchestratorAddress?: Address;
|
|
3761
|
+
disputeProtectionPolicyAddress?: Address;
|
|
3762
|
+
txOverrides?: TxOverrides;
|
|
3763
|
+
}, `0x${string}`>;
|
|
3764
|
+
private resolveNoStakePolicyAddress;
|
|
3765
|
+
isIntentNoStake(intentHash: Hex, options?: {
|
|
3766
|
+
disputeProtectionPolicyAddress?: Address;
|
|
3767
|
+
}): Promise<boolean>;
|
|
3768
|
+
/** The unchanged tuple getter also supports historical intents on the canonical policy. */
|
|
3769
|
+
getDisputeProtectionIntent(intentHash: Hex, options?: {
|
|
3770
|
+
disputeProtectionPolicyAddress?: Address;
|
|
3771
|
+
blockNumber?: bigint;
|
|
3772
|
+
}): Promise<DisputeProtectionIntent>;
|
|
3568
3773
|
/** Return the resolved DisputeProtectionPolicy coordinates for keeper integrations. */
|
|
3569
3774
|
getDisputeProtectionPolicyContract(): {
|
|
3570
3775
|
address: Address;
|
|
@@ -3575,6 +3780,7 @@ declare class Zkp2pClient {
|
|
|
3575
3780
|
* If an approval is submitted, wait for it to confirm before depositing.
|
|
3576
3781
|
*/
|
|
3577
3782
|
ensureStakeAllowance(params: {
|
|
3783
|
+
stakeVaultAddress?: Address;
|
|
3578
3784
|
amount: bigint;
|
|
3579
3785
|
maxApprove?: boolean;
|
|
3580
3786
|
txOverrides?: TxOverrides;
|
|
@@ -3584,22 +3790,26 @@ declare class Zkp2pClient {
|
|
|
3584
3790
|
}>;
|
|
3585
3791
|
/** Deposit USDC stake owned by the transaction sender. */
|
|
3586
3792
|
readonly depositStake: PrepareableMethod<{
|
|
3793
|
+
stakeVaultAddress?: Address;
|
|
3587
3794
|
txOverrides?: TxOverrides;
|
|
3588
3795
|
} & {
|
|
3589
3796
|
amount: bigint;
|
|
3590
3797
|
}, `0x${string}`>;
|
|
3591
3798
|
/** Withdraw the sender's free stake immediately; locked stake cannot move. */
|
|
3592
3799
|
readonly withdrawStake: PrepareableMethod<{
|
|
3800
|
+
stakeVaultAddress?: Address;
|
|
3593
3801
|
txOverrides?: TxOverrides;
|
|
3594
3802
|
} & {
|
|
3595
3803
|
amount: bigint;
|
|
3596
3804
|
}, `0x${string}`>;
|
|
3597
3805
|
/** Withdraw the sender's complete claimable USDC balance. */
|
|
3598
3806
|
readonly claim: PrepareableMethod<{
|
|
3807
|
+
stakeVaultAddress?: Address;
|
|
3599
3808
|
txOverrides?: TxOverrides;
|
|
3600
3809
|
}, `0x${string}`>;
|
|
3601
3810
|
/** Grant or revoke a taker's access to the sender's stake. */
|
|
3602
3811
|
readonly setTakerAuthorization: PrepareableMethod<{
|
|
3812
|
+
stakeVaultAddress?: Address;
|
|
3603
3813
|
txOverrides?: TxOverrides;
|
|
3604
3814
|
} & {
|
|
3605
3815
|
taker: Address;
|
|
@@ -3607,32 +3817,49 @@ declare class Zkp2pClient {
|
|
|
3607
3817
|
}, `0x${string}`>;
|
|
3608
3818
|
/** Select the authorizing stake owner that backs the connected taker. */
|
|
3609
3819
|
readonly selectStakeOwner: PrepareableMethod<{
|
|
3820
|
+
stakeVaultAddress?: Address;
|
|
3610
3821
|
txOverrides?: TxOverrides;
|
|
3611
3822
|
} & {
|
|
3612
3823
|
stakeOwner: Address;
|
|
3613
3824
|
}, `0x${string}`>;
|
|
3614
3825
|
/** Clear the connected taker's selection and return to self-stake. */
|
|
3615
3826
|
readonly clearStakeOwner: PrepareableMethod<{
|
|
3827
|
+
stakeVaultAddress?: Address;
|
|
3616
3828
|
txOverrides?: TxOverrides;
|
|
3617
3829
|
}, `0x${string}`>;
|
|
3618
3830
|
/** Read total stake owned by an address directly from StakeVault. */
|
|
3619
|
-
getStakeBalance(stakeOwner: Address
|
|
3831
|
+
getStakeBalance(stakeOwner: Address, options?: {
|
|
3832
|
+
stakeVaultAddress?: Address;
|
|
3833
|
+
}): Promise<bigint>;
|
|
3620
3834
|
/** Read stake committed to active StakeVault locks. */
|
|
3621
|
-
getLockedStake(stakeOwner: Address
|
|
3835
|
+
getLockedStake(stakeOwner: Address, options?: {
|
|
3836
|
+
stakeVaultAddress?: Address;
|
|
3837
|
+
}): Promise<bigint>;
|
|
3622
3838
|
/** Read stake available for immediate withdrawal or a new lock. */
|
|
3623
|
-
getFreeStake(stakeOwner: Address
|
|
3839
|
+
getFreeStake(stakeOwner: Address, options?: {
|
|
3840
|
+
stakeVaultAddress?: Address;
|
|
3841
|
+
}): Promise<bigint>;
|
|
3624
3842
|
/** Read the non-stake USDC withdrawable by a beneficiary with `claim()`. */
|
|
3625
|
-
getClaimable(beneficiary: Address
|
|
3843
|
+
getClaimable(beneficiary: Address, options?: {
|
|
3844
|
+
stakeVaultAddress?: Address;
|
|
3845
|
+
}): Promise<bigint>;
|
|
3626
3846
|
/** Resolve the effective stake owner backing a taker. */
|
|
3627
|
-
getStakeOwner(taker: Address
|
|
3847
|
+
getStakeOwner(taker: Address, options?: {
|
|
3848
|
+
stakeVaultAddress?: Address;
|
|
3849
|
+
}): Promise<Address>;
|
|
3628
3850
|
/** Read a taker's raw selection, which is stale once authorization is revoked. */
|
|
3629
|
-
getSelectedStakeOwner(taker: Address
|
|
3851
|
+
getSelectedStakeOwner(taker: Address, options?: {
|
|
3852
|
+
stakeVaultAddress?: Address;
|
|
3853
|
+
}): Promise<Address>;
|
|
3630
3854
|
/** Read whether a stake owner currently authorizes a taker. */
|
|
3631
|
-
getTakerAuthorization(stakeOwner: Address, taker: Address
|
|
3855
|
+
getTakerAuthorization(stakeOwner: Address, taker: Address, options?: {
|
|
3856
|
+
stakeVaultAddress?: Address;
|
|
3857
|
+
}): Promise<boolean>;
|
|
3632
3858
|
/** Read the complete authoritative StakeVault state needed by a staking UI. */
|
|
3633
3859
|
getStakeVaultState(params: {
|
|
3634
3860
|
staker: Address;
|
|
3635
3861
|
taker?: Address;
|
|
3862
|
+
stakeVaultAddress?: Address;
|
|
3636
3863
|
}): Promise<StakeVaultState>;
|
|
3637
3864
|
/** Read whether the DisputeProtectionPolicy is refusing new dispute-protected admissions. */
|
|
3638
3865
|
getAdmissionsPaused(): Promise<boolean>;
|
|
@@ -4858,4 +5085,4 @@ type SendBatchFn = (txs: Array<{
|
|
|
4858
5085
|
value?: bigint;
|
|
4859
5086
|
}>) => Promise<string>;
|
|
4860
5087
|
|
|
4861
|
-
export { type ReferralBearerWriteOptions as $, type AttestationServiceIdentityResponse as A, type BuyerTeeVerifyPaymentBody as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type GetOwnerDepositsRequest as E, type GetOwnerDepositsResponse as F, type GoogleOAuthSellerCredentialPlatform as G, type GetDepositBundleParams as H, type IntentEntity as I, type GetDepositBundleResponse as J, type GetOrderbookParams as K, type GetOrderbookResponse as L, type MicrosoftOAuthSellerCredentialUploadBodyByPlatform as M, type GetOrderbookTableResponse as N, type QuoteRequest as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type QuoteResponse as T, type UploadSellerCredentialBundleParams as U, type ValidatePayeeDetailsRequest as V, type CuratorMetadata as W, type CurrencyType as X, type PaymentMethodCatalog as Y, type TxOverrides as Z, Zkp2pClient as _, type IdentityAttestationRequestBody as a, type ApiIntentStatus as a$, type ReferralReadOptions as a0, type ReferralSignatureOptions as a1, type RedeemReferralCodeSignatureOptions as a2, type SignalIntentReferralFee as a3, type SignalIntentMethodParams as a4, type FulfillIntentMethodParams as a5, type CancelIntentMethodParams as a6, type UpdateReferralCodeSignatureOptions as a7, type Zkp2pNextOptions as a8, type StakeVaultState as a9, type BestByPlatformResponseObject as aA, type GetBestByPlatformResponse as aB, type GetBestByPlatformResponseObject as aC, type GetPlatformQuote as aD, type PlatformQuote as aE, type QuotePreference as aF, type GetNearbyQuote as aG, type GetNearbySuggestions as aH, type GetQuoteResponse as aI, type GetQuoteResponseObject as aJ, type GetQuoteSingleResponse as aK, type QuoteResponseObject as aL, type QuoteMakerIdentity as aM, type QuoteSingleResponse as aN, type QuoteIntentResponse as aO, type QuoteFeesResponse as aP, type FiatResponse as aQ, type TokenResponse as aR, type NearbyQuote as aS, type NearbySuggestions as aT, type ApiDeposit as aU, type DepositVerifier as aV, type DepositVerifierCurrency as aW, type DepositStatus$1 as aX, type GetDepositByIdRequest as aY, type GetDepositByIdResponse as aZ, type Intent as a_, type StakeVaultWriteFunction as aa, type StakeVaultWriteParams as ab, readDisputeAttestationConfig as ac, type DisputeAttestationConfig as ad, type DisputeProtectionReadinessOptions as ae, type DisputeProtectionReadinessResult as af, type ReadDisputeAttestationConfigParams as ag, type IntentGuardianPolicy as ah, type IntentGuardianQuote as ai, type IntentGuardianWriteFunction as aj, type IntentGuardianWriteParams as ak, type IntentGuardianErrorCode as al, classifyIntentGuardianError as am, type AuthorizationTokenProvider as an, type TimeoutConfig as ao, type ActionCallback as ap, type ReferralRedemption as aq, type ReferralSignatureBody as ar, type CreateDepositParams as as, type CreateDepositConversionRate as at, type Range as au, type WithdrawDepositParams as av, type SignalIntentParams as aw, type FulfillIntentParams as ax, type ReleaseFundsToPayerParams as ay, type CancelIntentParams as az, type AttestationServiceSellerVerifyResponse as b, type UsdcAmount as b$, type GetOwnerIntentsRequest as b0, type GetOwnerIntentsResponse as b1, type GetIntentsByDepositRequest as b2, type GetIntentsByDepositResponse as b3, type GetIntentByHashRequest as b4, type GetIntentByHashResponse as b5, type RegisterPayeeDetailsRequest as b6, type RegisterPayeeDetailsResponse as b7, type AmazonPayCredentialUploadInput as b8, type AmazonPayIdentityAttestationOutput as b9, type FulfillIntentAttestationResponse as bA, type AttestationServiceSellerCredentialProbeResponse as bB, type BuyerTeePaymentParams as bC, type BuyerTeePaymentProofInput as bD, type BuyerTeeSessionMaterial as bE, type CuratorSellerVerifyResponse as bF, type RegisteredSellerCredentialPlatform as bG, type UploadSellerCredentialParams as bH, type RegisteredUploadSellerCredentialParams as bI, type UploadSellerCredentialOptions as bJ, type GetSellerCredentialStatusParams as bK, type UploadPayPalGoogleOAuthSellerCredentialParams as bL, type UploadVenmoGoogleOAuthSellerCredentialParams as bM, type UploadGoogleOAuthSellerCredentialParams as bN, type UploadMicrosoftOAuthSellerCredentialParams as bO, type VerifySellerPaymentParams as bP, type IdentityAttestationActionType as bQ, type IdentityAttestationOutput as bR, type IdentityAttestationOutputFor as bS, type IdentityAttestationParams as bT, type MakerIdentityAttestationRequestBody as bU, type MakerIdentityPlatform as bV, type OnchainCurrency as bW, type DepositVerifierData as bX, type PreparedTransaction as bY, type OrderStats as bZ, type DepositIntentStatistics as b_, type VenmoSessionMaterial as ba, type CashAppSessionMaterial as bb, type WiseSessionMaterial as bc, type WiseProfileInfo as bd, type WiseProfileSelectionRequired as be, type WiseProfileNotFound as bf, type PayPalGoogleOAuthSellerCredentialUploadBody as bg, type VenmoGoogleOAuthSellerCredentialUploadBody as bh, type VenmoCredentialUploadInput as bi, type CashAppCredentialUploadInput as bj, type WiseCredentialUploadInput as bk, type SellerCredentialUploadInputByPlatform as bl, type SellerCiphertextBundle as bm, type SellerSignedCiphertextBundle as bn, type SellerVerifyIntentDetails as bo, type SellerVerifyInput as bp, type SellerProbeInput as bq, type SellerCredentialBundleUpload as br, type SellerCredentialStatusValue as bs, type SellerCredentialStatus as bt, type SellerVerifyProxyBody as bu, type SellerTypedDataField as bv, type SellerTypedDataSpec as bw, type SellerPaymentTypedDataValue as bx, type SellerAttestationOutput as by, type SellerCredentialProbeResponse as bz, type SellerCredentialUploadInput as c, type PaymentPlatformType as c$, type StakeEnvironment as c0, type TakerStakeBalances as c1, type OrderbookEntry as c2, type OrderbookTableRow as c3, IndexerClient as c4, defaultIndexerEndpoint as c5, IndexerDepositService as c6, IndexerRateManagerService as c7, compareEventCursorIdsByRecency as c8, buildStakingEntityIds as c9, type IndexedRiskWindow as cA, type IndexedStakeActivity as cB, type IndexedStakeTotals as cC, type IndexedStakeLock as cD, type IndexedStakingRowFreshness as cE, type IndexedStakingState as cF, type IndexedStakingStateParams as cG, type IndexedTakerAuthorization as cH, type IndexedTakerStakeAuthorization as cI, type StakeActivityPageParams as cJ, type StakeLockPageParams as cK, type StakingEntityIds as cL, type TakerStakeAuthorizationPageParams as cM, type DepositFilter as cN, type PaginationOptions as cO, type DepositOrderField as cP, type OrderDirection$1 as cQ, type RateManagerFilter as cR, type RateManagerPaginationOptions as cS, type RateManagerDelegationPaginationOptions as cT, type RateManagerOrderField as cU, type OrderDirection as cV, type DeploymentEnv as cW, type FulfillmentRecord as cX, type PaymentVerifiedRecord as cY, type FulfillmentAndPaymentResponse as cZ, PAYMENT_PLATFORMS as c_, IndexerStakingService as ca, fetchFulfillmentAndPayment as cb, type DepositEntity as cc, type IntentFulfilledEntity as cd, type IntentFulfillmentAmountsEntity as ce, type DepositPaymentMethodEntity as cf, type MethodCurrencyEntity as cg, type IntentStatus as ch, type RateManagerEntity as ci, type RateManagerRateEntity as cj, type RateManagerDelegationEntity as ck, type ManagerAggregateStatsEntity as cl, type ManagerStatsEntity as cm, type ManagerDailySnapshotEntity as cn, type RateManagerListItem as co, type RateManagerDetail as cp, type ManualRateUpdateEntity as cq, type OracleConfigUpdateEntity as cr, type DepositFundActivityEntity as cs, type DepositDailySnapshotEntity as ct, type DepositFundActivityType as cu, type DisputeProtectionIntentPage as cv, type DisputeProtectionIntentPageParams as cw, type IndexedDisputeProtectionIntent as cx, type IndexedPage as cy, type IndexedPageAsOf as cz, type SellerCredentialUploadPlatform as d, Currency as d0, currencyInfo as d1, getCurrencyInfoFromHash as d2, getCurrencyInfoFromCountryCode as d3, getCurrencyCodeFromHash as d4, isSupportedCurrencyHash as d5, mapConversionRatesToOnchainMinRate as d6, type CurrencyData as d7, getContracts as d8, getIntentGuardianContract as d9, isZeroRateManagerId as dA, normalizeRateManagerId as dB, normalizeRegistry as dC, getDelegationRoute as dD, classifyDelegationState as dE, type DelegationRoute as dF, type DelegationState as dG, type DelegationDepositTarget as dH, type BatchResult as dI, type SendTransactionFn as dJ, type SendBatchFn as dK, AccessPolicyOperations as dL, AccessPolicyUnsupportedError as dM, ICloudMailCredentialError as dN, isMailboxSellerCredentialType as dO, type ICloudMailCredentialErrorReason as dP, type ICloudMailSellerPlatform as dQ, type UploadICloudMailSellerCredentialOptions as dR, type UploadICloudMailSellerCredentialParams as dS, ZERO_ADDRESS as dT, asErrorMessage as dU, assertDelegationMethodSupport as dV, hasIntentGuardian as da, getRateManagerContracts as db, getStakeVaultContract as dc, getOrchestratorV3Contract as dd, getDisputeProtectionPolicyContract as de, getPaymentMethodsCatalog as df, getGatingServiceAddress as dg, ORCHESTRATOR_V3_ABI as dh, DISPUTE_PROTECTION_POLICY_ABI as di, STAKE_VAULT_ABI as dj, type RuntimeEnv as dk, type V2ContractAddresses as dl, type V2ContractAbis as dm, parseDepositView as dn, parseIntentView as dp, enrichPvDepositView as dq, enrichPvIntentView as dr, type PV_DepositView as ds, type PV_Deposit as dt, type PV_PaymentMethodData as du, type PV_Currency as dv, type PV_ReferralFee as dw, type PV_IntentView as dx, type PV_Intent as dy, ZERO_RATE_MANAGER_ID 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 SellerPlatform as t, type CuratorSellerCredentialStatusResponse as u, type BestByPlatformResponse as v, type ValidatePayeeDetailsResponse as w, type PostDepositDetailsResponse as x, type GetPayeeDetailsRequest as y, type GetPayeeDetailsResponse as z };
|
|
5088
|
+
export { type DisputeProtectionIntent as $, type AttestationServiceIdentityResponse as A, type BuyerTeeVerifyPaymentBody as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type GetOwnerDepositsRequest as E, type GetOwnerDepositsResponse as F, type GoogleOAuthSellerCredentialPlatform as G, type GetDepositBundleParams as H, type IntentEntity as I, type GetDepositBundleResponse as J, type GetOrderbookParams as K, type GetOrderbookResponse as L, type MicrosoftOAuthSellerCredentialUploadBodyByPlatform as M, type GetOrderbookTableResponse as N, type QuoteRequest as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type QuoteResponse as T, type UploadSellerCredentialBundleParams as U, type ValidatePayeeDetailsRequest as V, type CuratorMetadata as W, type CurrencyType as X, type PaymentMethodCatalog as Y, type TxOverrides as Z, type RuntimeEnv as _, type IdentityAttestationRequestBody as a, type GetDepositByIdRequest as a$, Zkp2pClient as a0, type ReferralBearerWriteOptions as a1, type ReferralReadOptions as a2, type ReferralSignatureOptions as a3, type RedeemReferralCodeSignatureOptions as a4, type SignalIntentReferralFee as a5, type SignalIntentMethodParams as a6, type FulfillIntentMethodParams as a7, type CancelIntentMethodParams as a8, type UpdateReferralCodeSignatureOptions as a9, type FulfillIntentParams as aA, type ReleaseFundsToPayerParams as aB, type CancelIntentParams as aC, type BestByPlatformResponseObject as aD, type GetBestByPlatformResponse as aE, type GetBestByPlatformResponseObject as aF, type GetPlatformQuote as aG, type PlatformQuote as aH, type QuotePreference as aI, type GetNearbyQuote as aJ, type GetNearbySuggestions as aK, type GetQuoteResponse as aL, type GetQuoteResponseObject as aM, type GetQuoteSingleResponse as aN, type QuoteResponseObject as aO, type QuoteMakerIdentity as aP, type QuoteSingleResponse as aQ, type QuoteIntentResponse as aR, type QuoteFeesResponse as aS, type FiatResponse as aT, type TokenResponse as aU, type NearbyQuote as aV, type NearbySuggestions as aW, type ApiDeposit as aX, type DepositVerifier as aY, type DepositVerifierCurrency as aZ, type DepositStatus$1 as a_, type Zkp2pNextOptions as aa, type StakeVaultState as ab, type StakeVaultWriteFunction as ac, type StakeVaultWriteParams as ad, readDisputeAttestationConfig as ae, type DisputeAttestationConfig as af, DisputeProtectionVerifiedStack as ag, type DisputeProtectionReadinessOptions as ah, type DisputeProtectionReadinessResult as ai, type ReadDisputeAttestationConfigParams as aj, type IntentGuardianPolicy as ak, type IntentGuardianQuote as al, type IntentGuardianWriteFunction as am, type IntentGuardianWriteParams as an, type IntentGuardianErrorCode as ao, classifyIntentGuardianError as ap, type AuthorizationTokenProvider as aq, type TimeoutConfig as ar, type ActionCallback as as, type ReferralRedemption as at, type ReferralSignatureBody as au, type CreateDepositParams as av, type CreateDepositConversionRate as aw, type Range as ax, type WithdrawDepositParams as ay, type SignalIntentParams as az, type AttestationServiceSellerVerifyResponse as b, type PreparedTransaction as b$, type GetDepositByIdResponse as b0, type Intent as b1, type ApiIntentStatus as b2, type GetOwnerIntentsRequest as b3, type GetOwnerIntentsResponse as b4, type GetIntentsByDepositRequest as b5, type GetIntentsByDepositResponse as b6, type GetIntentByHashRequest as b7, type GetIntentByHashResponse as b8, type RegisterPayeeDetailsRequest as b9, type SellerPaymentTypedDataValue as bA, type SellerAttestationOutput as bB, type SellerCredentialProbeResponse as bC, type FulfillIntentAttestationResponse as bD, type AttestationServiceSellerCredentialProbeResponse as bE, type BuyerTeePaymentParams as bF, type BuyerTeePaymentProofInput as bG, type BuyerTeeSessionMaterial as bH, type CuratorSellerVerifyResponse as bI, type RegisteredSellerCredentialPlatform as bJ, type UploadSellerCredentialParams as bK, type RegisteredUploadSellerCredentialParams as bL, type UploadSellerCredentialOptions as bM, type GetSellerCredentialStatusParams as bN, type UploadPayPalGoogleOAuthSellerCredentialParams as bO, type UploadVenmoGoogleOAuthSellerCredentialParams as bP, type UploadGoogleOAuthSellerCredentialParams as bQ, type UploadMicrosoftOAuthSellerCredentialParams as bR, type VerifySellerPaymentParams as bS, type IdentityAttestationActionType as bT, type IdentityAttestationOutput as bU, type IdentityAttestationOutputFor as bV, type IdentityAttestationParams as bW, type MakerIdentityAttestationRequestBody as bX, type MakerIdentityPlatform as bY, type OnchainCurrency as bZ, type DepositVerifierData as b_, type RegisterPayeeDetailsResponse as ba, type AmazonPayCredentialUploadInput as bb, type AmazonPayIdentityAttestationOutput as bc, type VenmoSessionMaterial as bd, type CashAppSessionMaterial as be, type WiseSessionMaterial as bf, type WiseProfileInfo as bg, type WiseProfileSelectionRequired as bh, type WiseProfileNotFound as bi, type PayPalGoogleOAuthSellerCredentialUploadBody as bj, type VenmoGoogleOAuthSellerCredentialUploadBody as bk, type VenmoCredentialUploadInput as bl, type CashAppCredentialUploadInput as bm, type WiseCredentialUploadInput as bn, type SellerCredentialUploadInputByPlatform as bo, type SellerCiphertextBundle as bp, type SellerSignedCiphertextBundle as bq, type SellerVerifyIntentDetails as br, type SellerVerifyInput as bs, type SellerProbeInput as bt, type SellerCredentialBundleUpload as bu, type SellerCredentialStatusValue as bv, type SellerCredentialStatus as bw, type SellerVerifyProxyBody as bx, type SellerTypedDataField as by, type SellerTypedDataSpec as bz, type SellerCredentialUploadInput as c, type PaymentVerifiedRecord as c$, type OrderStats as c0, type DepositIntentStatistics as c1, type UsdcAmount as c2, type StakeEnvironment as c3, type TakerStakeBalances as c4, type OrderbookEntry as c5, type OrderbookTableRow as c6, IndexerClient as c7, defaultIndexerEndpoint as c8, IndexerDepositService as c9, type IndexedDisputeProtectionIntent as cA, type IndexedPage as cB, type IndexedPageAsOf as cC, type IndexedRiskWindow as cD, type IndexedStakeActivity as cE, type IndexedStakeTotals as cF, type IndexedStakeLock as cG, type IndexedStakingRowFreshness as cH, type IndexedStakingState as cI, type IndexedStakingStateParams as cJ, type IndexedTakerAuthorization as cK, type IndexedTakerStakeAuthorization as cL, type StakeActivityPageParams as cM, type StakeLockPageParams as cN, type StakingEntityIds as cO, type TakerStakeAuthorizationPageParams as cP, type DepositFilter as cQ, type PaginationOptions as cR, type DepositOrderField as cS, type OrderDirection$1 as cT, type RateManagerFilter as cU, type RateManagerPaginationOptions as cV, type RateManagerDelegationPaginationOptions as cW, type RateManagerOrderField as cX, type OrderDirection as cY, type DeploymentEnv as cZ, type FulfillmentRecord as c_, IndexerRateManagerService as ca, compareEventCursorIdsByRecency as cb, buildStakingEntityIds as cc, IndexerStakingService as cd, fetchFulfillmentAndPayment as ce, type DepositEntity as cf, type IntentFulfilledEntity as cg, type IntentFulfillmentAmountsEntity as ch, type DepositPaymentMethodEntity as ci, type MethodCurrencyEntity as cj, type IntentStatus as ck, type RateManagerEntity as cl, type RateManagerRateEntity as cm, type RateManagerDelegationEntity as cn, type ManagerAggregateStatsEntity as co, type ManagerStatsEntity as cp, type ManagerDailySnapshotEntity as cq, type RateManagerListItem as cr, type RateManagerDetail as cs, type ManualRateUpdateEntity as ct, type OracleConfigUpdateEntity as cu, type DepositFundActivityEntity as cv, type DepositDailySnapshotEntity as cw, type DepositFundActivityType as cx, type DisputeProtectionIntentPage as cy, type DisputeProtectionIntentPageParams as cz, type SellerCredentialUploadPlatform as d, asErrorMessage as d$, type FulfillmentAndPaymentResponse as d0, PAYMENT_PLATFORMS as d1, type PaymentPlatformType as d2, Currency as d3, currencyInfo as d4, getCurrencyInfoFromHash as d5, getCurrencyInfoFromCountryCode as d6, getCurrencyCodeFromHash as d7, isSupportedCurrencyHash as d8, mapConversionRatesToOnchainMinRate as d9, type PV_Intent as dA, ZERO_RATE_MANAGER_ID as dB, isZeroRateManagerId as dC, normalizeRateManagerId as dD, normalizeRegistry as dE, getDelegationRoute as dF, classifyDelegationState as dG, type DelegationRoute as dH, type DelegationState as dI, type DelegationDepositTarget as dJ, type BatchResult as dK, type SendTransactionFn as dL, type SendBatchFn as dM, AccessPolicyOperations as dN, AccessPolicyUnsupportedError as dO, ICloudMailCredentialError as dP, isMailboxSellerCredentialType as dQ, type ICloudMailCredentialErrorReason as dR, type ICloudMailSellerPlatform as dS, type UploadICloudMailSellerCredentialOptions as dT, type UploadICloudMailSellerCredentialParams as dU, DisputeProtectionIntentStatus as dV, parseDisputeProtectionIntent as dW, NO_STAKE_DISPUTE_PROTECTION_POLICY_ABI as dX, getPaymentValidationPolicyContract as dY, type ActiveDisputeProtectionStack as dZ, ZERO_ADDRESS as d_, type CurrencyData as da, getContracts as db, getIntentGuardianContract as dc, hasIntentGuardian as dd, getRateManagerContracts as de, getStakeVaultContract as df, getOrchestratorV3Contract as dg, getDisputeProtectionPolicyContract as dh, getPaymentMethodsCatalog as di, getGatingServiceAddress as dj, ORCHESTRATOR_V3_ABI as dk, DISPUTE_PROTECTION_POLICY_ABI as dl, STAKE_VAULT_ABI as dm, type V2ContractAddresses as dn, type V2ContractAbis as dp, parseDepositView as dq, parseIntentView as dr, enrichPvDepositView as ds, enrichPvIntentView as dt, type PV_DepositView as du, type PV_Deposit as dv, type PV_PaymentMethodData as dw, type PV_Currency as dx, type PV_ReferralFee as dy, type PV_IntentView as dz, type SellerCredentialAttestationRuntime as e, assertDelegationMethodSupport as e0, 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 SellerPlatform as t, type CuratorSellerCredentialStatusResponse as u, type BestByPlatformResponse as v, type ValidatePayeeDetailsResponse as w, type PostDepositDetailsResponse as x, type GetPayeeDetailsRequest as y, type GetPayeeDetailsResponse as z };
|