@zkp2p/sdk 0.4.0-rc.4 → 0.4.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/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { R as ReferrerFeeConfig, D as DepositWithRelations, I as IntentEntity, S as SellerCredentialUploadInput, a as SellerPlatform, b as SellerCredentialAttestationRuntime, A as AttestationServiceSellerCredentialUploadResponse, Q as QuotesBestByPlatformRequest, B as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, c as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, d as PostDepositDetailsResponse, G as GetPayeeDetailsRequest, e as GetPayeeDetailsResponse, f as GetOwnerDepositsRequest, g as GetOwnerDepositsResponse, h as GetTakerTierRequest, i as GetTakerTierResponse, j as GetDepositBundleParams, k as ApiAdapterOptions, l as GetDepositBundleResponse, m as GetOrderbookParams, n as GetOrderbookResponse, C as CurrencyType, o as PaymentMethodCatalog, T as TxOverrides } from './vaultUtils-ChVrAlJN.mjs';
2
- export { v as ActionCallback, aa as ApiDeposit, ah as ApiIntentStatus, aN as AttestationServiceSellerCredentialProbeResponse, aM as AttestationServiceSellerVerifyResponse, t as AuthorizationTokenProvider, cd as BatchResult, K as BestByPlatformResponseObject, r as CancelIntentMethodParams, J as CancelIntentParams, au as CashAppCredentialUploadInput, ar as CashAppSessionMaterial, x as CreateDepositConversionRate, w as CreateDepositParams, aP as CuratorSellerCredentialStatusResponse, aO as CuratorSellerCredentialUploadResponse, aQ as CuratorSellerVerifyResponse, bI as Currency, bP as CurrencyData, cc as DelegationDepositTarget, ca as DelegationRoute, cb as DelegationState, b_ as Deposit, c0 as DepositCurrency, aZ as DepositIntentStatistics, ad as DepositStatus, ab as DepositVerifier, ac as DepositVerifierCurrency, aW as DepositVerifierData, bZ as DepositView, a6 as FiatResponse, F as FulfillIntentMethodParams, E as FulfillIntentParams, L as GetBestByPlatformResponse, M as GetBestByPlatformResponseObject, ae as GetDepositByIdRequest, af as GetDepositByIdResponse, am as GetIntentByHashRequest, an as GetIntentByHashResponse, ak as GetIntentsByDepositRequest, al as GetIntentsByDepositResponse, X as GetNearbyQuote, Y as GetNearbySuggestions, ai as GetOwnerIntentsRequest, aj as GetOwnerIntentsResponse, N as GetPlatformQuote, _ as GetQuoteResponse, $ as GetQuoteResponseObject, a0 as GetQuoteSingleResponse, aT as GetSellerCredentialStatusParams, b4 as IndexerClient, bC as IndexerDeploymentEnv, ba as IndexerDeposit, br as IndexerDepositDailySnapshot, bt as IndexerDepositFilter, bq as IndexerDepositFundActivity, bs as IndexerDepositFundActivityType, bw as IndexerDepositOrderDirection, bv as IndexerDepositOrderField, bu as IndexerDepositPagination, bd as IndexerDepositPaymentMethod, b6 as IndexerDepositService, bF as IndexerFulfillmentAndPaymentResponse, bD as IndexerFulfillmentRecord, bb as IndexerIntentFulfilled, bc as IndexerIntentFulfillmentAmounts, bf as IndexerIntentStatus, bj as IndexerManagerAggregateStats, bl as IndexerManagerDailySnapshot, bk as IndexerManagerStats, bo as IndexerManualRateUpdate, be as IndexerMethodCurrency, bp as IndexerOracleConfigUpdate, bE as IndexerPaymentVerifiedRecord, bg as IndexerRateManager, bi as IndexerRateManagerDelegation, bz as IndexerRateManagerDelegationPagination, bn as IndexerRateManagerDetail, bx as IndexerRateManagerFilter, bm as IndexerRateManagerListItem, bB as IndexerRateManagerOrderDirection, bA as IndexerRateManagerOrderField, by as IndexerRateManagerPagination, bh as IndexerRateManagerRate, b7 as IndexerRateManagerService, ag as Intent, c2 as IntentView, a8 as NearbyQuote, a9 as NearbySuggestions, Z as OfframpClient, aV as OnchainCurrency, c3 as OnchainIntent, aY as OrderStats, b3 as OrderbookEntry, bG as PAYMENT_PLATFORMS, b$ as PaymentMethodData, bH as PaymentPlatformType, b1 as PlatformLimit, O as PlatformQuote, b2 as PlatformRiskLevel, aX as PreparedTransaction, a5 as QuoteFeesResponse, a4 as QuoteIntentResponse, U as QuoteRequest, a1 as QuoteResponse, a2 as QuoteResponseObject, a3 as QuoteSingleResponse, y as Range, c1 as ReferralFee, ao as RegisterPayeeDetailsRequest, ap as RegisterPayeeDetailsResponse, H as ReleaseFundsToPayerParams, bU as RuntimeEnv, aK as SellerAttestationOutput, ax as SellerCiphertextBundle, aC as SellerCredentialBundle, aD as SellerCredentialBundleUpload, aL as SellerCredentialProbeResponse, aF as SellerCredentialStatus, aE as SellerCredentialStatusValue, aw as SellerCredentialUploadInputByPlatform, aJ as SellerPaymentTypedDataValue, aB as SellerProbeInput, ay as SellerSignedCiphertextBundle, aH as SellerTypedDataField, aI as SellerTypedDataSpec, aA as SellerVerifyInput, az as SellerVerifyIntentDetails, aG as SellerVerifyProxyBody, cf as SendBatchFn, ce as SendTransactionFn, q as SignalIntentMethodParams, z as SignalIntentParams, p as SignalIntentReferralFee, a_ as TakerTier, b0 as TakerTierLevel, a$ as TakerTierStats, u as TimeoutConfig, a7 as TokenResponse, aS as UploadSellerCredentialOptions, aR as UploadSellerCredentialParams, at as VenmoCredentialUploadInput, aq as VenmoSessionMaterial, aU as VerifySellerPaymentParams, av as WiseCredentialUploadInput, as as WiseSessionMaterial, W as WithdrawDepositParams, c4 as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, s as Zkp2pClientOptions, c9 as classifyDelegationState, b8 as compareEventCursorIdsByRecency, bJ as currencyInfo, b5 as defaultIndexerEndpoint, bX as enrichPvDepositView, bY as enrichPvIntentView, b9 as fetchIndexerFulfillmentAndPayment, bQ as getContracts, bM as getCurrencyCodeFromHash, bL as getCurrencyInfoFromCountryCode, bK as getCurrencyInfoFromHash, c8 as getDelegationRoute, bT as getGatingServiceAddress, bS as getPaymentMethodsCatalog, bR as getRateManagerContracts, bN as isSupportedCurrencyHash, c5 as isZeroRateManagerId, bO as mapConversionRatesToOnchainMinRate, c6 as normalizeRateManagerId, c7 as normalizeRegistry, bV as parseDepositView, bW as parseIntentView } from './vaultUtils-ChVrAlJN.mjs';
3
- import { Address, Hex, WalletClient, Hash } from 'viem';
1
+ import { R as ReferrerFeeConfig, D as DepositWithRelations, I as IntentEntity, S as SellerCredentialUploadInput, a as SellerPlatform, b as SellerCredentialAttestationRuntime, A as AttestationServiceSellerCredentialUploadResponse, B as BuyerTeeSessionMaterialEncryptionInput, C as ConfirmPayPalForwardingResponse, Q as QuotesBestByPlatformRequest, c as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, d as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, e as PostDepositDetailsResponse, G as GetPayeeDetailsRequest, f as GetPayeeDetailsResponse, g as GetOwnerDepositsRequest, h as GetOwnerDepositsResponse, i as GetTakerTierRequest, j as GetTakerTierResponse, k as GetDepositBundleParams, l as ApiAdapterOptions, m as GetDepositBundleResponse, n as GetOrderbookParams, o as GetOrderbookResponse, p as CurrencyType, q as PaymentMethodCatalog, T as TxOverrides } from './vaultUtils-Dt7ZOITQ.mjs';
2
+ export { x as ActionCallback, ac as ApiDeposit, aj as ApiIntentStatus, aU as AttestationServiceSellerCredentialProbeResponse, aT as AttestationServiceSellerVerifyResponse, v as AuthorizationTokenProvider, cq as BatchResult, M as BestByPlatformResponseObject, aV as BuyerTeePaymentParams, aW as BuyerTeePaymentProofInput, aX as BuyerTeeSessionMaterial, t as CancelIntentMethodParams, L as CancelIntentParams, aA as CashAppCredentialUploadInput, at as CashAppSessionMaterial, b3 as ConfirmPayPalForwardingRequest, z as CreateDepositConversionRate, y as CreateDepositParams, aZ as CuratorSellerCredentialStatusResponse, aY as CuratorSellerCredentialUploadResponse, a_ as CuratorSellerVerifyResponse, bV as Currency, c0 as CurrencyData, cp as DelegationDepositTarget, cn as DelegationRoute, co as DelegationState, cb as Deposit, cd as DepositCurrency, ba as DepositIntentStatistics, af as DepositStatus, ad as DepositVerifier, ae as DepositVerifierCurrency, b7 as DepositVerifierData, ca as DepositView, a8 as FiatResponse, F as FulfillIntentMethodParams, J as FulfillIntentParams, N as GetBestByPlatformResponse, O as GetBestByPlatformResponseObject, ag as GetDepositByIdRequest, ah as GetDepositByIdResponse, ao as GetIntentByHashRequest, ap as GetIntentByHashResponse, am as GetIntentsByDepositRequest, an as GetIntentsByDepositResponse, _ as GetNearbyQuote, $ as GetNearbySuggestions, ak as GetOwnerIntentsRequest, al as GetOwnerIntentsResponse, U as GetPlatformQuote, a0 as GetQuoteResponse, a1 as GetQuoteResponseObject, a2 as GetQuoteSingleResponse, b2 as GetSellerCredentialStatusParams, bh as IndexerClient, bP as IndexerDeploymentEnv, bn as IndexerDeposit, bE as IndexerDepositDailySnapshot, bG as IndexerDepositFilter, bD as IndexerDepositFundActivity, bF as IndexerDepositFundActivityType, bJ as IndexerDepositOrderDirection, bI as IndexerDepositOrderField, bH as IndexerDepositPagination, bq as IndexerDepositPaymentMethod, bj as IndexerDepositService, bS as IndexerFulfillmentAndPaymentResponse, bQ as IndexerFulfillmentRecord, bo as IndexerIntentFulfilled, bp as IndexerIntentFulfillmentAmounts, bs as IndexerIntentStatus, bw as IndexerManagerAggregateStats, by as IndexerManagerDailySnapshot, bx as IndexerManagerStats, bB as IndexerManualRateUpdate, br as IndexerMethodCurrency, bC as IndexerOracleConfigUpdate, bR as IndexerPaymentVerifiedRecord, bt as IndexerRateManager, bv as IndexerRateManagerDelegation, bM as IndexerRateManagerDelegationPagination, bA as IndexerRateManagerDetail, bK as IndexerRateManagerFilter, bz as IndexerRateManagerListItem, bO as IndexerRateManagerOrderDirection, bN as IndexerRateManagerOrderField, bL as IndexerRateManagerPagination, bu as IndexerRateManagerRate, bk as IndexerRateManagerService, ai as Intent, cf as IntentView, aa as NearbyQuote, ab as NearbySuggestions, Z as OfframpClient, b6 as OnchainCurrency, cg as OnchainIntent, b9 as OrderStats, bg as OrderbookEntry, bT as PAYMENT_PLATFORMS, aC as PayPalCredentialUploadInput, b4 as PayPalForwardingConfirmationErrorCode, ay as PayPalSessionMaterial, cc as PaymentMethodData, bU as PaymentPlatformType, be as PlatformLimit, X as PlatformQuote, bf as PlatformRiskLevel, b8 as PreparedTransaction, a7 as QuoteFeesResponse, a6 as QuoteIntentResponse, Y as QuoteRequest, a3 as QuoteResponse, a4 as QuoteResponseObject, a5 as QuoteSingleResponse, E as Range, ce as ReferralFee, aq as RegisterPayeeDetailsRequest, ar as RegisterPayeeDetailsResponse, b0 as RegisteredUploadSellerCredentialParams, K as ReleaseFundsToPayerParams, c5 as RuntimeEnv, aR as SellerAttestationOutput, aE as SellerCiphertextBundle, aJ as SellerCredentialBundle, aK as SellerCredentialBundleUpload, aS as SellerCredentialProbeResponse, aM as SellerCredentialStatus, aL as SellerCredentialStatusValue, aD as SellerCredentialUploadInputByPlatform, aQ as SellerPaymentTypedDataValue, aI as SellerProbeInput, aF as SellerSignedCiphertextBundle, aO as SellerTypedDataField, aP as SellerTypedDataSpec, aH as SellerVerifyInput, aG as SellerVerifyIntentDetails, aN as SellerVerifyProxyBody, cs as SendBatchFn, cr as SendTransactionFn, s as SignalIntentMethodParams, H as SignalIntentParams, r as SignalIntentReferralFee, bb as TakerTier, bd as TakerTierLevel, bc as TakerTierStats, w as TimeoutConfig, a9 as TokenResponse, b1 as UploadSellerCredentialOptions, a$ as UploadSellerCredentialParams, az as VenmoCredentialUploadInput, as as VenmoSessionMaterial, b5 as VerifySellerPaymentParams, aB as WiseCredentialUploadInput, av as WiseProfileInfo, ax as WiseProfileNotFound, aw as WiseProfileSelectionRequired, au as WiseSessionMaterial, W as WithdrawDepositParams, ch as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, u as Zkp2pClientOptions, cm as classifyDelegationState, bl as compareEventCursorIdsByRecency, bW as currencyInfo, bi as defaultIndexerEndpoint, c8 as enrichPvDepositView, c9 as enrichPvIntentView, bm as fetchIndexerFulfillmentAndPayment, c1 as getContracts, bZ as getCurrencyCodeFromHash, bY as getCurrencyInfoFromCountryCode, bX as getCurrencyInfoFromHash, cl as getDelegationRoute, c4 as getGatingServiceAddress, c3 as getPaymentMethodsCatalog, c2 as getRateManagerContracts, b_ as isSupportedCurrencyHash, ci as isZeroRateManagerId, b$ as mapConversionRatesToOnchainMinRate, cj as normalizeRateManagerId, ck as normalizeRegistry, c6 as parseDepositView, c7 as parseIntentView } from './vaultUtils-Dt7ZOITQ.mjs';
3
+ import { Address, Hash, Hex, WalletClient } from 'viem';
4
4
  import { Abi } from 'abitype';
5
5
  import '@zkp2p/indexer-schema';
6
6
 
@@ -190,6 +190,7 @@ interface ConvertLiquidityOptions {
190
190
  declare function convertDepositsForLiquidity(deposits: DepositWithRelations[], chainId: number, escrowAddress: string, options?: ConvertLiquidityOptions): EscrowDepositView[];
191
191
  declare function convertIndexerIntentsToEscrowViews(intents: IntentEntity[], depositViewsById: Map<string, EscrowDepositView>): EscrowIntentView[];
192
192
 
193
+ declare function createEncryptedBuyerTeeSessionMaterial({ actionType, attestationRuntime, attestationServiceUrl, platform, sessionMaterial, timeoutMs, }: BuyerTeeSessionMaterialEncryptionInput): Promise<string>;
193
194
  declare function apiCreateSellerCredentialBundle(payload: SellerCredentialUploadInput, attestationServiceUrl: string, platform: SellerPlatform, timeoutMs?: number, attestationRuntime?: SellerCredentialAttestationRuntime): Promise<AttestationServiceSellerCredentialUploadResponse>;
194
195
 
195
196
  declare function apiPostDepositDetails(req: PostDepositDetailsRequest, baseApiUrl: string, timeoutMs?: number, _apiKey?: string, _authToken?: string): Promise<PostDepositDetailsResponse>;
@@ -201,6 +202,14 @@ declare function apiGetOwnerDeposits(req: GetOwnerDepositsRequest, apiKey: strin
201
202
  * Get taker tier information for a specific address.
202
203
  */
203
204
  declare function apiGetTakerTier(req: GetTakerTierRequest, apiKey: string | undefined, baseApiUrl: string, timeoutMs?: number): Promise<GetTakerTierResponse>;
205
+ declare function apiConfirmPayPalForwarding(payeeDetails: Hash, body: {
206
+ payeeEmail: string;
207
+ forwardingInitiatorEmail: string;
208
+ }, baseApiUrl: string, opts?: {
209
+ apiKey?: string;
210
+ authToken?: string;
211
+ timeoutMs?: number;
212
+ }): Promise<ConfirmPayPalForwardingResponse>;
204
213
  declare function apiGetOrderbook(params: GetOrderbookParams, opts: ApiAdapterOptions): Promise<GetOrderbookResponse>;
205
214
  declare function apiGetOrderbook(params: GetOrderbookParams, baseApiUrl: string, timeoutMs?: number, apiKey?: string): Promise<GetOrderbookResponse>;
206
215
  declare function apiGetDepositBundle(params: GetDepositBundleParams, opts: ApiAdapterOptions): Promise<GetDepositBundleResponse>;
@@ -703,4 +712,4 @@ declare class ContractError extends ZKP2PError {
703
712
  constructor(message: string, details?: unknown);
704
713
  }
705
714
 
706
- export { APIError, ApiAdapterOptions, AttestationServiceSellerCredentialUploadResponse, BASE_BUILDER_CODE, BestByPlatformResponse, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetTakerTierRequest, GetTakerTierResponse, 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 PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionOnrampParams, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerOnrampPreparedTransactionCallback, type PeerOnrampPreparedTransactionResult, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuotesBestByPlatformRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialUploadInput, SellerPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetTakerTier, apiPostDepositDetails, apiValidatePayeeDetails, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, isPeerExtensionAvailable, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
715
+ export { APIError, ApiAdapterOptions, AttestationServiceSellerCredentialUploadResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ConfirmPayPalForwardingResponse, ContractError, ContractRouter, type ContractRouterConfig, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetTakerTierRequest, GetTakerTierResponse, 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 PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionOnrampParams, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerOnrampPreparedTransactionCallback, type PeerOnrampPreparedTransactionResult, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuotesBestByPlatformRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialUploadInput, SellerPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiConfirmPayPalForwarding, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetTakerTier, apiPostDepositDetails, apiValidatePayeeDetails, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, isPeerExtensionAvailable, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { R as ReferrerFeeConfig, D as DepositWithRelations, I as IntentEntity, S as SellerCredentialUploadInput, a as SellerPlatform, b as SellerCredentialAttestationRuntime, A as AttestationServiceSellerCredentialUploadResponse, Q as QuotesBestByPlatformRequest, B as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, c as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, d as PostDepositDetailsResponse, G as GetPayeeDetailsRequest, e as GetPayeeDetailsResponse, f as GetOwnerDepositsRequest, g as GetOwnerDepositsResponse, h as GetTakerTierRequest, i as GetTakerTierResponse, j as GetDepositBundleParams, k as ApiAdapterOptions, l as GetDepositBundleResponse, m as GetOrderbookParams, n as GetOrderbookResponse, C as CurrencyType, o as PaymentMethodCatalog, T as TxOverrides } from './vaultUtils-ChVrAlJN.js';
2
- export { v as ActionCallback, aa as ApiDeposit, ah as ApiIntentStatus, aN as AttestationServiceSellerCredentialProbeResponse, aM as AttestationServiceSellerVerifyResponse, t as AuthorizationTokenProvider, cd as BatchResult, K as BestByPlatformResponseObject, r as CancelIntentMethodParams, J as CancelIntentParams, au as CashAppCredentialUploadInput, ar as CashAppSessionMaterial, x as CreateDepositConversionRate, w as CreateDepositParams, aP as CuratorSellerCredentialStatusResponse, aO as CuratorSellerCredentialUploadResponse, aQ as CuratorSellerVerifyResponse, bI as Currency, bP as CurrencyData, cc as DelegationDepositTarget, ca as DelegationRoute, cb as DelegationState, b_ as Deposit, c0 as DepositCurrency, aZ as DepositIntentStatistics, ad as DepositStatus, ab as DepositVerifier, ac as DepositVerifierCurrency, aW as DepositVerifierData, bZ as DepositView, a6 as FiatResponse, F as FulfillIntentMethodParams, E as FulfillIntentParams, L as GetBestByPlatformResponse, M as GetBestByPlatformResponseObject, ae as GetDepositByIdRequest, af as GetDepositByIdResponse, am as GetIntentByHashRequest, an as GetIntentByHashResponse, ak as GetIntentsByDepositRequest, al as GetIntentsByDepositResponse, X as GetNearbyQuote, Y as GetNearbySuggestions, ai as GetOwnerIntentsRequest, aj as GetOwnerIntentsResponse, N as GetPlatformQuote, _ as GetQuoteResponse, $ as GetQuoteResponseObject, a0 as GetQuoteSingleResponse, aT as GetSellerCredentialStatusParams, b4 as IndexerClient, bC as IndexerDeploymentEnv, ba as IndexerDeposit, br as IndexerDepositDailySnapshot, bt as IndexerDepositFilter, bq as IndexerDepositFundActivity, bs as IndexerDepositFundActivityType, bw as IndexerDepositOrderDirection, bv as IndexerDepositOrderField, bu as IndexerDepositPagination, bd as IndexerDepositPaymentMethod, b6 as IndexerDepositService, bF as IndexerFulfillmentAndPaymentResponse, bD as IndexerFulfillmentRecord, bb as IndexerIntentFulfilled, bc as IndexerIntentFulfillmentAmounts, bf as IndexerIntentStatus, bj as IndexerManagerAggregateStats, bl as IndexerManagerDailySnapshot, bk as IndexerManagerStats, bo as IndexerManualRateUpdate, be as IndexerMethodCurrency, bp as IndexerOracleConfigUpdate, bE as IndexerPaymentVerifiedRecord, bg as IndexerRateManager, bi as IndexerRateManagerDelegation, bz as IndexerRateManagerDelegationPagination, bn as IndexerRateManagerDetail, bx as IndexerRateManagerFilter, bm as IndexerRateManagerListItem, bB as IndexerRateManagerOrderDirection, bA as IndexerRateManagerOrderField, by as IndexerRateManagerPagination, bh as IndexerRateManagerRate, b7 as IndexerRateManagerService, ag as Intent, c2 as IntentView, a8 as NearbyQuote, a9 as NearbySuggestions, Z as OfframpClient, aV as OnchainCurrency, c3 as OnchainIntent, aY as OrderStats, b3 as OrderbookEntry, bG as PAYMENT_PLATFORMS, b$ as PaymentMethodData, bH as PaymentPlatformType, b1 as PlatformLimit, O as PlatformQuote, b2 as PlatformRiskLevel, aX as PreparedTransaction, a5 as QuoteFeesResponse, a4 as QuoteIntentResponse, U as QuoteRequest, a1 as QuoteResponse, a2 as QuoteResponseObject, a3 as QuoteSingleResponse, y as Range, c1 as ReferralFee, ao as RegisterPayeeDetailsRequest, ap as RegisterPayeeDetailsResponse, H as ReleaseFundsToPayerParams, bU as RuntimeEnv, aK as SellerAttestationOutput, ax as SellerCiphertextBundle, aC as SellerCredentialBundle, aD as SellerCredentialBundleUpload, aL as SellerCredentialProbeResponse, aF as SellerCredentialStatus, aE as SellerCredentialStatusValue, aw as SellerCredentialUploadInputByPlatform, aJ as SellerPaymentTypedDataValue, aB as SellerProbeInput, ay as SellerSignedCiphertextBundle, aH as SellerTypedDataField, aI as SellerTypedDataSpec, aA as SellerVerifyInput, az as SellerVerifyIntentDetails, aG as SellerVerifyProxyBody, cf as SendBatchFn, ce as SendTransactionFn, q as SignalIntentMethodParams, z as SignalIntentParams, p as SignalIntentReferralFee, a_ as TakerTier, b0 as TakerTierLevel, a$ as TakerTierStats, u as TimeoutConfig, a7 as TokenResponse, aS as UploadSellerCredentialOptions, aR as UploadSellerCredentialParams, at as VenmoCredentialUploadInput, aq as VenmoSessionMaterial, aU as VerifySellerPaymentParams, av as WiseCredentialUploadInput, as as WiseSessionMaterial, W as WithdrawDepositParams, c4 as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, s as Zkp2pClientOptions, c9 as classifyDelegationState, b8 as compareEventCursorIdsByRecency, bJ as currencyInfo, b5 as defaultIndexerEndpoint, bX as enrichPvDepositView, bY as enrichPvIntentView, b9 as fetchIndexerFulfillmentAndPayment, bQ as getContracts, bM as getCurrencyCodeFromHash, bL as getCurrencyInfoFromCountryCode, bK as getCurrencyInfoFromHash, c8 as getDelegationRoute, bT as getGatingServiceAddress, bS as getPaymentMethodsCatalog, bR as getRateManagerContracts, bN as isSupportedCurrencyHash, c5 as isZeroRateManagerId, bO as mapConversionRatesToOnchainMinRate, c6 as normalizeRateManagerId, c7 as normalizeRegistry, bV as parseDepositView, bW as parseIntentView } from './vaultUtils-ChVrAlJN.js';
3
- import { Address, Hex, WalletClient, Hash } from 'viem';
1
+ import { R as ReferrerFeeConfig, D as DepositWithRelations, I as IntentEntity, S as SellerCredentialUploadInput, a as SellerPlatform, b as SellerCredentialAttestationRuntime, A as AttestationServiceSellerCredentialUploadResponse, B as BuyerTeeSessionMaterialEncryptionInput, C as ConfirmPayPalForwardingResponse, Q as QuotesBestByPlatformRequest, c as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, d as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, e as PostDepositDetailsResponse, G as GetPayeeDetailsRequest, f as GetPayeeDetailsResponse, g as GetOwnerDepositsRequest, h as GetOwnerDepositsResponse, i as GetTakerTierRequest, j as GetTakerTierResponse, k as GetDepositBundleParams, l as ApiAdapterOptions, m as GetDepositBundleResponse, n as GetOrderbookParams, o as GetOrderbookResponse, p as CurrencyType, q as PaymentMethodCatalog, T as TxOverrides } from './vaultUtils-Dt7ZOITQ.js';
2
+ export { x as ActionCallback, ac as ApiDeposit, aj as ApiIntentStatus, aU as AttestationServiceSellerCredentialProbeResponse, aT as AttestationServiceSellerVerifyResponse, v as AuthorizationTokenProvider, cq as BatchResult, M as BestByPlatformResponseObject, aV as BuyerTeePaymentParams, aW as BuyerTeePaymentProofInput, aX as BuyerTeeSessionMaterial, t as CancelIntentMethodParams, L as CancelIntentParams, aA as CashAppCredentialUploadInput, at as CashAppSessionMaterial, b3 as ConfirmPayPalForwardingRequest, z as CreateDepositConversionRate, y as CreateDepositParams, aZ as CuratorSellerCredentialStatusResponse, aY as CuratorSellerCredentialUploadResponse, a_ as CuratorSellerVerifyResponse, bV as Currency, c0 as CurrencyData, cp as DelegationDepositTarget, cn as DelegationRoute, co as DelegationState, cb as Deposit, cd as DepositCurrency, ba as DepositIntentStatistics, af as DepositStatus, ad as DepositVerifier, ae as DepositVerifierCurrency, b7 as DepositVerifierData, ca as DepositView, a8 as FiatResponse, F as FulfillIntentMethodParams, J as FulfillIntentParams, N as GetBestByPlatformResponse, O as GetBestByPlatformResponseObject, ag as GetDepositByIdRequest, ah as GetDepositByIdResponse, ao as GetIntentByHashRequest, ap as GetIntentByHashResponse, am as GetIntentsByDepositRequest, an as GetIntentsByDepositResponse, _ as GetNearbyQuote, $ as GetNearbySuggestions, ak as GetOwnerIntentsRequest, al as GetOwnerIntentsResponse, U as GetPlatformQuote, a0 as GetQuoteResponse, a1 as GetQuoteResponseObject, a2 as GetQuoteSingleResponse, b2 as GetSellerCredentialStatusParams, bh as IndexerClient, bP as IndexerDeploymentEnv, bn as IndexerDeposit, bE as IndexerDepositDailySnapshot, bG as IndexerDepositFilter, bD as IndexerDepositFundActivity, bF as IndexerDepositFundActivityType, bJ as IndexerDepositOrderDirection, bI as IndexerDepositOrderField, bH as IndexerDepositPagination, bq as IndexerDepositPaymentMethod, bj as IndexerDepositService, bS as IndexerFulfillmentAndPaymentResponse, bQ as IndexerFulfillmentRecord, bo as IndexerIntentFulfilled, bp as IndexerIntentFulfillmentAmounts, bs as IndexerIntentStatus, bw as IndexerManagerAggregateStats, by as IndexerManagerDailySnapshot, bx as IndexerManagerStats, bB as IndexerManualRateUpdate, br as IndexerMethodCurrency, bC as IndexerOracleConfigUpdate, bR as IndexerPaymentVerifiedRecord, bt as IndexerRateManager, bv as IndexerRateManagerDelegation, bM as IndexerRateManagerDelegationPagination, bA as IndexerRateManagerDetail, bK as IndexerRateManagerFilter, bz as IndexerRateManagerListItem, bO as IndexerRateManagerOrderDirection, bN as IndexerRateManagerOrderField, bL as IndexerRateManagerPagination, bu as IndexerRateManagerRate, bk as IndexerRateManagerService, ai as Intent, cf as IntentView, aa as NearbyQuote, ab as NearbySuggestions, Z as OfframpClient, b6 as OnchainCurrency, cg as OnchainIntent, b9 as OrderStats, bg as OrderbookEntry, bT as PAYMENT_PLATFORMS, aC as PayPalCredentialUploadInput, b4 as PayPalForwardingConfirmationErrorCode, ay as PayPalSessionMaterial, cc as PaymentMethodData, bU as PaymentPlatformType, be as PlatformLimit, X as PlatformQuote, bf as PlatformRiskLevel, b8 as PreparedTransaction, a7 as QuoteFeesResponse, a6 as QuoteIntentResponse, Y as QuoteRequest, a3 as QuoteResponse, a4 as QuoteResponseObject, a5 as QuoteSingleResponse, E as Range, ce as ReferralFee, aq as RegisterPayeeDetailsRequest, ar as RegisterPayeeDetailsResponse, b0 as RegisteredUploadSellerCredentialParams, K as ReleaseFundsToPayerParams, c5 as RuntimeEnv, aR as SellerAttestationOutput, aE as SellerCiphertextBundle, aJ as SellerCredentialBundle, aK as SellerCredentialBundleUpload, aS as SellerCredentialProbeResponse, aM as SellerCredentialStatus, aL as SellerCredentialStatusValue, aD as SellerCredentialUploadInputByPlatform, aQ as SellerPaymentTypedDataValue, aI as SellerProbeInput, aF as SellerSignedCiphertextBundle, aO as SellerTypedDataField, aP as SellerTypedDataSpec, aH as SellerVerifyInput, aG as SellerVerifyIntentDetails, aN as SellerVerifyProxyBody, cs as SendBatchFn, cr as SendTransactionFn, s as SignalIntentMethodParams, H as SignalIntentParams, r as SignalIntentReferralFee, bb as TakerTier, bd as TakerTierLevel, bc as TakerTierStats, w as TimeoutConfig, a9 as TokenResponse, b1 as UploadSellerCredentialOptions, a$ as UploadSellerCredentialParams, az as VenmoCredentialUploadInput, as as VenmoSessionMaterial, b5 as VerifySellerPaymentParams, aB as WiseCredentialUploadInput, av as WiseProfileInfo, ax as WiseProfileNotFound, aw as WiseProfileSelectionRequired, au as WiseSessionMaterial, W as WithdrawDepositParams, ch as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, u as Zkp2pClientOptions, cm as classifyDelegationState, bl as compareEventCursorIdsByRecency, bW as currencyInfo, bi as defaultIndexerEndpoint, c8 as enrichPvDepositView, c9 as enrichPvIntentView, bm as fetchIndexerFulfillmentAndPayment, c1 as getContracts, bZ as getCurrencyCodeFromHash, bY as getCurrencyInfoFromCountryCode, bX as getCurrencyInfoFromHash, cl as getDelegationRoute, c4 as getGatingServiceAddress, c3 as getPaymentMethodsCatalog, c2 as getRateManagerContracts, b_ as isSupportedCurrencyHash, ci as isZeroRateManagerId, b$ as mapConversionRatesToOnchainMinRate, cj as normalizeRateManagerId, ck as normalizeRegistry, c6 as parseDepositView, c7 as parseIntentView } from './vaultUtils-Dt7ZOITQ.js';
3
+ import { Address, Hash, Hex, WalletClient } from 'viem';
4
4
  import { Abi } from 'abitype';
5
5
  import '@zkp2p/indexer-schema';
6
6
 
@@ -190,6 +190,7 @@ interface ConvertLiquidityOptions {
190
190
  declare function convertDepositsForLiquidity(deposits: DepositWithRelations[], chainId: number, escrowAddress: string, options?: ConvertLiquidityOptions): EscrowDepositView[];
191
191
  declare function convertIndexerIntentsToEscrowViews(intents: IntentEntity[], depositViewsById: Map<string, EscrowDepositView>): EscrowIntentView[];
192
192
 
193
+ declare function createEncryptedBuyerTeeSessionMaterial({ actionType, attestationRuntime, attestationServiceUrl, platform, sessionMaterial, timeoutMs, }: BuyerTeeSessionMaterialEncryptionInput): Promise<string>;
193
194
  declare function apiCreateSellerCredentialBundle(payload: SellerCredentialUploadInput, attestationServiceUrl: string, platform: SellerPlatform, timeoutMs?: number, attestationRuntime?: SellerCredentialAttestationRuntime): Promise<AttestationServiceSellerCredentialUploadResponse>;
194
195
 
195
196
  declare function apiPostDepositDetails(req: PostDepositDetailsRequest, baseApiUrl: string, timeoutMs?: number, _apiKey?: string, _authToken?: string): Promise<PostDepositDetailsResponse>;
@@ -201,6 +202,14 @@ declare function apiGetOwnerDeposits(req: GetOwnerDepositsRequest, apiKey: strin
201
202
  * Get taker tier information for a specific address.
202
203
  */
203
204
  declare function apiGetTakerTier(req: GetTakerTierRequest, apiKey: string | undefined, baseApiUrl: string, timeoutMs?: number): Promise<GetTakerTierResponse>;
205
+ declare function apiConfirmPayPalForwarding(payeeDetails: Hash, body: {
206
+ payeeEmail: string;
207
+ forwardingInitiatorEmail: string;
208
+ }, baseApiUrl: string, opts?: {
209
+ apiKey?: string;
210
+ authToken?: string;
211
+ timeoutMs?: number;
212
+ }): Promise<ConfirmPayPalForwardingResponse>;
204
213
  declare function apiGetOrderbook(params: GetOrderbookParams, opts: ApiAdapterOptions): Promise<GetOrderbookResponse>;
205
214
  declare function apiGetOrderbook(params: GetOrderbookParams, baseApiUrl: string, timeoutMs?: number, apiKey?: string): Promise<GetOrderbookResponse>;
206
215
  declare function apiGetDepositBundle(params: GetDepositBundleParams, opts: ApiAdapterOptions): Promise<GetDepositBundleResponse>;
@@ -703,4 +712,4 @@ declare class ContractError extends ZKP2PError {
703
712
  constructor(message: string, details?: unknown);
704
713
  }
705
714
 
706
- export { APIError, ApiAdapterOptions, AttestationServiceSellerCredentialUploadResponse, BASE_BUILDER_CODE, BestByPlatformResponse, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ContractError, ContractRouter, type ContractRouterConfig, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetTakerTierRequest, GetTakerTierResponse, 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 PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionOnrampParams, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerOnrampPreparedTransactionCallback, type PeerOnrampPreparedTransactionResult, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuotesBestByPlatformRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialUploadInput, SellerPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetTakerTier, apiPostDepositDetails, apiValidatePayeeDetails, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, isPeerExtensionAvailable, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };
715
+ export { APIError, ApiAdapterOptions, AttestationServiceSellerCredentialUploadResponse, BASE_BUILDER_CODE, BestByPlatformResponse, BuyerTeeSessionMaterialEncryptionInput, CHAINLINK_ORACLE_ADAPTER, CHAINLINK_ORACLE_FEEDS, ConfirmPayPalForwardingResponse, ContractError, ContractRouter, type ContractRouterConfig, CurrencyType, DEFAULT_ORACLE_MAX_STALENESS_SECONDS, ErrorCode, type EscrowContractContext, type EscrowDepositView, type EscrowIntentView, GetDepositBundleParams, GetDepositBundleResponse, GetOrderbookParams, GetOrderbookResponse, GetOwnerDepositsRequest, GetOwnerDepositsResponse, GetPayeeDetailsRequest, GetPayeeDetailsResponse, GetTakerTierRequest, GetTakerTierResponse, 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 PeerConnectionStatus, type PeerExtensionApi, type PeerExtensionOnrampParams, type PeerExtensionSdk, type PeerExtensionSdkOptions, type PeerExtensionState, type PeerExtensionWindow, type PeerOnrampPreparedTransactionCallback, type PeerOnrampPreparedTransactionResult, PostDepositDetailsRequest, PostDepositDetailsResponse, type PythFeedConfig, QuotesBestByPlatformRequest, ReferrerFeeConfig, SPREAD_ORACLE_FEEDS, SUPPORTED_CHAIN_IDS, SellerCredentialAttestationRuntime, SellerCredentialUploadInput, SellerPlatform, type SpreadOracleConfig, type SpreadOracleFeedConfig, type SupportedChainId, TOKEN_METADATA, TxOverrides, ValidatePayeeDetailsRequest, ValidatePayeeDetailsResponse, ValidationError, ZKP2PError, ZKP2P_ANDROID_REFERRER, ZKP2P_IOS_REFERRER, apiConfirmPayPalForwarding, apiCreateSellerCredentialBundle, apiGetDepositBundle, apiGetOrderbook, apiGetOwnerDeposits, apiGetPayeeDetails, apiGetQuotesBestByPlatform, apiGetTakerTier, apiPostDepositDetails, apiValidatePayeeDetails, appendAttributionToCalldata, asciiToBytes32, assertValidReferrerFeeConfig, convertDepositsForLiquidity, convertIndexerDepositToEscrowView, convertIndexerIntentsToEscrowViews, createCompositeDepositId, createEncryptedBuyerTeeSessionMaterial, createPeerExtensionSdk, encodePythAdapterConfig, encodeSpreadOracleAdapterConfig, encodeWithAttribution, ensureBytes32, getAttributionDataSuffix, getPeerExtensionState, getSpreadOracleConfig, isPeerExtensionAvailable, isValidReferrerFeeBps, isValidReferrerFeeRecipient, logger, openPeerExtensionInstallPage, parseReferrerFeeConfig, peerExtensionSdk, referrerFeeConfigToPreciseUnits, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash, sendTransactionWithAttribution, setLogLevel, validateOracleFeedsOnChain };