@umbra-privacy/sdk 2.0.2 → 2.0.5
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/{addresses-BIzQplvu.d.ts → addresses-B7HybtbJ.d.ts} +1 -1
- package/dist/{addresses-Djkrs22V.d.cts → addresses-CTVY1oi7.d.cts} +1 -1
- package/dist/{chunk-JPDF7BIT.cjs → chunk-3LS5P32X.cjs} +3 -3
- package/dist/{chunk-JPDF7BIT.cjs.map → chunk-3LS5P32X.cjs.map} +1 -1
- package/dist/{chunk-ZQOIYCGA.cjs → chunk-43JEHY7D.cjs} +513 -3
- package/dist/chunk-43JEHY7D.cjs.map +1 -0
- package/dist/{chunk-INJ73LXQ.js → chunk-FQDYYTPG.js} +513 -3
- package/dist/chunk-FQDYYTPG.js.map +1 -0
- package/dist/{chunk-D5MWU3TV.js → chunk-KH3YTDKA.js} +3 -3
- package/dist/{chunk-D5MWU3TV.js.map → chunk-KH3YTDKA.js.map} +1 -1
- package/dist/{chunk-RVUYPKKD.js → chunk-KMRROOME.js} +3 -3
- package/dist/{chunk-RVUYPKKD.js.map → chunk-KMRROOME.js.map} +1 -1
- package/dist/{chunk-ZPSWMSXL.js → chunk-OFDWNWCL.js} +3 -3
- package/dist/{chunk-ZPSWMSXL.js.map → chunk-OFDWNWCL.js.map} +1 -1
- package/dist/{chunk-DQ25W34A.cjs → chunk-UEI7SYH6.cjs} +3 -3
- package/dist/{chunk-DQ25W34A.cjs.map → chunk-UEI7SYH6.cjs.map} +1 -1
- package/dist/{chunk-GXCRPFTT.cjs → chunk-YEZBTYCP.cjs} +3 -3
- package/dist/{chunk-GXCRPFTT.cjs.map → chunk-YEZBTYCP.cjs.map} +1 -1
- package/dist/{client-BmzzZ8qS.d.cts → client-DkVBHMWb.d.cts} +5 -5
- package/dist/{client-CQytBtEn.d.ts → client-V4AF6Bz9.d.ts} +5 -5
- package/dist/common/pda/index.cjs +35 -35
- package/dist/common/pda/index.d.cts +2 -2
- package/dist/common/pda/index.d.ts +2 -2
- package/dist/common/pda/index.js +2 -2
- package/dist/constants/index.cjs +19 -19
- package/dist/constants/index.d.cts +3 -3
- package/dist/constants/index.d.ts +3 -3
- package/dist/constants/index.js +2 -2
- package/dist/crypto/index.cjs +145 -145
- package/dist/crypto/index.d.cts +13 -13
- package/dist/crypto/index.d.ts +13 -13
- package/dist/crypto/index.js +4 -4
- package/dist/{cryptography-Dk1cBuym.d.ts → cryptography-BFSJcvi6.d.ts} +1 -1
- package/dist/{cryptography-BJ5sCytb.d.cts → cryptography-D6tPDh-Y.d.cts} +1 -1
- package/dist/{index-Ckj9PfBk.d.cts → index-BG0yjL7C.d.cts} +8 -8
- package/dist/{index-DAO_47xr.d.ts → index-ByynoyBO.d.ts} +8 -8
- package/dist/index.cjs +608 -606
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.js +25 -23
- package/dist/index.js.map +1 -1
- package/dist/interfaces/index.d.cts +12 -12
- package/dist/interfaces/index.d.ts +12 -12
- package/dist/{interfaces-CpZDActo.d.cts → interfaces-43cReBcS.d.cts} +4 -4
- package/dist/{interfaces-CxrUtnVG.d.ts → interfaces-B8xKNl_6.d.ts} +2 -2
- package/dist/{interfaces-2b_ySL0r.d.cts → interfaces-D2NO6kDD.d.cts} +2 -2
- package/dist/{interfaces-C-N3oLgJ.d.ts → interfaces-z_xYJlgV.d.ts} +4 -4
- package/dist/math/index.cjs +8 -8
- package/dist/math/index.d.cts +4 -4
- package/dist/math/index.d.ts +4 -4
- package/dist/math/index.js +2 -2
- package/dist/{networks-B3pArLLR.d.ts → networks-RMd3abPE.d.ts} +1 -1
- package/dist/{networks-Bkl2oP0q.d.cts → networks-yAoO8peQ.d.cts} +1 -1
- package/dist/solana/index.d.cts +7 -7
- package/dist/solana/index.d.ts +7 -7
- package/dist/{temporal-B3yk1YkA.d.ts → temporal-BbRaEPoO.d.ts} +1 -1
- package/dist/{temporal-BHMGDS-0.d.cts → temporal-oUj7iCaq.d.cts} +1 -1
- package/dist/{transaction-forwarder-BODYfi-S.d.ts → transaction-forwarder-5mAMTjw6.d.ts} +2 -2
- package/dist/{transaction-forwarder-DwAK9whb.d.cts → transaction-forwarder-C6gMUG7a.d.cts} +2 -2
- package/dist/types/index.d.cts +8 -8
- package/dist/types/index.d.ts +8 -8
- package/dist/{types-2UHG9wC-.d.cts → types-BohhvPth.d.cts} +1 -1
- package/dist/{types-C42QtYXI.d.ts → types-CW0oTT0j.d.ts} +1 -1
- package/dist/{types-CM3nVKl2.d.ts → types-C_V_CaKK.d.cts} +1 -1
- package/dist/{types-CM3nVKl2.d.cts → types-C_V_CaKK.d.ts} +1 -1
- package/dist/{types-BrQv82ne.d.ts → types-Ca7frykr.d.ts} +2 -2
- package/dist/{types-4rAlbodI.d.cts → types-CuKeoI19.d.cts} +2 -2
- package/dist/{types-gNnLmOsz.d.ts → types-CxfTIpN9.d.ts} +2 -2
- package/dist/{types-DfmTaW3z.d.ts → types-D1jDUjfN.d.ts} +1 -1
- package/dist/{types-KMWXIyOY.d.ts → types-DKEDUlH9.d.ts} +2 -2
- package/dist/{types-i26vVlXf.d.cts → types-EKuIfxTz.d.cts} +2 -2
- package/dist/{types-BYBfXNV_.d.cts → types-IMGYmlv-.d.cts} +1 -1
- package/dist/{types-C8HrYlDv.d.cts → types-PwNLi_2k.d.cts} +2 -2
- package/dist/utils/index.cjs +120 -120
- package/dist/utils/index.d.cts +5 -5
- package/dist/utils/index.d.ts +5 -5
- package/dist/utils/index.js +2 -2
- package/package.json +19 -19
- package/dist/chunk-INJ73LXQ.js.map +0 -1
- package/dist/chunk-ZQOIYCGA.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { RescueCommitmentGeneratorFunction } from './crypto/index.cjs';
|
|
2
2
|
export { AES_AUTH_TAG_LENGTH, AES_IV_LENGTH, AES_KEY_LENGTH, AES_METADATA_OVERHEAD, ALPHA, ALPHA_INVERSE, AesCiphertextWithMetadata, AesKey, AesPlaintext, BLOCK_SIZE, CIPHER_ROUND_COUNT, ConvertU256ToBase85LimbsFunction, EphemeralMasterSeedDeriverArgs, EphemeralMasterSeedDeriverDeps, EphemeralRescueCommitmentBlindingFactorDeriverArgs, EphemeralRescueCommitmentBlindingFactorDeriverDeps, EphemeralUtxoH2RandomSecretDeriverArgs, EphemeralUtxoH2RandomSecretDeriverDeps, EphemeralUtxoMasterViewingKeyBlindingFactorDeriverArgs, EphemeralUtxoMasterViewingKeyBlindingFactorDeriverDeps, EphemeralUtxoMasterViewingKeyDeriverArgs, EphemeralUtxoMasterViewingKeyDeriverDeps, EphemeralUtxoNullifierDeriverArgs, EphemeralUtxoNullifierDeriverDeps, EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverArgs, EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverDeps, EphemeralUtxoPoseidonPrivateKeyDeriverArgs, EphemeralUtxoPoseidonPrivateKeyDeriverDeps, FIELD_ELEMENT_BYTE_LENGTH, FIELD_PRIME, GROTH16_G1_BYTE_LENGTH, GROTH16_G2_BYTE_LENGTH, GetPersonalizationStringBuilderArgs, GetRescueCipherFromKeyPairFunction, GetRescueCipherFunction, Groth16Proof, Groth16ProofA, Groth16ProofB, Groth16ProofC, H2GeneratorDeps, HASH_CAPACITY, HASH_DIGEST_LENGTH, HASH_RATE, HASH_ROUND_COUNT, HASH_STATE_SIZE, Keccak512BasedBn254FieldElementDeriverDeps, Keccak512BasedBn254FieldElementDeriverFunction, KeystreamCommitmentDeps, MAX_AGGREGATOR_INPUTS, MAX_POSEIDON_INPUTS, MAX_PRF_SEEDS, MasterSeedBasedFieldElementDeriverArgs, MasterSeedBasedFieldElementDeriverDeps, MasterViewingKeyBlindingFactorDeriverArgs, MasterViewingKeyBlindingFactorDeriverDeps, MasterViewingKeyDeriverArgs, MasterViewingKeyDeriverDeps, MintViewingKeyDeriverArgs, MintViewingKeyDeriverDeps, ModifiedGenerationIndexDeriverFunction, NONCE_BYTES, Nonce, OPTIONAL_DATA_BYTE_LENGTH, OptionalData32, PRECOMPUTED_FIELD_INVERSES, PersonalizationStringBuilderFunction, PolynomialCommitmentFactorDeriverArgs, PolynomialCommitmentFactorDeriverDeps, PoseidonAggregatorDeps, PoseidonAggregatorFunction, PoseidonBlindingFactorDeriverArgs, PoseidonBlindingFactorDeriverDeps, PoseidonDecryptorDeps, PoseidonEncryptorDeps, PoseidonKeystreamBlindingFactorDeriverArgs, PoseidonKeystreamBlindingFactorDeriverDeps, PoseidonKeystreamGeneratorDeps, PoseidonPrfDeps, PoseidonPrivateKeyDeriverArgs, PoseidonPrivateKeyDeriverDeps, PseudorandomU512DeriverArgs, PseudorandomU512DeriverDeps, REDUCTION_CONST, RcCiphertext, RcCounter, RcDecryptorDeps, RcEncryptionNonce, RcEncryptorDeps, RcEncryptorWithNonceDeps, RcKey, RcKeyGeneratorDeps, RcPlaintext, RescueCipherFromKeyPairDeps, RescueCommitmentBlindingFactorDeriverArgs, RescueCommitmentBlindingFactorDeriverDeps, RescueCommitmentGeneratorDeps, SAMPLE_BUFFER_BYTE_LENGTH, SECRET_BYTES, SHAKE256_CIPHER_SEED, SplitAddressFunction, TimeViewingKeyDeriverArgs, TimeViewingKeyDeriverDeps, X25519KeypairDeriverArgs, X25519KeypairDeriverDeps, ZK_PROOF_BYTE_LENGTH, ZkProofBytes, assertAesCiphertextWithMetadata, assertAesKey, assertAesPlaintext, assertGroth16ProofA, assertGroth16ProofB, assertGroth16ProofC, assertOptionalData32, assertRcCiphertext, assertRcCounter, assertRcEncryptionNonce, assertRcKey, assertRcPlaintext, assertZkProofBytes, buildPersonalizationString, defaultAesDecryptor, defaultAesEncryptor, deriveBn254FieldElementFromKeccak512, deriveEphemeralMasterViewingKey, deriveEphemeralMasterViewingKeyBlindingFactor, deriveEphemeralPoseidonPrivateKey, deriveEphemeralPoseidonPrivateKeyBlindingFactor, deriveKeystreamBlindingFactor, deriveModifiedGenerationIndexForReceiverClaim, deriveModifiedGenerationIndexForSenderClaim, deriveNullifierFromModifiedGenerationIndex, deriveProofAccountOffsetFromModifiedGenerationIndex, deriveRandomFactorForPolynomialCommitmentFromModifiedGenerationIndex, deriveRandomSecretFromModifiedGenerationIndex, deriveRescueEncryptionCommitmentBlindingFactorFromModifiedGenerationIndex, expandModifiedGenerationIndex, getAesDecryptor, getAesEncryptor, getBn254FieldElementFromKeccak512Deriver, getChallengePowersFunction, getDailyViewingKeyDeriver, getEphemeralMasterSeedDeriver, getEphemeralRescueCommitmentBlindingFactorDeriver, getEphemeralUtxoH2RandomSecretDeriver, getEphemeralUtxoMasterViewingKeyBlindingFactorDeriver, getEphemeralUtxoMasterViewingKeyDeriver, getEphemeralUtxoNullifierDeriver, getEphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriver, getEphemeralUtxoPoseidonPrivateKeyDeriver, getFiatShamirChallengeGeneratorFunction, getFieldArithmetic, getHourlyViewingKeyDeriver, getKeystreamCommitmentGenerator, getMasterSeedBasedFieldElementDeriver, getMasterViewingKeyBlindingFactorDeriver, getMasterViewingKeyDeriver, getMasterViewingKeyX25519KeypairDeriver, getMintViewingKeyDeriver, getMintX25519KeypairDeriver, getMinuteViewingKeyDeriver, getModuloPowCurve25519Function, getMonthlyViewingKeyDeriver, getPersonalizationStringBuilder, getPolynomialCommitmentFactorDeriver, getPolynomialEvaluatorFunction, getPoseidonAggregator, getPoseidonBlindingFactorDeriver, getPoseidonDecryptor, getPoseidonEncryptor, getPoseidonHasher, getPoseidonKeystreamBlindingFactorDeriver, getPoseidonKeystreamGenerator, getPoseidonPrf, getPoseidonPrivateKeyDeriver, getPseudorandomU512Deriver, getRescueCipher, getRescueCipherFromKeyPair, getRescueCipherInstance, getRescueCommitmentBlindingFactorDeriver, getRescueCommitmentGenerator, getRescueDecryptorFromPrivateKey, getRescueEncryptorFromPrivateKey, getRescueEncryptorWithNonceFromPrivateKey, getRescueKeyGeneratorFromPrivateKey, getRescuePrimeHashFunction, getSecondViewingKeyDeriver, getUserAccountX25519KeypairDeriver, getUserCommitmentGeneratorFunction, getUtxoCommitmentHashGenerator, getYearlyViewingKeyDeriver } from './crypto/index.cjs';
|
|
3
|
-
import { I as IUmbraSigner, A as AccountInfoProviderFunction, G as GetLatestBlockhash, T as TransactionForwarder, a as GetEpochInfo, c as ComputationMonitor, d as IUmbraClient, e as GetMerkleProofFetcherArgs, f as GetMerkleProofFetcherDeps, B as BatchMerkleProofFetcherFunction, M as MerkleProofFetcherFunction, g as GetUtxoDataFetcherArgs, h as GetUtxoDataFetcherDeps, U as UtxoDataFetcherFunction, i as ScannedUtxoData, j as BatchMerkleProofResult, k as ClaimableUtxoData, l as GetClaimableUtxoScannerFunctionArgs, m as GetClaimableUtxoScannerFunctionDeps, n as ClaimableUtxoScannerFunction } from './client-
|
|
4
|
-
export { o as AesDecryptorFunction, p as AesEncryptorFunction, q as ComputationFinalizedResult, r as ComputationFinalizedResultWithSignature, s as ComputationMonitorOptions, t as ComputationMonitorProgressEvent, u as ComputationMonitorResult, v as ComputationMonitorResultWithSignature, w as ComputationPrunedResult, D as DEFAULT_MAX_SLOT_WINDOW, x as DEFAULT_POLLING_INTERVAL_MS, y as DEFAULT_SAFETY_TIMEOUT_MS, z as DEFAULT_SIGNATURE_RETRIEVAL_LIMIT, P as PollingBasedComputationMonitorConfig, E as PollingBasedComputationMonitorDeps, F as PollingComputationMonitorOptions, W as WebsocketBasedComputationMonitorConfig, H as WebsocketBasedComputationMonitorDeps, J as getPollingComputationMonitor, K as getWebsocketComputationMonitor } from './client-
|
|
3
|
+
import { I as IUmbraSigner, A as AccountInfoProviderFunction, G as GetLatestBlockhash, T as TransactionForwarder, a as GetEpochInfo, c as ComputationMonitor, d as IUmbraClient, e as GetMerkleProofFetcherArgs, f as GetMerkleProofFetcherDeps, B as BatchMerkleProofFetcherFunction, M as MerkleProofFetcherFunction, g as GetUtxoDataFetcherArgs, h as GetUtxoDataFetcherDeps, U as UtxoDataFetcherFunction, i as ScannedUtxoData, j as BatchMerkleProofResult, k as ClaimableUtxoData, l as GetClaimableUtxoScannerFunctionArgs, m as GetClaimableUtxoScannerFunctionDeps, n as ClaimableUtxoScannerFunction } from './client-DkVBHMWb.cjs';
|
|
4
|
+
export { o as AesDecryptorFunction, p as AesEncryptorFunction, q as ComputationFinalizedResult, r as ComputationFinalizedResultWithSignature, s as ComputationMonitorOptions, t as ComputationMonitorProgressEvent, u as ComputationMonitorResult, v as ComputationMonitorResultWithSignature, w as ComputationPrunedResult, D as DEFAULT_MAX_SLOT_WINDOW, x as DEFAULT_POLLING_INTERVAL_MS, y as DEFAULT_SAFETY_TIMEOUT_MS, z as DEFAULT_SIGNATURE_RETRIEVAL_LIMIT, P as PollingBasedComputationMonitorConfig, E as PollingBasedComputationMonitorDeps, F as PollingComputationMonitorOptions, W as WebsocketBasedComputationMonitorConfig, H as WebsocketBasedComputationMonitorDeps, J as getPollingComputationMonitor, K as getWebsocketComputationMonitor } from './client-DkVBHMWb.cjs';
|
|
5
5
|
export { bn254Add, bn254FieldElementSampler, bn254ModuloPow, bn254Mul, bn254Sub, computeBn254LimbwiseSumInverse, computeBn254ModularInverse, curve25519FieldElementSampler, curve25519ModuloAdd, curve25519ModuloInv, curve25519ModuloMul, curve25519ModuloPow, curve25519ModuloSub, getBn254FieldElementSampler, getBn254ModularAdder, getBn254ModularInverter, getBn254ModularMultiplier, getBn254ModularNegator, getBn254ModularSubtractor, getCurve25519FieldElementSampler, getCurve25519ModularAddFunction, getCurve25519ModularInvFunction, getCurve25519ModularMulFunction, getCurve25519ModularPowFunction, getCurve25519ModularSubFunction } from './math/index.cjs';
|
|
6
|
-
import { C as Curve25519KeypairGeneratorFunction, M as MintX25519KeypairDeriverFunction, a as MasterViewingKeyDeriverFunction, b as MasterViewingKeyBlindingFactorDeriverFunction, P as PoseidonPrivateKeyDeriverFunction, c as PoseidonBlindingFactorDeriverFunction, R as RescueCommitmentBlindingFactorDeriverFunction, d as PolynomialCommitmentFactorDeriverFunction, e as RcKeyGeneratorFunction, f as RcEncryptorWithNonceFunction, U as UserCommitmentGeneratorFunction, F as FiatShamirChallengeGeneratorFunction, g as ChallengePowersFunction, h as PolynomialEvaluatorFunction, i as PoseidonAggregatorHashFunction } from './interfaces-
|
|
7
|
-
export { j as ChallengePowersDeps, D as DailyViewingKeyGeneratorFunction, E as EphemeralMasterSeedDeriverFunction, k as EphemeralRescueCommitmentBlindingFactorDeriverFunction, l as EphemeralUtxoH2RandomSecretDeriverFunction, m as EphemeralUtxoMasterViewingKeyBlindingFactorDeriverFunction, n as EphemeralUtxoMasterViewingKeyDeriverFunction, o as EphemeralUtxoNullifierDeriverFunction, p as EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverFunction, q as EphemeralUtxoPoseidonPrivateKeyDeriverFunction, r as FieldArithmetic, H as H2CircuitProvableHashFunction, s as H2CircuitProvableParams, t as H2FullParams, u as H2GeneratorFns, v as H2HashFunction, w as HourlyViewingKeyGeneratorFunction, K as KeystreamCommitmentFunction, x as MasterSeedBasedFieldElementDeriverFunction, y as MasterSeedGeneratorFunction, z as MintViewingKeyDeriverFunction, A as MinuteViewingKeyGeneratorFunction, B as ModuloPowCurve25519Function, G as MonthlyViewingKeyGeneratorFunction, I as PolynomialEvaluatorDeps, J as PoseidonDecryptorFunction, L as PoseidonEncryptorFunction, N as PoseidonHashFunction, O as PoseidonKeystreamBlindingFactorDeriverFunction, Q as PoseidonKeystreamGeneratorFunction, S as PoseidonPrfFunction, T as PseudorandomU512DeriverFunction, V as RcDecryptorFunction, W as RcEncryptorFunction, X as RescueCipherDeps, Y as RescueCipherInstance, Z as RescueKeyDerivationFunction, _ as RescuePermuteFunction, $ as RescuePrimeHashDeps, a0 as RescuePrimeHashFunction, a1 as SecondViewingKeyGeneratorFunction, a2 as UserCommitmentGeneratorDeps, a3 as ViewingKeyGeneratorOptions, a4 as YearlyViewingKeyGeneratorFunction } from './interfaces-
|
|
8
|
-
export { C as Curve25519KeypairResult, D as DailyViewingKey, E as Ed25519Keypair, G as GenerationSeed, H as HourlyViewingKey, K as Keccak256Hash, a as Keccak512Hash, M as MASTER_VIEWING_KEY_MAX, b as MasterSeed, c as MasterViewingKey, d as MintViewingKey, e as MinuteViewingKey, f as MonthlyViewingKey, S as SecondViewingKey, g as SharedSecret, X as X25519Bytes, h as X25519Keypair, i as X25519PrivateKey, j as X25519PublicKey, k as X25519_BYTE_LENGTH, Y as YearlyViewingKey, l as assertCurve25519KeypairResult, m as assertDailyViewingKey, n as assertEd25519Keypair, o as assertGenerationSeed, p as assertHourlyViewingKey, q as assertKeccak256Hash, r as assertKeccak512Hash, s as assertMasterSeed, t as assertMasterViewingKey, u as assertMintViewingKey, v as assertMinuteViewingKey, w as assertMonthlyViewingKey, x as assertSecondViewingKey, y as assertSharedSecret, z as assertX25519Bytes, A as assertX25519Keypair, B as assertX25519PrivateKey, F as assertX25519PublicKey, I as assertYearlyViewingKey } from './types-
|
|
9
|
-
export { B as BASE85_LIMB_MAX, a as Base85Limb, b as Base85LimbTuple, P as PoseidonCiphertext, c as PoseidonCounter, d as PoseidonHash, e as PoseidonKey, f as PoseidonKeystream, g as PoseidonPlaintext, h as assertBase85Limb, i as assertPoseidonCiphertext, j as assertPoseidonCounter, k as assertPoseidonHash, l as assertPoseidonKey, m as assertPoseidonKeystream, n as assertPoseidonPlaintext } from './types-
|
|
10
|
-
export { O as OnTransactionConfirmed, P as PollingBasedTransactionForwarderConfig, a as PollingBasedTransactionForwarderDeps, b as PollingTransactionForwardOptions, R as RpcBasedAccountInfoProviderConfig, c as RpcBasedBlockhashProviderConfig, d as RpcBasedBlockhashProviderDeps, e as RpcBasedEpochInfoProviderConfig, f as RpcBasedEpochInfoProviderDeps, T as TransactionConfirmedInfo, g as TransactionForwardOptions, W as WebsocketBasedTransactionForwarderConfig, h as WebsocketBasedTransactionForwarderDeps, i as createInMemorySigner, j as createSignerFromKeyPair, k as createSignerFromPrivateKeyBytes, l as createSignerFromWalletAccount, m as getPollingTransactionForwarder, n as getRpcAccountInfoProvider, o as getRpcBlockhashProvider, p as getRpcEpochInfoProvider, q as getWebsocketTransactionForwarder } from './transaction-forwarder-
|
|
11
|
-
import { f as LoadResult, g as StoreResult, b as MasterSeedGeneratorFunction, M as MasterSeedLoaderFunction, a as MasterSeedStorerFunction, T as TransactionSignature } from './types-
|
|
6
|
+
import { C as Curve25519KeypairGeneratorFunction, M as MintX25519KeypairDeriverFunction, a as MasterViewingKeyDeriverFunction, b as MasterViewingKeyBlindingFactorDeriverFunction, P as PoseidonPrivateKeyDeriverFunction, c as PoseidonBlindingFactorDeriverFunction, R as RescueCommitmentBlindingFactorDeriverFunction, d as PolynomialCommitmentFactorDeriverFunction, e as RcKeyGeneratorFunction, f as RcEncryptorWithNonceFunction, U as UserCommitmentGeneratorFunction, F as FiatShamirChallengeGeneratorFunction, g as ChallengePowersFunction, h as PolynomialEvaluatorFunction, i as PoseidonAggregatorHashFunction } from './interfaces-43cReBcS.cjs';
|
|
7
|
+
export { j as ChallengePowersDeps, D as DailyViewingKeyGeneratorFunction, E as EphemeralMasterSeedDeriverFunction, k as EphemeralRescueCommitmentBlindingFactorDeriverFunction, l as EphemeralUtxoH2RandomSecretDeriverFunction, m as EphemeralUtxoMasterViewingKeyBlindingFactorDeriverFunction, n as EphemeralUtxoMasterViewingKeyDeriverFunction, o as EphemeralUtxoNullifierDeriverFunction, p as EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverFunction, q as EphemeralUtxoPoseidonPrivateKeyDeriverFunction, r as FieldArithmetic, H as H2CircuitProvableHashFunction, s as H2CircuitProvableParams, t as H2FullParams, u as H2GeneratorFns, v as H2HashFunction, w as HourlyViewingKeyGeneratorFunction, K as KeystreamCommitmentFunction, x as MasterSeedBasedFieldElementDeriverFunction, y as MasterSeedGeneratorFunction, z as MintViewingKeyDeriverFunction, A as MinuteViewingKeyGeneratorFunction, B as ModuloPowCurve25519Function, G as MonthlyViewingKeyGeneratorFunction, I as PolynomialEvaluatorDeps, J as PoseidonDecryptorFunction, L as PoseidonEncryptorFunction, N as PoseidonHashFunction, O as PoseidonKeystreamBlindingFactorDeriverFunction, Q as PoseidonKeystreamGeneratorFunction, S as PoseidonPrfFunction, T as PseudorandomU512DeriverFunction, V as RcDecryptorFunction, W as RcEncryptorFunction, X as RescueCipherDeps, Y as RescueCipherInstance, Z as RescueKeyDerivationFunction, _ as RescuePermuteFunction, $ as RescuePrimeHashDeps, a0 as RescuePrimeHashFunction, a1 as SecondViewingKeyGeneratorFunction, a2 as UserCommitmentGeneratorDeps, a3 as ViewingKeyGeneratorOptions, a4 as YearlyViewingKeyGeneratorFunction } from './interfaces-43cReBcS.cjs';
|
|
8
|
+
export { C as Curve25519KeypairResult, D as DailyViewingKey, E as Ed25519Keypair, G as GenerationSeed, H as HourlyViewingKey, K as Keccak256Hash, a as Keccak512Hash, M as MASTER_VIEWING_KEY_MAX, b as MasterSeed, c as MasterViewingKey, d as MintViewingKey, e as MinuteViewingKey, f as MonthlyViewingKey, S as SecondViewingKey, g as SharedSecret, X as X25519Bytes, h as X25519Keypair, i as X25519PrivateKey, j as X25519PublicKey, k as X25519_BYTE_LENGTH, Y as YearlyViewingKey, l as assertCurve25519KeypairResult, m as assertDailyViewingKey, n as assertEd25519Keypair, o as assertGenerationSeed, p as assertHourlyViewingKey, q as assertKeccak256Hash, r as assertKeccak512Hash, s as assertMasterSeed, t as assertMasterViewingKey, u as assertMintViewingKey, v as assertMinuteViewingKey, w as assertMonthlyViewingKey, x as assertSecondViewingKey, y as assertSharedSecret, z as assertX25519Bytes, A as assertX25519Keypair, B as assertX25519PrivateKey, F as assertX25519PublicKey, I as assertYearlyViewingKey } from './types-CuKeoI19.cjs';
|
|
9
|
+
export { B as BASE85_LIMB_MAX, a as Base85Limb, b as Base85LimbTuple, P as PoseidonCiphertext, c as PoseidonCounter, d as PoseidonHash, e as PoseidonKey, f as PoseidonKeystream, g as PoseidonPlaintext, h as assertBase85Limb, i as assertPoseidonCiphertext, j as assertPoseidonCounter, k as assertPoseidonHash, l as assertPoseidonKey, m as assertPoseidonKeystream, n as assertPoseidonPlaintext } from './types-PwNLi_2k.cjs';
|
|
10
|
+
export { O as OnTransactionConfirmed, P as PollingBasedTransactionForwarderConfig, a as PollingBasedTransactionForwarderDeps, b as PollingTransactionForwardOptions, R as RpcBasedAccountInfoProviderConfig, c as RpcBasedBlockhashProviderConfig, d as RpcBasedBlockhashProviderDeps, e as RpcBasedEpochInfoProviderConfig, f as RpcBasedEpochInfoProviderDeps, T as TransactionConfirmedInfo, g as TransactionForwardOptions, W as WebsocketBasedTransactionForwarderConfig, h as WebsocketBasedTransactionForwarderDeps, i as createInMemorySigner, j as createSignerFromKeyPair, k as createSignerFromPrivateKeyBytes, l as createSignerFromWalletAccount, m as getPollingTransactionForwarder, n as getRpcAccountInfoProvider, o as getRpcBlockhashProvider, p as getRpcEpochInfoProvider, q as getWebsocketTransactionForwarder } from './transaction-forwarder-C6gMUG7a.cjs';
|
|
11
|
+
import { f as LoadResult, g as StoreResult, b as MasterSeedGeneratorFunction, M as MasterSeedLoaderFunction, a as MasterSeedStorerFunction, T as TransactionSignature } from './types-EKuIfxTz.cjs';
|
|
12
12
|
export { C as ClaimUtxoError, a as ClaimUtxoStage, b as ComputationMonitorError, c as ComputationMonitorStage, d as ConversionError, e as ConversionStage, f as CreateUtxoError, g as CreateUtxoStage, E as EncryptedDepositError, h as EncryptedDepositStage, i as EncryptedWithdrawalError, j as EncryptedWithdrawalStage, F as FetchUtxosError, k as FetchUtxosStage, Q as QueryError, l as QueryStage, R as RegistrationError, m as RegistrationStage, n as isClaimUtxoError, o as isComputationMonitorError, p as isConversionError, q as isCreateUtxoError, r as isEncryptedDepositError, s as isEncryptedWithdrawalError, t as isFetchUtxosError, u as isQueryError, v as isRegistrationError } from './errors-DAIrstEL.cjs';
|
|
13
|
-
import { G as GetUmbraRelayerArgs, a as GetUmbraRelayerDeps, I as IUmbraRelayer, C as ClaimStatusResponse, b as ClaimStatus, c as ClaimBatchResult, d as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, e as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, f as ClaimUtxoIntoEncryptedBalanceResult, g as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, h as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, i as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionArgs, j as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionDeps, k as ClaimUtxoIntoPublicBalanceResult, l as GetCreateUserGrantedComplianceGrantFunctionArgs, m as GetCreateUserGrantedComplianceGrantFunctionDeps, n as CreateUserGrantedComplianceGrantFunction, o as GetDeleteUserGrantedComplianceGrantFunctionArgs, p as GetDeleteUserGrantedComplianceGrantFunctionDeps, D as DeleteUserGrantedComplianceGrantFunction, q as GetReencryptSharedCiphertextsUserGrantV10FunctionArgs, r as GetReencryptSharedCiphertextsUserGrantV10FunctionDeps, R as ReencryptSharedCiphertextsUserGrantV10Function, s as GetReencryptMxeCiphertextsNetworkGrantV10FunctionArgs, t as GetReencryptMxeCiphertextsNetworkGrantV10FunctionDeps, u as ReencryptMxeCiphertextsNetworkGrantV10Function, v as GetReencryptSharedCiphertextsNetworkGrantV10FunctionArgs, w as GetReencryptSharedCiphertextsNetworkGrantV10FunctionDeps, x as ReencryptSharedCiphertextsNetworkGrantV10Function, y as GetQueryNetworkMxeComplianceGrantFunctionArgs, z as GetQueryNetworkMxeComplianceGrantFunctionDeps, Q as QueryNetworkMxeComplianceGrantFunction, A as GetQueryNetworkSharedComplianceGrantFunctionArgs, B as GetQueryNetworkSharedComplianceGrantFunctionDeps, E as QueryNetworkSharedComplianceGrantFunction, F as GetQueryUserComplianceGrantFunctionArgs, H as GetQueryUserComplianceGrantFunctionDeps, J as QueryUserComplianceGrantFunction, K as GetConvertToSharedEncryptionFunctionArgs, L as GetConvertToSharedEncryptionFunctionDeps, M as ConvertToSharedEncryptionFunction, N as GetRotateMintX25519EncryptionKeyFunctionArgs, O as GetRotateMintX25519EncryptionKeyFunctionDeps, P as RotateMintX25519EncryptionKeyFunction, S as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionArgs, T as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionDeps, U as PublicBalanceToEncryptedBalanceDirectDepositorFunction, V as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionArgs, W as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionDeps, X as EncryptedBalanceToSelfClaimableUtxoCreatorFunction, Y as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionArgs, Z as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionDeps, _ as EncryptedBalanceToReceiverClaimableUtxoCreatorFunction, $ as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionArgs, a0 as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionDeps, a1 as PublicBalanceToSelfClaimableUtxoCreatorFunction, a2 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionArgs, a3 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionDeps, a4 as PublicBalanceToReceiverClaimableUtxoCreatorFunction, a5 as GetQueryEncryptedBalanceFunctionArgs, a6 as GetQueryEncryptedBalanceFunctionDeps, a7 as QueryEncryptedBalanceFunction, a8 as GetQueryUserAccountFunctionArgs, a9 as GetQueryUserAccountFunctionDeps, aa as QueryUserAccountFunction, ab as GetClaimStagedSolFromPoolFunctionArgs, ac as GetClaimStagedSolFromPoolFunctionDeps, ad as ClaimStagedSolFromPoolFunction, ae as GetClaimStagedSplFromPoolFunctionArgs, af as GetClaimStagedSplFromPoolFunctionDeps, ag as ClaimStagedSplFromPoolFunction, ah as IZkProverForUserRegistration, ai as UserRegistrationFunction, aj as GetUpdateRandomGenerationSeedFunctionArgs, ak as GetUpdateRandomGenerationSeedFunctionDeps, al as UpdateRandomGenerationSeedFunction, am as GetUpdateTokenAccountRandomGenerationSeedFunctionArgs, an as GetUpdateTokenAccountRandomGenerationSeedFunctionDeps, ao as UpdateTokenAccountRandomGenerationSeedFunction, ap as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionArgs, aq as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionDeps, ar as EncryptedBalanceToPublicBalanceDirectWithdrawerFunction } from './index-
|
|
14
|
-
export { as as AwaitCallbackOptions, at as AwaitComputationFinalizationConfig, au as CreateUtxoFromEncryptedBalanceResult, av as CreateUtxoFromPublicBalanceResult, aw as DepositResult, ax as ExecuteTransactionOptions, ay as TransactionExecutionResult, az as TransactionExecutionResultWithCallback, aA as TransactionExecutorConfig, aB as WithdrawResult, aC as buildTransactionMessage, aD as executeComputationTransaction, aE as extractSignatures, aF as forwardAndMonitor, aG as signTransactionMessage } from './index-
|
|
13
|
+
import { G as GetUmbraRelayerArgs, a as GetUmbraRelayerDeps, I as IUmbraRelayer, C as ClaimStatusResponse, b as ClaimStatus, c as ClaimBatchResult, d as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, e as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, f as ClaimUtxoIntoEncryptedBalanceResult, g as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, h as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, i as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionArgs, j as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionDeps, k as ClaimUtxoIntoPublicBalanceResult, l as GetCreateUserGrantedComplianceGrantFunctionArgs, m as GetCreateUserGrantedComplianceGrantFunctionDeps, n as CreateUserGrantedComplianceGrantFunction, o as GetDeleteUserGrantedComplianceGrantFunctionArgs, p as GetDeleteUserGrantedComplianceGrantFunctionDeps, D as DeleteUserGrantedComplianceGrantFunction, q as GetReencryptSharedCiphertextsUserGrantV10FunctionArgs, r as GetReencryptSharedCiphertextsUserGrantV10FunctionDeps, R as ReencryptSharedCiphertextsUserGrantV10Function, s as GetReencryptMxeCiphertextsNetworkGrantV10FunctionArgs, t as GetReencryptMxeCiphertextsNetworkGrantV10FunctionDeps, u as ReencryptMxeCiphertextsNetworkGrantV10Function, v as GetReencryptSharedCiphertextsNetworkGrantV10FunctionArgs, w as GetReencryptSharedCiphertextsNetworkGrantV10FunctionDeps, x as ReencryptSharedCiphertextsNetworkGrantV10Function, y as GetQueryNetworkMxeComplianceGrantFunctionArgs, z as GetQueryNetworkMxeComplianceGrantFunctionDeps, Q as QueryNetworkMxeComplianceGrantFunction, A as GetQueryNetworkSharedComplianceGrantFunctionArgs, B as GetQueryNetworkSharedComplianceGrantFunctionDeps, E as QueryNetworkSharedComplianceGrantFunction, F as GetQueryUserComplianceGrantFunctionArgs, H as GetQueryUserComplianceGrantFunctionDeps, J as QueryUserComplianceGrantFunction, K as GetConvertToSharedEncryptionFunctionArgs, L as GetConvertToSharedEncryptionFunctionDeps, M as ConvertToSharedEncryptionFunction, N as GetRotateMintX25519EncryptionKeyFunctionArgs, O as GetRotateMintX25519EncryptionKeyFunctionDeps, P as RotateMintX25519EncryptionKeyFunction, S as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionArgs, T as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionDeps, U as PublicBalanceToEncryptedBalanceDirectDepositorFunction, V as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionArgs, W as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionDeps, X as EncryptedBalanceToSelfClaimableUtxoCreatorFunction, Y as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionArgs, Z as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionDeps, _ as EncryptedBalanceToReceiverClaimableUtxoCreatorFunction, $ as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionArgs, a0 as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionDeps, a1 as PublicBalanceToSelfClaimableUtxoCreatorFunction, a2 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionArgs, a3 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionDeps, a4 as PublicBalanceToReceiverClaimableUtxoCreatorFunction, a5 as GetQueryEncryptedBalanceFunctionArgs, a6 as GetQueryEncryptedBalanceFunctionDeps, a7 as QueryEncryptedBalanceFunction, a8 as GetQueryUserAccountFunctionArgs, a9 as GetQueryUserAccountFunctionDeps, aa as QueryUserAccountFunction, ab as GetClaimStagedSolFromPoolFunctionArgs, ac as GetClaimStagedSolFromPoolFunctionDeps, ad as ClaimStagedSolFromPoolFunction, ae as GetClaimStagedSplFromPoolFunctionArgs, af as GetClaimStagedSplFromPoolFunctionDeps, ag as ClaimStagedSplFromPoolFunction, ah as IZkProverForUserRegistration, ai as UserRegistrationFunction, aj as GetUpdateRandomGenerationSeedFunctionArgs, ak as GetUpdateRandomGenerationSeedFunctionDeps, al as UpdateRandomGenerationSeedFunction, am as GetUpdateTokenAccountRandomGenerationSeedFunctionArgs, an as GetUpdateTokenAccountRandomGenerationSeedFunctionDeps, ao as UpdateTokenAccountRandomGenerationSeedFunction, ap as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionArgs, aq as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionDeps, ar as EncryptedBalanceToPublicBalanceDirectWithdrawerFunction } from './index-BG0yjL7C.cjs';
|
|
14
|
+
export { as as AwaitCallbackOptions, at as AwaitComputationFinalizationConfig, au as CreateUtxoFromEncryptedBalanceResult, av as CreateUtxoFromPublicBalanceResult, aw as DepositResult, ax as ExecuteTransactionOptions, ay as TransactionExecutionResult, az as TransactionExecutionResultWithCallback, aA as TransactionExecutorConfig, aB as WithdrawResult, aC as buildTransactionMessage, aD as executeComputationTransaction, aE as extractSignatures, aF as forwardAndMonitor, aG as signTransactionMessage } from './index-BG0yjL7C.cjs';
|
|
15
15
|
export { EncryptedUserAccount, QueryComplianceGrantResult, QueryUserAccountResult } from './types/index.cjs';
|
|
16
|
-
import { h as U512 } from './types-
|
|
16
|
+
import { h as U512 } from './types-C_V_CaKK.cjs';
|
|
17
17
|
import { N as Network, f as ProtocolVersionSpecifierFunction, a as AlgorithmVersionSpecifierFunction, g as SchemeVersionSpecifierFunction } from './versions-BRlR36EA.cjs';
|
|
18
|
-
import { O as OptionalData32, c as X25519PrivateKey, s as Base85LimbTuple, B as Bn254FieldElement } from './cryptography-
|
|
19
|
-
import { M as ModuloInvFunction } from './interfaces-
|
|
18
|
+
import { O as OptionalData32, c as X25519PrivateKey, s as Base85LimbTuple, B as Bn254FieldElement } from './cryptography-D6tPDh-Y.cjs';
|
|
19
|
+
import { M as ModuloInvFunction } from './interfaces-D2NO6kDD.cjs';
|
|
20
20
|
import '@noble/hashes/sha3-addons.js';
|
|
21
21
|
import '@solana/kit';
|
|
22
|
-
import './addresses-
|
|
23
|
-
import './types-
|
|
24
|
-
import './networks-
|
|
25
|
-
import './types-
|
|
22
|
+
import './addresses-CTVY1oi7.cjs';
|
|
23
|
+
import './types-IMGYmlv-.cjs';
|
|
24
|
+
import './networks-yAoO8peQ.cjs';
|
|
25
|
+
import './types-BohhvPth.cjs';
|
|
26
26
|
import '@wallet-standard/core';
|
|
27
27
|
import './errors-B9EoPeWV.cjs';
|
|
28
28
|
import './arcium-BXXlryfe.cjs';
|
|
29
|
-
import './temporal-
|
|
29
|
+
import './temporal-oUj7iCaq.cjs';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Default Storage Implementations
|
package/dist/index.d.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { RescueCommitmentGeneratorFunction } from './crypto/index.js';
|
|
2
2
|
export { AES_AUTH_TAG_LENGTH, AES_IV_LENGTH, AES_KEY_LENGTH, AES_METADATA_OVERHEAD, ALPHA, ALPHA_INVERSE, AesCiphertextWithMetadata, AesKey, AesPlaintext, BLOCK_SIZE, CIPHER_ROUND_COUNT, ConvertU256ToBase85LimbsFunction, EphemeralMasterSeedDeriverArgs, EphemeralMasterSeedDeriverDeps, EphemeralRescueCommitmentBlindingFactorDeriverArgs, EphemeralRescueCommitmentBlindingFactorDeriverDeps, EphemeralUtxoH2RandomSecretDeriverArgs, EphemeralUtxoH2RandomSecretDeriverDeps, EphemeralUtxoMasterViewingKeyBlindingFactorDeriverArgs, EphemeralUtxoMasterViewingKeyBlindingFactorDeriverDeps, EphemeralUtxoMasterViewingKeyDeriverArgs, EphemeralUtxoMasterViewingKeyDeriverDeps, EphemeralUtxoNullifierDeriverArgs, EphemeralUtxoNullifierDeriverDeps, EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverArgs, EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverDeps, EphemeralUtxoPoseidonPrivateKeyDeriverArgs, EphemeralUtxoPoseidonPrivateKeyDeriverDeps, FIELD_ELEMENT_BYTE_LENGTH, FIELD_PRIME, GROTH16_G1_BYTE_LENGTH, GROTH16_G2_BYTE_LENGTH, GetPersonalizationStringBuilderArgs, GetRescueCipherFromKeyPairFunction, GetRescueCipherFunction, Groth16Proof, Groth16ProofA, Groth16ProofB, Groth16ProofC, H2GeneratorDeps, HASH_CAPACITY, HASH_DIGEST_LENGTH, HASH_RATE, HASH_ROUND_COUNT, HASH_STATE_SIZE, Keccak512BasedBn254FieldElementDeriverDeps, Keccak512BasedBn254FieldElementDeriverFunction, KeystreamCommitmentDeps, MAX_AGGREGATOR_INPUTS, MAX_POSEIDON_INPUTS, MAX_PRF_SEEDS, MasterSeedBasedFieldElementDeriverArgs, MasterSeedBasedFieldElementDeriverDeps, MasterViewingKeyBlindingFactorDeriverArgs, MasterViewingKeyBlindingFactorDeriverDeps, MasterViewingKeyDeriverArgs, MasterViewingKeyDeriverDeps, MintViewingKeyDeriverArgs, MintViewingKeyDeriverDeps, ModifiedGenerationIndexDeriverFunction, NONCE_BYTES, Nonce, OPTIONAL_DATA_BYTE_LENGTH, OptionalData32, PRECOMPUTED_FIELD_INVERSES, PersonalizationStringBuilderFunction, PolynomialCommitmentFactorDeriverArgs, PolynomialCommitmentFactorDeriverDeps, PoseidonAggregatorDeps, PoseidonAggregatorFunction, PoseidonBlindingFactorDeriverArgs, PoseidonBlindingFactorDeriverDeps, PoseidonDecryptorDeps, PoseidonEncryptorDeps, PoseidonKeystreamBlindingFactorDeriverArgs, PoseidonKeystreamBlindingFactorDeriverDeps, PoseidonKeystreamGeneratorDeps, PoseidonPrfDeps, PoseidonPrivateKeyDeriverArgs, PoseidonPrivateKeyDeriverDeps, PseudorandomU512DeriverArgs, PseudorandomU512DeriverDeps, REDUCTION_CONST, RcCiphertext, RcCounter, RcDecryptorDeps, RcEncryptionNonce, RcEncryptorDeps, RcEncryptorWithNonceDeps, RcKey, RcKeyGeneratorDeps, RcPlaintext, RescueCipherFromKeyPairDeps, RescueCommitmentBlindingFactorDeriverArgs, RescueCommitmentBlindingFactorDeriverDeps, RescueCommitmentGeneratorDeps, SAMPLE_BUFFER_BYTE_LENGTH, SECRET_BYTES, SHAKE256_CIPHER_SEED, SplitAddressFunction, TimeViewingKeyDeriverArgs, TimeViewingKeyDeriverDeps, X25519KeypairDeriverArgs, X25519KeypairDeriverDeps, ZK_PROOF_BYTE_LENGTH, ZkProofBytes, assertAesCiphertextWithMetadata, assertAesKey, assertAesPlaintext, assertGroth16ProofA, assertGroth16ProofB, assertGroth16ProofC, assertOptionalData32, assertRcCiphertext, assertRcCounter, assertRcEncryptionNonce, assertRcKey, assertRcPlaintext, assertZkProofBytes, buildPersonalizationString, defaultAesDecryptor, defaultAesEncryptor, deriveBn254FieldElementFromKeccak512, deriveEphemeralMasterViewingKey, deriveEphemeralMasterViewingKeyBlindingFactor, deriveEphemeralPoseidonPrivateKey, deriveEphemeralPoseidonPrivateKeyBlindingFactor, deriveKeystreamBlindingFactor, deriveModifiedGenerationIndexForReceiverClaim, deriveModifiedGenerationIndexForSenderClaim, deriveNullifierFromModifiedGenerationIndex, deriveProofAccountOffsetFromModifiedGenerationIndex, deriveRandomFactorForPolynomialCommitmentFromModifiedGenerationIndex, deriveRandomSecretFromModifiedGenerationIndex, deriveRescueEncryptionCommitmentBlindingFactorFromModifiedGenerationIndex, expandModifiedGenerationIndex, getAesDecryptor, getAesEncryptor, getBn254FieldElementFromKeccak512Deriver, getChallengePowersFunction, getDailyViewingKeyDeriver, getEphemeralMasterSeedDeriver, getEphemeralRescueCommitmentBlindingFactorDeriver, getEphemeralUtxoH2RandomSecretDeriver, getEphemeralUtxoMasterViewingKeyBlindingFactorDeriver, getEphemeralUtxoMasterViewingKeyDeriver, getEphemeralUtxoNullifierDeriver, getEphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriver, getEphemeralUtxoPoseidonPrivateKeyDeriver, getFiatShamirChallengeGeneratorFunction, getFieldArithmetic, getHourlyViewingKeyDeriver, getKeystreamCommitmentGenerator, getMasterSeedBasedFieldElementDeriver, getMasterViewingKeyBlindingFactorDeriver, getMasterViewingKeyDeriver, getMasterViewingKeyX25519KeypairDeriver, getMintViewingKeyDeriver, getMintX25519KeypairDeriver, getMinuteViewingKeyDeriver, getModuloPowCurve25519Function, getMonthlyViewingKeyDeriver, getPersonalizationStringBuilder, getPolynomialCommitmentFactorDeriver, getPolynomialEvaluatorFunction, getPoseidonAggregator, getPoseidonBlindingFactorDeriver, getPoseidonDecryptor, getPoseidonEncryptor, getPoseidonHasher, getPoseidonKeystreamBlindingFactorDeriver, getPoseidonKeystreamGenerator, getPoseidonPrf, getPoseidonPrivateKeyDeriver, getPseudorandomU512Deriver, getRescueCipher, getRescueCipherFromKeyPair, getRescueCipherInstance, getRescueCommitmentBlindingFactorDeriver, getRescueCommitmentGenerator, getRescueDecryptorFromPrivateKey, getRescueEncryptorFromPrivateKey, getRescueEncryptorWithNonceFromPrivateKey, getRescueKeyGeneratorFromPrivateKey, getRescuePrimeHashFunction, getSecondViewingKeyDeriver, getUserAccountX25519KeypairDeriver, getUserCommitmentGeneratorFunction, getUtxoCommitmentHashGenerator, getYearlyViewingKeyDeriver } from './crypto/index.js';
|
|
3
|
-
import { I as IUmbraSigner, A as AccountInfoProviderFunction, G as GetLatestBlockhash, T as TransactionForwarder, a as GetEpochInfo, c as ComputationMonitor, d as IUmbraClient, e as GetMerkleProofFetcherArgs, f as GetMerkleProofFetcherDeps, B as BatchMerkleProofFetcherFunction, M as MerkleProofFetcherFunction, g as GetUtxoDataFetcherArgs, h as GetUtxoDataFetcherDeps, U as UtxoDataFetcherFunction, i as ScannedUtxoData, j as BatchMerkleProofResult, k as ClaimableUtxoData, l as GetClaimableUtxoScannerFunctionArgs, m as GetClaimableUtxoScannerFunctionDeps, n as ClaimableUtxoScannerFunction } from './client-
|
|
4
|
-
export { o as AesDecryptorFunction, p as AesEncryptorFunction, q as ComputationFinalizedResult, r as ComputationFinalizedResultWithSignature, s as ComputationMonitorOptions, t as ComputationMonitorProgressEvent, u as ComputationMonitorResult, v as ComputationMonitorResultWithSignature, w as ComputationPrunedResult, D as DEFAULT_MAX_SLOT_WINDOW, x as DEFAULT_POLLING_INTERVAL_MS, y as DEFAULT_SAFETY_TIMEOUT_MS, z as DEFAULT_SIGNATURE_RETRIEVAL_LIMIT, P as PollingBasedComputationMonitorConfig, E as PollingBasedComputationMonitorDeps, F as PollingComputationMonitorOptions, W as WebsocketBasedComputationMonitorConfig, H as WebsocketBasedComputationMonitorDeps, J as getPollingComputationMonitor, K as getWebsocketComputationMonitor } from './client-
|
|
3
|
+
import { I as IUmbraSigner, A as AccountInfoProviderFunction, G as GetLatestBlockhash, T as TransactionForwarder, a as GetEpochInfo, c as ComputationMonitor, d as IUmbraClient, e as GetMerkleProofFetcherArgs, f as GetMerkleProofFetcherDeps, B as BatchMerkleProofFetcherFunction, M as MerkleProofFetcherFunction, g as GetUtxoDataFetcherArgs, h as GetUtxoDataFetcherDeps, U as UtxoDataFetcherFunction, i as ScannedUtxoData, j as BatchMerkleProofResult, k as ClaimableUtxoData, l as GetClaimableUtxoScannerFunctionArgs, m as GetClaimableUtxoScannerFunctionDeps, n as ClaimableUtxoScannerFunction } from './client-V4AF6Bz9.js';
|
|
4
|
+
export { o as AesDecryptorFunction, p as AesEncryptorFunction, q as ComputationFinalizedResult, r as ComputationFinalizedResultWithSignature, s as ComputationMonitorOptions, t as ComputationMonitorProgressEvent, u as ComputationMonitorResult, v as ComputationMonitorResultWithSignature, w as ComputationPrunedResult, D as DEFAULT_MAX_SLOT_WINDOW, x as DEFAULT_POLLING_INTERVAL_MS, y as DEFAULT_SAFETY_TIMEOUT_MS, z as DEFAULT_SIGNATURE_RETRIEVAL_LIMIT, P as PollingBasedComputationMonitorConfig, E as PollingBasedComputationMonitorDeps, F as PollingComputationMonitorOptions, W as WebsocketBasedComputationMonitorConfig, H as WebsocketBasedComputationMonitorDeps, J as getPollingComputationMonitor, K as getWebsocketComputationMonitor } from './client-V4AF6Bz9.js';
|
|
5
5
|
export { bn254Add, bn254FieldElementSampler, bn254ModuloPow, bn254Mul, bn254Sub, computeBn254LimbwiseSumInverse, computeBn254ModularInverse, curve25519FieldElementSampler, curve25519ModuloAdd, curve25519ModuloInv, curve25519ModuloMul, curve25519ModuloPow, curve25519ModuloSub, getBn254FieldElementSampler, getBn254ModularAdder, getBn254ModularInverter, getBn254ModularMultiplier, getBn254ModularNegator, getBn254ModularSubtractor, getCurve25519FieldElementSampler, getCurve25519ModularAddFunction, getCurve25519ModularInvFunction, getCurve25519ModularMulFunction, getCurve25519ModularPowFunction, getCurve25519ModularSubFunction } from './math/index.js';
|
|
6
|
-
import { C as Curve25519KeypairGeneratorFunction, M as MintX25519KeypairDeriverFunction, a as MasterViewingKeyDeriverFunction, b as MasterViewingKeyBlindingFactorDeriverFunction, P as PoseidonPrivateKeyDeriverFunction, c as PoseidonBlindingFactorDeriverFunction, R as RescueCommitmentBlindingFactorDeriverFunction, d as PolynomialCommitmentFactorDeriverFunction, e as RcKeyGeneratorFunction, f as RcEncryptorWithNonceFunction, U as UserCommitmentGeneratorFunction, F as FiatShamirChallengeGeneratorFunction, g as ChallengePowersFunction, h as PolynomialEvaluatorFunction, i as PoseidonAggregatorHashFunction } from './interfaces-
|
|
7
|
-
export { j as ChallengePowersDeps, D as DailyViewingKeyGeneratorFunction, E as EphemeralMasterSeedDeriverFunction, k as EphemeralRescueCommitmentBlindingFactorDeriverFunction, l as EphemeralUtxoH2RandomSecretDeriverFunction, m as EphemeralUtxoMasterViewingKeyBlindingFactorDeriverFunction, n as EphemeralUtxoMasterViewingKeyDeriverFunction, o as EphemeralUtxoNullifierDeriverFunction, p as EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverFunction, q as EphemeralUtxoPoseidonPrivateKeyDeriverFunction, r as FieldArithmetic, H as H2CircuitProvableHashFunction, s as H2CircuitProvableParams, t as H2FullParams, u as H2GeneratorFns, v as H2HashFunction, w as HourlyViewingKeyGeneratorFunction, K as KeystreamCommitmentFunction, x as MasterSeedBasedFieldElementDeriverFunction, y as MasterSeedGeneratorFunction, z as MintViewingKeyDeriverFunction, A as MinuteViewingKeyGeneratorFunction, B as ModuloPowCurve25519Function, G as MonthlyViewingKeyGeneratorFunction, I as PolynomialEvaluatorDeps, J as PoseidonDecryptorFunction, L as PoseidonEncryptorFunction, N as PoseidonHashFunction, O as PoseidonKeystreamBlindingFactorDeriverFunction, Q as PoseidonKeystreamGeneratorFunction, S as PoseidonPrfFunction, T as PseudorandomU512DeriverFunction, V as RcDecryptorFunction, W as RcEncryptorFunction, X as RescueCipherDeps, Y as RescueCipherInstance, Z as RescueKeyDerivationFunction, _ as RescuePermuteFunction, $ as RescuePrimeHashDeps, a0 as RescuePrimeHashFunction, a1 as SecondViewingKeyGeneratorFunction, a2 as UserCommitmentGeneratorDeps, a3 as ViewingKeyGeneratorOptions, a4 as YearlyViewingKeyGeneratorFunction } from './interfaces-
|
|
8
|
-
export { C as Curve25519KeypairResult, D as DailyViewingKey, E as Ed25519Keypair, G as GenerationSeed, H as HourlyViewingKey, K as Keccak256Hash, a as Keccak512Hash, M as MASTER_VIEWING_KEY_MAX, b as MasterSeed, c as MasterViewingKey, d as MintViewingKey, e as MinuteViewingKey, f as MonthlyViewingKey, S as SecondViewingKey, g as SharedSecret, X as X25519Bytes, h as X25519Keypair, i as X25519PrivateKey, j as X25519PublicKey, k as X25519_BYTE_LENGTH, Y as YearlyViewingKey, l as assertCurve25519KeypairResult, m as assertDailyViewingKey, n as assertEd25519Keypair, o as assertGenerationSeed, p as assertHourlyViewingKey, q as assertKeccak256Hash, r as assertKeccak512Hash, s as assertMasterSeed, t as assertMasterViewingKey, u as assertMintViewingKey, v as assertMinuteViewingKey, w as assertMonthlyViewingKey, x as assertSecondViewingKey, y as assertSharedSecret, z as assertX25519Bytes, A as assertX25519Keypair, B as assertX25519PrivateKey, F as assertX25519PublicKey, I as assertYearlyViewingKey } from './types-
|
|
9
|
-
export { B as BASE85_LIMB_MAX, a as Base85Limb, b as Base85LimbTuple, P as PoseidonCiphertext, c as PoseidonCounter, d as PoseidonHash, e as PoseidonKey, f as PoseidonKeystream, g as PoseidonPlaintext, h as assertBase85Limb, i as assertPoseidonCiphertext, j as assertPoseidonCounter, k as assertPoseidonHash, l as assertPoseidonKey, m as assertPoseidonKeystream, n as assertPoseidonPlaintext } from './types-
|
|
10
|
-
export { O as OnTransactionConfirmed, P as PollingBasedTransactionForwarderConfig, a as PollingBasedTransactionForwarderDeps, b as PollingTransactionForwardOptions, R as RpcBasedAccountInfoProviderConfig, c as RpcBasedBlockhashProviderConfig, d as RpcBasedBlockhashProviderDeps, e as RpcBasedEpochInfoProviderConfig, f as RpcBasedEpochInfoProviderDeps, T as TransactionConfirmedInfo, g as TransactionForwardOptions, W as WebsocketBasedTransactionForwarderConfig, h as WebsocketBasedTransactionForwarderDeps, i as createInMemorySigner, j as createSignerFromKeyPair, k as createSignerFromPrivateKeyBytes, l as createSignerFromWalletAccount, m as getPollingTransactionForwarder, n as getRpcAccountInfoProvider, o as getRpcBlockhashProvider, p as getRpcEpochInfoProvider, q as getWebsocketTransactionForwarder } from './transaction-forwarder-
|
|
11
|
-
import { f as LoadResult, g as StoreResult, b as MasterSeedGeneratorFunction, M as MasterSeedLoaderFunction, a as MasterSeedStorerFunction, T as TransactionSignature } from './types-
|
|
6
|
+
import { C as Curve25519KeypairGeneratorFunction, M as MintX25519KeypairDeriverFunction, a as MasterViewingKeyDeriverFunction, b as MasterViewingKeyBlindingFactorDeriverFunction, P as PoseidonPrivateKeyDeriverFunction, c as PoseidonBlindingFactorDeriverFunction, R as RescueCommitmentBlindingFactorDeriverFunction, d as PolynomialCommitmentFactorDeriverFunction, e as RcKeyGeneratorFunction, f as RcEncryptorWithNonceFunction, U as UserCommitmentGeneratorFunction, F as FiatShamirChallengeGeneratorFunction, g as ChallengePowersFunction, h as PolynomialEvaluatorFunction, i as PoseidonAggregatorHashFunction } from './interfaces-z_xYJlgV.js';
|
|
7
|
+
export { j as ChallengePowersDeps, D as DailyViewingKeyGeneratorFunction, E as EphemeralMasterSeedDeriverFunction, k as EphemeralRescueCommitmentBlindingFactorDeriverFunction, l as EphemeralUtxoH2RandomSecretDeriverFunction, m as EphemeralUtxoMasterViewingKeyBlindingFactorDeriverFunction, n as EphemeralUtxoMasterViewingKeyDeriverFunction, o as EphemeralUtxoNullifierDeriverFunction, p as EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverFunction, q as EphemeralUtxoPoseidonPrivateKeyDeriverFunction, r as FieldArithmetic, H as H2CircuitProvableHashFunction, s as H2CircuitProvableParams, t as H2FullParams, u as H2GeneratorFns, v as H2HashFunction, w as HourlyViewingKeyGeneratorFunction, K as KeystreamCommitmentFunction, x as MasterSeedBasedFieldElementDeriverFunction, y as MasterSeedGeneratorFunction, z as MintViewingKeyDeriverFunction, A as MinuteViewingKeyGeneratorFunction, B as ModuloPowCurve25519Function, G as MonthlyViewingKeyGeneratorFunction, I as PolynomialEvaluatorDeps, J as PoseidonDecryptorFunction, L as PoseidonEncryptorFunction, N as PoseidonHashFunction, O as PoseidonKeystreamBlindingFactorDeriverFunction, Q as PoseidonKeystreamGeneratorFunction, S as PoseidonPrfFunction, T as PseudorandomU512DeriverFunction, V as RcDecryptorFunction, W as RcEncryptorFunction, X as RescueCipherDeps, Y as RescueCipherInstance, Z as RescueKeyDerivationFunction, _ as RescuePermuteFunction, $ as RescuePrimeHashDeps, a0 as RescuePrimeHashFunction, a1 as SecondViewingKeyGeneratorFunction, a2 as UserCommitmentGeneratorDeps, a3 as ViewingKeyGeneratorOptions, a4 as YearlyViewingKeyGeneratorFunction } from './interfaces-z_xYJlgV.js';
|
|
8
|
+
export { C as Curve25519KeypairResult, D as DailyViewingKey, E as Ed25519Keypair, G as GenerationSeed, H as HourlyViewingKey, K as Keccak256Hash, a as Keccak512Hash, M as MASTER_VIEWING_KEY_MAX, b as MasterSeed, c as MasterViewingKey, d as MintViewingKey, e as MinuteViewingKey, f as MonthlyViewingKey, S as SecondViewingKey, g as SharedSecret, X as X25519Bytes, h as X25519Keypair, i as X25519PrivateKey, j as X25519PublicKey, k as X25519_BYTE_LENGTH, Y as YearlyViewingKey, l as assertCurve25519KeypairResult, m as assertDailyViewingKey, n as assertEd25519Keypair, o as assertGenerationSeed, p as assertHourlyViewingKey, q as assertKeccak256Hash, r as assertKeccak512Hash, s as assertMasterSeed, t as assertMasterViewingKey, u as assertMintViewingKey, v as assertMinuteViewingKey, w as assertMonthlyViewingKey, x as assertSecondViewingKey, y as assertSharedSecret, z as assertX25519Bytes, A as assertX25519Keypair, B as assertX25519PrivateKey, F as assertX25519PublicKey, I as assertYearlyViewingKey } from './types-DKEDUlH9.js';
|
|
9
|
+
export { B as BASE85_LIMB_MAX, a as Base85Limb, b as Base85LimbTuple, P as PoseidonCiphertext, c as PoseidonCounter, d as PoseidonHash, e as PoseidonKey, f as PoseidonKeystream, g as PoseidonPlaintext, h as assertBase85Limb, i as assertPoseidonCiphertext, j as assertPoseidonCounter, k as assertPoseidonHash, l as assertPoseidonKey, m as assertPoseidonKeystream, n as assertPoseidonPlaintext } from './types-Ca7frykr.js';
|
|
10
|
+
export { O as OnTransactionConfirmed, P as PollingBasedTransactionForwarderConfig, a as PollingBasedTransactionForwarderDeps, b as PollingTransactionForwardOptions, R as RpcBasedAccountInfoProviderConfig, c as RpcBasedBlockhashProviderConfig, d as RpcBasedBlockhashProviderDeps, e as RpcBasedEpochInfoProviderConfig, f as RpcBasedEpochInfoProviderDeps, T as TransactionConfirmedInfo, g as TransactionForwardOptions, W as WebsocketBasedTransactionForwarderConfig, h as WebsocketBasedTransactionForwarderDeps, i as createInMemorySigner, j as createSignerFromKeyPair, k as createSignerFromPrivateKeyBytes, l as createSignerFromWalletAccount, m as getPollingTransactionForwarder, n as getRpcAccountInfoProvider, o as getRpcBlockhashProvider, p as getRpcEpochInfoProvider, q as getWebsocketTransactionForwarder } from './transaction-forwarder-5mAMTjw6.js';
|
|
11
|
+
import { f as LoadResult, g as StoreResult, b as MasterSeedGeneratorFunction, M as MasterSeedLoaderFunction, a as MasterSeedStorerFunction, T as TransactionSignature } from './types-CxfTIpN9.js';
|
|
12
12
|
export { C as ClaimUtxoError, a as ClaimUtxoStage, b as ComputationMonitorError, c as ComputationMonitorStage, d as ConversionError, e as ConversionStage, f as CreateUtxoError, g as CreateUtxoStage, E as EncryptedDepositError, h as EncryptedDepositStage, i as EncryptedWithdrawalError, j as EncryptedWithdrawalStage, F as FetchUtxosError, k as FetchUtxosStage, Q as QueryError, l as QueryStage, R as RegistrationError, m as RegistrationStage, n as isClaimUtxoError, o as isComputationMonitorError, p as isConversionError, q as isCreateUtxoError, r as isEncryptedDepositError, s as isEncryptedWithdrawalError, t as isFetchUtxosError, u as isQueryError, v as isRegistrationError } from './errors-DPNMfyh0.js';
|
|
13
|
-
import { G as GetUmbraRelayerArgs, a as GetUmbraRelayerDeps, I as IUmbraRelayer, C as ClaimStatusResponse, b as ClaimStatus, c as ClaimBatchResult, d as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, e as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, f as ClaimUtxoIntoEncryptedBalanceResult, g as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, h as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, i as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionArgs, j as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionDeps, k as ClaimUtxoIntoPublicBalanceResult, l as GetCreateUserGrantedComplianceGrantFunctionArgs, m as GetCreateUserGrantedComplianceGrantFunctionDeps, n as CreateUserGrantedComplianceGrantFunction, o as GetDeleteUserGrantedComplianceGrantFunctionArgs, p as GetDeleteUserGrantedComplianceGrantFunctionDeps, D as DeleteUserGrantedComplianceGrantFunction, q as GetReencryptSharedCiphertextsUserGrantV10FunctionArgs, r as GetReencryptSharedCiphertextsUserGrantV10FunctionDeps, R as ReencryptSharedCiphertextsUserGrantV10Function, s as GetReencryptMxeCiphertextsNetworkGrantV10FunctionArgs, t as GetReencryptMxeCiphertextsNetworkGrantV10FunctionDeps, u as ReencryptMxeCiphertextsNetworkGrantV10Function, v as GetReencryptSharedCiphertextsNetworkGrantV10FunctionArgs, w as GetReencryptSharedCiphertextsNetworkGrantV10FunctionDeps, x as ReencryptSharedCiphertextsNetworkGrantV10Function, y as GetQueryNetworkMxeComplianceGrantFunctionArgs, z as GetQueryNetworkMxeComplianceGrantFunctionDeps, Q as QueryNetworkMxeComplianceGrantFunction, A as GetQueryNetworkSharedComplianceGrantFunctionArgs, B as GetQueryNetworkSharedComplianceGrantFunctionDeps, E as QueryNetworkSharedComplianceGrantFunction, F as GetQueryUserComplianceGrantFunctionArgs, H as GetQueryUserComplianceGrantFunctionDeps, J as QueryUserComplianceGrantFunction, K as GetConvertToSharedEncryptionFunctionArgs, L as GetConvertToSharedEncryptionFunctionDeps, M as ConvertToSharedEncryptionFunction, N as GetRotateMintX25519EncryptionKeyFunctionArgs, O as GetRotateMintX25519EncryptionKeyFunctionDeps, P as RotateMintX25519EncryptionKeyFunction, S as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionArgs, T as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionDeps, U as PublicBalanceToEncryptedBalanceDirectDepositorFunction, V as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionArgs, W as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionDeps, X as EncryptedBalanceToSelfClaimableUtxoCreatorFunction, Y as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionArgs, Z as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionDeps, _ as EncryptedBalanceToReceiverClaimableUtxoCreatorFunction, $ as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionArgs, a0 as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionDeps, a1 as PublicBalanceToSelfClaimableUtxoCreatorFunction, a2 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionArgs, a3 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionDeps, a4 as PublicBalanceToReceiverClaimableUtxoCreatorFunction, a5 as GetQueryEncryptedBalanceFunctionArgs, a6 as GetQueryEncryptedBalanceFunctionDeps, a7 as QueryEncryptedBalanceFunction, a8 as GetQueryUserAccountFunctionArgs, a9 as GetQueryUserAccountFunctionDeps, aa as QueryUserAccountFunction, ab as GetClaimStagedSolFromPoolFunctionArgs, ac as GetClaimStagedSolFromPoolFunctionDeps, ad as ClaimStagedSolFromPoolFunction, ae as GetClaimStagedSplFromPoolFunctionArgs, af as GetClaimStagedSplFromPoolFunctionDeps, ag as ClaimStagedSplFromPoolFunction, ah as IZkProverForUserRegistration, ai as UserRegistrationFunction, aj as GetUpdateRandomGenerationSeedFunctionArgs, ak as GetUpdateRandomGenerationSeedFunctionDeps, al as UpdateRandomGenerationSeedFunction, am as GetUpdateTokenAccountRandomGenerationSeedFunctionArgs, an as GetUpdateTokenAccountRandomGenerationSeedFunctionDeps, ao as UpdateTokenAccountRandomGenerationSeedFunction, ap as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionArgs, aq as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionDeps, ar as EncryptedBalanceToPublicBalanceDirectWithdrawerFunction } from './index-
|
|
14
|
-
export { as as AwaitCallbackOptions, at as AwaitComputationFinalizationConfig, au as CreateUtxoFromEncryptedBalanceResult, av as CreateUtxoFromPublicBalanceResult, aw as DepositResult, ax as ExecuteTransactionOptions, ay as TransactionExecutionResult, az as TransactionExecutionResultWithCallback, aA as TransactionExecutorConfig, aB as WithdrawResult, aC as buildTransactionMessage, aD as executeComputationTransaction, aE as extractSignatures, aF as forwardAndMonitor, aG as signTransactionMessage } from './index-
|
|
13
|
+
import { G as GetUmbraRelayerArgs, a as GetUmbraRelayerDeps, I as IUmbraRelayer, C as ClaimStatusResponse, b as ClaimStatus, c as ClaimBatchResult, d as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, e as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, f as ClaimUtxoIntoEncryptedBalanceResult, g as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, h as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, i as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionArgs, j as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionDeps, k as ClaimUtxoIntoPublicBalanceResult, l as GetCreateUserGrantedComplianceGrantFunctionArgs, m as GetCreateUserGrantedComplianceGrantFunctionDeps, n as CreateUserGrantedComplianceGrantFunction, o as GetDeleteUserGrantedComplianceGrantFunctionArgs, p as GetDeleteUserGrantedComplianceGrantFunctionDeps, D as DeleteUserGrantedComplianceGrantFunction, q as GetReencryptSharedCiphertextsUserGrantV10FunctionArgs, r as GetReencryptSharedCiphertextsUserGrantV10FunctionDeps, R as ReencryptSharedCiphertextsUserGrantV10Function, s as GetReencryptMxeCiphertextsNetworkGrantV10FunctionArgs, t as GetReencryptMxeCiphertextsNetworkGrantV10FunctionDeps, u as ReencryptMxeCiphertextsNetworkGrantV10Function, v as GetReencryptSharedCiphertextsNetworkGrantV10FunctionArgs, w as GetReencryptSharedCiphertextsNetworkGrantV10FunctionDeps, x as ReencryptSharedCiphertextsNetworkGrantV10Function, y as GetQueryNetworkMxeComplianceGrantFunctionArgs, z as GetQueryNetworkMxeComplianceGrantFunctionDeps, Q as QueryNetworkMxeComplianceGrantFunction, A as GetQueryNetworkSharedComplianceGrantFunctionArgs, B as GetQueryNetworkSharedComplianceGrantFunctionDeps, E as QueryNetworkSharedComplianceGrantFunction, F as GetQueryUserComplianceGrantFunctionArgs, H as GetQueryUserComplianceGrantFunctionDeps, J as QueryUserComplianceGrantFunction, K as GetConvertToSharedEncryptionFunctionArgs, L as GetConvertToSharedEncryptionFunctionDeps, M as ConvertToSharedEncryptionFunction, N as GetRotateMintX25519EncryptionKeyFunctionArgs, O as GetRotateMintX25519EncryptionKeyFunctionDeps, P as RotateMintX25519EncryptionKeyFunction, S as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionArgs, T as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionDeps, U as PublicBalanceToEncryptedBalanceDirectDepositorFunction, V as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionArgs, W as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionDeps, X as EncryptedBalanceToSelfClaimableUtxoCreatorFunction, Y as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionArgs, Z as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionDeps, _ as EncryptedBalanceToReceiverClaimableUtxoCreatorFunction, $ as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionArgs, a0 as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionDeps, a1 as PublicBalanceToSelfClaimableUtxoCreatorFunction, a2 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionArgs, a3 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionDeps, a4 as PublicBalanceToReceiverClaimableUtxoCreatorFunction, a5 as GetQueryEncryptedBalanceFunctionArgs, a6 as GetQueryEncryptedBalanceFunctionDeps, a7 as QueryEncryptedBalanceFunction, a8 as GetQueryUserAccountFunctionArgs, a9 as GetQueryUserAccountFunctionDeps, aa as QueryUserAccountFunction, ab as GetClaimStagedSolFromPoolFunctionArgs, ac as GetClaimStagedSolFromPoolFunctionDeps, ad as ClaimStagedSolFromPoolFunction, ae as GetClaimStagedSplFromPoolFunctionArgs, af as GetClaimStagedSplFromPoolFunctionDeps, ag as ClaimStagedSplFromPoolFunction, ah as IZkProverForUserRegistration, ai as UserRegistrationFunction, aj as GetUpdateRandomGenerationSeedFunctionArgs, ak as GetUpdateRandomGenerationSeedFunctionDeps, al as UpdateRandomGenerationSeedFunction, am as GetUpdateTokenAccountRandomGenerationSeedFunctionArgs, an as GetUpdateTokenAccountRandomGenerationSeedFunctionDeps, ao as UpdateTokenAccountRandomGenerationSeedFunction, ap as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionArgs, aq as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionDeps, ar as EncryptedBalanceToPublicBalanceDirectWithdrawerFunction } from './index-ByynoyBO.js';
|
|
14
|
+
export { as as AwaitCallbackOptions, at as AwaitComputationFinalizationConfig, au as CreateUtxoFromEncryptedBalanceResult, av as CreateUtxoFromPublicBalanceResult, aw as DepositResult, ax as ExecuteTransactionOptions, ay as TransactionExecutionResult, az as TransactionExecutionResultWithCallback, aA as TransactionExecutorConfig, aB as WithdrawResult, aC as buildTransactionMessage, aD as executeComputationTransaction, aE as extractSignatures, aF as forwardAndMonitor, aG as signTransactionMessage } from './index-ByynoyBO.js';
|
|
15
15
|
export { EncryptedUserAccount, QueryComplianceGrantResult, QueryUserAccountResult } from './types/index.js';
|
|
16
|
-
import { h as U512 } from './types-
|
|
16
|
+
import { h as U512 } from './types-C_V_CaKK.js';
|
|
17
17
|
import { N as Network, f as ProtocolVersionSpecifierFunction, a as AlgorithmVersionSpecifierFunction, g as SchemeVersionSpecifierFunction } from './versions-BRlR36EA.js';
|
|
18
|
-
import { O as OptionalData32, c as X25519PrivateKey, s as Base85LimbTuple, B as Bn254FieldElement } from './cryptography-
|
|
19
|
-
import { M as ModuloInvFunction } from './interfaces-
|
|
18
|
+
import { O as OptionalData32, c as X25519PrivateKey, s as Base85LimbTuple, B as Bn254FieldElement } from './cryptography-BFSJcvi6.js';
|
|
19
|
+
import { M as ModuloInvFunction } from './interfaces-B8xKNl_6.js';
|
|
20
20
|
import '@noble/hashes/sha3-addons.js';
|
|
21
21
|
import '@solana/kit';
|
|
22
|
-
import './addresses-
|
|
23
|
-
import './types-
|
|
24
|
-
import './networks-
|
|
25
|
-
import './types-
|
|
22
|
+
import './addresses-B7HybtbJ.js';
|
|
23
|
+
import './types-D1jDUjfN.js';
|
|
24
|
+
import './networks-RMd3abPE.js';
|
|
25
|
+
import './types-CW0oTT0j.js';
|
|
26
26
|
import '@wallet-standard/core';
|
|
27
27
|
import './errors-B9EoPeWV.js';
|
|
28
28
|
import './arcium-BXXlryfe.js';
|
|
29
|
-
import './temporal-
|
|
29
|
+
import './temporal-BbRaEPoO.js';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Default Storage Implementations
|
package/dist/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { computeBn254LimbwiseSumInverse, computeBn254ModularInverse } from './chunk-ZPSWMSXL.js';
|
|
2
|
-
export { bn254Add, bn254ModuloPow, bn254Mul, bn254Sub, computeBn254LimbwiseSumInverse, computeBn254ModularInverse } from './chunk-ZPSWMSXL.js';
|
|
3
1
|
export { RelayerError, getUmbraRelayer, pollClaimUntilTerminal } from './chunk-4RHXVBNI.js';
|
|
4
|
-
import { getNetworkConfig, getNetworkSpecifier, getDefaultSchemeVersion, getDefaultAlgorithmVersion, getDefaultProtocolVersion, createSetComputeUnitLimitInstruction, TOKEN_2022_PROGRAM_ID, SPL_TOKEN_PROGRAM_ID } from './chunk-
|
|
2
|
+
import { getNetworkConfig, getNetworkSpecifier, getDefaultSchemeVersion, getDefaultAlgorithmVersion, getDefaultProtocolVersion, createSetComputeUnitLimitInstruction, TOKEN_2022_PROGRAM_ID, SPL_TOKEN_PROGRAM_ID } from './chunk-FQDYYTPG.js';
|
|
3
|
+
import { getPoseidonAggregator, getPoseidonHasher, getAesDecryptor, getUserAccountX25519KeypairDeriver, deriveNullifierFromModifiedGenerationIndex, deriveRandomSecretFromModifiedGenerationIndex, deriveKeystreamBlindingFactor, getRescueEncryptorFromPrivateKey, getRescueKeyGeneratorFromPrivateKey, getRescueCommitmentGenerator, getModuloPowCurve25519Function, getPolynomialEvaluatorFunction, getMasterViewingKeyDeriver, getMasterViewingKeyBlindingFactorDeriver, getPoseidonPrivateKeyDeriver, getPoseidonBlindingFactorDeriver, getSecondViewingKeyDeriver, getPoseidonEncryptor, getPoseidonKeystreamGenerator, getUserCommitmentGeneratorFunction, getKeystreamCommitmentGenerator, getFiatShamirChallengeGeneratorFunction, expandModifiedGenerationIndex, getEphemeralUtxoMasterViewingKeyDeriver, getEphemeralUtxoMasterViewingKeyBlindingFactorDeriver, getEphemeralUtxoPoseidonPrivateKeyDeriver, getEphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriver, getMasterViewingKeyX25519KeypairDeriver, getMintX25519KeypairDeriver, getPoseidonKeystreamBlindingFactorDeriver, getUtxoCommitmentHashGenerator, getChallengePowersFunction, getAesEncryptor, deriveProofAccountOffsetFromModifiedGenerationIndex, deriveRandomFactorForPolynomialCommitmentFromModifiedGenerationIndex, deriveRescueEncryptionCommitmentBlindingFactorFromModifiedGenerationIndex, getRescueCommitmentBlindingFactorDeriver, getPolynomialCommitmentFactorDeriver, getRescueEncryptorWithNonceFromPrivateKey, getRescueDecryptorFromPrivateKey } from './chunk-KMRROOME.js';
|
|
4
|
+
export { AES_AUTH_TAG_LENGTH, AES_IV_LENGTH, AES_KEY_LENGTH, AES_METADATA_OVERHEAD, ALPHA, ALPHA_INVERSE, BASE85_LIMB_MAX, BLOCK_SIZE, CIPHER_ROUND_COUNT, FIELD_ELEMENT_BYTE_LENGTH, FIELD_PRIME, GROTH16_G1_BYTE_LENGTH, GROTH16_G2_BYTE_LENGTH, HASH_CAPACITY, HASH_DIGEST_LENGTH, HASH_RATE, HASH_ROUND_COUNT, HASH_STATE_SIZE, MASTER_VIEWING_KEY_MAX, MAX_AGGREGATOR_INPUTS, MAX_POSEIDON_INPUTS, MAX_PRF_SEEDS, NONCE_BYTES, OPTIONAL_DATA_BYTE_LENGTH, PRECOMPUTED_FIELD_INVERSES, REDUCTION_CONST, SAMPLE_BUFFER_BYTE_LENGTH, SECRET_BYTES, SHAKE256_CIPHER_SEED, X25519_BYTE_LENGTH, ZK_PROOF_BYTE_LENGTH, assertAesCiphertextWithMetadata, assertAesKey, assertAesPlaintext, assertBase85Limb, assertCurve25519KeypairResult, assertDailyViewingKey, assertEd25519Keypair, assertGenerationSeed, assertGroth16ProofA, assertGroth16ProofB, assertGroth16ProofC, assertHourlyViewingKey, assertKeccak256Hash, assertKeccak512Hash, assertMasterSeed, assertMasterViewingKey, assertMintViewingKey, assertMinuteViewingKey, assertMonthlyViewingKey, assertOptionalData32, assertPoseidonCiphertext, assertPoseidonCounter, assertPoseidonHash, assertPoseidonKey, assertPoseidonKeystream, assertPoseidonPlaintext, assertRcCiphertext, assertRcCounter, assertRcEncryptionNonce, assertRcKey, assertRcPlaintext, assertSecondViewingKey, assertSharedSecret, assertX25519Bytes, assertX25519Keypair, assertX25519PrivateKey, assertX25519PublicKey, assertYearlyViewingKey, assertZkProofBytes, buildPersonalizationString, defaultAesDecryptor, defaultAesEncryptor, deriveBn254FieldElementFromKeccak512, deriveEphemeralMasterViewingKey, deriveEphemeralMasterViewingKeyBlindingFactor, deriveEphemeralPoseidonPrivateKey, deriveEphemeralPoseidonPrivateKeyBlindingFactor, deriveKeystreamBlindingFactor, deriveModifiedGenerationIndexForReceiverClaim, deriveModifiedGenerationIndexForSenderClaim, deriveNullifierFromModifiedGenerationIndex, deriveProofAccountOffsetFromModifiedGenerationIndex, deriveRandomFactorForPolynomialCommitmentFromModifiedGenerationIndex, deriveRandomSecretFromModifiedGenerationIndex, deriveRescueEncryptionCommitmentBlindingFactorFromModifiedGenerationIndex, expandModifiedGenerationIndex, getAesDecryptor, getAesEncryptor, getBn254FieldElementFromKeccak512Deriver, getChallengePowersFunction, getDailyViewingKeyDeriver, getEphemeralMasterSeedDeriver, getEphemeralRescueCommitmentBlindingFactorDeriver, getEphemeralUtxoH2RandomSecretDeriver, getEphemeralUtxoMasterViewingKeyBlindingFactorDeriver, getEphemeralUtxoMasterViewingKeyDeriver, getEphemeralUtxoNullifierDeriver, getEphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriver, getEphemeralUtxoPoseidonPrivateKeyDeriver, getFiatShamirChallengeGeneratorFunction, getFieldArithmetic, getHourlyViewingKeyDeriver, getKeystreamCommitmentGenerator, getMasterSeedBasedFieldElementDeriver, getMasterViewingKeyBlindingFactorDeriver, getMasterViewingKeyDeriver, getMasterViewingKeyX25519KeypairDeriver, getMintViewingKeyDeriver, getMintX25519KeypairDeriver, getMinuteViewingKeyDeriver, getModuloPowCurve25519Function, getMonthlyViewingKeyDeriver, getPersonalizationStringBuilder, getPolynomialCommitmentFactorDeriver, getPolynomialEvaluatorFunction, getPoseidonAggregator, getPoseidonBlindingFactorDeriver, getPoseidonDecryptor, getPoseidonEncryptor, getPoseidonHasher, getPoseidonKeystreamBlindingFactorDeriver, getPoseidonKeystreamGenerator, getPoseidonPrf, getPoseidonPrivateKeyDeriver, getPseudorandomU512Deriver, getRescueCipher, getRescueCipherFromKeyPair, getRescueCipherInstance, getRescueCommitmentBlindingFactorDeriver, getRescueCommitmentGenerator, getRescueDecryptorFromPrivateKey, getRescueEncryptorFromPrivateKey, getRescueEncryptorWithNonceFromPrivateKey, getRescueKeyGeneratorFromPrivateKey, getRescuePrimeHashFunction, getSecondViewingKeyDeriver, getUserAccountX25519KeypairDeriver, getUserCommitmentGeneratorFunction, getUtxoCommitmentHashGenerator, getYearlyViewingKeyDeriver } from './chunk-KMRROOME.js';
|
|
5
|
+
import { splitAddressToLowHigh, createBn254FieldElement, createPoseidonKey, splitU256IntoTwoU128s, createRcPlaintext, splitX25519PublicKeyIntoTwoU128s, convertU256ToBase85Limbs, createU256, createCurve25519FieldElement, bigintToBinaryArrayLSB, generateRandomU256, generateRandomU128, createU64, extractClusterOffsetFromMxeAccount, generateRandomU64, extractTransferFeeConfig, calculateTransferFee, generateComputationOffset, extractUtcComponents, getByteAt } from './chunk-UXMQI6B7.js';
|
|
6
|
+
import { findEncryptedUserAccountPda, findArciumInfrastructurePdas, findUserComplianceGrantPda, findNetworkComplianceGrantPda, findSharedComplianceGrantPda, findEncryptedTokenAccountPda, findStealthPoolPda, findUtxoInputBufferPda, findPublicUtxoInputBufferPda } from './chunk-KH3YTDKA.js';
|
|
7
|
+
import './chunk-EEKF4553.js';
|
|
5
8
|
import { ComputationMonitorError, FetchUtxosError, ClaimUtxoError, RpcError, ConversionError, TransactionSigningError, TransactionError, EncryptedDepositError, CreateUtxoError, QueryError, RegistrationError, MasterSeedSigningRejectedError, EncryptedWithdrawalError } from './chunk-GP26R377.js';
|
|
6
9
|
export { ClaimUtxoError, ComputationMonitorError, ConversionError, CreateUtxoError, EncryptedDepositError, EncryptedWithdrawalError, FetchUtxosError, QueryError, RegistrationError, isClaimUtxoError, isComputationMonitorError, isConversionError, isCreateUtxoError, isEncryptedDepositError, isEncryptedWithdrawalError, isFetchUtxosError, isQueryError, isRegistrationError } from './chunk-GP26R377.js';
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
export { AES_AUTH_TAG_LENGTH, AES_IV_LENGTH, AES_KEY_LENGTH, AES_METADATA_OVERHEAD, ALPHA, ALPHA_INVERSE, BASE85_LIMB_MAX, BLOCK_SIZE, CIPHER_ROUND_COUNT, FIELD_ELEMENT_BYTE_LENGTH, FIELD_PRIME, GROTH16_G1_BYTE_LENGTH, GROTH16_G2_BYTE_LENGTH, HASH_CAPACITY, HASH_DIGEST_LENGTH, HASH_RATE, HASH_ROUND_COUNT, HASH_STATE_SIZE, MASTER_VIEWING_KEY_MAX, MAX_AGGREGATOR_INPUTS, MAX_POSEIDON_INPUTS, MAX_PRF_SEEDS, NONCE_BYTES, OPTIONAL_DATA_BYTE_LENGTH, PRECOMPUTED_FIELD_INVERSES, REDUCTION_CONST, SAMPLE_BUFFER_BYTE_LENGTH, SECRET_BYTES, SHAKE256_CIPHER_SEED, X25519_BYTE_LENGTH, ZK_PROOF_BYTE_LENGTH, assertAesCiphertextWithMetadata, assertAesKey, assertAesPlaintext, assertBase85Limb, assertCurve25519KeypairResult, assertDailyViewingKey, assertEd25519Keypair, assertGenerationSeed, assertGroth16ProofA, assertGroth16ProofB, assertGroth16ProofC, assertHourlyViewingKey, assertKeccak256Hash, assertKeccak512Hash, assertMasterSeed, assertMasterViewingKey, assertMintViewingKey, assertMinuteViewingKey, assertMonthlyViewingKey, assertOptionalData32, assertPoseidonCiphertext, assertPoseidonCounter, assertPoseidonHash, assertPoseidonKey, assertPoseidonKeystream, assertPoseidonPlaintext, assertRcCiphertext, assertRcCounter, assertRcEncryptionNonce, assertRcKey, assertRcPlaintext, assertSecondViewingKey, assertSharedSecret, assertX25519Bytes, assertX25519Keypair, assertX25519PrivateKey, assertX25519PublicKey, assertYearlyViewingKey, assertZkProofBytes, buildPersonalizationString, defaultAesDecryptor, defaultAesEncryptor, deriveBn254FieldElementFromKeccak512, deriveEphemeralMasterViewingKey, deriveEphemeralMasterViewingKeyBlindingFactor, deriveEphemeralPoseidonPrivateKey, deriveEphemeralPoseidonPrivateKeyBlindingFactor, deriveKeystreamBlindingFactor, deriveModifiedGenerationIndexForReceiverClaim, deriveModifiedGenerationIndexForSenderClaim, deriveNullifierFromModifiedGenerationIndex, deriveProofAccountOffsetFromModifiedGenerationIndex, deriveRandomFactorForPolynomialCommitmentFromModifiedGenerationIndex, deriveRandomSecretFromModifiedGenerationIndex, deriveRescueEncryptionCommitmentBlindingFactorFromModifiedGenerationIndex, expandModifiedGenerationIndex, getAesDecryptor, getAesEncryptor, getBn254FieldElementFromKeccak512Deriver, getChallengePowersFunction, getDailyViewingKeyDeriver, getEphemeralMasterSeedDeriver, getEphemeralRescueCommitmentBlindingFactorDeriver, getEphemeralUtxoH2RandomSecretDeriver, getEphemeralUtxoMasterViewingKeyBlindingFactorDeriver, getEphemeralUtxoMasterViewingKeyDeriver, getEphemeralUtxoNullifierDeriver, getEphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriver, getEphemeralUtxoPoseidonPrivateKeyDeriver, getFiatShamirChallengeGeneratorFunction, getFieldArithmetic, getHourlyViewingKeyDeriver, getKeystreamCommitmentGenerator, getMasterSeedBasedFieldElementDeriver, getMasterViewingKeyBlindingFactorDeriver, getMasterViewingKeyDeriver, getMasterViewingKeyX25519KeypairDeriver, getMintViewingKeyDeriver, getMintX25519KeypairDeriver, getMinuteViewingKeyDeriver, getModuloPowCurve25519Function, getMonthlyViewingKeyDeriver, getPersonalizationStringBuilder, getPolynomialCommitmentFactorDeriver, getPolynomialEvaluatorFunction, getPoseidonAggregator, getPoseidonBlindingFactorDeriver, getPoseidonDecryptor, getPoseidonEncryptor, getPoseidonHasher, getPoseidonKeystreamBlindingFactorDeriver, getPoseidonKeystreamGenerator, getPoseidonPrf, getPoseidonPrivateKeyDeriver, getPseudorandomU512Deriver, getRescueCipher, getRescueCipherFromKeyPair, getRescueCipherInstance, getRescueCommitmentBlindingFactorDeriver, getRescueCommitmentGenerator, getRescueDecryptorFromPrivateKey, getRescueEncryptorFromPrivateKey, getRescueEncryptorWithNonceFromPrivateKey, getRescueKeyGeneratorFromPrivateKey, getRescuePrimeHashFunction, getSecondViewingKeyDeriver, getUserAccountX25519KeypairDeriver, getUserCommitmentGeneratorFunction, getUtxoCommitmentHashGenerator, getYearlyViewingKeyDeriver } from './chunk-RVUYPKKD.js';
|
|
10
|
+
import { computeBn254LimbwiseSumInverse, computeBn254ModularInverse } from './chunk-OFDWNWCL.js';
|
|
11
|
+
export { bn254Add, bn254ModuloPow, bn254Mul, bn254Sub, computeBn254LimbwiseSumInverse, computeBn254ModularInverse } from './chunk-OFDWNWCL.js';
|
|
10
12
|
import { bn254FieldElementSampler, getBn254ModularInverter, computeBn254LimbwiseSumInverse as computeBn254LimbwiseSumInverse$1 } from './chunk-WN75ORDT.js';
|
|
11
13
|
export { bn254FieldElementSampler, curve25519FieldElementSampler, curve25519ModuloAdd, curve25519ModuloInv, curve25519ModuloMul, curve25519ModuloPow, curve25519ModuloSub, getBn254FieldElementSampler, getBn254ModularAdder, getBn254ModularInverter, getBn254ModularMultiplier, getBn254ModularNegator, getBn254ModularSubtractor, getCurve25519FieldElementSampler, getCurve25519ModularAddFunction, getCurve25519ModularInvFunction, getCurve25519ModularMulFunction, getCurve25519ModularPowFunction, getCurve25519ModularSubFunction } from './chunk-WN75ORDT.js';
|
|
12
|
-
import { getRpcAccountInfoProvider, getRpcBlockhashProvider, getWebsocketTransactionForwarder, getRpcEpochInfoProvider, lookupAltEntry, buildAltAddressesRecord } from './chunk-HA5FLM63.js';
|
|
13
|
-
export { createInMemorySigner, createSignerFromKeyPair, createSignerFromPrivateKeyBytes, createSignerFromWalletAccount, getPollingTransactionForwarder, getRpcAccountInfoProvider, getRpcBlockhashProvider, getRpcEpochInfoProvider, getWebsocketTransactionForwarder } from './chunk-HA5FLM63.js';
|
|
14
|
-
import { splitAddressToLowHigh, createBn254FieldElement, createPoseidonKey, splitU256IntoTwoU128s, createRcPlaintext, splitX25519PublicKeyIntoTwoU128s, convertU256ToBase85Limbs, createU256, createCurve25519FieldElement, bigintToBinaryArrayLSB, generateRandomU256, generateRandomU128, createU64, extractClusterOffsetFromMxeAccount, generateRandomU64, extractTransferFeeConfig, calculateTransferFee, generateComputationOffset, extractUtcComponents, getByteAt } from './chunk-UXMQI6B7.js';
|
|
15
14
|
import './chunk-UOFYS6M3.js';
|
|
16
|
-
import { findEncryptedUserAccountPda, findArciumInfrastructurePdas, findUserComplianceGrantPda, findNetworkComplianceGrantPda, findSharedComplianceGrantPda, findEncryptedTokenAccountPda, findStealthPoolPda, findUtxoInputBufferPda, findPublicUtxoInputBufferPda } from './chunk-D5MWU3TV.js';
|
|
17
15
|
import { decodeU128LeBytesToU128, decodeU64LeBytesToU64, encodeU256ToU256BeBytes, decodeU256BeBytesToU256, encodeU128ToU128LeBytes, encodeU256ToU256LeBytes, decodeU256LeBytesToU256, encodeU64ToU64LeBytes } from './chunk-FQX6ZYGJ.js';
|
|
18
|
-
import './chunk-
|
|
16
|
+
import { CryptographyError } from './chunk-5KPQXPQM.js';
|
|
19
17
|
import './chunk-4TZVXB5G.js';
|
|
18
|
+
import { getRpcAccountInfoProvider, getRpcBlockhashProvider, getWebsocketTransactionForwarder, getRpcEpochInfoProvider, lookupAltEntry, buildAltAddressesRecord } from './chunk-HA5FLM63.js';
|
|
19
|
+
export { createInMemorySigner, createSignerFromKeyPair, createSignerFromPrivateKeyBytes, createSignerFromWalletAccount, getPollingTransactionForwarder, getRpcAccountInfoProvider, getRpcBlockhashProvider, getRpcEpochInfoProvider, getWebsocketTransactionForwarder } from './chunk-HA5FLM63.js';
|
|
20
20
|
import { base64ToUint8Array, sleep } from './chunk-TLR7A64G.js';
|
|
21
21
|
import { assertTransactionSignature, assertYear, assertMonth, assertDay, assertHour, assertMinute, assertSecond } from './chunk-DD2WCK4C.js';
|
|
22
22
|
import { assertMasterSeed, assertU256LeBytes, assertU128LeBytes, assertAesKey, assertX25519PrivateKey, assertU128, assertU256, MathematicsAssertionError, assertU64, assertBn254FieldElement, assertCurve25519FieldElement, assertRcEncryptionNonce, assertU512BeBytes, assertGroth16ProofA, assertGroth16ProofB, assertGroth16ProofC, assertOptionalData32, assertBase85Limb, assertPoseidonPlaintext, assertPoseidonKey, assertRcPlaintext, assertRcCiphertext, assertRcKey, assertAesPlaintext, assertX25519PublicKey, CURVE25519_FIELD_PRIME } from './chunk-CFTW5WNG.js';
|
|
@@ -5138,7 +5138,7 @@ function getComplianceGrantIssuerFunction(args, deps) {
|
|
|
5138
5138
|
granterX25519: { first: granterX25519 },
|
|
5139
5139
|
receiverX25519: { first: receiverX25519 },
|
|
5140
5140
|
optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES }
|
|
5141
|
-
});
|
|
5141
|
+
}, { programAddress: client.networkConfig.programId });
|
|
5142
5142
|
const latestBlockhash = await getLatestBlockhash();
|
|
5143
5143
|
const computeBudgetInstruction = createSetComputeUnitLimitInstruction(12e5);
|
|
5144
5144
|
const transactionMessage = pipe(
|
|
@@ -5182,7 +5182,7 @@ function getComplianceGrantRevokerFunction(args, deps) {
|
|
|
5182
5182
|
granterX25519: { first: granterX25519 },
|
|
5183
5183
|
receiverX25519: { first: receiverX25519 },
|
|
5184
5184
|
optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES2 }
|
|
5185
|
-
});
|
|
5185
|
+
}, { programAddress: client.networkConfig.programId });
|
|
5186
5186
|
const latestBlockhash = await getLatestBlockhash();
|
|
5187
5187
|
const computeBudgetInstruction = createSetComputeUnitLimitInstruction(12e5);
|
|
5188
5188
|
const transactionMessage = pipe(
|
|
@@ -5263,7 +5263,8 @@ function getSharedCiphertextReencryptorForUserGrantFunction(args, deps) {
|
|
|
5263
5263
|
mpcCallbackDataOffset: { first: mpcCallbackDataOffset },
|
|
5264
5264
|
priorityFees: { first: microLamportsPerAcu ?? 0n },
|
|
5265
5265
|
optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES3 }
|
|
5266
|
-
}
|
|
5266
|
+
},
|
|
5267
|
+
{ programAddress: client.networkConfig.programId }
|
|
5267
5268
|
);
|
|
5268
5269
|
const latestBlockhash = await getLatestBlockhash();
|
|
5269
5270
|
const baseTransactionMessage = pipe(
|
|
@@ -5348,7 +5349,8 @@ function getNetworkCiphertextReencryptorForNetworkGrantFunction(args, deps) {
|
|
|
5348
5349
|
mpcCallbackDataOffset: { first: mpcCallbackDataOffset },
|
|
5349
5350
|
priorityFees: { first: microLamportsPerAcu ?? 0n },
|
|
5350
5351
|
optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES4 }
|
|
5351
|
-
}
|
|
5352
|
+
},
|
|
5353
|
+
{ programAddress: client.networkConfig.programId }
|
|
5352
5354
|
);
|
|
5353
5355
|
const latestBlockhash = await getLatestBlockhash();
|
|
5354
5356
|
const baseTransactionMessage = pipe(
|
|
@@ -5433,7 +5435,7 @@ function getSharedCiphertextReencryptorForNetworkGrantFunction(args, deps) {
|
|
|
5433
5435
|
mpcCallbackDataOffset: { first: mpcCallbackDataOffset },
|
|
5434
5436
|
priorityFees: { first: microLamportsPerAcu ?? 0n },
|
|
5435
5437
|
optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES5 }
|
|
5436
|
-
});
|
|
5438
|
+
}, { programAddress: client.networkConfig.programId });
|
|
5437
5439
|
const latestBlockhash = await getLatestBlockhash();
|
|
5438
5440
|
const baseTransactionMessage = pipe(
|
|
5439
5441
|
createTransactionMessage({ version: 0 }),
|
|
@@ -5626,7 +5628,7 @@ function getNetworkEncryptionToSharedEncryptionConverterFunction(args, deps) {
|
|
|
5626
5628
|
},
|
|
5627
5629
|
priorityFees: { first: microLamportsPerAcu ?? 0n },
|
|
5628
5630
|
optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES6 }
|
|
5629
|
-
});
|
|
5631
|
+
}, { programAddress: client.networkConfig.programId });
|
|
5630
5632
|
const baseTransactionMessage = pipe(
|
|
5631
5633
|
createTransactionMessage({ version: 0 }),
|
|
5632
5634
|
(m) => setTransactionMessageFeePayer(userAddress, m),
|
|
@@ -5781,7 +5783,7 @@ function getMintEncryptionKeyRotatorFunction(args, deps) {
|
|
|
5781
5783
|
},
|
|
5782
5784
|
priorityFees: { first: microLamportsPerAcu ?? 0n },
|
|
5783
5785
|
optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES7 }
|
|
5784
|
-
});
|
|
5786
|
+
}, { programAddress: client.networkConfig.programId });
|
|
5785
5787
|
const latestBlockhash = await getLatestBlockhash();
|
|
5786
5788
|
const computeBudgetInstruction = createSetComputeUnitLimitInstruction(12e5);
|
|
5787
5789
|
const baseTransactionMessage = pipe(
|
|
@@ -9595,7 +9597,7 @@ function getStagedSolRecovererFunction(args, deps) {
|
|
|
9595
9597
|
destination,
|
|
9596
9598
|
amount: { first: amount },
|
|
9597
9599
|
optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES8 }
|
|
9598
|
-
});
|
|
9600
|
+
}, { programAddress: client.networkConfig.programId });
|
|
9599
9601
|
const latestBlockhash = await getLatestBlockhash();
|
|
9600
9602
|
const transactionMessage = pipe(
|
|
9601
9603
|
createTransactionMessage({ version: 0 }),
|
|
@@ -9634,7 +9636,7 @@ function getStagedSplRecovererFunction(args, deps) {
|
|
|
9634
9636
|
destinationAta,
|
|
9635
9637
|
amount: { first: amount },
|
|
9636
9638
|
optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES9 }
|
|
9637
|
-
});
|
|
9639
|
+
}, { programAddress: client.networkConfig.programId });
|
|
9638
9640
|
const latestBlockhash = await getLatestBlockhash();
|
|
9639
9641
|
const transactionMessage = pipe(
|
|
9640
9642
|
createTransactionMessage({ version: 0 }),
|
|
@@ -10310,7 +10312,7 @@ function getUserEntropySeedRotatorFunction(args, deps) {
|
|
|
10310
10312
|
user: noopSigner,
|
|
10311
10313
|
newSeed: { first: newSeed },
|
|
10312
10314
|
optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES10 }
|
|
10313
|
-
});
|
|
10315
|
+
}, { programAddress: client.networkConfig.programId });
|
|
10314
10316
|
const latestBlockhash = await getLatestBlockhash();
|
|
10315
10317
|
const transactionMessage = pipe(
|
|
10316
10318
|
createTransactionMessage({ version: 0 }),
|
|
@@ -10351,7 +10353,7 @@ function getTokenEntropySeedRotatorFunction(args, deps) {
|
|
|
10351
10353
|
mint,
|
|
10352
10354
|
newSeed: { first: newSeed },
|
|
10353
10355
|
optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES11 }
|
|
10354
|
-
});
|
|
10356
|
+
}, { programAddress: client.networkConfig.programId });
|
|
10355
10357
|
const latestBlockhash = await getLatestBlockhash();
|
|
10356
10358
|
const transactionMessage = pipe(
|
|
10357
10359
|
createTransactionMessage({ version: 0 }),
|
|
@@ -10602,7 +10604,7 @@ function getEncryptedBalanceToPublicBalanceDirectWithdrawerFunction(args, deps)
|
|
|
10602
10604
|
},
|
|
10603
10605
|
// Fee slab data and merkle proof
|
|
10604
10606
|
...feeSlabResultToInstructionFields(protocolFeeConfig)
|
|
10605
|
-
});
|
|
10607
|
+
}, { programAddress: client.networkConfig.programId });
|
|
10606
10608
|
} catch (error) {
|
|
10607
10609
|
if (error instanceof EncryptedWithdrawalError) {
|
|
10608
10610
|
throw error;
|