@zkp2p/sdk 0.6.3 → 0.7.2
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 +55 -2
- package/dist/{chunk-WFDRBAV3.mjs → chunk-BQINCOSO.mjs} +2 -2
- package/dist/chunk-BQINCOSO.mjs.map +1 -0
- package/dist/{chunk-NMIFJSZ3.mjs → chunk-ZM4ZP5GQ.mjs} +2 -2
- package/dist/{chunk-NMIFJSZ3.mjs.map → chunk-ZM4ZP5GQ.mjs.map} +1 -1
- package/dist/index.cjs +2018 -1641
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +68 -12
- package/dist/index.d.ts +68 -12
- package/dist/index.mjs +2009 -1643
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-GG6UQKLO.mjs +5 -0
- package/dist/{protocolViewerParsers-N5SJ4KHJ.mjs.map → protocolViewerParsers-GG6UQKLO.mjs.map} +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.mjs +2 -2
- package/dist/{vaultUtils-CcJn5Yh6.d.mts → vaultUtils-CdYaZr3f.d.mts} +847 -703
- package/dist/{vaultUtils-CcJn5Yh6.d.ts → vaultUtils-CdYaZr3f.d.ts} +847 -703
- package/package.json +1 -1
- package/dist/chunk-WFDRBAV3.mjs.map +0 -1
- package/dist/protocolViewerParsers-N5SJ4KHJ.mjs +0 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, G as GoogleOAuthSellerCredentialPlatform,
|
|
2
|
-
export {
|
|
1
|
+
import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, Q as QuotesBestByPlatformRequest, t as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, u as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, v as PostDepositDetailsResponse, w as GetPayeeDetailsRequest, x as GetPayeeDetailsResponse, y as GetOwnerDepositsRequest, z as GetOwnerDepositsResponse, E as GetTakerTierRequest, F as GetTakerTierResponse, H as GetDepositBundleParams, J as GetDepositBundleResponse, K as GetOrderbookParams, L as GetOrderbookResponse, M as CurrencyType, T as TakerTierLevel, N as PaymentMethodCatalog, O as TxOverrides } from './vaultUtils-CdYaZr3f.mjs';
|
|
2
|
+
export { a7 as ActionCallback, aC as ApiDeposit, aJ as ApiIntentStatus, bi as AttestationServiceSellerCredentialProbeResponse, a5 as AuthorizationTokenProvider, cY as BatchResult, ai as BestByPlatformResponseObject, bj as BuyerTeePaymentParams, bk as BuyerTeePaymentProofInput, bl as BuyerTeeSessionMaterial, a2 as CancelIntentMethodParams, ah as CancelIntentParams, b0 as CashAppCredentialUploadInput, aU as CashAppSessionMaterial, ab as CreateDepositConversionRate, aa as CreateDepositParams, bm as CuratorSellerCredentialStatusResponse, bn as CuratorSellerVerifyResponse, cr as Currency, cy as CurrencyData, cX as DelegationDepositTarget, cV as DelegationRoute, cW as DelegationState, cJ as Deposit, cL as DepositCurrency, bH as DepositIntentStatistics, aF as DepositStatus, aD as DepositVerifier, aE as DepositVerifierCurrency, bE as DepositVerifierData, cI as DepositView, ay as FiatResponse, bh as FulfillIntentAttestationResponse, a1 as FulfillIntentMethodParams, af as FulfillIntentParams, aj as GetBestByPlatformResponse, ak as GetBestByPlatformResponseObject, aG as GetDepositByIdRequest, aH as GetDepositByIdResponse, aO as GetIntentByHashRequest, aP as GetIntentByHashResponse, aM as GetIntentsByDepositRequest, aN as GetIntentsByDepositResponse, ao as GetNearbyQuote, ap as GetNearbySuggestions, aK as GetOwnerIntentsRequest, aL as GetOwnerIntentsResponse, al as GetPlatformQuote, aq as GetQuoteResponse, ar as GetQuoteResponseObject, as as GetQuoteSingleResponse, bs as GetSellerCredentialStatusParams, bx as IdentityAttestationActionType, by as IdentityAttestationOutput, bz as IdentityAttestationOutputFor, bA as IdentityAttestationParams, bP as IndexerClient, cl as IndexerDeploymentEnv, bV as IndexerDeposit, ca as IndexerDepositDailySnapshot, cc as IndexerDepositFilter, c9 as IndexerDepositFundActivity, cb as IndexerDepositFundActivityType, cf as IndexerDepositOrderDirection, ce as IndexerDepositOrderField, cd as IndexerDepositPagination, bY as IndexerDepositPaymentMethod, bR as IndexerDepositService, co as IndexerFulfillmentAndPaymentResponse, cm as IndexerFulfillmentRecord, bW as IndexerIntentFulfilled, bX as IndexerIntentFulfillmentAmounts, b_ as IndexerIntentStatus, c2 as IndexerManagerAggregateStats, c4 as IndexerManagerDailySnapshot, c3 as IndexerManagerStats, c7 as IndexerManualRateUpdate, bZ as IndexerMethodCurrency, c8 as IndexerOracleConfigUpdate, cn as IndexerPaymentVerifiedRecord, b$ as IndexerRateManager, c1 as IndexerRateManagerDelegation, ci as IndexerRateManagerDelegationPagination, c6 as IndexerRateManagerDetail, cg as IndexerRateManagerFilter, c5 as IndexerRateManagerListItem, ck as IndexerRateManagerOrderDirection, cj as IndexerRateManagerOrderField, ch as IndexerRateManagerPagination, c0 as IndexerRateManagerRate, bS as IndexerRateManagerService, aI as Intent, cN as IntentView, bB as MakerIdentityAttestationRequestBody, bC as MakerIdentityPlatform, aA as NearbyQuote, aB as NearbySuggestions, Z as OfframpClient, bD as OnchainCurrency, cO as OnchainIntent, bG as OrderStats, bO as OrderbookEntry, cp as PAYMENT_PLATFORMS, aZ as PayPalGoogleOAuthSellerCredentialUploadBody, cK as PaymentMethodData, cq as PaymentPlatformType, bM as PlatformLimit, am as PlatformQuote, bN as PlatformRiskLevel, bF as PreparedTransaction, ax as QuoteFeesResponse, aw as QuoteIntentResponse, an as QuoteRequest, at as QuoteResponse, au as QuoteResponseObject, av as QuoteSingleResponse, ac as Range, _ as RedeemReferralCodeSignatureOptions, W as ReferralBearerWriteOptions, cM as ReferralFee, X as ReferralReadOptions, a8 as ReferralRedemption, a9 as ReferralSignatureBody, Y as ReferralSignatureOptions, aQ as RegisterPayeeDetailsRequest, aR as RegisterPayeeDetailsResponse, bo as RegisteredSellerCredentialPlatform, bq as RegisteredUploadSellerCredentialParams, ag as ReleaseFundsToPayerParams, cD as RuntimeEnv, bf as SellerAttestationOutput, b3 as SellerCiphertextBundle, b8 as SellerCredentialBundleUpload, bg as SellerCredentialProbeResponse, ba as SellerCredentialStatus, b9 as SellerCredentialStatusValue, b2 as SellerCredentialUploadInputByPlatform, be as SellerPaymentTypedDataValue, aS as SellerPlatform, b7 as SellerProbeInput, b4 as SellerSignedCiphertextBundle, bc as SellerTypedDataField, bd as SellerTypedDataSpec, b6 as SellerVerifyInput, b5 as SellerVerifyIntentDetails, bb as SellerVerifyProxyBody, c_ as SendBatchFn, cZ as SendTransactionFn, a0 as SignalIntentMethodParams, ae as SignalIntentParams, $ as SignalIntentReferralFee, bI as TakerTier, bL as TakerTierSource, bK as TakerTierStats, bJ as TakerTierVolumeBreakdown, a6 as TimeoutConfig, az as TokenResponse, a3 as UpdateReferralCodeSignatureOptions, bv as UploadGoogleOAuthSellerCredentialParams, bt as UploadPayPalGoogleOAuthSellerCredentialParams, br as UploadSellerCredentialOptions, bp as UploadSellerCredentialParams, bu as UploadVenmoGoogleOAuthSellerCredentialParams, a$ as VenmoCredentialUploadInput, a_ as VenmoGoogleOAuthSellerCredentialUploadBody, aT as VenmoSessionMaterial, bw as VerifySellerPaymentParams, b1 as WiseCredentialUploadInput, aW as WiseProfileInfo, aY as WiseProfileNotFound, aX as WiseProfileSelectionRequired, aV as WiseSessionMaterial, ad as WithdrawDepositParams, cP as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a4 as Zkp2pClientOptions, cU as classifyDelegationState, bT as compareEventCursorIdsByRecency, cs as currencyInfo, bQ as defaultIndexerEndpoint, cG as enrichPvDepositView, cH as enrichPvIntentView, bU as fetchIndexerFulfillmentAndPayment, cz as getContracts, cv as getCurrencyCodeFromHash, cu as getCurrencyInfoFromCountryCode, ct as getCurrencyInfoFromHash, cT as getDelegationRoute, cC as getGatingServiceAddress, cB as getPaymentMethodsCatalog, cA as getRateManagerContracts, cw as isSupportedCurrencyHash, cQ as isZeroRateManagerId, cx as mapConversionRatesToOnchainMinRate, cR as normalizeRateManagerId, cS as normalizeRegistry, cE as parseDepositView, cF as parseIntentView } from './vaultUtils-CdYaZr3f.mjs';
|
|
3
3
|
import { Address, Hash, Hex, WalletClient } from 'viem';
|
|
4
4
|
import { Abi } from 'abitype';
|
|
5
5
|
export { IdentityActionType, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityPlatform, NitroAttestationClient, NitroAttestationClientOptions, NitroAttestationEnvironment, VerifiedAttestation, VerifiedAttestationPayload, createNitroAttestationClient } from '@zkp2p/zkp2p-attestation';
|
|
@@ -70,6 +70,57 @@ declare const assertValidReferrerFeeConfig: (config: ReferrerFeeConfig | undefin
|
|
|
70
70
|
declare const parseReferrerFeeConfig: (recipient: string | null | undefined, feeBpsValue: string | number | null | undefined) => ReferrerFeeConfig | null;
|
|
71
71
|
declare const referrerFeeConfigToPreciseUnits: (config: ReferrerFeeConfig) => bigint;
|
|
72
72
|
|
|
73
|
+
declare const normalizeReferralCode: (code: string) => string;
|
|
74
|
+
declare const isValidReferralCode: (code: string) => boolean;
|
|
75
|
+
declare const REFERRAL_SIGNATURE_DOMAIN: {
|
|
76
|
+
readonly name: "ZKP2PReferral";
|
|
77
|
+
readonly version: "1";
|
|
78
|
+
};
|
|
79
|
+
declare const REFERRAL_SIGNATURE_TYPES: {
|
|
80
|
+
readonly CreateCode: readonly [{
|
|
81
|
+
readonly name: "wallet";
|
|
82
|
+
readonly type: "address";
|
|
83
|
+
}, {
|
|
84
|
+
readonly name: "audience";
|
|
85
|
+
readonly type: "string";
|
|
86
|
+
}, {
|
|
87
|
+
readonly name: "issuedAt";
|
|
88
|
+
readonly type: "uint256";
|
|
89
|
+
}];
|
|
90
|
+
readonly RedeemCode: readonly [{
|
|
91
|
+
readonly name: "wallet";
|
|
92
|
+
readonly type: "address";
|
|
93
|
+
}, {
|
|
94
|
+
readonly name: "code";
|
|
95
|
+
readonly type: "string";
|
|
96
|
+
}, {
|
|
97
|
+
readonly name: "referrer";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "audience";
|
|
101
|
+
readonly type: "string";
|
|
102
|
+
}, {
|
|
103
|
+
readonly name: "issuedAt";
|
|
104
|
+
readonly type: "uint256";
|
|
105
|
+
}];
|
|
106
|
+
readonly RenameCode: readonly [{
|
|
107
|
+
readonly name: "wallet";
|
|
108
|
+
readonly type: "address";
|
|
109
|
+
}, {
|
|
110
|
+
readonly name: "oldCode";
|
|
111
|
+
readonly type: "string";
|
|
112
|
+
}, {
|
|
113
|
+
readonly name: "newCode";
|
|
114
|
+
readonly type: "string";
|
|
115
|
+
}, {
|
|
116
|
+
readonly name: "audience";
|
|
117
|
+
readonly type: "string";
|
|
118
|
+
}, {
|
|
119
|
+
readonly name: "issuedAt";
|
|
120
|
+
readonly type: "uint256";
|
|
121
|
+
}];
|
|
122
|
+
};
|
|
123
|
+
|
|
73
124
|
interface EscrowContractContext {
|
|
74
125
|
address: Address;
|
|
75
126
|
abi: Abi;
|
|
@@ -229,6 +280,12 @@ declare function apiGetOwnerDeposits(req: GetOwnerDepositsRequest, apiKey: strin
|
|
|
229
280
|
* Get taker tier information for a specific address.
|
|
230
281
|
*/
|
|
231
282
|
declare function apiGetTakerTier(req: GetTakerTierRequest, baseApiUrl: string, timeoutMs?: number): Promise<GetTakerTierResponse>;
|
|
283
|
+
declare function apiGetReferralDashboard(opts: ApiAdapterOptions & ReferralReadRequest): Promise<ReferralDashboardResponse>;
|
|
284
|
+
declare function apiGetReferralEarnings(opts: ApiAdapterOptions & ReferralReadRequest): Promise<ReferralEarningsResponse>;
|
|
285
|
+
declare function apiLookupReferralCode(code: string, opts: ApiAdapterOptions): Promise<ReferralCodeLookupResponse>;
|
|
286
|
+
declare function apiCreateReferralCode(req: CreateReferralCodeRequest, opts: ApiAdapterOptions): Promise<CreateReferralCodeResponse>;
|
|
287
|
+
declare function apiRedeemReferralCode(req: RedeemReferralCodeRequest, opts: ApiAdapterOptions): Promise<RedeemReferralCodeResponse>;
|
|
288
|
+
declare function apiUpdateReferralCode(req: UpdateReferralCodeRequest, opts: ApiAdapterOptions): Promise<UpdateReferralCodeResponse>;
|
|
232
289
|
declare function apiUploadGoogleOAuthSellerCredential<P extends GoogleOAuthSellerCredentialPlatform>(processorName: P, payeeDetails: Hash, body: GoogleOAuthSellerCredentialUploadBodyByPlatform[P], baseApiUrl: string, opts?: {
|
|
233
290
|
timeoutMs?: number;
|
|
234
291
|
}): Promise<CuratorSellerCredentialUploadResponse>;
|
|
@@ -460,10 +517,10 @@ declare const TOKEN_METADATA: {
|
|
|
460
517
|
* tier engine (curator `src/common/services/tier/tierConstants.ts`), which is
|
|
461
518
|
* what the backend actually enforces.
|
|
462
519
|
*
|
|
463
|
-
* The live qualification signal is
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
*
|
|
520
|
+
* The live qualification signal is Peer Pay volume. Historical maker tiers
|
|
521
|
+
* earned before July 1, 2026 UTC are preserved; after that cutoff, only Peer
|
|
522
|
+
* Pay volume moves the tier. Curator keeps the response field name
|
|
523
|
+
* `peerPayVolume` for compatibility.
|
|
467
524
|
*
|
|
468
525
|
* A user's *live* tier, cap, and progression always come from the taker-tier
|
|
469
526
|
* API payload (`TakerTier.perIntentCapBaseUnits`, `minVolumeForTier`,
|
|
@@ -474,9 +531,8 @@ declare const TOKEN_METADATA: {
|
|
|
474
531
|
* (the Fees & Tiers ladder) when no live payload is available; never gate or
|
|
475
532
|
* compute a user's real cap from it.
|
|
476
533
|
*
|
|
477
|
-
* Volume bands track the live
|
|
478
|
-
*
|
|
479
|
-
* PRO $50k, PLATINUM $100k. Caps ($100/$250/$1k/$2.5k/$5k) are unchanged.
|
|
534
|
+
* Volume bands track the live tuned qualification thresholds — PEER $1k,
|
|
535
|
+
* PLUS $10k, PRO $50k, PLATINUM $100k. Caps ($100/$250/$1k/$2.5k/$5k) are unchanged.
|
|
480
536
|
* Read the live per-user values from the API: curator can change qualification
|
|
481
537
|
* inputs behind the compatibility fields without changing this reference table.
|
|
482
538
|
*
|
|
@@ -487,9 +543,9 @@ interface TakerTierScheduleEntry {
|
|
|
487
543
|
tier: TakerTierLevel;
|
|
488
544
|
/** Per-intent order cap in whole USD (base, before platform risk multipliers). */
|
|
489
545
|
perIntentCapUsd: number;
|
|
490
|
-
/** Inclusive lower bound of
|
|
546
|
+
/** Inclusive lower bound of Peer Pay volume (USD) that qualifies for this tier. */
|
|
491
547
|
minVolumeUsd: number;
|
|
492
|
-
/** Inclusive upper bound of
|
|
548
|
+
/** Inclusive upper bound of Peer Pay volume (USD); `Infinity` for the top tier. */
|
|
493
549
|
maxVolumeUsd: number;
|
|
494
550
|
}
|
|
495
551
|
declare const TAKER_TIER_SCHEDULE: readonly TakerTierScheduleEntry[];
|
|
@@ -791,4 +847,4 @@ declare class ContractError extends ZKP2PError {
|
|
|
791
847
|
constructor(message: string, details?: unknown);
|
|
792
848
|
}
|
|
793
849
|
|
|
794
|
-
export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetTakerTierRequest, GetTakerTierResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, type LogLevel, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorContractContext, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type PeerAuthenticateParams, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataProviderConfig, type PeerMetadataRow, type PeerSarCredentialCapture, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuotesBestByPlatformRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TAKER_TIER_CAPS, TAKER_TIER_FEE_DISCOUNT_BPS, TAKER_TIER_ORDER, TAKER_TIER_SCHEDULE, TOKEN_METADATA, TakerTierLevel, type TakerTierScheduleEntry, TxOverrides, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetTakerTier, apiPostDepositDetails, apiRequestIdentityAttestation, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getNextTakerTier, getPeerExtensionState, getSpreadOracleConfig, getTakerTierFeeDiscountBps, isPeerExtensionAvailable, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
|
|
850
|
+
export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetTakerTierRequest, GetTakerTierResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, type LogLevel, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorContractContext, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type PeerAuthenticateParams, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataProviderConfig, type PeerMetadataRow, type PeerSarCredentialCapture, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuotesBestByPlatformRequest, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RedeemReferralCodeRequest, RedeemReferralCodeResponse, ReferralCodeLookupResponse, ReferralDashboardResponse, ReferralEarningsResponse, ReferralReadRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TAKER_TIER_CAPS, TAKER_TIER_FEE_DISCOUNT_BPS, TAKER_TIER_ORDER, TAKER_TIER_SCHEDULE, TOKEN_METADATA, TakerTierLevel, type TakerTierScheduleEntry, TxOverrides, UpdateReferralCodeRequest, UpdateReferralCodeResponse, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiGetTakerTier, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getNextTakerTier, getPeerExtensionState, getSpreadOracleConfig, getTakerTierFeeDiscountBps, isPeerExtensionAvailable, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, normalizeReferralCode, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, G as GoogleOAuthSellerCredentialPlatform,
|
|
2
|
-
export {
|
|
1
|
+
import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, Q as QuotesBestByPlatformRequest, t as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, u as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, v as PostDepositDetailsResponse, w as GetPayeeDetailsRequest, x as GetPayeeDetailsResponse, y as GetOwnerDepositsRequest, z as GetOwnerDepositsResponse, E as GetTakerTierRequest, F as GetTakerTierResponse, H as GetDepositBundleParams, J as GetDepositBundleResponse, K as GetOrderbookParams, L as GetOrderbookResponse, M as CurrencyType, T as TakerTierLevel, N as PaymentMethodCatalog, O as TxOverrides } from './vaultUtils-CdYaZr3f.js';
|
|
2
|
+
export { a7 as ActionCallback, aC as ApiDeposit, aJ as ApiIntentStatus, bi as AttestationServiceSellerCredentialProbeResponse, a5 as AuthorizationTokenProvider, cY as BatchResult, ai as BestByPlatformResponseObject, bj as BuyerTeePaymentParams, bk as BuyerTeePaymentProofInput, bl as BuyerTeeSessionMaterial, a2 as CancelIntentMethodParams, ah as CancelIntentParams, b0 as CashAppCredentialUploadInput, aU as CashAppSessionMaterial, ab as CreateDepositConversionRate, aa as CreateDepositParams, bm as CuratorSellerCredentialStatusResponse, bn as CuratorSellerVerifyResponse, cr as Currency, cy as CurrencyData, cX as DelegationDepositTarget, cV as DelegationRoute, cW as DelegationState, cJ as Deposit, cL as DepositCurrency, bH as DepositIntentStatistics, aF as DepositStatus, aD as DepositVerifier, aE as DepositVerifierCurrency, bE as DepositVerifierData, cI as DepositView, ay as FiatResponse, bh as FulfillIntentAttestationResponse, a1 as FulfillIntentMethodParams, af as FulfillIntentParams, aj as GetBestByPlatformResponse, ak as GetBestByPlatformResponseObject, aG as GetDepositByIdRequest, aH as GetDepositByIdResponse, aO as GetIntentByHashRequest, aP as GetIntentByHashResponse, aM as GetIntentsByDepositRequest, aN as GetIntentsByDepositResponse, ao as GetNearbyQuote, ap as GetNearbySuggestions, aK as GetOwnerIntentsRequest, aL as GetOwnerIntentsResponse, al as GetPlatformQuote, aq as GetQuoteResponse, ar as GetQuoteResponseObject, as as GetQuoteSingleResponse, bs as GetSellerCredentialStatusParams, bx as IdentityAttestationActionType, by as IdentityAttestationOutput, bz as IdentityAttestationOutputFor, bA as IdentityAttestationParams, bP as IndexerClient, cl as IndexerDeploymentEnv, bV as IndexerDeposit, ca as IndexerDepositDailySnapshot, cc as IndexerDepositFilter, c9 as IndexerDepositFundActivity, cb as IndexerDepositFundActivityType, cf as IndexerDepositOrderDirection, ce as IndexerDepositOrderField, cd as IndexerDepositPagination, bY as IndexerDepositPaymentMethod, bR as IndexerDepositService, co as IndexerFulfillmentAndPaymentResponse, cm as IndexerFulfillmentRecord, bW as IndexerIntentFulfilled, bX as IndexerIntentFulfillmentAmounts, b_ as IndexerIntentStatus, c2 as IndexerManagerAggregateStats, c4 as IndexerManagerDailySnapshot, c3 as IndexerManagerStats, c7 as IndexerManualRateUpdate, bZ as IndexerMethodCurrency, c8 as IndexerOracleConfigUpdate, cn as IndexerPaymentVerifiedRecord, b$ as IndexerRateManager, c1 as IndexerRateManagerDelegation, ci as IndexerRateManagerDelegationPagination, c6 as IndexerRateManagerDetail, cg as IndexerRateManagerFilter, c5 as IndexerRateManagerListItem, ck as IndexerRateManagerOrderDirection, cj as IndexerRateManagerOrderField, ch as IndexerRateManagerPagination, c0 as IndexerRateManagerRate, bS as IndexerRateManagerService, aI as Intent, cN as IntentView, bB as MakerIdentityAttestationRequestBody, bC as MakerIdentityPlatform, aA as NearbyQuote, aB as NearbySuggestions, Z as OfframpClient, bD as OnchainCurrency, cO as OnchainIntent, bG as OrderStats, bO as OrderbookEntry, cp as PAYMENT_PLATFORMS, aZ as PayPalGoogleOAuthSellerCredentialUploadBody, cK as PaymentMethodData, cq as PaymentPlatformType, bM as PlatformLimit, am as PlatformQuote, bN as PlatformRiskLevel, bF as PreparedTransaction, ax as QuoteFeesResponse, aw as QuoteIntentResponse, an as QuoteRequest, at as QuoteResponse, au as QuoteResponseObject, av as QuoteSingleResponse, ac as Range, _ as RedeemReferralCodeSignatureOptions, W as ReferralBearerWriteOptions, cM as ReferralFee, X as ReferralReadOptions, a8 as ReferralRedemption, a9 as ReferralSignatureBody, Y as ReferralSignatureOptions, aQ as RegisterPayeeDetailsRequest, aR as RegisterPayeeDetailsResponse, bo as RegisteredSellerCredentialPlatform, bq as RegisteredUploadSellerCredentialParams, ag as ReleaseFundsToPayerParams, cD as RuntimeEnv, bf as SellerAttestationOutput, b3 as SellerCiphertextBundle, b8 as SellerCredentialBundleUpload, bg as SellerCredentialProbeResponse, ba as SellerCredentialStatus, b9 as SellerCredentialStatusValue, b2 as SellerCredentialUploadInputByPlatform, be as SellerPaymentTypedDataValue, aS as SellerPlatform, b7 as SellerProbeInput, b4 as SellerSignedCiphertextBundle, bc as SellerTypedDataField, bd as SellerTypedDataSpec, b6 as SellerVerifyInput, b5 as SellerVerifyIntentDetails, bb as SellerVerifyProxyBody, c_ as SendBatchFn, cZ as SendTransactionFn, a0 as SignalIntentMethodParams, ae as SignalIntentParams, $ as SignalIntentReferralFee, bI as TakerTier, bL as TakerTierSource, bK as TakerTierStats, bJ as TakerTierVolumeBreakdown, a6 as TimeoutConfig, az as TokenResponse, a3 as UpdateReferralCodeSignatureOptions, bv as UploadGoogleOAuthSellerCredentialParams, bt as UploadPayPalGoogleOAuthSellerCredentialParams, br as UploadSellerCredentialOptions, bp as UploadSellerCredentialParams, bu as UploadVenmoGoogleOAuthSellerCredentialParams, a$ as VenmoCredentialUploadInput, a_ as VenmoGoogleOAuthSellerCredentialUploadBody, aT as VenmoSessionMaterial, bw as VerifySellerPaymentParams, b1 as WiseCredentialUploadInput, aW as WiseProfileInfo, aY as WiseProfileNotFound, aX as WiseProfileSelectionRequired, aV as WiseSessionMaterial, ad as WithdrawDepositParams, cP as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a4 as Zkp2pClientOptions, cU as classifyDelegationState, bT as compareEventCursorIdsByRecency, cs as currencyInfo, bQ as defaultIndexerEndpoint, cG as enrichPvDepositView, cH as enrichPvIntentView, bU as fetchIndexerFulfillmentAndPayment, cz as getContracts, cv as getCurrencyCodeFromHash, cu as getCurrencyInfoFromCountryCode, ct as getCurrencyInfoFromHash, cT as getDelegationRoute, cC as getGatingServiceAddress, cB as getPaymentMethodsCatalog, cA as getRateManagerContracts, cw as isSupportedCurrencyHash, cQ as isZeroRateManagerId, cx as mapConversionRatesToOnchainMinRate, cR as normalizeRateManagerId, cS as normalizeRegistry, cE as parseDepositView, cF as parseIntentView } from './vaultUtils-CdYaZr3f.js';
|
|
3
3
|
import { Address, Hash, Hex, WalletClient } from 'viem';
|
|
4
4
|
import { Abi } from 'abitype';
|
|
5
5
|
export { IdentityActionType, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityPlatform, NitroAttestationClient, NitroAttestationClientOptions, NitroAttestationEnvironment, VerifiedAttestation, VerifiedAttestationPayload, createNitroAttestationClient } from '@zkp2p/zkp2p-attestation';
|
|
@@ -70,6 +70,57 @@ declare const assertValidReferrerFeeConfig: (config: ReferrerFeeConfig | undefin
|
|
|
70
70
|
declare const parseReferrerFeeConfig: (recipient: string | null | undefined, feeBpsValue: string | number | null | undefined) => ReferrerFeeConfig | null;
|
|
71
71
|
declare const referrerFeeConfigToPreciseUnits: (config: ReferrerFeeConfig) => bigint;
|
|
72
72
|
|
|
73
|
+
declare const normalizeReferralCode: (code: string) => string;
|
|
74
|
+
declare const isValidReferralCode: (code: string) => boolean;
|
|
75
|
+
declare const REFERRAL_SIGNATURE_DOMAIN: {
|
|
76
|
+
readonly name: "ZKP2PReferral";
|
|
77
|
+
readonly version: "1";
|
|
78
|
+
};
|
|
79
|
+
declare const REFERRAL_SIGNATURE_TYPES: {
|
|
80
|
+
readonly CreateCode: readonly [{
|
|
81
|
+
readonly name: "wallet";
|
|
82
|
+
readonly type: "address";
|
|
83
|
+
}, {
|
|
84
|
+
readonly name: "audience";
|
|
85
|
+
readonly type: "string";
|
|
86
|
+
}, {
|
|
87
|
+
readonly name: "issuedAt";
|
|
88
|
+
readonly type: "uint256";
|
|
89
|
+
}];
|
|
90
|
+
readonly RedeemCode: readonly [{
|
|
91
|
+
readonly name: "wallet";
|
|
92
|
+
readonly type: "address";
|
|
93
|
+
}, {
|
|
94
|
+
readonly name: "code";
|
|
95
|
+
readonly type: "string";
|
|
96
|
+
}, {
|
|
97
|
+
readonly name: "referrer";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "audience";
|
|
101
|
+
readonly type: "string";
|
|
102
|
+
}, {
|
|
103
|
+
readonly name: "issuedAt";
|
|
104
|
+
readonly type: "uint256";
|
|
105
|
+
}];
|
|
106
|
+
readonly RenameCode: readonly [{
|
|
107
|
+
readonly name: "wallet";
|
|
108
|
+
readonly type: "address";
|
|
109
|
+
}, {
|
|
110
|
+
readonly name: "oldCode";
|
|
111
|
+
readonly type: "string";
|
|
112
|
+
}, {
|
|
113
|
+
readonly name: "newCode";
|
|
114
|
+
readonly type: "string";
|
|
115
|
+
}, {
|
|
116
|
+
readonly name: "audience";
|
|
117
|
+
readonly type: "string";
|
|
118
|
+
}, {
|
|
119
|
+
readonly name: "issuedAt";
|
|
120
|
+
readonly type: "uint256";
|
|
121
|
+
}];
|
|
122
|
+
};
|
|
123
|
+
|
|
73
124
|
interface EscrowContractContext {
|
|
74
125
|
address: Address;
|
|
75
126
|
abi: Abi;
|
|
@@ -229,6 +280,12 @@ declare function apiGetOwnerDeposits(req: GetOwnerDepositsRequest, apiKey: strin
|
|
|
229
280
|
* Get taker tier information for a specific address.
|
|
230
281
|
*/
|
|
231
282
|
declare function apiGetTakerTier(req: GetTakerTierRequest, baseApiUrl: string, timeoutMs?: number): Promise<GetTakerTierResponse>;
|
|
283
|
+
declare function apiGetReferralDashboard(opts: ApiAdapterOptions & ReferralReadRequest): Promise<ReferralDashboardResponse>;
|
|
284
|
+
declare function apiGetReferralEarnings(opts: ApiAdapterOptions & ReferralReadRequest): Promise<ReferralEarningsResponse>;
|
|
285
|
+
declare function apiLookupReferralCode(code: string, opts: ApiAdapterOptions): Promise<ReferralCodeLookupResponse>;
|
|
286
|
+
declare function apiCreateReferralCode(req: CreateReferralCodeRequest, opts: ApiAdapterOptions): Promise<CreateReferralCodeResponse>;
|
|
287
|
+
declare function apiRedeemReferralCode(req: RedeemReferralCodeRequest, opts: ApiAdapterOptions): Promise<RedeemReferralCodeResponse>;
|
|
288
|
+
declare function apiUpdateReferralCode(req: UpdateReferralCodeRequest, opts: ApiAdapterOptions): Promise<UpdateReferralCodeResponse>;
|
|
232
289
|
declare function apiUploadGoogleOAuthSellerCredential<P extends GoogleOAuthSellerCredentialPlatform>(processorName: P, payeeDetails: Hash, body: GoogleOAuthSellerCredentialUploadBodyByPlatform[P], baseApiUrl: string, opts?: {
|
|
233
290
|
timeoutMs?: number;
|
|
234
291
|
}): Promise<CuratorSellerCredentialUploadResponse>;
|
|
@@ -460,10 +517,10 @@ declare const TOKEN_METADATA: {
|
|
|
460
517
|
* tier engine (curator `src/common/services/tier/tierConstants.ts`), which is
|
|
461
518
|
* what the backend actually enforces.
|
|
462
519
|
*
|
|
463
|
-
* The live qualification signal is
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
*
|
|
520
|
+
* The live qualification signal is Peer Pay volume. Historical maker tiers
|
|
521
|
+
* earned before July 1, 2026 UTC are preserved; after that cutoff, only Peer
|
|
522
|
+
* Pay volume moves the tier. Curator keeps the response field name
|
|
523
|
+
* `peerPayVolume` for compatibility.
|
|
467
524
|
*
|
|
468
525
|
* A user's *live* tier, cap, and progression always come from the taker-tier
|
|
469
526
|
* API payload (`TakerTier.perIntentCapBaseUnits`, `minVolumeForTier`,
|
|
@@ -474,9 +531,8 @@ declare const TOKEN_METADATA: {
|
|
|
474
531
|
* (the Fees & Tiers ladder) when no live payload is available; never gate or
|
|
475
532
|
* compute a user's real cap from it.
|
|
476
533
|
*
|
|
477
|
-
* Volume bands track the live
|
|
478
|
-
*
|
|
479
|
-
* PRO $50k, PLATINUM $100k. Caps ($100/$250/$1k/$2.5k/$5k) are unchanged.
|
|
534
|
+
* Volume bands track the live tuned qualification thresholds — PEER $1k,
|
|
535
|
+
* PLUS $10k, PRO $50k, PLATINUM $100k. Caps ($100/$250/$1k/$2.5k/$5k) are unchanged.
|
|
480
536
|
* Read the live per-user values from the API: curator can change qualification
|
|
481
537
|
* inputs behind the compatibility fields without changing this reference table.
|
|
482
538
|
*
|
|
@@ -487,9 +543,9 @@ interface TakerTierScheduleEntry {
|
|
|
487
543
|
tier: TakerTierLevel;
|
|
488
544
|
/** Per-intent order cap in whole USD (base, before platform risk multipliers). */
|
|
489
545
|
perIntentCapUsd: number;
|
|
490
|
-
/** Inclusive lower bound of
|
|
546
|
+
/** Inclusive lower bound of Peer Pay volume (USD) that qualifies for this tier. */
|
|
491
547
|
minVolumeUsd: number;
|
|
492
|
-
/** Inclusive upper bound of
|
|
548
|
+
/** Inclusive upper bound of Peer Pay volume (USD); `Infinity` for the top tier. */
|
|
493
549
|
maxVolumeUsd: number;
|
|
494
550
|
}
|
|
495
551
|
declare const TAKER_TIER_SCHEDULE: readonly TakerTierScheduleEntry[];
|
|
@@ -791,4 +847,4 @@ declare class ContractError extends ZKP2PError {
|
|
|
791
847
|
constructor(message: string, details?: unknown);
|
|
792
848
|
}
|
|
793
849
|
|
|
794
|
-
export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetTakerTierRequest, GetTakerTierResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, type LogLevel, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorContractContext, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type PeerAuthenticateParams, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataProviderConfig, type PeerMetadataRow, type PeerSarCredentialCapture, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuotesBestByPlatformRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TAKER_TIER_CAPS, TAKER_TIER_FEE_DISCOUNT_BPS, TAKER_TIER_ORDER, TAKER_TIER_SCHEDULE, TOKEN_METADATA, TakerTierLevel, type TakerTierScheduleEntry, TxOverrides, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetTakerTier, apiPostDepositDetails, apiRequestIdentityAttestation, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getNextTakerTier, getPeerExtensionState, getSpreadOracleConfig, getTakerTierFeeDiscountBps, isPeerExtensionAvailable, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
|
|
850
|
+
export { APIError, ApiAdapterOptions, AttestationServiceIdentityResponse, AttestationServiceSellerCredentialUploadResponse, AttestationServiceSellerVerifyResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, BuyerTeeVerifyPaymentBody, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CreateReferralCodeRequest, CreateReferralCodeResponse, CuratorSellerCredentialUploadResponse, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetTakerTierRequest, GetTakerTierResponse, GoogleOAuthSellerCredentialPlatform, GoogleOAuthSellerCredentialUploadBodyByPlatform, IdentityAttestationRequestBody, DepositWithRelations as IndexerDepositWithRelations, IntentEntity as IndexerIntent, type LogLevel, type MulticallClient, NetworkError, type OracleAdapterOverrides, type OracleKind, type OrchestratorContractContext, PEER_EXTENSION_CHROME_URL, PLATFORM_METADATA, PYTH_CONTRACT_BASE, PYTH_ORACLE_ADAPTER, PYTH_ORACLE_FEEDS, PaymentMethodCatalog, type PeerAuthenticateParams, type PeerBuyerTeePaymentCapture, type PeerBuyerTeePaymentParams, type PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerMetadataCaptureMode, type PeerMetadataMessage, type PeerMetadataMessageCallback, type PeerMetadataProviderConfig, type PeerMetadataRow, type PeerSarCredentialCapture, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuotesBestByPlatformRequest, REFERRAL_SIGNATURE_DOMAIN, REFERRAL_SIGNATURE_TYPES, RedeemReferralCodeRequest, RedeemReferralCodeResponse, ReferralCodeLookupResponse, ReferralDashboardResponse, ReferralEarningsResponse, ReferralReadRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialBundle, SellerCredentialUploadInput, SellerCredentialUploadPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TAKER_TIER_CAPS, TAKER_TIER_FEE_DISCOUNT_BPS, TAKER_TIER_ORDER, TAKER_TIER_SCHEDULE, TOKEN_METADATA, TakerTierLevel, type TakerTierScheduleEntry, TxOverrides, UpdateReferralCodeRequest, UpdateReferralCodeResponse, UploadSellerCredentialBundleParams, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateReferralCode, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetReferralDashboard, apiGetReferralEarnings, apiGetTakerTier, apiLookupReferralCode, apiPostDepositDetails, apiRedeemReferralCode, apiRequestIdentityAttestation, apiUpdateReferralCode, apiUploadGoogleOAuthSellerCredential, apiUploadSellerCredentialBundle, apiValidatePayeeDetails, apiVerifyBuyerTeePayment, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getNextTakerTier, getPeerExtensionState, getSpreadOracleConfig, getTakerTierFeeDiscountBps, isPeerExtensionAvailable, isValidReferralCode, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, normalizeReferralCode, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
|