@arcanetech/privacy-sdk-stellar 0.6.1 → 1.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -386,6 +386,164 @@ declare function persistFetchedMerkleState(input: {
386
386
  poolMerkleState?: PoolMerkleStatePort;
387
387
  }): Promise<FetchContractMerkleResult>;
388
388
 
389
+ type IncomingNoteDeadReason = 'commitment_mismatch' | 'nullifier_consumed';
390
+ type IncomingNoteAssessment = {
391
+ kind: 'dead';
392
+ reason: IncomingNoteDeadReason;
393
+ } | {
394
+ kind: 'pending';
395
+ } | {
396
+ kind: 'spendable';
397
+ };
398
+ type IncomingNoteFields = {
399
+ value: string;
400
+ nullifier: string;
401
+ secret: string;
402
+ commitment: string;
403
+ asset_hi: string;
404
+ asset_lo: string;
405
+ application_id?: string;
406
+ };
407
+ type AssessIncomingNoteInput = {
408
+ note: IncomingNoteFields;
409
+ commitmentHex: string;
410
+ privKeyScalarHex: string;
411
+ };
412
+
413
+ declare function readPrivateRecordsFromStateSnapshot(state: unknown): StellarPrivateRecord[];
414
+ declare function readWalletPrivateAddressScalarFromStateSnapshot(input: {
415
+ state: unknown;
416
+ owner: string;
417
+ nonce: string;
418
+ }): StellarWalletPrivateAddressScalar | undefined;
419
+ declare function readWalletPrivateAddressRecordFromStateSnapshot(input: {
420
+ state: unknown;
421
+ owner: string;
422
+ nonce: string;
423
+ }): StellarWalletPrivateAddressRecord | undefined;
424
+ declare function readWalletDefaultPrivateAddressNonceFromStateSnapshot(input: {
425
+ state: unknown;
426
+ owner: string;
427
+ }): string | undefined;
428
+ declare function listWalletPrivateAddressScalarsForOwnerFromStateSnapshot(input: {
429
+ state: unknown;
430
+ owner: string;
431
+ }): StellarWalletPrivateAddressScalar[];
432
+ declare function listWalletPrivateAddressRecordsForOwnerFromStateSnapshot(input: {
433
+ state: unknown;
434
+ owner: string;
435
+ }): StellarWalletPrivateAddressRecord[];
436
+
437
+ declare const stellarStateDefinitions: StateBridgeDefinition[];
438
+
439
+ interface StellarPublicBalanceInput {
440
+ owner: StellarAddress;
441
+ asset: StellarAssetId;
442
+ balance: string;
443
+ trustlineStatus: 'active' | 'inactive' | 'none';
444
+ }
445
+
446
+ declare function composeStellarStateService(adapter: StateBridgeAdapter): {
447
+ getTransactionStatus(txHash: string): Promise<StellarTransactionStatus | undefined>;
448
+ setTransactionStatus(status: StellarTransactionStatus): Promise<void>;
449
+ clearTransactionStatus(txHash: string): Promise<void>;
450
+ pruneConsumedPrivateRecords: () => Promise<void>;
451
+ getPrivateRecords: () => Promise<StellarPrivateRecord[]>;
452
+ getAvailablePrivateRecords: (filter: StellarAvailablePrivateRecordsFilter) => Promise<StellarPrivateRecord[]>;
453
+ listPrivateRecords: (filter: {
454
+ owner?: StellarAddress;
455
+ privateAddress?: string;
456
+ asset?: StellarAssetId;
457
+ amount?: bigint;
458
+ }) => Promise<StellarPrivateRecord[]>;
459
+ savePrivateRecords: (records: StellarPrivateRecord[]) => Promise<void>;
460
+ upsertPrivateRecords: (records: StellarPrivateRecord[]) => Promise<void>;
461
+ markPrivateRecordsUsed: (records: StellarPrivateRecord[]) => Promise<void>;
462
+ markPrivateRecordsStatus: (records: StellarPrivateRecord[], status: StellarPrivateRecordStatus) => Promise<void>;
463
+ getPrivateBalance: (input: {
464
+ owner: StellarAddress;
465
+ asset: StellarAssetId;
466
+ }) => Promise<bigint>;
467
+ getPrivateAssetRows: (owner: StellarAddress) => Promise<StellarPrivateAssetRow[]>;
468
+ getDeliverySyncState(input: {
469
+ privateAddress: string;
470
+ asset: StellarAssetId;
471
+ }): Promise<StellarDeliverySyncState | undefined>;
472
+ setDeliverySyncState(syncState: StellarDeliverySyncState): Promise<void>;
473
+ getIncomingDeliveries: (filter: StellarIncomingDeliveriesFilter) => Promise<StellarIncomingDelivery[]>;
474
+ upsertIncomingDeliveries: (deliveries: StellarIncomingDelivery[]) => Promise<void>;
475
+ markDeliveryProcessed(id: number): Promise<void>;
476
+ getLeafEphemeral(input: {
477
+ poolContract: string;
478
+ leafIndex: number;
479
+ }): Promise<StellarLeafEphemeral | undefined>;
480
+ setLeafEphemeral(ephemeral: StellarLeafEphemeral): Promise<void>;
481
+ getPoolMerkleState(poolContract: string): Promise<StellarPoolMerkleState | undefined>;
482
+ setPoolMerkleState(state: StellarPoolMerkleState): Promise<void>;
483
+ appendPoolCommitments(input: {
484
+ poolContract: string;
485
+ commitments: string[];
486
+ merkleRootHex: string;
487
+ syncedLedger?: number;
488
+ nodes?: StellarPoolMerkleState["nodes"];
489
+ }): Promise<void>;
490
+ getWalletPrivateAddressRecord(input: {
491
+ owner: StellarAddress;
492
+ nonce: string;
493
+ }): Promise<StellarWalletPrivateAddressRecord | undefined>;
494
+ saveWalletPrivateAddressRecord(record: StellarWalletPrivateAddressRecord): Promise<void>;
495
+ getWalletDefaultPrivateAddressNonce(owner: StellarAddress): Promise<string | undefined>;
496
+ setWalletDefaultPrivateAddressNonce(input: {
497
+ owner: StellarAddress;
498
+ nonce: string;
499
+ }): Promise<void>;
500
+ getWalletPrivateAddressScalar(input: {
501
+ owner: StellarAddress;
502
+ nonce: string;
503
+ }): Promise<StellarWalletPrivateAddressScalar | undefined>;
504
+ saveWalletPrivateAddressScalar(scalar: StellarWalletPrivateAddressScalar): Promise<void>;
505
+ deleteWalletPrivateAddressScalar(input: {
506
+ owner: StellarAddress;
507
+ nonce: string;
508
+ }): Promise<void>;
509
+ saveRegistryLookup(lookup: StellarRegistryLookup): Promise<void>;
510
+ saveRegisteredPrivateAddress(input: {
511
+ address: StellarAddress;
512
+ privateAddress: string;
513
+ registered: boolean;
514
+ }): Promise<void>;
515
+ invalidateRegistryLookup: (address: StellarAddress) => Promise<void>;
516
+ invalidateRegisteredAddress(address: StellarAddress): Promise<void>;
517
+ getRegistryLookup: (address: StellarAddress) => Promise<StellarRegistryLookup | undefined>;
518
+ isStellarAddressRegistered(address: StellarAddress): Promise<boolean | undefined>;
519
+ getCachedPrivateAddress: (address: StellarAddress) => Promise<string | undefined>;
520
+ getPublicBalance(input: {
521
+ owner: StellarAddress;
522
+ asset: StellarAssetId;
523
+ }): Promise<StellarPublicBalance | undefined>;
524
+ getPublicBalances(owner: StellarAddress): Promise<StellarPublicBalance[]>;
525
+ setPublicBalance(balance: StellarPublicBalanceInput): Promise<void>;
526
+ setPublicBalances(input: {
527
+ owner: StellarAddress;
528
+ balances: StellarPublicBalanceInput[];
529
+ }): Promise<void>;
530
+ upsertAssets(assets: StellarAsset[]): Promise<void>;
531
+ getAssetsCatalog: () => Promise<StellarAssetsCatalog>;
532
+ getAsset(assetId: StellarAssetId): Promise<StellarAsset | undefined>;
533
+ getAssets(): Promise<StellarAsset[]>;
534
+ getAssetsForPool(poolContract: string): Promise<StellarAsset[]>;
535
+ replaceAssets: (assets: StellarAsset[]) => Promise<void>;
536
+ bridge: _arcanetech_privacy_sdk_core_state.StateBridge;
537
+ };
538
+ type ComposedStellarStateService = ReturnType<typeof composeStellarStateService>;
539
+
540
+ type StellarStateService = ComposedStellarStateService;
541
+
542
+ type AssessIncomingNoteClientInput = AssessIncomingNoteInput & {
543
+ walletPublicKey: string;
544
+ poolContractId?: string;
545
+ };
546
+
389
547
  type StellarTransactionDetails = {
390
548
  txHash: string;
391
549
  status: StellarTransactionConfirmationStatus;
@@ -510,6 +668,7 @@ declare function composeStellarPrivacyClient(config: ResolvedStellarPrivacyClien
510
668
  }) => Promise<StellarTransactionStatus>;
511
669
  fetchTransactionConfirmationStatus: (txHash: string) => Promise<StellarTransactionStatus>;
512
670
  getTransactionDetails: (txHash: string) => Promise<StellarTransactionDetails>;
671
+ assessIncomingNote: (assessmentInput: AssessIncomingNoteClientInput) => Promise<IncomingNoteAssessment>;
513
672
  checkRegistrationStatus: (registrationInput: {
514
673
  address: StellarAddress;
515
674
  walletPublicKey: string;
@@ -544,135 +703,6 @@ declare function composeStellarPrivacyClient(config: ResolvedStellarPrivacyClien
544
703
  };
545
704
  type ComposedStellarPrivacyClient = ReturnType<typeof composeStellarPrivacyClient>;
546
705
 
547
- declare function readPrivateRecordsFromStateSnapshot(state: unknown): StellarPrivateRecord[];
548
- declare function readWalletPrivateAddressScalarFromStateSnapshot(input: {
549
- state: unknown;
550
- owner: string;
551
- nonce: string;
552
- }): StellarWalletPrivateAddressScalar | undefined;
553
- declare function readWalletPrivateAddressRecordFromStateSnapshot(input: {
554
- state: unknown;
555
- owner: string;
556
- nonce: string;
557
- }): StellarWalletPrivateAddressRecord | undefined;
558
- declare function readWalletDefaultPrivateAddressNonceFromStateSnapshot(input: {
559
- state: unknown;
560
- owner: string;
561
- }): string | undefined;
562
- declare function listWalletPrivateAddressScalarsForOwnerFromStateSnapshot(input: {
563
- state: unknown;
564
- owner: string;
565
- }): StellarWalletPrivateAddressScalar[];
566
- declare function listWalletPrivateAddressRecordsForOwnerFromStateSnapshot(input: {
567
- state: unknown;
568
- owner: string;
569
- }): StellarWalletPrivateAddressRecord[];
570
-
571
- declare const stellarStateDefinitions: StateBridgeDefinition[];
572
-
573
- interface StellarPublicBalanceInput {
574
- owner: StellarAddress;
575
- asset: StellarAssetId;
576
- balance: string;
577
- trustlineStatus: 'active' | 'inactive' | 'none';
578
- }
579
-
580
- declare function composeStellarStateService(adapter: StateBridgeAdapter): {
581
- getTransactionStatus(txHash: string): Promise<StellarTransactionStatus | undefined>;
582
- setTransactionStatus(status: StellarTransactionStatus): Promise<void>;
583
- clearTransactionStatus(txHash: string): Promise<void>;
584
- pruneConsumedPrivateRecords: () => Promise<void>;
585
- getPrivateRecords: () => Promise<StellarPrivateRecord[]>;
586
- getAvailablePrivateRecords: (filter: StellarAvailablePrivateRecordsFilter) => Promise<StellarPrivateRecord[]>;
587
- listPrivateRecords: (filter: {
588
- owner?: StellarAddress;
589
- privateAddress?: string;
590
- asset?: StellarAssetId;
591
- amount?: bigint;
592
- }) => Promise<StellarPrivateRecord[]>;
593
- savePrivateRecords: (records: StellarPrivateRecord[]) => Promise<void>;
594
- upsertPrivateRecords: (records: StellarPrivateRecord[]) => Promise<void>;
595
- markPrivateRecordsUsed: (records: StellarPrivateRecord[]) => Promise<void>;
596
- markPrivateRecordsStatus: (records: StellarPrivateRecord[], status: StellarPrivateRecordStatus) => Promise<void>;
597
- getPrivateBalance: (input: {
598
- owner: StellarAddress;
599
- asset: StellarAssetId;
600
- }) => Promise<bigint>;
601
- getPrivateAssetRows: (owner: StellarAddress) => Promise<StellarPrivateAssetRow[]>;
602
- getDeliverySyncState(input: {
603
- privateAddress: string;
604
- asset: StellarAssetId;
605
- }): Promise<StellarDeliverySyncState | undefined>;
606
- setDeliverySyncState(syncState: StellarDeliverySyncState): Promise<void>;
607
- getIncomingDeliveries: (filter: StellarIncomingDeliveriesFilter) => Promise<StellarIncomingDelivery[]>;
608
- upsertIncomingDeliveries: (deliveries: StellarIncomingDelivery[]) => Promise<void>;
609
- markDeliveryProcessed(id: number): Promise<void>;
610
- getLeafEphemeral(input: {
611
- poolContract: string;
612
- leafIndex: number;
613
- }): Promise<StellarLeafEphemeral | undefined>;
614
- setLeafEphemeral(ephemeral: StellarLeafEphemeral): Promise<void>;
615
- getPoolMerkleState(poolContract: string): Promise<StellarPoolMerkleState | undefined>;
616
- setPoolMerkleState(state: StellarPoolMerkleState): Promise<void>;
617
- appendPoolCommitments(input: {
618
- poolContract: string;
619
- commitments: string[];
620
- merkleRootHex: string;
621
- syncedLedger?: number;
622
- nodes?: StellarPoolMerkleState["nodes"];
623
- }): Promise<void>;
624
- getWalletPrivateAddressRecord(input: {
625
- owner: StellarAddress;
626
- nonce: string;
627
- }): Promise<StellarWalletPrivateAddressRecord | undefined>;
628
- saveWalletPrivateAddressRecord(record: StellarWalletPrivateAddressRecord): Promise<void>;
629
- getWalletDefaultPrivateAddressNonce(owner: StellarAddress): Promise<string | undefined>;
630
- setWalletDefaultPrivateAddressNonce(input: {
631
- owner: StellarAddress;
632
- nonce: string;
633
- }): Promise<void>;
634
- getWalletPrivateAddressScalar(input: {
635
- owner: StellarAddress;
636
- nonce: string;
637
- }): Promise<StellarWalletPrivateAddressScalar | undefined>;
638
- saveWalletPrivateAddressScalar(scalar: StellarWalletPrivateAddressScalar): Promise<void>;
639
- deleteWalletPrivateAddressScalar(input: {
640
- owner: StellarAddress;
641
- nonce: string;
642
- }): Promise<void>;
643
- saveRegistryLookup(lookup: StellarRegistryLookup): Promise<void>;
644
- saveRegisteredPrivateAddress(input: {
645
- address: StellarAddress;
646
- privateAddress: string;
647
- registered: boolean;
648
- }): Promise<void>;
649
- invalidateRegistryLookup: (address: StellarAddress) => Promise<void>;
650
- invalidateRegisteredAddress(address: StellarAddress): Promise<void>;
651
- getRegistryLookup: (address: StellarAddress) => Promise<StellarRegistryLookup | undefined>;
652
- isStellarAddressRegistered(address: StellarAddress): Promise<boolean | undefined>;
653
- getCachedPrivateAddress: (address: StellarAddress) => Promise<string | undefined>;
654
- getPublicBalance(input: {
655
- owner: StellarAddress;
656
- asset: StellarAssetId;
657
- }): Promise<StellarPublicBalance | undefined>;
658
- getPublicBalances(owner: StellarAddress): Promise<StellarPublicBalance[]>;
659
- setPublicBalance(balance: StellarPublicBalanceInput): Promise<void>;
660
- setPublicBalances(input: {
661
- owner: StellarAddress;
662
- balances: StellarPublicBalanceInput[];
663
- }): Promise<void>;
664
- upsertAssets(assets: StellarAsset[]): Promise<void>;
665
- getAssetsCatalog: () => Promise<StellarAssetsCatalog>;
666
- getAsset(assetId: StellarAssetId): Promise<StellarAsset | undefined>;
667
- getAssets(): Promise<StellarAsset[]>;
668
- getAssetsForPool(poolContract: string): Promise<StellarAsset[]>;
669
- replaceAssets: (assets: StellarAsset[]) => Promise<void>;
670
- bridge: _arcanetech_privacy_sdk_core_state.StateBridge;
671
- };
672
- type ComposedStellarStateService = ReturnType<typeof composeStellarStateService>;
673
-
674
- type StellarStateService = ComposedStellarStateService;
675
-
676
706
  declare function createStateDelegates(state: StellarStateService): {
677
707
  getPrivateRecords: () => Promise<StellarPrivateRecord[]>;
678
708
  getAvailablePrivateRecords: (filter: Parameters<StellarStateService["getAvailablePrivateRecords"]>[0]) => Promise<StellarPrivateRecord[]>;
@@ -747,6 +777,7 @@ type StellarPrivacyClient = {
747
777
  registerPrivateAddress: StellarPrivacyClientNetwork['registerPrivateAddress'];
748
778
  resolveTransferRecipient: StellarPrivacyClientNetwork['resolveTransferRecipient'];
749
779
  checkPrivateRecordSpendStatus: StellarPrivacyClientNetwork['checkPrivateRecordSpendStatus'];
780
+ assessIncomingNote: StellarPrivacyClientNetwork['assessIncomingNote'];
750
781
  waitForTransactionConfirmation: StellarPrivacyClientNetwork['waitForTransactionConfirmation'];
751
782
  fetchTransactionConfirmationStatus: StellarPrivacyClientNetwork['fetchTransactionConfirmationStatus'];
752
783
  getTransactionDetails: StellarPrivacyClientNetwork['getTransactionDetails'];
@@ -1268,4 +1299,4 @@ declare function isEscrowPreparedOperation(prepared: StellarPreparedOperation):
1268
1299
  declare function evaluateRequiredSubmissionMethod(prepared: StellarPreparedOperation, zkConfigNonce?: bigint): RequiredSubmissionMethodResult;
1269
1300
  declare function requiredSubmissionMethod(prepared: StellarPreparedOperation, zkConfigNonce?: bigint): SubmissionMethod;
1270
1301
 
1271
- export { type AlignedDepositSlot, BINDING_ZK_NONCE, type BlindedRecipientTagChallengeFields, COMMITMENT_V2_ZK_NONCE, type CreateStellarPrivacyClientResult, DEFAULT_STELLAR_ZK_CIRCUITS, DEFAULT_ZK_CONFIG_NONCE, ESCROW_SUBMISSION_REFUSAL, type EscrowOutputNoteCiphertextEvent, type EscrowSubmissionRefusal, EscrowSubmissionRefusedError, type KytApplicationIdHints, KytInspectError, type LoadBrowserAssetsInput, MIN_CONFIDENTIAL_TRANSFER_STROOPS, type PrepareRelayTransactPackageFromPreparedInput, type PrepareRelayTransactPackageInput, PrivacyPoolService, type ProofResult, type ProofWithChange, RELAY_SIGNAL_INDEX_ESCROW_RECIPIENT_HI, RELAY_SIGNAL_INDEX_ESCROW_RECIPIENT_LO, RELAY_SIGNAL_INDEX_NULLIFIER_0, RELAY_SIGNAL_INDEX_NULLIFIER_1, RELAY_SIGNAL_INDEX_PUBLIC_DEPOSIT, RELAY_SIGNAL_INDEX_PUBLIC_DEPOSIT_ASSET_HI, RELAY_SIGNAL_INDEX_PUBLIC_DEPOSIT_ASSET_LO, RELAY_SIGNAL_INDEX_PUBLIC_WITHDRAWAL, RELAY_SIGNAL_INDEX_PUBLIC_WITHDRAWAL_ASSET_HI, RELAY_SIGNAL_INDEX_PUBLIC_WITHDRAWAL_ASSET_LO, RELAY_SIGNAL_INDEX_STATE_ROOT, RELAY_SIGNAL_INDEX_WITHDRAW_ADDRESS_HI, RELAY_SIGNAL_INDEX_WITHDRAW_ADDRESS_LO, RELAY_TRANSACT_FIELD_BYTES, RELAY_TRANSACT_PACKAGE_VERSION_V1, RELAY_TRANSACT_SIGNAL_PREFIX_BYTES, RELAY_TRANSACT_SUPPORTED_SIGNAL_COUNT, type ReconstructedEscrowNote, type RelayKeyVersionHints, type RelayTransactPackageV1, type RelayTransactPackageVersion, type RelayTransactPublicLegContext, type RelayTransactSupportedProfile, type RequestKytPassageForPoolInteractionInput, type RequiredSubmissionMethodResult, SIX_BY_SIX_BINDING_ZK_NONCE, SIX_BY_SIX_ZK_NONCE, STANDARD_ZK_CONFIG_NONCE, SUBMISSION_METHOD, type StellarAddress, type StellarAsset, type StellarAssetId, type StellarAssetsCatalog, type StellarAvailablePrivateRecordsFilter, type StellarBrowserAssets, type StellarBrowserPrivacyClientConfig, type StellarBundledZkCircuitDefinition, type StellarCustomZkCircuitDefinition, type StellarDeliverySyncState, type StellarIncomingDeliveriesFilter, type StellarIncomingDelivery, type StellarKytEnvironment, type StellarLeafEphemeral, type StellarLeanImtNode, type StellarNetworkConfig, type StellarOperationReceipt, type StellarPolicyAdapter, type StellarPoolMerkleState, type StellarPreparedOperation, type StellarPrivacyClient, type StellarPrivacyClientConfig, type StellarPrivacyStateHydration, type StellarPrivateAssetRow, type StellarPrivateRecord, type StellarPrivateRecordStatus, type StellarPublicBalance, type StellarPublicBalanceInput, type StellarRegistryLookup, type StellarStateAdapter, type StellarSubmissionPayload, type StellarTransactEngine, type StellarTransactEnvironment, type StellarTransactionDetails, type StellarTransactionStatus, type StellarTransferFromAddress, type StellarTransferIntent, type StellarZkCircuitDefinition, type SubmissionMethod, type TransferEscrowClaimantLimbs, type TransferEscrowSend, type TransferRecipientExecutionContext, type TransferTemporaryRecipientKey, ZERO_STROOPS, assertEscrowSweepClaimant, assetLegToTokenAddress, attachEscrowAuthorization, attachPoolStatePorts, buildBlindedRecipientTagChallengeMessage, buildPoolTransactionAuditParameters, buildPrivateAddressSignMessage, configurePrivacyPoolService, createDefaultTransactEngine, createPrivacyPoolService, createStellarPolicyAdapterFromEnvironment, createStellarPrivacyClient, createStellarPrivacyClientFromResolvedConfig, decodePrivateAddress, deriveEscrowRecipientFromStellarAddress, encodePrivateAddress, encodePrivateAddressFromHexCoordinates, evaluateRequiredSubmissionMethod, fetchAndMergeMerkleState, fetchEscrowOutputNoteEvents, finalizeSpendOperationAtExecute, frDecimalToPaddedBytes32, generateRandomDepositScalarHex, generateTemporaryRecipientPrivateAddress, getPrivacyPoolService, isEscrowPreparedOperation, isStellarPrivacyClient, listWalletPrivateAddressRecordsForOwnerFromStateSnapshot, listWalletPrivateAddressScalarsForOwnerFromStateSnapshot, loadDefaultStellarBrowserAssets, loadStellarBrowserAssets, optionalZkArtifactBaseUrl, parseAuditPublicKeyFromEnvHex, parseKytReasonCode, prepareConfidentialTransferProof, prepareConfidentialTransferProofDual, prepareEscrowSweepOperation, prepareRelayTransactPackage, prepareRelayTransactPackageFromPrepared, privateAddressSdk, readLeafEphemeralHex, readPrivateRecordsFromStateSnapshot, readRelayTransactSupportedProfile, readWalletDefaultPrivateAddressNonceFromStateSnapshot, readWalletPrivateAddressRecordFromStateSnapshot, readWalletPrivateAddressScalarFromStateSnapshot, recipientPublicKeysDecimalFromPrivateAddress, reconstructEscrowNote, requestKytPassageForPoolInteraction, requiredSubmissionMethod, resolvePoolApplicationId, resolveStellarPrivacyClientConfig, resolveZkConfigNonce, runTtlPreflight, stellarStateDefinitions, submitSorobanConfidentialTransfer, submitSorobanDeposit, tokenAddressToAssetLeg, unsignedEscrowAuthorizationForSweep };
1302
+ export { type AlignedDepositSlot, BINDING_ZK_NONCE, type BlindedRecipientTagChallengeFields, COMMITMENT_V2_ZK_NONCE, type CreateStellarPrivacyClientResult, DEFAULT_STELLAR_ZK_CIRCUITS, DEFAULT_ZK_CONFIG_NONCE, ESCROW_SUBMISSION_REFUSAL, type EscrowOutputNoteCiphertextEvent, type EscrowSubmissionRefusal, EscrowSubmissionRefusedError, type IncomingNoteAssessment, type IncomingNoteDeadReason, type IncomingNoteFields, type KytApplicationIdHints, KytInspectError, type LoadBrowserAssetsInput, MIN_CONFIDENTIAL_TRANSFER_STROOPS, type PrepareRelayTransactPackageFromPreparedInput, type PrepareRelayTransactPackageInput, PrivacyPoolService, type ProofResult, type ProofWithChange, RELAY_SIGNAL_INDEX_ESCROW_RECIPIENT_HI, RELAY_SIGNAL_INDEX_ESCROW_RECIPIENT_LO, RELAY_SIGNAL_INDEX_NULLIFIER_0, RELAY_SIGNAL_INDEX_NULLIFIER_1, RELAY_SIGNAL_INDEX_PUBLIC_DEPOSIT, RELAY_SIGNAL_INDEX_PUBLIC_DEPOSIT_ASSET_HI, RELAY_SIGNAL_INDEX_PUBLIC_DEPOSIT_ASSET_LO, RELAY_SIGNAL_INDEX_PUBLIC_WITHDRAWAL, RELAY_SIGNAL_INDEX_PUBLIC_WITHDRAWAL_ASSET_HI, RELAY_SIGNAL_INDEX_PUBLIC_WITHDRAWAL_ASSET_LO, RELAY_SIGNAL_INDEX_STATE_ROOT, RELAY_SIGNAL_INDEX_WITHDRAW_ADDRESS_HI, RELAY_SIGNAL_INDEX_WITHDRAW_ADDRESS_LO, RELAY_TRANSACT_FIELD_BYTES, RELAY_TRANSACT_PACKAGE_VERSION_V1, RELAY_TRANSACT_SIGNAL_PREFIX_BYTES, RELAY_TRANSACT_SUPPORTED_SIGNAL_COUNT, type ReconstructedEscrowNote, type RelayKeyVersionHints, type RelayTransactPackageV1, type RelayTransactPackageVersion, type RelayTransactPublicLegContext, type RelayTransactSupportedProfile, type RequestKytPassageForPoolInteractionInput, type RequiredSubmissionMethodResult, SIX_BY_SIX_BINDING_ZK_NONCE, SIX_BY_SIX_ZK_NONCE, STANDARD_ZK_CONFIG_NONCE, SUBMISSION_METHOD, type StellarAddress, type StellarAsset, type StellarAssetId, type StellarAssetsCatalog, type StellarAvailablePrivateRecordsFilter, type StellarBrowserAssets, type StellarBrowserPrivacyClientConfig, type StellarBundledZkCircuitDefinition, type StellarCustomZkCircuitDefinition, type StellarDeliverySyncState, type StellarIncomingDeliveriesFilter, type StellarIncomingDelivery, type StellarKytEnvironment, type StellarLeafEphemeral, type StellarLeanImtNode, type StellarNetworkConfig, type StellarOperationReceipt, type StellarPolicyAdapter, type StellarPoolMerkleState, type StellarPreparedOperation, type StellarPrivacyClient, type StellarPrivacyClientConfig, type StellarPrivacyStateHydration, type StellarPrivateAssetRow, type StellarPrivateRecord, type StellarPrivateRecordStatus, type StellarPublicBalance, type StellarPublicBalanceInput, type StellarRegistryLookup, type StellarStateAdapter, type StellarSubmissionPayload, type StellarTransactEngine, type StellarTransactEnvironment, type StellarTransactionDetails, type StellarTransactionStatus, type StellarTransferFromAddress, type StellarTransferIntent, type StellarZkCircuitDefinition, type SubmissionMethod, type TransferEscrowClaimantLimbs, type TransferEscrowSend, type TransferRecipientExecutionContext, type TransferTemporaryRecipientKey, ZERO_STROOPS, assertEscrowSweepClaimant, assetLegToTokenAddress, attachEscrowAuthorization, attachPoolStatePorts, buildBlindedRecipientTagChallengeMessage, buildPoolTransactionAuditParameters, buildPrivateAddressSignMessage, configurePrivacyPoolService, createDefaultTransactEngine, createPrivacyPoolService, createStellarPolicyAdapterFromEnvironment, createStellarPrivacyClient, createStellarPrivacyClientFromResolvedConfig, decodePrivateAddress, deriveEscrowRecipientFromStellarAddress, encodePrivateAddress, encodePrivateAddressFromHexCoordinates, evaluateRequiredSubmissionMethod, fetchAndMergeMerkleState, fetchEscrowOutputNoteEvents, finalizeSpendOperationAtExecute, frDecimalToPaddedBytes32, generateRandomDepositScalarHex, generateTemporaryRecipientPrivateAddress, getPrivacyPoolService, isEscrowPreparedOperation, isStellarPrivacyClient, listWalletPrivateAddressRecordsForOwnerFromStateSnapshot, listWalletPrivateAddressScalarsForOwnerFromStateSnapshot, loadDefaultStellarBrowserAssets, loadStellarBrowserAssets, optionalZkArtifactBaseUrl, parseAuditPublicKeyFromEnvHex, parseKytReasonCode, prepareConfidentialTransferProof, prepareConfidentialTransferProofDual, prepareEscrowSweepOperation, prepareRelayTransactPackage, prepareRelayTransactPackageFromPrepared, privateAddressSdk, readLeafEphemeralHex, readPrivateRecordsFromStateSnapshot, readRelayTransactSupportedProfile, readWalletDefaultPrivateAddressNonceFromStateSnapshot, readWalletPrivateAddressRecordFromStateSnapshot, readWalletPrivateAddressScalarFromStateSnapshot, recipientPublicKeysDecimalFromPrivateAddress, reconstructEscrowNote, requestKytPassageForPoolInteraction, requiredSubmissionMethod, resolvePoolApplicationId, resolveStellarPrivacyClientConfig, resolveZkConfigNonce, runTtlPreflight, stellarStateDefinitions, submitSorobanConfidentialTransfer, submitSorobanDeposit, tokenAddressToAssetLeg, unsignedEscrowAuthorizationForSweep };