@zkp2p/sdk 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/dist/{chunk-RYBXFY6X.mjs → chunk-DZQOCRT4.mjs} +99 -859
- package/dist/{chunk-RYBXFY6X.mjs.map → chunk-DZQOCRT4.mjs.map} +1 -1
- package/dist/index.cjs +183 -957
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +9 -11
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-WK2QPJH7.mjs +5 -0
- package/dist/{protocolViewerParsers-LCSRVC7F.mjs.map → protocolViewerParsers-WK2QPJH7.mjs.map} +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/{vaultUtils-xNLHO5lY.d.mts → vaultUtils-Bc9KwywX.d.mts} +0 -3
- package/dist/{vaultUtils-xNLHO5lY.d.ts → vaultUtils-Bc9KwywX.d.ts} +0 -3
- package/package.json +1 -1
- package/dist/protocolViewerParsers-LCSRVC7F.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, 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 GetDepositBundleParams, F as GetDepositBundleResponse, H as GetOrderbookParams, J as GetOrderbookResponse, K as GetOrderbookTableResponse, L as QuoteRequest, M as QuoteResponse, N as CuratorMetadata, O as CurrencyType, T as PaymentMethodCatalog, W as TxOverrides } from './vaultUtils-
|
|
2
|
-
export { dv as AccessPolicyDiff, dm as AccessPolicyOperations, dw as AccessPolicyOrdering, dx as AccessPolicyPlan, dy as AccessPolicyPlanStep, dz as AccessPolicyState, dn as AccessPolicyUnsupportedError, dA as AccessPolicyViolation, ah as ActionCallback, aL as ApiDeposit, aS as ApiIntentStatus, bq as AttestationServiceSellerCredentialProbeResponse, af as AuthorizationTokenProvider, dj as BatchResult, as as BestByPlatformResponseObject, br as BuyerTeePaymentParams, bs as BuyerTeePaymentProofInput, bt as BuyerTeeSessionMaterial, cW as CHARGEBACK_POLICY_ABI, a3 as CancelIntentMethodParams, ar as CancelIntentParams, b8 as CashAppCredentialUploadInput, b1 as CashAppSessionMaterial, al as CreateDepositConversionRate, ak as CreateDepositParams, bu as CuratorSellerCredentialStatusResponse, bv as CuratorSellerVerifyResponse, cE as Currency, cL as CurrencyData, di as DelegationDepositTarget, dg as DelegationRoute, dh as DelegationState, d4 as Deposit, d6 as DepositCurrency, bO as DepositIntentStatistics, aO as DepositStatus, aM as DepositVerifier, aN as DepositVerifierCurrency, bL as DepositVerifierData, d3 as DepositView, aH as FiatResponse, bp as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, ap as FulfillIntentParams, at as GetBestByPlatformResponse, au as GetBestByPlatformResponseObject, aP as GetDepositByIdRequest, aQ as GetDepositByIdResponse, aX as GetIntentByHashRequest, aY as GetIntentByHashResponse, aV as GetIntentsByDepositRequest, aW as GetIntentsByDepositResponse, ay as GetNearbyQuote, az as GetNearbySuggestions, aT as GetOwnerIntentsRequest, aU as GetOwnerIntentsResponse, av as GetPlatformQuote, aA as GetQuoteResponse, aB as GetQuoteResponseObject, aC as GetQuoteSingleResponse, bA as GetSellerCredentialStatusParams, bE as IdentityAttestationActionType, bF as IdentityAttestationOutput, bG as IdentityAttestationOutputFor, bH as IdentityAttestationParams, cj as IndexedRiskWindow, ck as IndexedStakingRowFreshness, cl as IndexedStakingState, cm as IndexedStakingStateParams, cn as IndexedTakerAuthorization, bU as IndexerClient, cy as IndexerDeploymentEnv, c0 as IndexerDeposit, ch as IndexerDepositDailySnapshot, cp as IndexerDepositFilter, cg as IndexerDepositFundActivity, ci as IndexerDepositFundActivityType, cs as IndexerDepositOrderDirection, cr as IndexerDepositOrderField, cq as IndexerDepositPagination, c3 as IndexerDepositPaymentMethod, bW as IndexerDepositService, cB as IndexerFulfillmentAndPaymentResponse, cz as IndexerFulfillmentRecord, c1 as IndexerIntentFulfilled, c2 as IndexerIntentFulfillmentAmounts, c5 as IndexerIntentStatus, c9 as IndexerManagerAggregateStats, cb as IndexerManagerDailySnapshot, ca as IndexerManagerStats, ce as IndexerManualRateUpdate, c4 as IndexerMethodCurrency, cf as IndexerOracleConfigUpdate, cA as IndexerPaymentVerifiedRecord, c6 as IndexerRateManager, c8 as IndexerRateManagerDelegation, cv as IndexerRateManagerDelegationPagination, cd as IndexerRateManagerDetail, ct as IndexerRateManagerFilter, cc as IndexerRateManagerListItem, cx as IndexerRateManagerOrderDirection, cw as IndexerRateManagerOrderField, cu as IndexerRateManagerPagination, c7 as IndexerRateManagerRate, bX as IndexerRateManagerService, b_ as IndexerStakingService, aR as Intent, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote, ab as IntentGuardianWriteFunction, ac as IntentGuardianWriteParams, d8 as IntentView, dq as MAX_ADDRESSES_PER_CALL, dp as MAX_GROUPS_PER_DEPOSIT, dr as MAX_WHITELISTED_ADDRESSES, bI as MakerIdentityAttestationRequestBody, bJ as MakerIdentityPlatform, aJ as NearbyQuote, aK as NearbySuggestions, cV as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bK as OnchainCurrency, d9 as OnchainIntent, bN as OrderStats, bS as OrderbookEntry, bT as OrderbookTableRow, cC as PAYMENT_PLATFORMS, b6 as PayPalGoogleOAuthSellerCredentialUploadBody, d5 as PaymentMethodData, cD as PaymentPlatformType, aw as PlatformQuote, bM as PreparedTransaction, aG as QuoteFeesResponse, aF as QuoteIntentResponse, ax as QuotePreference, aD as QuoteResponseObject, aE as QuoteSingleResponse, am as Range, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, d7 as ReferralFee, Y as ReferralReadOptions, ai as ReferralRedemption, aj as ReferralSignatureBody, _ as ReferralSignatureOptions, aZ as RegisterPayeeDetailsRequest, a_ as RegisterPayeeDetailsResponse, bw as RegisteredSellerCredentialPlatform, by as RegisteredUploadSellerCredentialParams, aq as ReleaseFundsToPayerParams, cY as RuntimeEnv, cX as STAKE_VAULT_ABI, bn as SellerAttestationOutput, bb as SellerCiphertextBundle, bg as SellerCredentialBundleUpload, bo as SellerCredentialProbeResponse, bi as SellerCredentialStatus, bh as SellerCredentialStatusValue, ba as SellerCredentialUploadInputByPlatform, bm as SellerPaymentTypedDataValue, a$ as SellerPlatform, bf as SellerProbeInput, bc as SellerSignedCiphertextBundle, bk as SellerTypedDataField, bl as SellerTypedDataSpec, be as SellerVerifyInput, bd as SellerVerifyIntentDetails, bj as SellerVerifyProxyBody, dl as SendBatchFn, dk as SendTransactionFn, a1 as SignalIntentMethodParams, ao as SignalIntentParams, a0 as SignalIntentReferralFee, bQ as StakeEnvironment, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, co as StakingEntityIds, bR as TakerStakeBalances, ag as TimeoutConfig, aI as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bC as UploadGoogleOAuthSellerCredentialParams, bB as UploadPayPalGoogleOAuthSellerCredentialParams, bz as UploadSellerCredentialOptions, bx as UploadSellerCredentialParams, bP as UsdcAmount, c_ as V2ContractAbis, cZ as V2ContractAddresses, b7 as VenmoCredentialUploadInput, b0 as VenmoSessionMaterial, bD as VerifySellerPaymentParams, b9 as WiseCredentialUploadInput, b3 as WiseProfileInfo, b5 as WiseProfileNotFound, b4 as WiseProfileSelectionRequired, b2 as WiseSessionMaterial, an as WithdrawDepositParams, da as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, bZ as buildStakingEntityIds, df as classifyDelegationState, ae as classifyIntentGuardianError, bY as compareEventCursorIdsByRecency, cF as currencyInfo, bV as defaultIndexerEndpoint, ds as diffAccessPolicy, d1 as enrichPvDepositView, d2 as enrichPvIntentView, b$ as fetchIndexerFulfillmentAndPayment, cS as getChargebackPolicyContract, cM as getContracts, cI as getCurrencyCodeFromHash, cH as getCurrencyInfoFromCountryCode, cG as getCurrencyInfoFromHash, de as getDelegationRoute, cU as getGatingServiceAddress, cN as getIntentGuardianContract, cR as getOrchestratorV3Contract, cT as getPaymentMethodsCatalog, cP as getRateManagerContracts, cQ as getStakeVaultContract, cO as hasIntentGuardian, cJ as isSupportedCurrencyHash, db as isZeroRateManagerId, cK as mapConversionRatesToOnchainMinRate, dt as normalizeAccessPolicyState, dc as normalizeRateManagerId, dd as normalizeRegistry, c$ as parseDepositView, d0 as parseIntentView, du as planAccessPolicyUpdate } from './vaultUtils-
|
|
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 GetDepositBundleParams, F as GetDepositBundleResponse, H as GetOrderbookParams, J as GetOrderbookResponse, K as GetOrderbookTableResponse, L as QuoteRequest, M as QuoteResponse, N as CuratorMetadata, O as CurrencyType, T as PaymentMethodCatalog, W as TxOverrides } from './vaultUtils-Bc9KwywX.mjs';
|
|
2
|
+
export { dv as AccessPolicyDiff, dm as AccessPolicyOperations, dw as AccessPolicyOrdering, dx as AccessPolicyPlan, dy as AccessPolicyPlanStep, dz as AccessPolicyState, dn as AccessPolicyUnsupportedError, dA as AccessPolicyViolation, ah as ActionCallback, aL as ApiDeposit, aS as ApiIntentStatus, bq as AttestationServiceSellerCredentialProbeResponse, af as AuthorizationTokenProvider, dj as BatchResult, as as BestByPlatformResponseObject, br as BuyerTeePaymentParams, bs as BuyerTeePaymentProofInput, bt as BuyerTeeSessionMaterial, cW as CHARGEBACK_POLICY_ABI, a3 as CancelIntentMethodParams, ar as CancelIntentParams, b8 as CashAppCredentialUploadInput, b1 as CashAppSessionMaterial, al as CreateDepositConversionRate, ak as CreateDepositParams, bu as CuratorSellerCredentialStatusResponse, bv as CuratorSellerVerifyResponse, cE as Currency, cL as CurrencyData, di as DelegationDepositTarget, dg as DelegationRoute, dh as DelegationState, d4 as Deposit, d6 as DepositCurrency, bO as DepositIntentStatistics, aO as DepositStatus, aM as DepositVerifier, aN as DepositVerifierCurrency, bL as DepositVerifierData, d3 as DepositView, aH as FiatResponse, bp as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, ap as FulfillIntentParams, at as GetBestByPlatformResponse, au as GetBestByPlatformResponseObject, aP as GetDepositByIdRequest, aQ as GetDepositByIdResponse, aX as GetIntentByHashRequest, aY as GetIntentByHashResponse, aV as GetIntentsByDepositRequest, aW as GetIntentsByDepositResponse, ay as GetNearbyQuote, az as GetNearbySuggestions, aT as GetOwnerIntentsRequest, aU as GetOwnerIntentsResponse, av as GetPlatformQuote, aA as GetQuoteResponse, aB as GetQuoteResponseObject, aC as GetQuoteSingleResponse, bA as GetSellerCredentialStatusParams, bE as IdentityAttestationActionType, bF as IdentityAttestationOutput, bG as IdentityAttestationOutputFor, bH as IdentityAttestationParams, cj as IndexedRiskWindow, ck as IndexedStakingRowFreshness, cl as IndexedStakingState, cm as IndexedStakingStateParams, cn as IndexedTakerAuthorization, bU as IndexerClient, cy as IndexerDeploymentEnv, c0 as IndexerDeposit, ch as IndexerDepositDailySnapshot, cp as IndexerDepositFilter, cg as IndexerDepositFundActivity, ci as IndexerDepositFundActivityType, cs as IndexerDepositOrderDirection, cr as IndexerDepositOrderField, cq as IndexerDepositPagination, c3 as IndexerDepositPaymentMethod, bW as IndexerDepositService, cB as IndexerFulfillmentAndPaymentResponse, cz as IndexerFulfillmentRecord, c1 as IndexerIntentFulfilled, c2 as IndexerIntentFulfillmentAmounts, c5 as IndexerIntentStatus, c9 as IndexerManagerAggregateStats, cb as IndexerManagerDailySnapshot, ca as IndexerManagerStats, ce as IndexerManualRateUpdate, c4 as IndexerMethodCurrency, cf as IndexerOracleConfigUpdate, cA as IndexerPaymentVerifiedRecord, c6 as IndexerRateManager, c8 as IndexerRateManagerDelegation, cv as IndexerRateManagerDelegationPagination, cd as IndexerRateManagerDetail, ct as IndexerRateManagerFilter, cc as IndexerRateManagerListItem, cx as IndexerRateManagerOrderDirection, cw as IndexerRateManagerOrderField, cu as IndexerRateManagerPagination, c7 as IndexerRateManagerRate, bX as IndexerRateManagerService, b_ as IndexerStakingService, aR as Intent, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote, ab as IntentGuardianWriteFunction, ac as IntentGuardianWriteParams, d8 as IntentView, dq as MAX_ADDRESSES_PER_CALL, dp as MAX_GROUPS_PER_DEPOSIT, dr as MAX_WHITELISTED_ADDRESSES, bI as MakerIdentityAttestationRequestBody, bJ as MakerIdentityPlatform, aJ as NearbyQuote, aK as NearbySuggestions, cV as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bK as OnchainCurrency, d9 as OnchainIntent, bN as OrderStats, bS as OrderbookEntry, bT as OrderbookTableRow, cC as PAYMENT_PLATFORMS, b6 as PayPalGoogleOAuthSellerCredentialUploadBody, d5 as PaymentMethodData, cD as PaymentPlatformType, aw as PlatformQuote, bM as PreparedTransaction, aG as QuoteFeesResponse, aF as QuoteIntentResponse, ax as QuotePreference, aD as QuoteResponseObject, aE as QuoteSingleResponse, am as Range, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, d7 as ReferralFee, Y as ReferralReadOptions, ai as ReferralRedemption, aj as ReferralSignatureBody, _ as ReferralSignatureOptions, aZ as RegisterPayeeDetailsRequest, a_ as RegisterPayeeDetailsResponse, bw as RegisteredSellerCredentialPlatform, by as RegisteredUploadSellerCredentialParams, aq as ReleaseFundsToPayerParams, cY as RuntimeEnv, cX as STAKE_VAULT_ABI, bn as SellerAttestationOutput, bb as SellerCiphertextBundle, bg as SellerCredentialBundleUpload, bo as SellerCredentialProbeResponse, bi as SellerCredentialStatus, bh as SellerCredentialStatusValue, ba as SellerCredentialUploadInputByPlatform, bm as SellerPaymentTypedDataValue, a$ as SellerPlatform, bf as SellerProbeInput, bc as SellerSignedCiphertextBundle, bk as SellerTypedDataField, bl as SellerTypedDataSpec, be as SellerVerifyInput, bd as SellerVerifyIntentDetails, bj as SellerVerifyProxyBody, dl as SendBatchFn, dk as SendTransactionFn, a1 as SignalIntentMethodParams, ao as SignalIntentParams, a0 as SignalIntentReferralFee, bQ as StakeEnvironment, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, co as StakingEntityIds, bR as TakerStakeBalances, ag as TimeoutConfig, aI as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bC as UploadGoogleOAuthSellerCredentialParams, bB as UploadPayPalGoogleOAuthSellerCredentialParams, bz as UploadSellerCredentialOptions, bx as UploadSellerCredentialParams, bP as UsdcAmount, c_ as V2ContractAbis, cZ as V2ContractAddresses, b7 as VenmoCredentialUploadInput, b0 as VenmoSessionMaterial, bD as VerifySellerPaymentParams, b9 as WiseCredentialUploadInput, b3 as WiseProfileInfo, b5 as WiseProfileNotFound, b4 as WiseProfileSelectionRequired, b2 as WiseSessionMaterial, an as WithdrawDepositParams, da as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, bZ as buildStakingEntityIds, df as classifyDelegationState, ae as classifyIntentGuardianError, bY as compareEventCursorIdsByRecency, cF as currencyInfo, bV as defaultIndexerEndpoint, ds as diffAccessPolicy, d1 as enrichPvDepositView, d2 as enrichPvIntentView, b$ as fetchIndexerFulfillmentAndPayment, cS as getChargebackPolicyContract, cM as getContracts, cI as getCurrencyCodeFromHash, cH as getCurrencyInfoFromCountryCode, cG as getCurrencyInfoFromHash, de as getDelegationRoute, cU as getGatingServiceAddress, cN as getIntentGuardianContract, cR as getOrchestratorV3Contract, cT as getPaymentMethodsCatalog, cP as getRateManagerContracts, cQ as getStakeVaultContract, cO as hasIntentGuardian, cJ as isSupportedCurrencyHash, db as isZeroRateManagerId, cK as mapConversionRatesToOnchainMinRate, dt as normalizeAccessPolicyState, dc as normalizeRateManagerId, dd as normalizeRegistry, c$ as parseDepositView, d0 as parseIntentView, du as planAccessPolicyUpdate } from './vaultUtils-Bc9KwywX.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';
|
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, 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 GetDepositBundleParams, F as GetDepositBundleResponse, H as GetOrderbookParams, J as GetOrderbookResponse, K as GetOrderbookTableResponse, L as QuoteRequest, M as QuoteResponse, N as CuratorMetadata, O as CurrencyType, T as PaymentMethodCatalog, W as TxOverrides } from './vaultUtils-
|
|
2
|
-
export { dv as AccessPolicyDiff, dm as AccessPolicyOperations, dw as AccessPolicyOrdering, dx as AccessPolicyPlan, dy as AccessPolicyPlanStep, dz as AccessPolicyState, dn as AccessPolicyUnsupportedError, dA as AccessPolicyViolation, ah as ActionCallback, aL as ApiDeposit, aS as ApiIntentStatus, bq as AttestationServiceSellerCredentialProbeResponse, af as AuthorizationTokenProvider, dj as BatchResult, as as BestByPlatformResponseObject, br as BuyerTeePaymentParams, bs as BuyerTeePaymentProofInput, bt as BuyerTeeSessionMaterial, cW as CHARGEBACK_POLICY_ABI, a3 as CancelIntentMethodParams, ar as CancelIntentParams, b8 as CashAppCredentialUploadInput, b1 as CashAppSessionMaterial, al as CreateDepositConversionRate, ak as CreateDepositParams, bu as CuratorSellerCredentialStatusResponse, bv as CuratorSellerVerifyResponse, cE as Currency, cL as CurrencyData, di as DelegationDepositTarget, dg as DelegationRoute, dh as DelegationState, d4 as Deposit, d6 as DepositCurrency, bO as DepositIntentStatistics, aO as DepositStatus, aM as DepositVerifier, aN as DepositVerifierCurrency, bL as DepositVerifierData, d3 as DepositView, aH as FiatResponse, bp as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, ap as FulfillIntentParams, at as GetBestByPlatformResponse, au as GetBestByPlatformResponseObject, aP as GetDepositByIdRequest, aQ as GetDepositByIdResponse, aX as GetIntentByHashRequest, aY as GetIntentByHashResponse, aV as GetIntentsByDepositRequest, aW as GetIntentsByDepositResponse, ay as GetNearbyQuote, az as GetNearbySuggestions, aT as GetOwnerIntentsRequest, aU as GetOwnerIntentsResponse, av as GetPlatformQuote, aA as GetQuoteResponse, aB as GetQuoteResponseObject, aC as GetQuoteSingleResponse, bA as GetSellerCredentialStatusParams, bE as IdentityAttestationActionType, bF as IdentityAttestationOutput, bG as IdentityAttestationOutputFor, bH as IdentityAttestationParams, cj as IndexedRiskWindow, ck as IndexedStakingRowFreshness, cl as IndexedStakingState, cm as IndexedStakingStateParams, cn as IndexedTakerAuthorization, bU as IndexerClient, cy as IndexerDeploymentEnv, c0 as IndexerDeposit, ch as IndexerDepositDailySnapshot, cp as IndexerDepositFilter, cg as IndexerDepositFundActivity, ci as IndexerDepositFundActivityType, cs as IndexerDepositOrderDirection, cr as IndexerDepositOrderField, cq as IndexerDepositPagination, c3 as IndexerDepositPaymentMethod, bW as IndexerDepositService, cB as IndexerFulfillmentAndPaymentResponse, cz as IndexerFulfillmentRecord, c1 as IndexerIntentFulfilled, c2 as IndexerIntentFulfillmentAmounts, c5 as IndexerIntentStatus, c9 as IndexerManagerAggregateStats, cb as IndexerManagerDailySnapshot, ca as IndexerManagerStats, ce as IndexerManualRateUpdate, c4 as IndexerMethodCurrency, cf as IndexerOracleConfigUpdate, cA as IndexerPaymentVerifiedRecord, c6 as IndexerRateManager, c8 as IndexerRateManagerDelegation, cv as IndexerRateManagerDelegationPagination, cd as IndexerRateManagerDetail, ct as IndexerRateManagerFilter, cc as IndexerRateManagerListItem, cx as IndexerRateManagerOrderDirection, cw as IndexerRateManagerOrderField, cu as IndexerRateManagerPagination, c7 as IndexerRateManagerRate, bX as IndexerRateManagerService, b_ as IndexerStakingService, aR as Intent, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote, ab as IntentGuardianWriteFunction, ac as IntentGuardianWriteParams, d8 as IntentView, dq as MAX_ADDRESSES_PER_CALL, dp as MAX_GROUPS_PER_DEPOSIT, dr as MAX_WHITELISTED_ADDRESSES, bI as MakerIdentityAttestationRequestBody, bJ as MakerIdentityPlatform, aJ as NearbyQuote, aK as NearbySuggestions, cV as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bK as OnchainCurrency, d9 as OnchainIntent, bN as OrderStats, bS as OrderbookEntry, bT as OrderbookTableRow, cC as PAYMENT_PLATFORMS, b6 as PayPalGoogleOAuthSellerCredentialUploadBody, d5 as PaymentMethodData, cD as PaymentPlatformType, aw as PlatformQuote, bM as PreparedTransaction, aG as QuoteFeesResponse, aF as QuoteIntentResponse, ax as QuotePreference, aD as QuoteResponseObject, aE as QuoteSingleResponse, am as Range, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, d7 as ReferralFee, Y as ReferralReadOptions, ai as ReferralRedemption, aj as ReferralSignatureBody, _ as ReferralSignatureOptions, aZ as RegisterPayeeDetailsRequest, a_ as RegisterPayeeDetailsResponse, bw as RegisteredSellerCredentialPlatform, by as RegisteredUploadSellerCredentialParams, aq as ReleaseFundsToPayerParams, cY as RuntimeEnv, cX as STAKE_VAULT_ABI, bn as SellerAttestationOutput, bb as SellerCiphertextBundle, bg as SellerCredentialBundleUpload, bo as SellerCredentialProbeResponse, bi as SellerCredentialStatus, bh as SellerCredentialStatusValue, ba as SellerCredentialUploadInputByPlatform, bm as SellerPaymentTypedDataValue, a$ as SellerPlatform, bf as SellerProbeInput, bc as SellerSignedCiphertextBundle, bk as SellerTypedDataField, bl as SellerTypedDataSpec, be as SellerVerifyInput, bd as SellerVerifyIntentDetails, bj as SellerVerifyProxyBody, dl as SendBatchFn, dk as SendTransactionFn, a1 as SignalIntentMethodParams, ao as SignalIntentParams, a0 as SignalIntentReferralFee, bQ as StakeEnvironment, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, co as StakingEntityIds, bR as TakerStakeBalances, ag as TimeoutConfig, aI as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bC as UploadGoogleOAuthSellerCredentialParams, bB as UploadPayPalGoogleOAuthSellerCredentialParams, bz as UploadSellerCredentialOptions, bx as UploadSellerCredentialParams, bP as UsdcAmount, c_ as V2ContractAbis, cZ as V2ContractAddresses, b7 as VenmoCredentialUploadInput, b0 as VenmoSessionMaterial, bD as VerifySellerPaymentParams, b9 as WiseCredentialUploadInput, b3 as WiseProfileInfo, b5 as WiseProfileNotFound, b4 as WiseProfileSelectionRequired, b2 as WiseSessionMaterial, an as WithdrawDepositParams, da as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, bZ as buildStakingEntityIds, df as classifyDelegationState, ae as classifyIntentGuardianError, bY as compareEventCursorIdsByRecency, cF as currencyInfo, bV as defaultIndexerEndpoint, ds as diffAccessPolicy, d1 as enrichPvDepositView, d2 as enrichPvIntentView, b$ as fetchIndexerFulfillmentAndPayment, cS as getChargebackPolicyContract, cM as getContracts, cI as getCurrencyCodeFromHash, cH as getCurrencyInfoFromCountryCode, cG as getCurrencyInfoFromHash, de as getDelegationRoute, cU as getGatingServiceAddress, cN as getIntentGuardianContract, cR as getOrchestratorV3Contract, cT as getPaymentMethodsCatalog, cP as getRateManagerContracts, cQ as getStakeVaultContract, cO as hasIntentGuardian, cJ as isSupportedCurrencyHash, db as isZeroRateManagerId, cK as mapConversionRatesToOnchainMinRate, dt as normalizeAccessPolicyState, dc as normalizeRateManagerId, dd as normalizeRegistry, c$ as parseDepositView, d0 as parseIntentView, du as planAccessPolicyUpdate } from './vaultUtils-
|
|
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 GetDepositBundleParams, F as GetDepositBundleResponse, H as GetOrderbookParams, J as GetOrderbookResponse, K as GetOrderbookTableResponse, L as QuoteRequest, M as QuoteResponse, N as CuratorMetadata, O as CurrencyType, T as PaymentMethodCatalog, W as TxOverrides } from './vaultUtils-Bc9KwywX.js';
|
|
2
|
+
export { dv as AccessPolicyDiff, dm as AccessPolicyOperations, dw as AccessPolicyOrdering, dx as AccessPolicyPlan, dy as AccessPolicyPlanStep, dz as AccessPolicyState, dn as AccessPolicyUnsupportedError, dA as AccessPolicyViolation, ah as ActionCallback, aL as ApiDeposit, aS as ApiIntentStatus, bq as AttestationServiceSellerCredentialProbeResponse, af as AuthorizationTokenProvider, dj as BatchResult, as as BestByPlatformResponseObject, br as BuyerTeePaymentParams, bs as BuyerTeePaymentProofInput, bt as BuyerTeeSessionMaterial, cW as CHARGEBACK_POLICY_ABI, a3 as CancelIntentMethodParams, ar as CancelIntentParams, b8 as CashAppCredentialUploadInput, b1 as CashAppSessionMaterial, al as CreateDepositConversionRate, ak as CreateDepositParams, bu as CuratorSellerCredentialStatusResponse, bv as CuratorSellerVerifyResponse, cE as Currency, cL as CurrencyData, di as DelegationDepositTarget, dg as DelegationRoute, dh as DelegationState, d4 as Deposit, d6 as DepositCurrency, bO as DepositIntentStatistics, aO as DepositStatus, aM as DepositVerifier, aN as DepositVerifierCurrency, bL as DepositVerifierData, d3 as DepositView, aH as FiatResponse, bp as FulfillIntentAttestationResponse, a2 as FulfillIntentMethodParams, ap as FulfillIntentParams, at as GetBestByPlatformResponse, au as GetBestByPlatformResponseObject, aP as GetDepositByIdRequest, aQ as GetDepositByIdResponse, aX as GetIntentByHashRequest, aY as GetIntentByHashResponse, aV as GetIntentsByDepositRequest, aW as GetIntentsByDepositResponse, ay as GetNearbyQuote, az as GetNearbySuggestions, aT as GetOwnerIntentsRequest, aU as GetOwnerIntentsResponse, av as GetPlatformQuote, aA as GetQuoteResponse, aB as GetQuoteResponseObject, aC as GetQuoteSingleResponse, bA as GetSellerCredentialStatusParams, bE as IdentityAttestationActionType, bF as IdentityAttestationOutput, bG as IdentityAttestationOutputFor, bH as IdentityAttestationParams, cj as IndexedRiskWindow, ck as IndexedStakingRowFreshness, cl as IndexedStakingState, cm as IndexedStakingStateParams, cn as IndexedTakerAuthorization, bU as IndexerClient, cy as IndexerDeploymentEnv, c0 as IndexerDeposit, ch as IndexerDepositDailySnapshot, cp as IndexerDepositFilter, cg as IndexerDepositFundActivity, ci as IndexerDepositFundActivityType, cs as IndexerDepositOrderDirection, cr as IndexerDepositOrderField, cq as IndexerDepositPagination, c3 as IndexerDepositPaymentMethod, bW as IndexerDepositService, cB as IndexerFulfillmentAndPaymentResponse, cz as IndexerFulfillmentRecord, c1 as IndexerIntentFulfilled, c2 as IndexerIntentFulfillmentAmounts, c5 as IndexerIntentStatus, c9 as IndexerManagerAggregateStats, cb as IndexerManagerDailySnapshot, ca as IndexerManagerStats, ce as IndexerManualRateUpdate, c4 as IndexerMethodCurrency, cf as IndexerOracleConfigUpdate, cA as IndexerPaymentVerifiedRecord, c6 as IndexerRateManager, c8 as IndexerRateManagerDelegation, cv as IndexerRateManagerDelegationPagination, cd as IndexerRateManagerDetail, ct as IndexerRateManagerFilter, cc as IndexerRateManagerListItem, cx as IndexerRateManagerOrderDirection, cw as IndexerRateManagerOrderField, cu as IndexerRateManagerPagination, c7 as IndexerRateManagerRate, bX as IndexerRateManagerService, b_ as IndexerStakingService, aR as Intent, ad as IntentGuardianErrorCode, a9 as IntentGuardianPolicy, aa as IntentGuardianQuote, ab as IntentGuardianWriteFunction, ac as IntentGuardianWriteParams, d8 as IntentView, dq as MAX_ADDRESSES_PER_CALL, dp as MAX_GROUPS_PER_DEPOSIT, dr as MAX_WHITELISTED_ADDRESSES, bI as MakerIdentityAttestationRequestBody, bJ as MakerIdentityPlatform, aJ as NearbyQuote, aK as NearbySuggestions, cV as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bK as OnchainCurrency, d9 as OnchainIntent, bN as OrderStats, bS as OrderbookEntry, bT as OrderbookTableRow, cC as PAYMENT_PLATFORMS, b6 as PayPalGoogleOAuthSellerCredentialUploadBody, d5 as PaymentMethodData, cD as PaymentPlatformType, aw as PlatformQuote, bM as PreparedTransaction, aG as QuoteFeesResponse, aF as QuoteIntentResponse, ax as QuotePreference, aD as QuoteResponseObject, aE as QuoteSingleResponse, am as Range, $ as RedeemReferralCodeSignatureOptions, X as ReferralBearerWriteOptions, d7 as ReferralFee, Y as ReferralReadOptions, ai as ReferralRedemption, aj as ReferralSignatureBody, _ as ReferralSignatureOptions, aZ as RegisterPayeeDetailsRequest, a_ as RegisterPayeeDetailsResponse, bw as RegisteredSellerCredentialPlatform, by as RegisteredUploadSellerCredentialParams, aq as ReleaseFundsToPayerParams, cY as RuntimeEnv, cX as STAKE_VAULT_ABI, bn as SellerAttestationOutput, bb as SellerCiphertextBundle, bg as SellerCredentialBundleUpload, bo as SellerCredentialProbeResponse, bi as SellerCredentialStatus, bh as SellerCredentialStatusValue, ba as SellerCredentialUploadInputByPlatform, bm as SellerPaymentTypedDataValue, a$ as SellerPlatform, bf as SellerProbeInput, bc as SellerSignedCiphertextBundle, bk as SellerTypedDataField, bl as SellerTypedDataSpec, be as SellerVerifyInput, bd as SellerVerifyIntentDetails, bj as SellerVerifyProxyBody, dl as SendBatchFn, dk as SendTransactionFn, a1 as SignalIntentMethodParams, ao as SignalIntentParams, a0 as SignalIntentReferralFee, bQ as StakeEnvironment, a6 as StakeVaultState, a7 as StakeVaultWriteFunction, a8 as StakeVaultWriteParams, co as StakingEntityIds, bR as TakerStakeBalances, ag as TimeoutConfig, aI as TokenResponse, a4 as UpdateReferralCodeSignatureOptions, bC as UploadGoogleOAuthSellerCredentialParams, bB as UploadPayPalGoogleOAuthSellerCredentialParams, bz as UploadSellerCredentialOptions, bx as UploadSellerCredentialParams, bP as UsdcAmount, c_ as V2ContractAbis, cZ as V2ContractAddresses, b7 as VenmoCredentialUploadInput, b0 as VenmoSessionMaterial, bD as VerifySellerPaymentParams, b9 as WiseCredentialUploadInput, b3 as WiseProfileInfo, b5 as WiseProfileNotFound, b4 as WiseProfileSelectionRequired, b2 as WiseSessionMaterial, an as WithdrawDepositParams, da as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a5 as Zkp2pClientOptions, bZ as buildStakingEntityIds, df as classifyDelegationState, ae as classifyIntentGuardianError, bY as compareEventCursorIdsByRecency, cF as currencyInfo, bV as defaultIndexerEndpoint, ds as diffAccessPolicy, d1 as enrichPvDepositView, d2 as enrichPvIntentView, b$ as fetchIndexerFulfillmentAndPayment, cS as getChargebackPolicyContract, cM as getContracts, cI as getCurrencyCodeFromHash, cH as getCurrencyInfoFromCountryCode, cG as getCurrencyInfoFromHash, de as getDelegationRoute, cU as getGatingServiceAddress, cN as getIntentGuardianContract, cR as getOrchestratorV3Contract, cT as getPaymentMethodsCatalog, cP as getRateManagerContracts, cQ as getStakeVaultContract, cO as hasIntentGuardian, cJ as isSupportedCurrencyHash, db as isZeroRateManagerId, cK as mapConversionRatesToOnchainMinRate, dt as normalizeAccessPolicyState, dc as normalizeRateManagerId, dd as normalizeRegistry, c$ as parseDepositView, d0 as parseIntentView, du as planAccessPolicyUpdate } from './vaultUtils-Bc9KwywX.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';
|
package/dist/index.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { IntentGuardianOperations } from './chunk-FCOH36IX.mjs';
|
|
|
2
2
|
export { ZERO_RATE_MANAGER_ID, classifyDelegationState, classifyIntentGuardianError, getDelegationRoute, isZeroRateManagerId, normalizeRateManagerId, normalizeRegistry } from './chunk-FCOH36IX.mjs';
|
|
3
3
|
import { NetworkError, ValidationError, APIError } from './chunk-GHQK65J2.mjs';
|
|
4
4
|
export { APIError, ContractError, ErrorCode, NetworkError, ValidationError, ZKP2PError } from './chunk-GHQK65J2.mjs';
|
|
5
|
-
import { METHOD_NAME_TO_HASH, matchesQuotePaymentMethod, matchesPaymentMethodNameAndHash, getContracts, getRateManagerContracts, getPaymentMethodsCatalog, resolvePaymentMethodHashFromCatalog, getGatingServiceAddress, parseBigIntLike, SUPPORTED_PAYMENT_METHOD_HASHES, resolveFiatCurrencyBytes32, resolvePaymentMethodNameFromHash } from './chunk-
|
|
6
|
-
export { CHARGEBACK_POLICY_ABI, ORCHESTRATOR_V3_ABI, PAYMENT_PLATFORMS, STAKE_VAULT_ABI, asciiToBytes32, enrichPvDepositView, enrichPvIntentView, ensureBytes32, getChargebackPolicyContract, getContracts, getGatingServiceAddress, getIntentGuardianContract, getOrchestratorV3Contract, getPaymentMethodsCatalog, getRateManagerContracts, getStakeVaultContract, hasIntentGuardian, parseDepositView, parseIntentView, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash } from './chunk-
|
|
5
|
+
import { METHOD_NAME_TO_HASH, matchesQuotePaymentMethod, matchesPaymentMethodNameAndHash, getContracts, getRateManagerContracts, getPaymentMethodsCatalog, resolvePaymentMethodHashFromCatalog, getGatingServiceAddress, parseBigIntLike, SUPPORTED_PAYMENT_METHOD_HASHES, resolveFiatCurrencyBytes32, resolvePaymentMethodNameFromHash } from './chunk-DZQOCRT4.mjs';
|
|
6
|
+
export { CHARGEBACK_POLICY_ABI, ORCHESTRATOR_V3_ABI, PAYMENT_PLATFORMS, STAKE_VAULT_ABI, asciiToBytes32, enrichPvDepositView, enrichPvIntentView, ensureBytes32, getChargebackPolicyContract, getContracts, getGatingServiceAddress, getIntentGuardianContract, getOrchestratorV3Contract, getPaymentMethodsCatalog, getRateManagerContracts, getStakeVaultContract, hasIntentGuardian, parseDepositView, parseIntentView, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash } from './chunk-DZQOCRT4.mjs';
|
|
7
7
|
import { Currency, currencyKeccak256 } from './chunk-ZFBH4HD7.mjs';
|
|
8
8
|
export { Currency, currencyInfo, getCurrencyCodeFromHash, getCurrencyInfoFromCountryCode, getCurrencyInfoFromHash, isSupportedCurrencyHash, mapConversionRatesToOnchainMinRate } from './chunk-ZFBH4HD7.mjs';
|
|
9
9
|
import './chunk-J5LGTIGS.mjs';
|
|
@@ -852,7 +852,7 @@ async function sendTransactionWithAttribution(walletClient, request, referrer, o
|
|
|
852
852
|
// src/utils/constants.ts
|
|
853
853
|
var DEFAULT_BASE_API_URL = "https://api.zkp2p.xyz";
|
|
854
854
|
|
|
855
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.0_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.
|
|
855
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.0_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.4.3/node_modules/@zkp2p/contracts-v2/oracleFeeds/chainlink.json
|
|
856
856
|
var chainlink_default = {
|
|
857
857
|
feeds: [
|
|
858
858
|
{
|
|
@@ -1898,7 +1898,7 @@ var ProtocolViewerReader = class {
|
|
|
1898
1898
|
if (inputCount === null) {
|
|
1899
1899
|
throw new Error("Configured ProtocolViewer ABI does not expose getDeposit");
|
|
1900
1900
|
}
|
|
1901
|
-
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-
|
|
1901
|
+
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-WK2QPJH7.mjs');
|
|
1902
1902
|
if (inputCount >= 3) {
|
|
1903
1903
|
return tryContexts(
|
|
1904
1904
|
protocolViewerContexts,
|
|
@@ -1984,7 +1984,7 @@ var ProtocolViewerReader = class {
|
|
|
1984
1984
|
return Promise.all(ids.map((id) => this.config.host.getPvDepositById(id)));
|
|
1985
1985
|
}
|
|
1986
1986
|
const bn = ids.map((id) => typeof id === "bigint" ? id : parseRawDepositId(id));
|
|
1987
|
-
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-
|
|
1987
|
+
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-WK2QPJH7.mjs');
|
|
1988
1988
|
if (inputCount >= 2) {
|
|
1989
1989
|
const requests = ids.map((id, index) => ({
|
|
1990
1990
|
index,
|
|
@@ -2089,7 +2089,7 @@ var ProtocolViewerReader = class {
|
|
|
2089
2089
|
if (!protocolViewerAddress || !protocolViewerAbi || inputCount === null) {
|
|
2090
2090
|
return this.config.host.getPvAccountDepositsFromIndexer(owner);
|
|
2091
2091
|
}
|
|
2092
|
-
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-
|
|
2092
|
+
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-WK2QPJH7.mjs');
|
|
2093
2093
|
const { address, abi } = this.config.host.requireProtocolViewer();
|
|
2094
2094
|
if (inputCount >= 2) {
|
|
2095
2095
|
const readAndFilter = async (raw2) => {
|
|
@@ -2160,7 +2160,7 @@ var ProtocolViewerReader = class {
|
|
|
2160
2160
|
if (protocolViewerEntries.length === 0) {
|
|
2161
2161
|
throw new Error("ProtocolViewer not available for this network");
|
|
2162
2162
|
}
|
|
2163
|
-
const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-
|
|
2163
|
+
const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-WK2QPJH7.mjs');
|
|
2164
2164
|
const intentsByHash = /* @__PURE__ */ new Map();
|
|
2165
2165
|
let attemptedRead = false;
|
|
2166
2166
|
let hadSuccessfulRead = false;
|
|
@@ -2268,7 +2268,7 @@ var ProtocolViewerReader = class {
|
|
|
2268
2268
|
if (protocolViewerEntries.length === 0) {
|
|
2269
2269
|
throw new Error("ProtocolViewer not available for this network");
|
|
2270
2270
|
}
|
|
2271
|
-
const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-
|
|
2271
|
+
const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-WK2QPJH7.mjs');
|
|
2272
2272
|
let lastError;
|
|
2273
2273
|
for (const pvEntry of protocolViewerEntries) {
|
|
2274
2274
|
const inputCount = this.pvEntryFunctionInputCount(pvEntry, "getIntent");
|
|
@@ -7784,9 +7784,7 @@ var Zkp2pClient = class {
|
|
|
7784
7784
|
]);
|
|
7785
7785
|
this.orchestratorAddress = this.orchestratorV2Address ?? toAddress(addresses.orchestrator) ?? this.orchestratorAddresses[0];
|
|
7786
7786
|
this.orchestratorAbi = abis.orchestrator ?? this.orchestratorV2Abi;
|
|
7787
|
-
this.unifiedPaymentVerifier = toAddress(
|
|
7788
|
-
addresses.unifiedPaymentVerifierV2 ?? addresses.unifiedPaymentVerifier
|
|
7789
|
-
);
|
|
7787
|
+
this.unifiedPaymentVerifier = toAddress(addresses.unifiedPaymentVerifier);
|
|
7790
7788
|
this.protocolViewerAddress = toAddress(addresses.protocolViewer);
|
|
7791
7789
|
this.protocolViewerAbi = abis.protocolViewer;
|
|
7792
7790
|
const resolvedPvEntries = addresses.protocolViewerEntries;
|