@permissionless-technologies/upp-sdk 0.4.21 → 0.4.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/chunk-2BSIUEPO.js +343 -0
- package/dist/chunk-2BSIUEPO.js.map +1 -0
- package/dist/{chunk-V6MW5VOF.cjs → chunk-632LPXPX.cjs} +4 -4
- package/dist/{chunk-V6MW5VOF.cjs.map → chunk-632LPXPX.cjs.map} +1 -1
- package/dist/{chunk-ND56VNCF.js → chunk-D4VCRPKS.js} +2 -2
- package/dist/{chunk-ND56VNCF.js.map → chunk-D4VCRPKS.js.map} +1 -1
- package/dist/{chunk-YHBUCKVS.cjs → chunk-DYSU7JYL.cjs} +23 -23
- package/dist/{chunk-YHBUCKVS.cjs.map → chunk-DYSU7JYL.cjs.map} +1 -1
- package/dist/{chunk-RYEYGGE7.cjs → chunk-IX7HV5TE.cjs} +18 -5
- package/dist/chunk-IX7HV5TE.cjs.map +1 -0
- package/dist/{chunk-5H27F6W6.cjs → chunk-IYRCJAME.cjs} +13 -9
- package/dist/chunk-IYRCJAME.cjs.map +1 -0
- package/dist/{chunk-KRLRJ3HN.js → chunk-KR4GB6VC.js} +18 -5
- package/dist/chunk-KR4GB6VC.js.map +1 -0
- package/dist/{chunk-C7DUABSG.js → chunk-Q6BLTPWV.js} +13 -9
- package/dist/chunk-Q6BLTPWV.js.map +1 -0
- package/dist/{chunk-7VPW5T5R.js → chunk-UMWY4ICQ.js} +3 -3
- package/dist/{chunk-7VPW5T5R.js.map → chunk-UMWY4ICQ.js.map} +1 -1
- package/dist/{chunk-PZAV2S5E.cjs → chunk-UYPIWBKM.cjs} +2 -2
- package/dist/{chunk-PZAV2S5E.cjs.map → chunk-UYPIWBKM.cjs.map} +1 -1
- package/dist/chunk-VVW5VVY3.cjs +347 -0
- package/dist/chunk-VVW5VVY3.cjs.map +1 -0
- package/dist/{chunk-OLJFKARA.js → chunk-XDWRMHLY.js} +15 -15
- package/dist/{chunk-OLJFKARA.js.map → chunk-XDWRMHLY.js.map} +1 -1
- package/dist/core/index.cjs +80 -67
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +5 -4
- package/dist/core/proof-worker-entry.cjs +8 -8
- package/dist/core/proof-worker-entry.cjs.map +1 -1
- package/dist/core/proof-worker-entry.js +8 -8
- package/dist/core/proof-worker-entry.js.map +1 -1
- package/dist/{index-PgqOAfcc.d.cts → index-AooYZ0kF.d.cts} +1 -1
- package/dist/{index-DsXMd8zh.d.ts → index-CpfUNGm9.d.ts} +1 -1
- package/dist/{index-DmowSsZb.d.ts → index-De5B4r0l.d.ts} +9 -3
- package/dist/{index-DcfqeWvk.d.cts → index-hNuffoCo.d.cts} +9 -3
- package/dist/index.cjs +88 -75
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/indexer/index.cjs +6 -6
- package/dist/indexer/index.d.cts +5 -5
- package/dist/indexer/index.d.ts +5 -5
- package/dist/indexer/index.js +1 -1
- package/dist/{proof-VINVGL4F.cjs → proof-X3MVQFFZ.cjs} +14 -13
- package/dist/{proof-VINVGL4F.cjs.map → proof-X3MVQFFZ.cjs.map} +1 -1
- package/dist/{proof-XQG5DN5N.js → proof-YMXBL4D5.js} +4 -3
- package/dist/{proof-XQG5DN5N.js.map → proof-YMXBL4D5.js.map} +1 -1
- package/dist/react/index.cjs +123 -39
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +44 -6
- package/dist/react/index.d.ts +44 -6
- package/dist/react/index.js +90 -18
- package/dist/react/index.js.map +1 -1
- package/dist/{transfer-Cqg235q6.d.ts → transfer-BGzySIhC.d.ts} +124 -5
- package/dist/{transfer-B4q3ZTJK.d.cts → transfer-BhB-UuBP.d.cts} +124 -5
- package/dist/{transfer-7IFAXV5K.cjs → transfer-H6UWWUSN.cjs} +11 -10
- package/dist/{transfer-7IFAXV5K.cjs.map → transfer-H6UWWUSN.cjs.map} +1 -1
- package/dist/{transfer-FWCRUWWM.js → transfer-MLVRASM3.js} +5 -4
- package/dist/{transfer-FWCRUWWM.js.map → transfer-MLVRASM3.js.map} +1 -1
- package/package.json +1 -1
- package/src/deployments/11155111.json +12 -12
- package/dist/chunk-5H27F6W6.cjs.map +0 -1
- package/dist/chunk-C7DUABSG.js.map +0 -1
- package/dist/chunk-KRLRJ3HN.js.map +0 -1
- package/dist/chunk-RYEYGGE7.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RpcIndexerConfig, I as Indexer, A as ADDRESS_VERSION, k as ASPMembershipProof, D as DirectAccountAdapter, l as IASPProvider, m as IAccountAdapter, n as INoteStore, a as IndexedNote, N as NoteStatus, o as NoteStore, P as ProofSystem, p as STARK_ADDRESS_VERSION, q as STARK_STEALTH_ADDRESS_PREFIX, r as STEALTH_ADDRESS_PREFIX, s as ShieldedNote, t as StorableAccountAdapter, S as StorageAdapter, c as SyncResult, U as UPPClient, u as UPPClientConfig, v as computeNoteEncryptionKey, w as createNote, x as createOneTimeKeys, y as createUPPClient, z as decodeStarkStealthAddress, B as decodeStealthAddress, E as decryptNote, F as detectAddressType, G as encodeStarkStealthAddress, H as encodeStealthAddress, J as encryptNote, K as generateStarkStealthAddress, M as generateStealthAddress, O as isValidStarkStealthAddress, Q as isValidStealthAddress, T as verifyOwnership } from './index-
|
|
2
|
-
import { A as ASPProof, a as ASPRoot, b as ASP_TREE_DEPTH, C as
|
|
1
|
+
import { R as RpcIndexerConfig, I as Indexer, A as ADDRESS_VERSION, k as ASPMembershipProof, D as DirectAccountAdapter, l as IASPProvider, m as IAccountAdapter, n as INoteStore, a as IndexedNote, N as NoteStatus, o as NoteStore, P as ProofSystem, p as STARK_ADDRESS_VERSION, q as STARK_STEALTH_ADDRESS_PREFIX, r as STEALTH_ADDRESS_PREFIX, s as ShieldedNote, t as StorableAccountAdapter, S as StorageAdapter, c as SyncResult, U as UPPClient, u as UPPClientConfig, v as computeNoteEncryptionKey, w as createNote, x as createOneTimeKeys, y as createUPPClient, z as decodeStarkStealthAddress, B as decodeStealthAddress, E as decryptNote, F as detectAddressType, G as encodeStarkStealthAddress, H as encodeStealthAddress, J as encryptNote, K as generateStarkStealthAddress, M as generateStealthAddress, O as isValidStarkStealthAddress, Q as isValidStealthAddress, T as verifyOwnership } from './index-CpfUNGm9.js';
|
|
2
|
+
import { A as ASPProof, a as ASPRoot, b as ASP_TREE_DEPTH, C as CIRCUIT_CDN_BASE, c as CIRCUIT_VERSION, d as CircuitArtifactCache, e as CircuitArtifacts, f as CircuitCacheStatus, g as CircuitType, h as Commitment, D as DEMO_ASP_ID, i as DEMO_ASP_NAME, j as DownloadProgress, E as EncryptedNote, M as MergeParams, k as MergeRecord, l as MerkleProofWithNote, N as NOTE_VERSION, m as Note, n as NoteWithAmount, o as Nullifier, P as PlonkProvingStage, p as Proof, q as ProofResult, r as ProofWorkerManager, s as ProofWorkerRequest, t as ProofWorkerResponse, R as RATE_PRECISION, u as ResolvedCircuitArtifacts, S as STATE_TREE_DEPTH, v as SWAP_EVENTS_ABI, w as SWAP_ORDER_CANCELLED_EVENT, x as SWAP_ORDER_CLAIMED_EVENT, y as SWAP_ORDER_FILLED_EVENT, z as SWAP_ORDER_PLACED_EVENT, B as ShieldParams, F as SpendableNote, G as StarkNote, H as StarkProof, I as StarkStealthMetaAddress, J as Stealth1x2CircuitInputs, K as Stealth2x2CircuitInputs, L as StealthAddress, O as StealthCircuitInputs, Q as StealthCircuitType, T as StealthMetaAddress, U as SwapFillEvent, V as SwapFillParams, W as SwapOrder, X as SwapOrderEvent, Y as SwapOrderParams, Z as TransferBuildResult, _ as TransferContext, $ as TransferParams, a0 as TransferStage, a1 as UPPCircuitInputs, a2 as UPPCircuitType, a3 as UPPTransferCircuitInputs, a4 as UPPWithdrawCircuitInputs, a5 as WithdrawParams, a6 as buildASPTree, a7 as buildTransfer, a8 as buildUPPTransferCircuitInputs, a9 as computeCancelKeyHash, aa as computeFillPercentage, ab as computeGiveAmount, ac as computeMultiOriginASPRoot, ad as computeNullifier, ae as computeRate, af as computeSingleOriginASPRoot, ag as computeTakeAmount, ah as computeTotalBuyAmount, ai as createDemoASPRoot, aj as filterOrdersByASP, ak as filterOrdersByTokenPair, al as formatOutputForContract, am as formatProofForContract, an as formatRate, ao as generateASPProof, ap as generateCancelSecret, aq as generateMultiOriginASPProof, ar as generateProof, as as generateSingleOriginASPProof, at as generateStealthProof, au as generateUPPProof, av as generateUPPProofAsync, aw as getCancelSecret, ax as getMerkleProofsForNotes, ay as getOwnOrderIds, az as getStealthCircuitArtifacts, aA as getUPPCircuitArtifacts, aB as isFillerASPAccepted, aC as isOrderActive, aD as removeCancelSecret, aE as storeCancelSecret, aF as syncMerkleTree, aG as verifyASPProof, aH as verifyProof } from './transfer-BGzySIhC.js';
|
|
3
3
|
import { A as AuditKeyExport, D as DEFAULT_KEY_DERIVATION_CONFIG, a as DualMasterKeys, K as KeyDerivationConfig, M as MasterKeys, O as OneTimeKeys, P as ProvingSystem, S as SerializedKeys, b as StarkMasterKeys, c as StealthAddressComponents, T as TransactionViewingKey } from './types-mLybMxNR.js';
|
|
4
4
|
import { NoteReference, deriveDualKeysFromSignature, deriveKeysFromSignature, deriveNullifierKey, derivePerNoteKey, derivePerNoteKeyFromKeys, deriveStarkKeysFromSignature, deriveStarkPerNoteKey, deriveStarkPerNoteKeyFromKeys, exportViewingKeysForAudit, getKeyDerivationMessage, getViewingKeyFromExport, validateAuditKeyExport, verifyKeysMatchSignature } from './keys/index.js';
|
|
5
5
|
import { BABYJUBJUB_SUBORDER, FIELD_PRIME, addressToField, bigintToBytes, bytesToBigint, bytesToHex, fieldToAddress, hexToBytes, isValidFieldElement, poseidon, poseidonHash, poseidonScalar, randomBytes, randomFieldElement, toFieldElement } from './utils/index.js';
|
|
@@ -3117,7 +3117,11 @@ declare const ___index_js_ASP_REGISTRY_HUB_ABI: typeof ASP_REGISTRY_HUB_ABI;
|
|
|
3117
3117
|
declare const ___index_js_ASP_TREE_DEPTH: typeof ASP_TREE_DEPTH;
|
|
3118
3118
|
declare const ___index_js_AuditKeyExport: typeof AuditKeyExport;
|
|
3119
3119
|
declare const ___index_js_BABYJUBJUB_SUBORDER: typeof BABYJUBJUB_SUBORDER;
|
|
3120
|
+
declare const ___index_js_CIRCUIT_CDN_BASE: typeof CIRCUIT_CDN_BASE;
|
|
3121
|
+
declare const ___index_js_CIRCUIT_VERSION: typeof CIRCUIT_VERSION;
|
|
3122
|
+
declare const ___index_js_CircuitArtifactCache: typeof CircuitArtifactCache;
|
|
3120
3123
|
declare const ___index_js_CircuitArtifacts: typeof CircuitArtifacts;
|
|
3124
|
+
declare const ___index_js_CircuitCacheStatus: typeof CircuitCacheStatus;
|
|
3121
3125
|
declare const ___index_js_CircuitType: typeof CircuitType;
|
|
3122
3126
|
declare const ___index_js_Commitment: typeof Commitment;
|
|
3123
3127
|
declare const ___index_js_DEFAULT_KEY_DERIVATION_CONFIG: typeof DEFAULT_KEY_DERIVATION_CONFIG;
|
|
@@ -3126,6 +3130,7 @@ declare const ___index_js_DEMO_ASP_NAME: typeof DEMO_ASP_NAME;
|
|
|
3126
3130
|
declare const ___index_js_DIGEST_SIZE: typeof DIGEST_SIZE;
|
|
3127
3131
|
type ___index_js_DeploymentConfig = DeploymentConfig;
|
|
3128
3132
|
declare const ___index_js_DirectAccountAdapter: typeof DirectAccountAdapter;
|
|
3133
|
+
declare const ___index_js_DownloadProgress: typeof DownloadProgress;
|
|
3129
3134
|
declare const ___index_js_DualMasterKeys: typeof DualMasterKeys;
|
|
3130
3135
|
declare const ___index_js_EncryptedNote: typeof EncryptedNote;
|
|
3131
3136
|
declare const ___index_js_FIELD_PRIME: typeof FIELD_PRIME;
|
|
@@ -3163,6 +3168,7 @@ declare const ___index_js_ProofWorkerRequest: typeof ProofWorkerRequest;
|
|
|
3163
3168
|
declare const ___index_js_ProofWorkerResponse: typeof ProofWorkerResponse;
|
|
3164
3169
|
declare const ___index_js_ProvingSystem: typeof ProvingSystem;
|
|
3165
3170
|
declare const ___index_js_RATE_PRECISION: typeof RATE_PRECISION;
|
|
3171
|
+
declare const ___index_js_ResolvedCircuitArtifacts: typeof ResolvedCircuitArtifacts;
|
|
3166
3172
|
declare const ___index_js_RpcIndexerConfig: typeof RpcIndexerConfig;
|
|
3167
3173
|
declare const ___index_js_SECRET_LIMBS: typeof SECRET_LIMBS;
|
|
3168
3174
|
declare const ___index_js_STARK_ADDRESS_VERSION: typeof STARK_ADDRESS_VERSION;
|
|
@@ -3337,7 +3343,7 @@ declare const ___index_js_verifyMerkleProof: typeof verifyMerkleProof;
|
|
|
3337
3343
|
declare const ___index_js_verifyOwnership: typeof verifyOwnership;
|
|
3338
3344
|
declare const ___index_js_verifyProof: typeof verifyProof;
|
|
3339
3345
|
declare namespace ___index_js {
|
|
3340
|
-
export { ___index_js_ADDRESS_VERSION as ADDRESS_VERSION, ___index_js_ASPMembershipProof as ASPMembershipProof, ___index_js_ASPProof as ASPProof, ___index_js_ASPRoot as ASPRoot, ___index_js_ASP_REGISTRY_HUB_ABI as ASP_REGISTRY_HUB_ABI, ___index_js_ASP_TREE_DEPTH as ASP_TREE_DEPTH, ___index_js_AuditKeyExport as AuditKeyExport, ___index_js_BABYJUBJUB_SUBORDER as BABYJUBJUB_SUBORDER, ___index_js_CircuitArtifacts as CircuitArtifacts, ___index_js_CircuitType as CircuitType, ___index_js_Commitment as Commitment, ___index_js_DEFAULT_KEY_DERIVATION_CONFIG as DEFAULT_KEY_DERIVATION_CONFIG, ___index_js_DEMO_ASP_ID as DEMO_ASP_ID, ___index_js_DEMO_ASP_NAME as DEMO_ASP_NAME, ___index_js_DIGEST_SIZE as DIGEST_SIZE, type ___index_js_DeploymentConfig as DeploymentConfig, ___index_js_DirectAccountAdapter as DirectAccountAdapter, ___index_js_DualMasterKeys as DualMasterKeys, ___index_js_EncryptedNote as EncryptedNote, ___index_js_FIELD_PRIME as FIELD_PRIME, ___index_js_IASPProvider as IASPProvider, ___index_js_IAccountAdapter as IAccountAdapter, ___index_js_INoteStore as INoteStore, ___index_js_IndexedNote as IndexedNote, ___index_js_Indexer as Indexer, ___index_js_KeyDerivationConfig as KeyDerivationConfig, ___index_js_M31Digest as M31Digest, ___index_js_M31Secret as M31Secret, ___index_js_M31_P as M31_P, ___index_js_MAX_TREE_DEPTH as MAX_TREE_DEPTH, ___index_js_MasterKeys as MasterKeys, ___index_js_MergeParams as MergeParams, ___index_js_MergeRecord as MergeRecord, ___index_js_MerkleProof as MerkleProof, ___index_js_MerkleProofWithNote as MerkleProofWithNote, ___index_js_MerkleTree as MerkleTree, ___index_js_NOTE_VERSION as NOTE_VERSION, ___index_js_Note as Note, ___index_js_NoteReference as NoteReference, ___index_js_NoteStatus as NoteStatus, ___index_js_NoteStore as NoteStore, ___index_js_NoteWithAmount as NoteWithAmount, ___index_js_Nullifier as Nullifier, ___index_js_OneTimeKeys as OneTimeKeys, ___index_js_PlonkProvingStage as PlonkProvingStage, ___index_js_Point as Point, ___index_js_Proof as Proof, ___index_js_ProofResult as ProofResult, ___index_js_ProofSystem as ProofSystem, ___index_js_ProofWorkerManager as ProofWorkerManager, ___index_js_ProofWorkerRequest as ProofWorkerRequest, ___index_js_ProofWorkerResponse as ProofWorkerResponse, ___index_js_ProvingSystem as ProvingSystem, ___index_js_RATE_PRECISION as RATE_PRECISION, ___index_js_RpcIndexerConfig as RpcIndexerConfig, ___index_js_SECRET_LIMBS as SECRET_LIMBS, ___index_js_STARK_ADDRESS_VERSION as STARK_ADDRESS_VERSION, ___index_js_STARK_AMOUNT_SCALE as STARK_AMOUNT_SCALE, ___index_js_STARK_ASP_TREE_DEPTH as STARK_ASP_TREE_DEPTH, ___index_js_STARK_STATE_TREE_DEPTH as STARK_STATE_TREE_DEPTH, ___index_js_STARK_STEALTH_ADDRESS_PREFIX as STARK_STEALTH_ADDRESS_PREFIX, ___index_js_STATE_TREE_DEPTH as STATE_TREE_DEPTH, ___index_js_STEALTH_ADDRESS_PREFIX as STEALTH_ADDRESS_PREFIX, ___index_js_SWAP_EVENTS_ABI as SWAP_EVENTS_ABI, ___index_js_SWAP_ORDER_CANCELLED_EVENT as SWAP_ORDER_CANCELLED_EVENT, ___index_js_SWAP_ORDER_CLAIMED_EVENT as SWAP_ORDER_CLAIMED_EVENT, ___index_js_SWAP_ORDER_FILLED_EVENT as SWAP_ORDER_FILLED_EVENT, ___index_js_SWAP_ORDER_PLACED_EVENT as SWAP_ORDER_PLACED_EVENT, ___index_js_SerializedKeys as SerializedKeys, ___index_js_ShieldParams as ShieldParams, ___index_js_ShieldedNote as ShieldedNote, ___index_js_SpendableNote as SpendableNote, ___index_js_StarkMasterKeys as StarkMasterKeys, ___index_js_StarkNote as StarkNote, ___index_js_StarkProof as StarkProof, ___index_js_StarkStealthMetaAddress as StarkStealthMetaAddress, ___index_js_StarkTransferWitness as StarkTransferWitness, ___index_js_StarkWithdrawWitness as StarkWithdrawWitness, ___index_js_Stealth1x2CircuitInputs as Stealth1x2CircuitInputs, ___index_js_Stealth2x2CircuitInputs as Stealth2x2CircuitInputs, ___index_js_StealthAddress as StealthAddress, ___index_js_StealthAddressComponents as StealthAddressComponents, ___index_js_StealthCircuitInputs as StealthCircuitInputs, ___index_js_StealthCircuitType as StealthCircuitType, ___index_js_StealthMetaAddress as StealthMetaAddress, ___index_js_StorableAccountAdapter as StorableAccountAdapter, ___index_js_StorageAdapter as StorageAdapter, ___index_js_SwapFillEvent as SwapFillEvent, ___index_js_SwapFillParams as SwapFillParams, ___index_js_SwapOrder as SwapOrder, ___index_js_SwapOrderEvent as SwapOrderEvent, ___index_js_SwapOrderParams as SwapOrderParams, ___index_js_SyncResult as SyncResult, ___index_js_TEST_STABLE_TOKEN_2_ABI as TEST_STABLE_TOKEN_2_ABI, ___index_js_TEST_STABLE_TOKEN_ABI as TEST_STABLE_TOKEN_ABI, ___index_js_TransactionViewingKey as TransactionViewingKey, ___index_js_TransferBuildResult as TransferBuildResult, ___index_js_TransferContext as TransferContext, ___index_js_TransferParams as TransferParams, ___index_js_TransferStage as TransferStage, ___index_js_UNIVERSAL_PRIVATE_POOL_ABI as UNIVERSAL_PRIVATE_POOL_ABI, ___index_js_UPPCircuitInputs as UPPCircuitInputs, ___index_js_UPPCircuitType as UPPCircuitType, ___index_js_UPPClient as UPPClient, ___index_js_UPPClientConfig as UPPClientConfig, ___index_js_UPPTransferCircuitInputs as UPPTransferCircuitInputs, ___index_js_UPPWithdrawCircuitInputs as UPPWithdrawCircuitInputs, type ___index_js_VerifierAddresses as VerifierAddresses, ___index_js_WithdrawParams as WithdrawParams, ___index_js_addPoints as addPoints, ___index_js_addressToField as addressToField, ___index_js_addressToM31 as addressToM31, ___index_js_bigintToBytes as bigintToBytes, ___index_js_buildASPTree as buildASPTree, ___index_js_buildMerkleTree as buildMerkleTree, ___index_js_buildStarkTransferWitness as buildStarkTransferWitness, ___index_js_buildStarkWithdrawWitness as buildStarkWithdrawWitness, ___index_js_buildTransfer as buildTransfer, ___index_js_buildUPPTransferCircuitInputs as buildUPPTransferCircuitInputs, ___index_js_bytesToBigint as bytesToBigint, ___index_js_bytesToHex as bytesToHex, ___index_js_computeCancelKeyHash as computeCancelKeyHash, ___index_js_computeFillPercentage as computeFillPercentage, ___index_js_computeGiveAmount as computeGiveAmount, ___index_js_computeMultiOriginASPRoot as computeMultiOriginASPRoot, ___index_js_computeNoteEncryptionKey as computeNoteEncryptionKey, ___index_js_computeNullifier as computeNullifier, ___index_js_computeRate as computeRate, ___index_js_computeSharedSecret as computeSharedSecret, ___index_js_computeSingleOriginASPRoot as computeSingleOriginASPRoot, ___index_js_computeStarkCommitment as computeStarkCommitment, ___index_js_computeStarkNullifier as computeStarkNullifier, ___index_js_computeStarkOwnerHash as computeStarkOwnerHash, ___index_js_computeTakeAmount as computeTakeAmount, ___index_js_computeTotalBuyAmount as computeTotalBuyAmount, ___index_js_computeTransferPublicInputsSeed as computeTransferPublicInputsSeed, ___index_js_computeWithdrawPublicInputsSeed as computeWithdrawPublicInputsSeed, ___index_js_createDemoASPRoot as createDemoASPRoot, ___index_js_createNote as createNote, ___index_js_createOneTimeKeys as createOneTimeKeys, ___index_js_createUPPClient as createUPPClient, ___index_js_decodeStarkStealthAddress as decodeStarkStealthAddress, ___index_js_decodeStealthAddress as decodeStealthAddress, ___index_js_decryptNote as decryptNote, ___index_js_deriveDecryptionViewingKey as deriveDecryptionViewingKey, ___index_js_deriveDualKeysFromSignature as deriveDualKeysFromSignature, ___index_js_deriveEncryptionViewingKey as deriveEncryptionViewingKey, ___index_js_deriveKeysFromSignature as deriveKeysFromSignature, ___index_js_deriveNullifierKey as deriveNullifierKey, ___index_js_derivePerNoteKey as derivePerNoteKey, ___index_js_derivePerNoteKeyFromKeys as derivePerNoteKeyFromKeys, ___index_js_deriveStarkKeysFromSignature as deriveStarkKeysFromSignature, ___index_js_deriveStarkPerNoteKey as deriveStarkPerNoteKey, ___index_js_deriveStarkPerNoteKeyFromKeys as deriveStarkPerNoteKeyFromKeys, ___index_js_detectAddressType as detectAddressType, ___index_js_encodeStarkStealthAddress as encodeStarkStealthAddress, ___index_js_encodeStealthAddress as encodeStealthAddress, ___index_js_encryptNote as encryptNote, ___index_js_exportViewingKeysForAudit as exportViewingKeysForAudit, ___index_js_fieldToAddress as fieldToAddress, ___index_js_filterOrdersByASP as filterOrdersByASP, ___index_js_filterOrdersByTokenPair as filterOrdersByTokenPair, ___index_js_formatOutputForContract as formatOutputForContract, ___index_js_formatProofForContract as formatProofForContract, ___index_js_formatRate as formatRate, ___index_js_generateASPProof as generateASPProof, ___index_js_generateCancelSecret as generateCancelSecret, ___index_js_generateMultiOriginASPProof as generateMultiOriginASPProof, ___index_js_generateProof as generateProof, ___index_js_generateSingleOriginASPProof as generateSingleOriginASPProof, ___index_js_generateStarkStealthAddress as generateStarkStealthAddress, ___index_js_generateStealthAddress as generateStealthAddress, ___index_js_generateStealthProof as generateStealthProof, ___index_js_generateUPPProof as generateUPPProof, ___index_js_generateUPPProofAsync as generateUPPProofAsync, ___index_js_getBasePoint as getBasePoint, ___index_js_getCancelSecret as getCancelSecret, ___index_js_getDeployment as getDeployment, ___index_js_getDeploymentOrThrow as getDeploymentOrThrow, ___index_js_getKeyDerivationMessage as getKeyDerivationMessage, ___index_js_getMerkleProof as getMerkleProof, ___index_js_getMerkleProofsForNotes as getMerkleProofsForNotes, ___index_js_getOwnOrderIds as getOwnOrderIds, ___index_js_getStealthCircuitArtifacts as getStealthCircuitArtifacts, ___index_js_getSubOrder as getSubOrder, ___index_js_getSupportedChainIds as getSupportedChainIds, ___index_js_getTokenAddress as getTokenAddress, ___index_js_getUPPCircuitArtifacts as getUPPCircuitArtifacts, ___index_js_getViewingKeyFromExport as getViewingKeyFromExport, ___index_js_hasDeployment as hasDeployment, ___index_js_hexToBytes as hexToBytes, ___index_js_isFillerASPAccepted as isFillerASPAccepted, ___index_js_isOnCurve as isOnCurve, ___index_js_isOrderActive as isOrderActive, ___index_js_isStarkAligned as isStarkAligned, ___index_js_isValidFieldElement as isValidFieldElement, ___index_js_isValidStarkStealthAddress as isValidStarkStealthAddress, ___index_js_isValidStealthAddress as isValidStealthAddress, ___index_js_keccakHashTwo as keccakHashTwo, ___index_js_keccakM31 as keccakM31, ___index_js_makeRpcIndexer as makeRpcIndexer, ___index_js_mulPointScalar as mulPointScalar, ___index_js_packM31Digest as packM31Digest, ___index_js_packPoint as packPoint, ___index_js_pointToTuple as pointToTuple, ___index_js_poseidon as poseidon, ___index_js_poseidonHash as poseidonHash, ___index_js_poseidonScalar as poseidonScalar, ___index_js_privateToPublic as privateToPublic, ___index_js_randomBytes as randomBytes, ___index_js_randomFieldElement as randomFieldElement, ___index_js_registerDeployment as registerDeployment, ___index_js_removeCancelSecret as removeCancelSecret, ___index_js_scaleAmountForStark as scaleAmountForStark, ___index_js_splitSecretToM31Limbs as splitSecretToM31Limbs, ___index_js_splitToM31Limbs as splitToM31Limbs, ___index_js_storeCancelSecret as storeCancelSecret, ___index_js_syncMerkleTree as syncMerkleTree, ___index_js_toFieldElement as toFieldElement, ___index_js_truncateToM31 as truncateToM31, ___index_js_tupleToPoint as tupleToPoint, ___index_js_validateAuditKeyExport as validateAuditKeyExport, ___index_js_verifyASPProof as verifyASPProof, ___index_js_verifyKeysMatchSignature as verifyKeysMatchSignature, ___index_js_verifyMerkleProof as verifyMerkleProof, ___index_js_verifyOwnership as verifyOwnership, ___index_js_verifyProof as verifyProof };
|
|
3346
|
+
export { ___index_js_ADDRESS_VERSION as ADDRESS_VERSION, ___index_js_ASPMembershipProof as ASPMembershipProof, ___index_js_ASPProof as ASPProof, ___index_js_ASPRoot as ASPRoot, ___index_js_ASP_REGISTRY_HUB_ABI as ASP_REGISTRY_HUB_ABI, ___index_js_ASP_TREE_DEPTH as ASP_TREE_DEPTH, ___index_js_AuditKeyExport as AuditKeyExport, ___index_js_BABYJUBJUB_SUBORDER as BABYJUBJUB_SUBORDER, ___index_js_CIRCUIT_CDN_BASE as CIRCUIT_CDN_BASE, ___index_js_CIRCUIT_VERSION as CIRCUIT_VERSION, ___index_js_CircuitArtifactCache as CircuitArtifactCache, ___index_js_CircuitArtifacts as CircuitArtifacts, ___index_js_CircuitCacheStatus as CircuitCacheStatus, ___index_js_CircuitType as CircuitType, ___index_js_Commitment as Commitment, ___index_js_DEFAULT_KEY_DERIVATION_CONFIG as DEFAULT_KEY_DERIVATION_CONFIG, ___index_js_DEMO_ASP_ID as DEMO_ASP_ID, ___index_js_DEMO_ASP_NAME as DEMO_ASP_NAME, ___index_js_DIGEST_SIZE as DIGEST_SIZE, type ___index_js_DeploymentConfig as DeploymentConfig, ___index_js_DirectAccountAdapter as DirectAccountAdapter, ___index_js_DownloadProgress as DownloadProgress, ___index_js_DualMasterKeys as DualMasterKeys, ___index_js_EncryptedNote as EncryptedNote, ___index_js_FIELD_PRIME as FIELD_PRIME, ___index_js_IASPProvider as IASPProvider, ___index_js_IAccountAdapter as IAccountAdapter, ___index_js_INoteStore as INoteStore, ___index_js_IndexedNote as IndexedNote, ___index_js_Indexer as Indexer, ___index_js_KeyDerivationConfig as KeyDerivationConfig, ___index_js_M31Digest as M31Digest, ___index_js_M31Secret as M31Secret, ___index_js_M31_P as M31_P, ___index_js_MAX_TREE_DEPTH as MAX_TREE_DEPTH, ___index_js_MasterKeys as MasterKeys, ___index_js_MergeParams as MergeParams, ___index_js_MergeRecord as MergeRecord, ___index_js_MerkleProof as MerkleProof, ___index_js_MerkleProofWithNote as MerkleProofWithNote, ___index_js_MerkleTree as MerkleTree, ___index_js_NOTE_VERSION as NOTE_VERSION, ___index_js_Note as Note, ___index_js_NoteReference as NoteReference, ___index_js_NoteStatus as NoteStatus, ___index_js_NoteStore as NoteStore, ___index_js_NoteWithAmount as NoteWithAmount, ___index_js_Nullifier as Nullifier, ___index_js_OneTimeKeys as OneTimeKeys, ___index_js_PlonkProvingStage as PlonkProvingStage, ___index_js_Point as Point, ___index_js_Proof as Proof, ___index_js_ProofResult as ProofResult, ___index_js_ProofSystem as ProofSystem, ___index_js_ProofWorkerManager as ProofWorkerManager, ___index_js_ProofWorkerRequest as ProofWorkerRequest, ___index_js_ProofWorkerResponse as ProofWorkerResponse, ___index_js_ProvingSystem as ProvingSystem, ___index_js_RATE_PRECISION as RATE_PRECISION, ___index_js_ResolvedCircuitArtifacts as ResolvedCircuitArtifacts, ___index_js_RpcIndexerConfig as RpcIndexerConfig, ___index_js_SECRET_LIMBS as SECRET_LIMBS, ___index_js_STARK_ADDRESS_VERSION as STARK_ADDRESS_VERSION, ___index_js_STARK_AMOUNT_SCALE as STARK_AMOUNT_SCALE, ___index_js_STARK_ASP_TREE_DEPTH as STARK_ASP_TREE_DEPTH, ___index_js_STARK_STATE_TREE_DEPTH as STARK_STATE_TREE_DEPTH, ___index_js_STARK_STEALTH_ADDRESS_PREFIX as STARK_STEALTH_ADDRESS_PREFIX, ___index_js_STATE_TREE_DEPTH as STATE_TREE_DEPTH, ___index_js_STEALTH_ADDRESS_PREFIX as STEALTH_ADDRESS_PREFIX, ___index_js_SWAP_EVENTS_ABI as SWAP_EVENTS_ABI, ___index_js_SWAP_ORDER_CANCELLED_EVENT as SWAP_ORDER_CANCELLED_EVENT, ___index_js_SWAP_ORDER_CLAIMED_EVENT as SWAP_ORDER_CLAIMED_EVENT, ___index_js_SWAP_ORDER_FILLED_EVENT as SWAP_ORDER_FILLED_EVENT, ___index_js_SWAP_ORDER_PLACED_EVENT as SWAP_ORDER_PLACED_EVENT, ___index_js_SerializedKeys as SerializedKeys, ___index_js_ShieldParams as ShieldParams, ___index_js_ShieldedNote as ShieldedNote, ___index_js_SpendableNote as SpendableNote, ___index_js_StarkMasterKeys as StarkMasterKeys, ___index_js_StarkNote as StarkNote, ___index_js_StarkProof as StarkProof, ___index_js_StarkStealthMetaAddress as StarkStealthMetaAddress, ___index_js_StarkTransferWitness as StarkTransferWitness, ___index_js_StarkWithdrawWitness as StarkWithdrawWitness, ___index_js_Stealth1x2CircuitInputs as Stealth1x2CircuitInputs, ___index_js_Stealth2x2CircuitInputs as Stealth2x2CircuitInputs, ___index_js_StealthAddress as StealthAddress, ___index_js_StealthAddressComponents as StealthAddressComponents, ___index_js_StealthCircuitInputs as StealthCircuitInputs, ___index_js_StealthCircuitType as StealthCircuitType, ___index_js_StealthMetaAddress as StealthMetaAddress, ___index_js_StorableAccountAdapter as StorableAccountAdapter, ___index_js_StorageAdapter as StorageAdapter, ___index_js_SwapFillEvent as SwapFillEvent, ___index_js_SwapFillParams as SwapFillParams, ___index_js_SwapOrder as SwapOrder, ___index_js_SwapOrderEvent as SwapOrderEvent, ___index_js_SwapOrderParams as SwapOrderParams, ___index_js_SyncResult as SyncResult, ___index_js_TEST_STABLE_TOKEN_2_ABI as TEST_STABLE_TOKEN_2_ABI, ___index_js_TEST_STABLE_TOKEN_ABI as TEST_STABLE_TOKEN_ABI, ___index_js_TransactionViewingKey as TransactionViewingKey, ___index_js_TransferBuildResult as TransferBuildResult, ___index_js_TransferContext as TransferContext, ___index_js_TransferParams as TransferParams, ___index_js_TransferStage as TransferStage, ___index_js_UNIVERSAL_PRIVATE_POOL_ABI as UNIVERSAL_PRIVATE_POOL_ABI, ___index_js_UPPCircuitInputs as UPPCircuitInputs, ___index_js_UPPCircuitType as UPPCircuitType, ___index_js_UPPClient as UPPClient, ___index_js_UPPClientConfig as UPPClientConfig, ___index_js_UPPTransferCircuitInputs as UPPTransferCircuitInputs, ___index_js_UPPWithdrawCircuitInputs as UPPWithdrawCircuitInputs, type ___index_js_VerifierAddresses as VerifierAddresses, ___index_js_WithdrawParams as WithdrawParams, ___index_js_addPoints as addPoints, ___index_js_addressToField as addressToField, ___index_js_addressToM31 as addressToM31, ___index_js_bigintToBytes as bigintToBytes, ___index_js_buildASPTree as buildASPTree, ___index_js_buildMerkleTree as buildMerkleTree, ___index_js_buildStarkTransferWitness as buildStarkTransferWitness, ___index_js_buildStarkWithdrawWitness as buildStarkWithdrawWitness, ___index_js_buildTransfer as buildTransfer, ___index_js_buildUPPTransferCircuitInputs as buildUPPTransferCircuitInputs, ___index_js_bytesToBigint as bytesToBigint, ___index_js_bytesToHex as bytesToHex, ___index_js_computeCancelKeyHash as computeCancelKeyHash, ___index_js_computeFillPercentage as computeFillPercentage, ___index_js_computeGiveAmount as computeGiveAmount, ___index_js_computeMultiOriginASPRoot as computeMultiOriginASPRoot, ___index_js_computeNoteEncryptionKey as computeNoteEncryptionKey, ___index_js_computeNullifier as computeNullifier, ___index_js_computeRate as computeRate, ___index_js_computeSharedSecret as computeSharedSecret, ___index_js_computeSingleOriginASPRoot as computeSingleOriginASPRoot, ___index_js_computeStarkCommitment as computeStarkCommitment, ___index_js_computeStarkNullifier as computeStarkNullifier, ___index_js_computeStarkOwnerHash as computeStarkOwnerHash, ___index_js_computeTakeAmount as computeTakeAmount, ___index_js_computeTotalBuyAmount as computeTotalBuyAmount, ___index_js_computeTransferPublicInputsSeed as computeTransferPublicInputsSeed, ___index_js_computeWithdrawPublicInputsSeed as computeWithdrawPublicInputsSeed, ___index_js_createDemoASPRoot as createDemoASPRoot, ___index_js_createNote as createNote, ___index_js_createOneTimeKeys as createOneTimeKeys, ___index_js_createUPPClient as createUPPClient, ___index_js_decodeStarkStealthAddress as decodeStarkStealthAddress, ___index_js_decodeStealthAddress as decodeStealthAddress, ___index_js_decryptNote as decryptNote, ___index_js_deriveDecryptionViewingKey as deriveDecryptionViewingKey, ___index_js_deriveDualKeysFromSignature as deriveDualKeysFromSignature, ___index_js_deriveEncryptionViewingKey as deriveEncryptionViewingKey, ___index_js_deriveKeysFromSignature as deriveKeysFromSignature, ___index_js_deriveNullifierKey as deriveNullifierKey, ___index_js_derivePerNoteKey as derivePerNoteKey, ___index_js_derivePerNoteKeyFromKeys as derivePerNoteKeyFromKeys, ___index_js_deriveStarkKeysFromSignature as deriveStarkKeysFromSignature, ___index_js_deriveStarkPerNoteKey as deriveStarkPerNoteKey, ___index_js_deriveStarkPerNoteKeyFromKeys as deriveStarkPerNoteKeyFromKeys, ___index_js_detectAddressType as detectAddressType, ___index_js_encodeStarkStealthAddress as encodeStarkStealthAddress, ___index_js_encodeStealthAddress as encodeStealthAddress, ___index_js_encryptNote as encryptNote, ___index_js_exportViewingKeysForAudit as exportViewingKeysForAudit, ___index_js_fieldToAddress as fieldToAddress, ___index_js_filterOrdersByASP as filterOrdersByASP, ___index_js_filterOrdersByTokenPair as filterOrdersByTokenPair, ___index_js_formatOutputForContract as formatOutputForContract, ___index_js_formatProofForContract as formatProofForContract, ___index_js_formatRate as formatRate, ___index_js_generateASPProof as generateASPProof, ___index_js_generateCancelSecret as generateCancelSecret, ___index_js_generateMultiOriginASPProof as generateMultiOriginASPProof, ___index_js_generateProof as generateProof, ___index_js_generateSingleOriginASPProof as generateSingleOriginASPProof, ___index_js_generateStarkStealthAddress as generateStarkStealthAddress, ___index_js_generateStealthAddress as generateStealthAddress, ___index_js_generateStealthProof as generateStealthProof, ___index_js_generateUPPProof as generateUPPProof, ___index_js_generateUPPProofAsync as generateUPPProofAsync, ___index_js_getBasePoint as getBasePoint, ___index_js_getCancelSecret as getCancelSecret, ___index_js_getDeployment as getDeployment, ___index_js_getDeploymentOrThrow as getDeploymentOrThrow, ___index_js_getKeyDerivationMessage as getKeyDerivationMessage, ___index_js_getMerkleProof as getMerkleProof, ___index_js_getMerkleProofsForNotes as getMerkleProofsForNotes, ___index_js_getOwnOrderIds as getOwnOrderIds, ___index_js_getStealthCircuitArtifacts as getStealthCircuitArtifacts, ___index_js_getSubOrder as getSubOrder, ___index_js_getSupportedChainIds as getSupportedChainIds, ___index_js_getTokenAddress as getTokenAddress, ___index_js_getUPPCircuitArtifacts as getUPPCircuitArtifacts, ___index_js_getViewingKeyFromExport as getViewingKeyFromExport, ___index_js_hasDeployment as hasDeployment, ___index_js_hexToBytes as hexToBytes, ___index_js_isFillerASPAccepted as isFillerASPAccepted, ___index_js_isOnCurve as isOnCurve, ___index_js_isOrderActive as isOrderActive, ___index_js_isStarkAligned as isStarkAligned, ___index_js_isValidFieldElement as isValidFieldElement, ___index_js_isValidStarkStealthAddress as isValidStarkStealthAddress, ___index_js_isValidStealthAddress as isValidStealthAddress, ___index_js_keccakHashTwo as keccakHashTwo, ___index_js_keccakM31 as keccakM31, ___index_js_makeRpcIndexer as makeRpcIndexer, ___index_js_mulPointScalar as mulPointScalar, ___index_js_packM31Digest as packM31Digest, ___index_js_packPoint as packPoint, ___index_js_pointToTuple as pointToTuple, ___index_js_poseidon as poseidon, ___index_js_poseidonHash as poseidonHash, ___index_js_poseidonScalar as poseidonScalar, ___index_js_privateToPublic as privateToPublic, ___index_js_randomBytes as randomBytes, ___index_js_randomFieldElement as randomFieldElement, ___index_js_registerDeployment as registerDeployment, ___index_js_removeCancelSecret as removeCancelSecret, ___index_js_scaleAmountForStark as scaleAmountForStark, ___index_js_splitSecretToM31Limbs as splitSecretToM31Limbs, ___index_js_splitToM31Limbs as splitToM31Limbs, ___index_js_storeCancelSecret as storeCancelSecret, ___index_js_syncMerkleTree as syncMerkleTree, ___index_js_toFieldElement as toFieldElement, ___index_js_truncateToM31 as truncateToM31, ___index_js_tupleToPoint as tupleToPoint, ___index_js_validateAuditKeyExport as validateAuditKeyExport, ___index_js_verifyASPProof as verifyASPProof, ___index_js_verifyKeysMatchSignature as verifyKeysMatchSignature, ___index_js_verifyMerkleProof as verifyMerkleProof, ___index_js_verifyOwnership as verifyOwnership, ___index_js_verifyProof as verifyProof };
|
|
3341
3347
|
}
|
|
3342
3348
|
|
|
3343
3349
|
export { type DeploymentConfig as D, TEST_STABLE_TOKEN_ABI as T, UNIVERSAL_PRIVATE_POOL_ABI as U, type VerifierAddresses as V, ___index_js as _, TEST_STABLE_TOKEN_2_ABI as a, getDeploymentOrThrow as b, getSupportedChainIds as c, getTokenAddress as d, getDeployment as g, hasDeployment as h, makeRpcIndexer as m, registerDeployment as r };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RpcIndexerConfig, I as Indexer, A as ADDRESS_VERSION, k as ASPMembershipProof, D as DirectAccountAdapter, l as IASPProvider, m as IAccountAdapter, n as INoteStore, a as IndexedNote, N as NoteStatus, o as NoteStore, P as ProofSystem, p as STARK_ADDRESS_VERSION, q as STARK_STEALTH_ADDRESS_PREFIX, r as STEALTH_ADDRESS_PREFIX, s as ShieldedNote, t as StorableAccountAdapter, S as StorageAdapter, c as SyncResult, U as UPPClient, u as UPPClientConfig, v as computeNoteEncryptionKey, w as createNote, x as createOneTimeKeys, y as createUPPClient, z as decodeStarkStealthAddress, B as decodeStealthAddress, E as decryptNote, F as detectAddressType, G as encodeStarkStealthAddress, H as encodeStealthAddress, J as encryptNote, K as generateStarkStealthAddress, M as generateStealthAddress, O as isValidStarkStealthAddress, Q as isValidStealthAddress, T as verifyOwnership } from './index-
|
|
2
|
-
import { A as ASPProof, a as ASPRoot, b as ASP_TREE_DEPTH, C as
|
|
1
|
+
import { R as RpcIndexerConfig, I as Indexer, A as ADDRESS_VERSION, k as ASPMembershipProof, D as DirectAccountAdapter, l as IASPProvider, m as IAccountAdapter, n as INoteStore, a as IndexedNote, N as NoteStatus, o as NoteStore, P as ProofSystem, p as STARK_ADDRESS_VERSION, q as STARK_STEALTH_ADDRESS_PREFIX, r as STEALTH_ADDRESS_PREFIX, s as ShieldedNote, t as StorableAccountAdapter, S as StorageAdapter, c as SyncResult, U as UPPClient, u as UPPClientConfig, v as computeNoteEncryptionKey, w as createNote, x as createOneTimeKeys, y as createUPPClient, z as decodeStarkStealthAddress, B as decodeStealthAddress, E as decryptNote, F as detectAddressType, G as encodeStarkStealthAddress, H as encodeStealthAddress, J as encryptNote, K as generateStarkStealthAddress, M as generateStealthAddress, O as isValidStarkStealthAddress, Q as isValidStealthAddress, T as verifyOwnership } from './index-AooYZ0kF.cjs';
|
|
2
|
+
import { A as ASPProof, a as ASPRoot, b as ASP_TREE_DEPTH, C as CIRCUIT_CDN_BASE, c as CIRCUIT_VERSION, d as CircuitArtifactCache, e as CircuitArtifacts, f as CircuitCacheStatus, g as CircuitType, h as Commitment, D as DEMO_ASP_ID, i as DEMO_ASP_NAME, j as DownloadProgress, E as EncryptedNote, M as MergeParams, k as MergeRecord, l as MerkleProofWithNote, N as NOTE_VERSION, m as Note, n as NoteWithAmount, o as Nullifier, P as PlonkProvingStage, p as Proof, q as ProofResult, r as ProofWorkerManager, s as ProofWorkerRequest, t as ProofWorkerResponse, R as RATE_PRECISION, u as ResolvedCircuitArtifacts, S as STATE_TREE_DEPTH, v as SWAP_EVENTS_ABI, w as SWAP_ORDER_CANCELLED_EVENT, x as SWAP_ORDER_CLAIMED_EVENT, y as SWAP_ORDER_FILLED_EVENT, z as SWAP_ORDER_PLACED_EVENT, B as ShieldParams, F as SpendableNote, G as StarkNote, H as StarkProof, I as StarkStealthMetaAddress, J as Stealth1x2CircuitInputs, K as Stealth2x2CircuitInputs, L as StealthAddress, O as StealthCircuitInputs, Q as StealthCircuitType, T as StealthMetaAddress, U as SwapFillEvent, V as SwapFillParams, W as SwapOrder, X as SwapOrderEvent, Y as SwapOrderParams, Z as TransferBuildResult, _ as TransferContext, $ as TransferParams, a0 as TransferStage, a1 as UPPCircuitInputs, a2 as UPPCircuitType, a3 as UPPTransferCircuitInputs, a4 as UPPWithdrawCircuitInputs, a5 as WithdrawParams, a6 as buildASPTree, a7 as buildTransfer, a8 as buildUPPTransferCircuitInputs, a9 as computeCancelKeyHash, aa as computeFillPercentage, ab as computeGiveAmount, ac as computeMultiOriginASPRoot, ad as computeNullifier, ae as computeRate, af as computeSingleOriginASPRoot, ag as computeTakeAmount, ah as computeTotalBuyAmount, ai as createDemoASPRoot, aj as filterOrdersByASP, ak as filterOrdersByTokenPair, al as formatOutputForContract, am as formatProofForContract, an as formatRate, ao as generateASPProof, ap as generateCancelSecret, aq as generateMultiOriginASPProof, ar as generateProof, as as generateSingleOriginASPProof, at as generateStealthProof, au as generateUPPProof, av as generateUPPProofAsync, aw as getCancelSecret, ax as getMerkleProofsForNotes, ay as getOwnOrderIds, az as getStealthCircuitArtifacts, aA as getUPPCircuitArtifacts, aB as isFillerASPAccepted, aC as isOrderActive, aD as removeCancelSecret, aE as storeCancelSecret, aF as syncMerkleTree, aG as verifyASPProof, aH as verifyProof } from './transfer-BhB-UuBP.cjs';
|
|
3
3
|
import { A as AuditKeyExport, D as DEFAULT_KEY_DERIVATION_CONFIG, a as DualMasterKeys, K as KeyDerivationConfig, M as MasterKeys, O as OneTimeKeys, P as ProvingSystem, S as SerializedKeys, b as StarkMasterKeys, c as StealthAddressComponents, T as TransactionViewingKey } from './types-CJSbxv4q.cjs';
|
|
4
4
|
import { NoteReference, deriveDualKeysFromSignature, deriveKeysFromSignature, deriveNullifierKey, derivePerNoteKey, derivePerNoteKeyFromKeys, deriveStarkKeysFromSignature, deriveStarkPerNoteKey, deriveStarkPerNoteKeyFromKeys, exportViewingKeysForAudit, getKeyDerivationMessage, getViewingKeyFromExport, validateAuditKeyExport, verifyKeysMatchSignature } from './keys/index.cjs';
|
|
5
5
|
import { BABYJUBJUB_SUBORDER, FIELD_PRIME, addressToField, bigintToBytes, bytesToBigint, bytesToHex, fieldToAddress, hexToBytes, isValidFieldElement, poseidon, poseidonHash, poseidonScalar, randomBytes, randomFieldElement, toFieldElement } from './utils/index.cjs';
|
|
@@ -3117,7 +3117,11 @@ declare const ___index_js_ASP_REGISTRY_HUB_ABI: typeof ASP_REGISTRY_HUB_ABI;
|
|
|
3117
3117
|
declare const ___index_js_ASP_TREE_DEPTH: typeof ASP_TREE_DEPTH;
|
|
3118
3118
|
declare const ___index_js_AuditKeyExport: typeof AuditKeyExport;
|
|
3119
3119
|
declare const ___index_js_BABYJUBJUB_SUBORDER: typeof BABYJUBJUB_SUBORDER;
|
|
3120
|
+
declare const ___index_js_CIRCUIT_CDN_BASE: typeof CIRCUIT_CDN_BASE;
|
|
3121
|
+
declare const ___index_js_CIRCUIT_VERSION: typeof CIRCUIT_VERSION;
|
|
3122
|
+
declare const ___index_js_CircuitArtifactCache: typeof CircuitArtifactCache;
|
|
3120
3123
|
declare const ___index_js_CircuitArtifacts: typeof CircuitArtifacts;
|
|
3124
|
+
declare const ___index_js_CircuitCacheStatus: typeof CircuitCacheStatus;
|
|
3121
3125
|
declare const ___index_js_CircuitType: typeof CircuitType;
|
|
3122
3126
|
declare const ___index_js_Commitment: typeof Commitment;
|
|
3123
3127
|
declare const ___index_js_DEFAULT_KEY_DERIVATION_CONFIG: typeof DEFAULT_KEY_DERIVATION_CONFIG;
|
|
@@ -3126,6 +3130,7 @@ declare const ___index_js_DEMO_ASP_NAME: typeof DEMO_ASP_NAME;
|
|
|
3126
3130
|
declare const ___index_js_DIGEST_SIZE: typeof DIGEST_SIZE;
|
|
3127
3131
|
type ___index_js_DeploymentConfig = DeploymentConfig;
|
|
3128
3132
|
declare const ___index_js_DirectAccountAdapter: typeof DirectAccountAdapter;
|
|
3133
|
+
declare const ___index_js_DownloadProgress: typeof DownloadProgress;
|
|
3129
3134
|
declare const ___index_js_DualMasterKeys: typeof DualMasterKeys;
|
|
3130
3135
|
declare const ___index_js_EncryptedNote: typeof EncryptedNote;
|
|
3131
3136
|
declare const ___index_js_FIELD_PRIME: typeof FIELD_PRIME;
|
|
@@ -3163,6 +3168,7 @@ declare const ___index_js_ProofWorkerRequest: typeof ProofWorkerRequest;
|
|
|
3163
3168
|
declare const ___index_js_ProofWorkerResponse: typeof ProofWorkerResponse;
|
|
3164
3169
|
declare const ___index_js_ProvingSystem: typeof ProvingSystem;
|
|
3165
3170
|
declare const ___index_js_RATE_PRECISION: typeof RATE_PRECISION;
|
|
3171
|
+
declare const ___index_js_ResolvedCircuitArtifacts: typeof ResolvedCircuitArtifacts;
|
|
3166
3172
|
declare const ___index_js_RpcIndexerConfig: typeof RpcIndexerConfig;
|
|
3167
3173
|
declare const ___index_js_SECRET_LIMBS: typeof SECRET_LIMBS;
|
|
3168
3174
|
declare const ___index_js_STARK_ADDRESS_VERSION: typeof STARK_ADDRESS_VERSION;
|
|
@@ -3337,7 +3343,7 @@ declare const ___index_js_verifyMerkleProof: typeof verifyMerkleProof;
|
|
|
3337
3343
|
declare const ___index_js_verifyOwnership: typeof verifyOwnership;
|
|
3338
3344
|
declare const ___index_js_verifyProof: typeof verifyProof;
|
|
3339
3345
|
declare namespace ___index_js {
|
|
3340
|
-
export { ___index_js_ADDRESS_VERSION as ADDRESS_VERSION, ___index_js_ASPMembershipProof as ASPMembershipProof, ___index_js_ASPProof as ASPProof, ___index_js_ASPRoot as ASPRoot, ___index_js_ASP_REGISTRY_HUB_ABI as ASP_REGISTRY_HUB_ABI, ___index_js_ASP_TREE_DEPTH as ASP_TREE_DEPTH, ___index_js_AuditKeyExport as AuditKeyExport, ___index_js_BABYJUBJUB_SUBORDER as BABYJUBJUB_SUBORDER, ___index_js_CircuitArtifacts as CircuitArtifacts, ___index_js_CircuitType as CircuitType, ___index_js_Commitment as Commitment, ___index_js_DEFAULT_KEY_DERIVATION_CONFIG as DEFAULT_KEY_DERIVATION_CONFIG, ___index_js_DEMO_ASP_ID as DEMO_ASP_ID, ___index_js_DEMO_ASP_NAME as DEMO_ASP_NAME, ___index_js_DIGEST_SIZE as DIGEST_SIZE, type ___index_js_DeploymentConfig as DeploymentConfig, ___index_js_DirectAccountAdapter as DirectAccountAdapter, ___index_js_DualMasterKeys as DualMasterKeys, ___index_js_EncryptedNote as EncryptedNote, ___index_js_FIELD_PRIME as FIELD_PRIME, ___index_js_IASPProvider as IASPProvider, ___index_js_IAccountAdapter as IAccountAdapter, ___index_js_INoteStore as INoteStore, ___index_js_IndexedNote as IndexedNote, ___index_js_Indexer as Indexer, ___index_js_KeyDerivationConfig as KeyDerivationConfig, ___index_js_M31Digest as M31Digest, ___index_js_M31Secret as M31Secret, ___index_js_M31_P as M31_P, ___index_js_MAX_TREE_DEPTH as MAX_TREE_DEPTH, ___index_js_MasterKeys as MasterKeys, ___index_js_MergeParams as MergeParams, ___index_js_MergeRecord as MergeRecord, ___index_js_MerkleProof as MerkleProof, ___index_js_MerkleProofWithNote as MerkleProofWithNote, ___index_js_MerkleTree as MerkleTree, ___index_js_NOTE_VERSION as NOTE_VERSION, ___index_js_Note as Note, ___index_js_NoteReference as NoteReference, ___index_js_NoteStatus as NoteStatus, ___index_js_NoteStore as NoteStore, ___index_js_NoteWithAmount as NoteWithAmount, ___index_js_Nullifier as Nullifier, ___index_js_OneTimeKeys as OneTimeKeys, ___index_js_PlonkProvingStage as PlonkProvingStage, ___index_js_Point as Point, ___index_js_Proof as Proof, ___index_js_ProofResult as ProofResult, ___index_js_ProofSystem as ProofSystem, ___index_js_ProofWorkerManager as ProofWorkerManager, ___index_js_ProofWorkerRequest as ProofWorkerRequest, ___index_js_ProofWorkerResponse as ProofWorkerResponse, ___index_js_ProvingSystem as ProvingSystem, ___index_js_RATE_PRECISION as RATE_PRECISION, ___index_js_RpcIndexerConfig as RpcIndexerConfig, ___index_js_SECRET_LIMBS as SECRET_LIMBS, ___index_js_STARK_ADDRESS_VERSION as STARK_ADDRESS_VERSION, ___index_js_STARK_AMOUNT_SCALE as STARK_AMOUNT_SCALE, ___index_js_STARK_ASP_TREE_DEPTH as STARK_ASP_TREE_DEPTH, ___index_js_STARK_STATE_TREE_DEPTH as STARK_STATE_TREE_DEPTH, ___index_js_STARK_STEALTH_ADDRESS_PREFIX as STARK_STEALTH_ADDRESS_PREFIX, ___index_js_STATE_TREE_DEPTH as STATE_TREE_DEPTH, ___index_js_STEALTH_ADDRESS_PREFIX as STEALTH_ADDRESS_PREFIX, ___index_js_SWAP_EVENTS_ABI as SWAP_EVENTS_ABI, ___index_js_SWAP_ORDER_CANCELLED_EVENT as SWAP_ORDER_CANCELLED_EVENT, ___index_js_SWAP_ORDER_CLAIMED_EVENT as SWAP_ORDER_CLAIMED_EVENT, ___index_js_SWAP_ORDER_FILLED_EVENT as SWAP_ORDER_FILLED_EVENT, ___index_js_SWAP_ORDER_PLACED_EVENT as SWAP_ORDER_PLACED_EVENT, ___index_js_SerializedKeys as SerializedKeys, ___index_js_ShieldParams as ShieldParams, ___index_js_ShieldedNote as ShieldedNote, ___index_js_SpendableNote as SpendableNote, ___index_js_StarkMasterKeys as StarkMasterKeys, ___index_js_StarkNote as StarkNote, ___index_js_StarkProof as StarkProof, ___index_js_StarkStealthMetaAddress as StarkStealthMetaAddress, ___index_js_StarkTransferWitness as StarkTransferWitness, ___index_js_StarkWithdrawWitness as StarkWithdrawWitness, ___index_js_Stealth1x2CircuitInputs as Stealth1x2CircuitInputs, ___index_js_Stealth2x2CircuitInputs as Stealth2x2CircuitInputs, ___index_js_StealthAddress as StealthAddress, ___index_js_StealthAddressComponents as StealthAddressComponents, ___index_js_StealthCircuitInputs as StealthCircuitInputs, ___index_js_StealthCircuitType as StealthCircuitType, ___index_js_StealthMetaAddress as StealthMetaAddress, ___index_js_StorableAccountAdapter as StorableAccountAdapter, ___index_js_StorageAdapter as StorageAdapter, ___index_js_SwapFillEvent as SwapFillEvent, ___index_js_SwapFillParams as SwapFillParams, ___index_js_SwapOrder as SwapOrder, ___index_js_SwapOrderEvent as SwapOrderEvent, ___index_js_SwapOrderParams as SwapOrderParams, ___index_js_SyncResult as SyncResult, ___index_js_TEST_STABLE_TOKEN_2_ABI as TEST_STABLE_TOKEN_2_ABI, ___index_js_TEST_STABLE_TOKEN_ABI as TEST_STABLE_TOKEN_ABI, ___index_js_TransactionViewingKey as TransactionViewingKey, ___index_js_TransferBuildResult as TransferBuildResult, ___index_js_TransferContext as TransferContext, ___index_js_TransferParams as TransferParams, ___index_js_TransferStage as TransferStage, ___index_js_UNIVERSAL_PRIVATE_POOL_ABI as UNIVERSAL_PRIVATE_POOL_ABI, ___index_js_UPPCircuitInputs as UPPCircuitInputs, ___index_js_UPPCircuitType as UPPCircuitType, ___index_js_UPPClient as UPPClient, ___index_js_UPPClientConfig as UPPClientConfig, ___index_js_UPPTransferCircuitInputs as UPPTransferCircuitInputs, ___index_js_UPPWithdrawCircuitInputs as UPPWithdrawCircuitInputs, type ___index_js_VerifierAddresses as VerifierAddresses, ___index_js_WithdrawParams as WithdrawParams, ___index_js_addPoints as addPoints, ___index_js_addressToField as addressToField, ___index_js_addressToM31 as addressToM31, ___index_js_bigintToBytes as bigintToBytes, ___index_js_buildASPTree as buildASPTree, ___index_js_buildMerkleTree as buildMerkleTree, ___index_js_buildStarkTransferWitness as buildStarkTransferWitness, ___index_js_buildStarkWithdrawWitness as buildStarkWithdrawWitness, ___index_js_buildTransfer as buildTransfer, ___index_js_buildUPPTransferCircuitInputs as buildUPPTransferCircuitInputs, ___index_js_bytesToBigint as bytesToBigint, ___index_js_bytesToHex as bytesToHex, ___index_js_computeCancelKeyHash as computeCancelKeyHash, ___index_js_computeFillPercentage as computeFillPercentage, ___index_js_computeGiveAmount as computeGiveAmount, ___index_js_computeMultiOriginASPRoot as computeMultiOriginASPRoot, ___index_js_computeNoteEncryptionKey as computeNoteEncryptionKey, ___index_js_computeNullifier as computeNullifier, ___index_js_computeRate as computeRate, ___index_js_computeSharedSecret as computeSharedSecret, ___index_js_computeSingleOriginASPRoot as computeSingleOriginASPRoot, ___index_js_computeStarkCommitment as computeStarkCommitment, ___index_js_computeStarkNullifier as computeStarkNullifier, ___index_js_computeStarkOwnerHash as computeStarkOwnerHash, ___index_js_computeTakeAmount as computeTakeAmount, ___index_js_computeTotalBuyAmount as computeTotalBuyAmount, ___index_js_computeTransferPublicInputsSeed as computeTransferPublicInputsSeed, ___index_js_computeWithdrawPublicInputsSeed as computeWithdrawPublicInputsSeed, ___index_js_createDemoASPRoot as createDemoASPRoot, ___index_js_createNote as createNote, ___index_js_createOneTimeKeys as createOneTimeKeys, ___index_js_createUPPClient as createUPPClient, ___index_js_decodeStarkStealthAddress as decodeStarkStealthAddress, ___index_js_decodeStealthAddress as decodeStealthAddress, ___index_js_decryptNote as decryptNote, ___index_js_deriveDecryptionViewingKey as deriveDecryptionViewingKey, ___index_js_deriveDualKeysFromSignature as deriveDualKeysFromSignature, ___index_js_deriveEncryptionViewingKey as deriveEncryptionViewingKey, ___index_js_deriveKeysFromSignature as deriveKeysFromSignature, ___index_js_deriveNullifierKey as deriveNullifierKey, ___index_js_derivePerNoteKey as derivePerNoteKey, ___index_js_derivePerNoteKeyFromKeys as derivePerNoteKeyFromKeys, ___index_js_deriveStarkKeysFromSignature as deriveStarkKeysFromSignature, ___index_js_deriveStarkPerNoteKey as deriveStarkPerNoteKey, ___index_js_deriveStarkPerNoteKeyFromKeys as deriveStarkPerNoteKeyFromKeys, ___index_js_detectAddressType as detectAddressType, ___index_js_encodeStarkStealthAddress as encodeStarkStealthAddress, ___index_js_encodeStealthAddress as encodeStealthAddress, ___index_js_encryptNote as encryptNote, ___index_js_exportViewingKeysForAudit as exportViewingKeysForAudit, ___index_js_fieldToAddress as fieldToAddress, ___index_js_filterOrdersByASP as filterOrdersByASP, ___index_js_filterOrdersByTokenPair as filterOrdersByTokenPair, ___index_js_formatOutputForContract as formatOutputForContract, ___index_js_formatProofForContract as formatProofForContract, ___index_js_formatRate as formatRate, ___index_js_generateASPProof as generateASPProof, ___index_js_generateCancelSecret as generateCancelSecret, ___index_js_generateMultiOriginASPProof as generateMultiOriginASPProof, ___index_js_generateProof as generateProof, ___index_js_generateSingleOriginASPProof as generateSingleOriginASPProof, ___index_js_generateStarkStealthAddress as generateStarkStealthAddress, ___index_js_generateStealthAddress as generateStealthAddress, ___index_js_generateStealthProof as generateStealthProof, ___index_js_generateUPPProof as generateUPPProof, ___index_js_generateUPPProofAsync as generateUPPProofAsync, ___index_js_getBasePoint as getBasePoint, ___index_js_getCancelSecret as getCancelSecret, ___index_js_getDeployment as getDeployment, ___index_js_getDeploymentOrThrow as getDeploymentOrThrow, ___index_js_getKeyDerivationMessage as getKeyDerivationMessage, ___index_js_getMerkleProof as getMerkleProof, ___index_js_getMerkleProofsForNotes as getMerkleProofsForNotes, ___index_js_getOwnOrderIds as getOwnOrderIds, ___index_js_getStealthCircuitArtifacts as getStealthCircuitArtifacts, ___index_js_getSubOrder as getSubOrder, ___index_js_getSupportedChainIds as getSupportedChainIds, ___index_js_getTokenAddress as getTokenAddress, ___index_js_getUPPCircuitArtifacts as getUPPCircuitArtifacts, ___index_js_getViewingKeyFromExport as getViewingKeyFromExport, ___index_js_hasDeployment as hasDeployment, ___index_js_hexToBytes as hexToBytes, ___index_js_isFillerASPAccepted as isFillerASPAccepted, ___index_js_isOnCurve as isOnCurve, ___index_js_isOrderActive as isOrderActive, ___index_js_isStarkAligned as isStarkAligned, ___index_js_isValidFieldElement as isValidFieldElement, ___index_js_isValidStarkStealthAddress as isValidStarkStealthAddress, ___index_js_isValidStealthAddress as isValidStealthAddress, ___index_js_keccakHashTwo as keccakHashTwo, ___index_js_keccakM31 as keccakM31, ___index_js_makeRpcIndexer as makeRpcIndexer, ___index_js_mulPointScalar as mulPointScalar, ___index_js_packM31Digest as packM31Digest, ___index_js_packPoint as packPoint, ___index_js_pointToTuple as pointToTuple, ___index_js_poseidon as poseidon, ___index_js_poseidonHash as poseidonHash, ___index_js_poseidonScalar as poseidonScalar, ___index_js_privateToPublic as privateToPublic, ___index_js_randomBytes as randomBytes, ___index_js_randomFieldElement as randomFieldElement, ___index_js_registerDeployment as registerDeployment, ___index_js_removeCancelSecret as removeCancelSecret, ___index_js_scaleAmountForStark as scaleAmountForStark, ___index_js_splitSecretToM31Limbs as splitSecretToM31Limbs, ___index_js_splitToM31Limbs as splitToM31Limbs, ___index_js_storeCancelSecret as storeCancelSecret, ___index_js_syncMerkleTree as syncMerkleTree, ___index_js_toFieldElement as toFieldElement, ___index_js_truncateToM31 as truncateToM31, ___index_js_tupleToPoint as tupleToPoint, ___index_js_validateAuditKeyExport as validateAuditKeyExport, ___index_js_verifyASPProof as verifyASPProof, ___index_js_verifyKeysMatchSignature as verifyKeysMatchSignature, ___index_js_verifyMerkleProof as verifyMerkleProof, ___index_js_verifyOwnership as verifyOwnership, ___index_js_verifyProof as verifyProof };
|
|
3346
|
+
export { ___index_js_ADDRESS_VERSION as ADDRESS_VERSION, ___index_js_ASPMembershipProof as ASPMembershipProof, ___index_js_ASPProof as ASPProof, ___index_js_ASPRoot as ASPRoot, ___index_js_ASP_REGISTRY_HUB_ABI as ASP_REGISTRY_HUB_ABI, ___index_js_ASP_TREE_DEPTH as ASP_TREE_DEPTH, ___index_js_AuditKeyExport as AuditKeyExport, ___index_js_BABYJUBJUB_SUBORDER as BABYJUBJUB_SUBORDER, ___index_js_CIRCUIT_CDN_BASE as CIRCUIT_CDN_BASE, ___index_js_CIRCUIT_VERSION as CIRCUIT_VERSION, ___index_js_CircuitArtifactCache as CircuitArtifactCache, ___index_js_CircuitArtifacts as CircuitArtifacts, ___index_js_CircuitCacheStatus as CircuitCacheStatus, ___index_js_CircuitType as CircuitType, ___index_js_Commitment as Commitment, ___index_js_DEFAULT_KEY_DERIVATION_CONFIG as DEFAULT_KEY_DERIVATION_CONFIG, ___index_js_DEMO_ASP_ID as DEMO_ASP_ID, ___index_js_DEMO_ASP_NAME as DEMO_ASP_NAME, ___index_js_DIGEST_SIZE as DIGEST_SIZE, type ___index_js_DeploymentConfig as DeploymentConfig, ___index_js_DirectAccountAdapter as DirectAccountAdapter, ___index_js_DownloadProgress as DownloadProgress, ___index_js_DualMasterKeys as DualMasterKeys, ___index_js_EncryptedNote as EncryptedNote, ___index_js_FIELD_PRIME as FIELD_PRIME, ___index_js_IASPProvider as IASPProvider, ___index_js_IAccountAdapter as IAccountAdapter, ___index_js_INoteStore as INoteStore, ___index_js_IndexedNote as IndexedNote, ___index_js_Indexer as Indexer, ___index_js_KeyDerivationConfig as KeyDerivationConfig, ___index_js_M31Digest as M31Digest, ___index_js_M31Secret as M31Secret, ___index_js_M31_P as M31_P, ___index_js_MAX_TREE_DEPTH as MAX_TREE_DEPTH, ___index_js_MasterKeys as MasterKeys, ___index_js_MergeParams as MergeParams, ___index_js_MergeRecord as MergeRecord, ___index_js_MerkleProof as MerkleProof, ___index_js_MerkleProofWithNote as MerkleProofWithNote, ___index_js_MerkleTree as MerkleTree, ___index_js_NOTE_VERSION as NOTE_VERSION, ___index_js_Note as Note, ___index_js_NoteReference as NoteReference, ___index_js_NoteStatus as NoteStatus, ___index_js_NoteStore as NoteStore, ___index_js_NoteWithAmount as NoteWithAmount, ___index_js_Nullifier as Nullifier, ___index_js_OneTimeKeys as OneTimeKeys, ___index_js_PlonkProvingStage as PlonkProvingStage, ___index_js_Point as Point, ___index_js_Proof as Proof, ___index_js_ProofResult as ProofResult, ___index_js_ProofSystem as ProofSystem, ___index_js_ProofWorkerManager as ProofWorkerManager, ___index_js_ProofWorkerRequest as ProofWorkerRequest, ___index_js_ProofWorkerResponse as ProofWorkerResponse, ___index_js_ProvingSystem as ProvingSystem, ___index_js_RATE_PRECISION as RATE_PRECISION, ___index_js_ResolvedCircuitArtifacts as ResolvedCircuitArtifacts, ___index_js_RpcIndexerConfig as RpcIndexerConfig, ___index_js_SECRET_LIMBS as SECRET_LIMBS, ___index_js_STARK_ADDRESS_VERSION as STARK_ADDRESS_VERSION, ___index_js_STARK_AMOUNT_SCALE as STARK_AMOUNT_SCALE, ___index_js_STARK_ASP_TREE_DEPTH as STARK_ASP_TREE_DEPTH, ___index_js_STARK_STATE_TREE_DEPTH as STARK_STATE_TREE_DEPTH, ___index_js_STARK_STEALTH_ADDRESS_PREFIX as STARK_STEALTH_ADDRESS_PREFIX, ___index_js_STATE_TREE_DEPTH as STATE_TREE_DEPTH, ___index_js_STEALTH_ADDRESS_PREFIX as STEALTH_ADDRESS_PREFIX, ___index_js_SWAP_EVENTS_ABI as SWAP_EVENTS_ABI, ___index_js_SWAP_ORDER_CANCELLED_EVENT as SWAP_ORDER_CANCELLED_EVENT, ___index_js_SWAP_ORDER_CLAIMED_EVENT as SWAP_ORDER_CLAIMED_EVENT, ___index_js_SWAP_ORDER_FILLED_EVENT as SWAP_ORDER_FILLED_EVENT, ___index_js_SWAP_ORDER_PLACED_EVENT as SWAP_ORDER_PLACED_EVENT, ___index_js_SerializedKeys as SerializedKeys, ___index_js_ShieldParams as ShieldParams, ___index_js_ShieldedNote as ShieldedNote, ___index_js_SpendableNote as SpendableNote, ___index_js_StarkMasterKeys as StarkMasterKeys, ___index_js_StarkNote as StarkNote, ___index_js_StarkProof as StarkProof, ___index_js_StarkStealthMetaAddress as StarkStealthMetaAddress, ___index_js_StarkTransferWitness as StarkTransferWitness, ___index_js_StarkWithdrawWitness as StarkWithdrawWitness, ___index_js_Stealth1x2CircuitInputs as Stealth1x2CircuitInputs, ___index_js_Stealth2x2CircuitInputs as Stealth2x2CircuitInputs, ___index_js_StealthAddress as StealthAddress, ___index_js_StealthAddressComponents as StealthAddressComponents, ___index_js_StealthCircuitInputs as StealthCircuitInputs, ___index_js_StealthCircuitType as StealthCircuitType, ___index_js_StealthMetaAddress as StealthMetaAddress, ___index_js_StorableAccountAdapter as StorableAccountAdapter, ___index_js_StorageAdapter as StorageAdapter, ___index_js_SwapFillEvent as SwapFillEvent, ___index_js_SwapFillParams as SwapFillParams, ___index_js_SwapOrder as SwapOrder, ___index_js_SwapOrderEvent as SwapOrderEvent, ___index_js_SwapOrderParams as SwapOrderParams, ___index_js_SyncResult as SyncResult, ___index_js_TEST_STABLE_TOKEN_2_ABI as TEST_STABLE_TOKEN_2_ABI, ___index_js_TEST_STABLE_TOKEN_ABI as TEST_STABLE_TOKEN_ABI, ___index_js_TransactionViewingKey as TransactionViewingKey, ___index_js_TransferBuildResult as TransferBuildResult, ___index_js_TransferContext as TransferContext, ___index_js_TransferParams as TransferParams, ___index_js_TransferStage as TransferStage, ___index_js_UNIVERSAL_PRIVATE_POOL_ABI as UNIVERSAL_PRIVATE_POOL_ABI, ___index_js_UPPCircuitInputs as UPPCircuitInputs, ___index_js_UPPCircuitType as UPPCircuitType, ___index_js_UPPClient as UPPClient, ___index_js_UPPClientConfig as UPPClientConfig, ___index_js_UPPTransferCircuitInputs as UPPTransferCircuitInputs, ___index_js_UPPWithdrawCircuitInputs as UPPWithdrawCircuitInputs, type ___index_js_VerifierAddresses as VerifierAddresses, ___index_js_WithdrawParams as WithdrawParams, ___index_js_addPoints as addPoints, ___index_js_addressToField as addressToField, ___index_js_addressToM31 as addressToM31, ___index_js_bigintToBytes as bigintToBytes, ___index_js_buildASPTree as buildASPTree, ___index_js_buildMerkleTree as buildMerkleTree, ___index_js_buildStarkTransferWitness as buildStarkTransferWitness, ___index_js_buildStarkWithdrawWitness as buildStarkWithdrawWitness, ___index_js_buildTransfer as buildTransfer, ___index_js_buildUPPTransferCircuitInputs as buildUPPTransferCircuitInputs, ___index_js_bytesToBigint as bytesToBigint, ___index_js_bytesToHex as bytesToHex, ___index_js_computeCancelKeyHash as computeCancelKeyHash, ___index_js_computeFillPercentage as computeFillPercentage, ___index_js_computeGiveAmount as computeGiveAmount, ___index_js_computeMultiOriginASPRoot as computeMultiOriginASPRoot, ___index_js_computeNoteEncryptionKey as computeNoteEncryptionKey, ___index_js_computeNullifier as computeNullifier, ___index_js_computeRate as computeRate, ___index_js_computeSharedSecret as computeSharedSecret, ___index_js_computeSingleOriginASPRoot as computeSingleOriginASPRoot, ___index_js_computeStarkCommitment as computeStarkCommitment, ___index_js_computeStarkNullifier as computeStarkNullifier, ___index_js_computeStarkOwnerHash as computeStarkOwnerHash, ___index_js_computeTakeAmount as computeTakeAmount, ___index_js_computeTotalBuyAmount as computeTotalBuyAmount, ___index_js_computeTransferPublicInputsSeed as computeTransferPublicInputsSeed, ___index_js_computeWithdrawPublicInputsSeed as computeWithdrawPublicInputsSeed, ___index_js_createDemoASPRoot as createDemoASPRoot, ___index_js_createNote as createNote, ___index_js_createOneTimeKeys as createOneTimeKeys, ___index_js_createUPPClient as createUPPClient, ___index_js_decodeStarkStealthAddress as decodeStarkStealthAddress, ___index_js_decodeStealthAddress as decodeStealthAddress, ___index_js_decryptNote as decryptNote, ___index_js_deriveDecryptionViewingKey as deriveDecryptionViewingKey, ___index_js_deriveDualKeysFromSignature as deriveDualKeysFromSignature, ___index_js_deriveEncryptionViewingKey as deriveEncryptionViewingKey, ___index_js_deriveKeysFromSignature as deriveKeysFromSignature, ___index_js_deriveNullifierKey as deriveNullifierKey, ___index_js_derivePerNoteKey as derivePerNoteKey, ___index_js_derivePerNoteKeyFromKeys as derivePerNoteKeyFromKeys, ___index_js_deriveStarkKeysFromSignature as deriveStarkKeysFromSignature, ___index_js_deriveStarkPerNoteKey as deriveStarkPerNoteKey, ___index_js_deriveStarkPerNoteKeyFromKeys as deriveStarkPerNoteKeyFromKeys, ___index_js_detectAddressType as detectAddressType, ___index_js_encodeStarkStealthAddress as encodeStarkStealthAddress, ___index_js_encodeStealthAddress as encodeStealthAddress, ___index_js_encryptNote as encryptNote, ___index_js_exportViewingKeysForAudit as exportViewingKeysForAudit, ___index_js_fieldToAddress as fieldToAddress, ___index_js_filterOrdersByASP as filterOrdersByASP, ___index_js_filterOrdersByTokenPair as filterOrdersByTokenPair, ___index_js_formatOutputForContract as formatOutputForContract, ___index_js_formatProofForContract as formatProofForContract, ___index_js_formatRate as formatRate, ___index_js_generateASPProof as generateASPProof, ___index_js_generateCancelSecret as generateCancelSecret, ___index_js_generateMultiOriginASPProof as generateMultiOriginASPProof, ___index_js_generateProof as generateProof, ___index_js_generateSingleOriginASPProof as generateSingleOriginASPProof, ___index_js_generateStarkStealthAddress as generateStarkStealthAddress, ___index_js_generateStealthAddress as generateStealthAddress, ___index_js_generateStealthProof as generateStealthProof, ___index_js_generateUPPProof as generateUPPProof, ___index_js_generateUPPProofAsync as generateUPPProofAsync, ___index_js_getBasePoint as getBasePoint, ___index_js_getCancelSecret as getCancelSecret, ___index_js_getDeployment as getDeployment, ___index_js_getDeploymentOrThrow as getDeploymentOrThrow, ___index_js_getKeyDerivationMessage as getKeyDerivationMessage, ___index_js_getMerkleProof as getMerkleProof, ___index_js_getMerkleProofsForNotes as getMerkleProofsForNotes, ___index_js_getOwnOrderIds as getOwnOrderIds, ___index_js_getStealthCircuitArtifacts as getStealthCircuitArtifacts, ___index_js_getSubOrder as getSubOrder, ___index_js_getSupportedChainIds as getSupportedChainIds, ___index_js_getTokenAddress as getTokenAddress, ___index_js_getUPPCircuitArtifacts as getUPPCircuitArtifacts, ___index_js_getViewingKeyFromExport as getViewingKeyFromExport, ___index_js_hasDeployment as hasDeployment, ___index_js_hexToBytes as hexToBytes, ___index_js_isFillerASPAccepted as isFillerASPAccepted, ___index_js_isOnCurve as isOnCurve, ___index_js_isOrderActive as isOrderActive, ___index_js_isStarkAligned as isStarkAligned, ___index_js_isValidFieldElement as isValidFieldElement, ___index_js_isValidStarkStealthAddress as isValidStarkStealthAddress, ___index_js_isValidStealthAddress as isValidStealthAddress, ___index_js_keccakHashTwo as keccakHashTwo, ___index_js_keccakM31 as keccakM31, ___index_js_makeRpcIndexer as makeRpcIndexer, ___index_js_mulPointScalar as mulPointScalar, ___index_js_packM31Digest as packM31Digest, ___index_js_packPoint as packPoint, ___index_js_pointToTuple as pointToTuple, ___index_js_poseidon as poseidon, ___index_js_poseidonHash as poseidonHash, ___index_js_poseidonScalar as poseidonScalar, ___index_js_privateToPublic as privateToPublic, ___index_js_randomBytes as randomBytes, ___index_js_randomFieldElement as randomFieldElement, ___index_js_registerDeployment as registerDeployment, ___index_js_removeCancelSecret as removeCancelSecret, ___index_js_scaleAmountForStark as scaleAmountForStark, ___index_js_splitSecretToM31Limbs as splitSecretToM31Limbs, ___index_js_splitToM31Limbs as splitToM31Limbs, ___index_js_storeCancelSecret as storeCancelSecret, ___index_js_syncMerkleTree as syncMerkleTree, ___index_js_toFieldElement as toFieldElement, ___index_js_truncateToM31 as truncateToM31, ___index_js_tupleToPoint as tupleToPoint, ___index_js_validateAuditKeyExport as validateAuditKeyExport, ___index_js_verifyASPProof as verifyASPProof, ___index_js_verifyKeysMatchSignature as verifyKeysMatchSignature, ___index_js_verifyMerkleProof as verifyMerkleProof, ___index_js_verifyOwnership as verifyOwnership, ___index_js_verifyProof as verifyProof };
|
|
3341
3347
|
}
|
|
3342
3348
|
|
|
3343
3349
|
export { type DeploymentConfig as D, TEST_STABLE_TOKEN_ABI as T, UNIVERSAL_PRIVATE_POOL_ABI as U, type VerifierAddresses as V, ___index_js as _, TEST_STABLE_TOKEN_2_ABI as a, getDeploymentOrThrow as b, getSupportedChainIds as c, getTokenAddress as d, getDeployment as g, hasDeployment as h, makeRpcIndexer as m, registerDeployment as r };
|
package/dist/index.cjs
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var chunk632LPXPX_cjs = require('./chunk-632LPXPX.cjs');
|
|
4
|
+
var chunkDYSU7JYL_cjs = require('./chunk-DYSU7JYL.cjs');
|
|
5
|
+
var chunkIX7HV5TE_cjs = require('./chunk-IX7HV5TE.cjs');
|
|
6
|
+
var chunkUYPIWBKM_cjs = require('./chunk-UYPIWBKM.cjs');
|
|
7
7
|
var chunk7BNJV2ZS_cjs = require('./chunk-7BNJV2ZS.cjs');
|
|
8
8
|
var chunkI5EKGD4P_cjs = require('./chunk-I5EKGD4P.cjs');
|
|
9
9
|
var chunkSWTNJPK5_cjs = require('./chunk-SWTNJPK5.cjs');
|
|
10
10
|
var chunkIIUKM5VE_cjs = require('./chunk-IIUKM5VE.cjs');
|
|
11
11
|
var chunkU3YFYMWF_cjs = require('./chunk-U3YFYMWF.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkIYRCJAME_cjs = require('./chunk-IYRCJAME.cjs');
|
|
13
13
|
var chunkXVIICZKW_cjs = require('./chunk-XVIICZKW.cjs');
|
|
14
|
+
var chunkVVW5VVY3_cjs = require('./chunk-VVW5VVY3.cjs');
|
|
14
15
|
require('./chunk-ERQE57IA.cjs');
|
|
15
16
|
var chunkUFEDJJSH_cjs = require('./chunk-UFEDJJSH.cjs');
|
|
16
17
|
var chunkHEHXSV47_cjs = require('./chunk-HEHXSV47.cjs');
|
|
@@ -3763,111 +3764,111 @@ var TEST_STABLE_TOKEN_2_ABI = [
|
|
|
3763
3764
|
|
|
3764
3765
|
Object.defineProperty(exports, "NOTE_VERSION", {
|
|
3765
3766
|
enumerable: true,
|
|
3766
|
-
get: function () { return
|
|
3767
|
+
get: function () { return chunk632LPXPX_cjs.NOTE_VERSION; }
|
|
3767
3768
|
});
|
|
3768
3769
|
Object.defineProperty(exports, "createNote", {
|
|
3769
3770
|
enumerable: true,
|
|
3770
|
-
get: function () { return
|
|
3771
|
+
get: function () { return chunk632LPXPX_cjs.createNote; }
|
|
3771
3772
|
});
|
|
3772
3773
|
Object.defineProperty(exports, "createUPPClient", {
|
|
3773
3774
|
enumerable: true,
|
|
3774
|
-
get: function () { return
|
|
3775
|
+
get: function () { return chunk632LPXPX_cjs.createUPPClient; }
|
|
3775
3776
|
});
|
|
3776
3777
|
Object.defineProperty(exports, "decryptNote", {
|
|
3777
3778
|
enumerable: true,
|
|
3778
|
-
get: function () { return
|
|
3779
|
+
get: function () { return chunk632LPXPX_cjs.decryptNote; }
|
|
3779
3780
|
});
|
|
3780
3781
|
Object.defineProperty(exports, "encryptNote", {
|
|
3781
3782
|
enumerable: true,
|
|
3782
|
-
get: function () { return
|
|
3783
|
+
get: function () { return chunk632LPXPX_cjs.encryptNote; }
|
|
3783
3784
|
});
|
|
3784
3785
|
Object.defineProperty(exports, "buildTransfer", {
|
|
3785
3786
|
enumerable: true,
|
|
3786
|
-
get: function () { return
|
|
3787
|
+
get: function () { return chunkDYSU7JYL_cjs.buildTransfer; }
|
|
3787
3788
|
});
|
|
3788
3789
|
Object.defineProperty(exports, "buildUPPTransferCircuitInputs", {
|
|
3789
3790
|
enumerable: true,
|
|
3790
|
-
get: function () { return
|
|
3791
|
+
get: function () { return chunkDYSU7JYL_cjs.buildUPPTransferCircuitInputs; }
|
|
3791
3792
|
});
|
|
3792
3793
|
Object.defineProperty(exports, "computeNullifier", {
|
|
3793
3794
|
enumerable: true,
|
|
3794
|
-
get: function () { return
|
|
3795
|
+
get: function () { return chunkDYSU7JYL_cjs.computeNullifier; }
|
|
3795
3796
|
});
|
|
3796
3797
|
Object.defineProperty(exports, "formatOutputForContract", {
|
|
3797
3798
|
enumerable: true,
|
|
3798
|
-
get: function () { return
|
|
3799
|
+
get: function () { return chunkDYSU7JYL_cjs.formatOutputForContract; }
|
|
3799
3800
|
});
|
|
3800
3801
|
Object.defineProperty(exports, "getDeployment", {
|
|
3801
3802
|
enumerable: true,
|
|
3802
|
-
get: function () { return
|
|
3803
|
+
get: function () { return chunkDYSU7JYL_cjs.getDeployment; }
|
|
3803
3804
|
});
|
|
3804
3805
|
Object.defineProperty(exports, "getDeploymentOrThrow", {
|
|
3805
3806
|
enumerable: true,
|
|
3806
|
-
get: function () { return
|
|
3807
|
+
get: function () { return chunkDYSU7JYL_cjs.getDeploymentOrThrow; }
|
|
3807
3808
|
});
|
|
3808
3809
|
Object.defineProperty(exports, "getMerkleProofsForNotes", {
|
|
3809
3810
|
enumerable: true,
|
|
3810
|
-
get: function () { return
|
|
3811
|
+
get: function () { return chunkDYSU7JYL_cjs.getMerkleProofsForNotes; }
|
|
3811
3812
|
});
|
|
3812
3813
|
Object.defineProperty(exports, "getSupportedChainIds", {
|
|
3813
3814
|
enumerable: true,
|
|
3814
|
-
get: function () { return
|
|
3815
|
+
get: function () { return chunkDYSU7JYL_cjs.getSupportedChainIds; }
|
|
3815
3816
|
});
|
|
3816
3817
|
Object.defineProperty(exports, "getTokenAddress", {
|
|
3817
3818
|
enumerable: true,
|
|
3818
|
-
get: function () { return
|
|
3819
|
+
get: function () { return chunkDYSU7JYL_cjs.getTokenAddress; }
|
|
3819
3820
|
});
|
|
3820
3821
|
Object.defineProperty(exports, "hasDeployment", {
|
|
3821
3822
|
enumerable: true,
|
|
3822
|
-
get: function () { return
|
|
3823
|
+
get: function () { return chunkDYSU7JYL_cjs.hasDeployment; }
|
|
3823
3824
|
});
|
|
3824
3825
|
Object.defineProperty(exports, "registerDeployment", {
|
|
3825
3826
|
enumerable: true,
|
|
3826
|
-
get: function () { return
|
|
3827
|
+
get: function () { return chunkDYSU7JYL_cjs.registerDeployment; }
|
|
3827
3828
|
});
|
|
3828
3829
|
Object.defineProperty(exports, "syncMerkleTree", {
|
|
3829
3830
|
enumerable: true,
|
|
3830
|
-
get: function () { return
|
|
3831
|
+
get: function () { return chunkDYSU7JYL_cjs.syncMerkleTree; }
|
|
3831
3832
|
});
|
|
3832
3833
|
Object.defineProperty(exports, "ASP_TREE_DEPTH", {
|
|
3833
3834
|
enumerable: true,
|
|
3834
|
-
get: function () { return
|
|
3835
|
+
get: function () { return chunkIX7HV5TE_cjs.ASP_TREE_DEPTH; }
|
|
3835
3836
|
});
|
|
3836
3837
|
Object.defineProperty(exports, "STATE_TREE_DEPTH", {
|
|
3837
3838
|
enumerable: true,
|
|
3838
|
-
get: function () { return
|
|
3839
|
+
get: function () { return chunkIX7HV5TE_cjs.STATE_TREE_DEPTH; }
|
|
3839
3840
|
});
|
|
3840
3841
|
Object.defineProperty(exports, "formatProofForContract", {
|
|
3841
3842
|
enumerable: true,
|
|
3842
|
-
get: function () { return
|
|
3843
|
+
get: function () { return chunkIX7HV5TE_cjs.formatProofForContract; }
|
|
3843
3844
|
});
|
|
3844
3845
|
Object.defineProperty(exports, "generateProof", {
|
|
3845
3846
|
enumerable: true,
|
|
3846
|
-
get: function () { return
|
|
3847
|
+
get: function () { return chunkIX7HV5TE_cjs.generateProof; }
|
|
3847
3848
|
});
|
|
3848
3849
|
Object.defineProperty(exports, "generateStealthProof", {
|
|
3849
3850
|
enumerable: true,
|
|
3850
|
-
get: function () { return
|
|
3851
|
+
get: function () { return chunkIX7HV5TE_cjs.generateStealthProof; }
|
|
3851
3852
|
});
|
|
3852
3853
|
Object.defineProperty(exports, "generateUPPProof", {
|
|
3853
3854
|
enumerable: true,
|
|
3854
|
-
get: function () { return
|
|
3855
|
+
get: function () { return chunkIX7HV5TE_cjs.generateUPPProof; }
|
|
3855
3856
|
});
|
|
3856
3857
|
Object.defineProperty(exports, "getStealthCircuitArtifacts", {
|
|
3857
3858
|
enumerable: true,
|
|
3858
|
-
get: function () { return
|
|
3859
|
+
get: function () { return chunkIX7HV5TE_cjs.getStealthCircuitArtifacts; }
|
|
3859
3860
|
});
|
|
3860
3861
|
Object.defineProperty(exports, "getUPPCircuitArtifacts", {
|
|
3861
3862
|
enumerable: true,
|
|
3862
|
-
get: function () { return
|
|
3863
|
+
get: function () { return chunkIX7HV5TE_cjs.getUPPCircuitArtifacts; }
|
|
3863
3864
|
});
|
|
3864
3865
|
Object.defineProperty(exports, "verifyProof", {
|
|
3865
3866
|
enumerable: true,
|
|
3866
|
-
get: function () { return
|
|
3867
|
+
get: function () { return chunkIX7HV5TE_cjs.verifyProof; }
|
|
3867
3868
|
});
|
|
3868
3869
|
Object.defineProperty(exports, "makeRpcIndexer", {
|
|
3869
3870
|
enumerable: true,
|
|
3870
|
-
get: function () { return
|
|
3871
|
+
get: function () { return chunkUYPIWBKM_cjs.makeRpcIndexer; }
|
|
3871
3872
|
});
|
|
3872
3873
|
Object.defineProperty(exports, "DEFAULT_KEY_DERIVATION_CONFIG", {
|
|
3873
3874
|
enumerable: true,
|
|
@@ -4083,175 +4084,175 @@ Object.defineProperty(exports, "splitToM31Limbs", {
|
|
|
4083
4084
|
});
|
|
4084
4085
|
Object.defineProperty(exports, "ADDRESS_VERSION", {
|
|
4085
4086
|
enumerable: true,
|
|
4086
|
-
get: function () { return
|
|
4087
|
+
get: function () { return chunkIYRCJAME_cjs.ADDRESS_VERSION; }
|
|
4087
4088
|
});
|
|
4088
4089
|
Object.defineProperty(exports, "DirectAccountAdapter", {
|
|
4089
4090
|
enumerable: true,
|
|
4090
|
-
get: function () { return
|
|
4091
|
+
get: function () { return chunkIYRCJAME_cjs.DirectAccountAdapter; }
|
|
4091
4092
|
});
|
|
4092
4093
|
Object.defineProperty(exports, "NoteStore", {
|
|
4093
4094
|
enumerable: true,
|
|
4094
|
-
get: function () { return
|
|
4095
|
+
get: function () { return chunkIYRCJAME_cjs.NoteStore; }
|
|
4095
4096
|
});
|
|
4096
4097
|
Object.defineProperty(exports, "ProofWorkerManager", {
|
|
4097
4098
|
enumerable: true,
|
|
4098
|
-
get: function () { return
|
|
4099
|
+
get: function () { return chunkIYRCJAME_cjs.ProofWorkerManager; }
|
|
4099
4100
|
});
|
|
4100
4101
|
Object.defineProperty(exports, "RATE_PRECISION", {
|
|
4101
4102
|
enumerable: true,
|
|
4102
|
-
get: function () { return
|
|
4103
|
+
get: function () { return chunkIYRCJAME_cjs.RATE_PRECISION; }
|
|
4103
4104
|
});
|
|
4104
4105
|
Object.defineProperty(exports, "STARK_ADDRESS_VERSION", {
|
|
4105
4106
|
enumerable: true,
|
|
4106
|
-
get: function () { return
|
|
4107
|
+
get: function () { return chunkIYRCJAME_cjs.STARK_ADDRESS_VERSION; }
|
|
4107
4108
|
});
|
|
4108
4109
|
Object.defineProperty(exports, "STARK_STEALTH_ADDRESS_PREFIX", {
|
|
4109
4110
|
enumerable: true,
|
|
4110
|
-
get: function () { return
|
|
4111
|
+
get: function () { return chunkIYRCJAME_cjs.STARK_STEALTH_ADDRESS_PREFIX; }
|
|
4111
4112
|
});
|
|
4112
4113
|
Object.defineProperty(exports, "STEALTH_ADDRESS_PREFIX", {
|
|
4113
4114
|
enumerable: true,
|
|
4114
|
-
get: function () { return
|
|
4115
|
+
get: function () { return chunkIYRCJAME_cjs.STEALTH_ADDRESS_PREFIX; }
|
|
4115
4116
|
});
|
|
4116
4117
|
Object.defineProperty(exports, "SWAP_EVENTS_ABI", {
|
|
4117
4118
|
enumerable: true,
|
|
4118
|
-
get: function () { return
|
|
4119
|
+
get: function () { return chunkIYRCJAME_cjs.SWAP_EVENTS_ABI; }
|
|
4119
4120
|
});
|
|
4120
4121
|
Object.defineProperty(exports, "SWAP_ORDER_CANCELLED_EVENT", {
|
|
4121
4122
|
enumerable: true,
|
|
4122
|
-
get: function () { return
|
|
4123
|
+
get: function () { return chunkIYRCJAME_cjs.SWAP_ORDER_CANCELLED_EVENT; }
|
|
4123
4124
|
});
|
|
4124
4125
|
Object.defineProperty(exports, "SWAP_ORDER_CLAIMED_EVENT", {
|
|
4125
4126
|
enumerable: true,
|
|
4126
|
-
get: function () { return
|
|
4127
|
+
get: function () { return chunkIYRCJAME_cjs.SWAP_ORDER_CLAIMED_EVENT; }
|
|
4127
4128
|
});
|
|
4128
4129
|
Object.defineProperty(exports, "SWAP_ORDER_FILLED_EVENT", {
|
|
4129
4130
|
enumerable: true,
|
|
4130
|
-
get: function () { return
|
|
4131
|
+
get: function () { return chunkIYRCJAME_cjs.SWAP_ORDER_FILLED_EVENT; }
|
|
4131
4132
|
});
|
|
4132
4133
|
Object.defineProperty(exports, "SWAP_ORDER_PLACED_EVENT", {
|
|
4133
4134
|
enumerable: true,
|
|
4134
|
-
get: function () { return
|
|
4135
|
+
get: function () { return chunkIYRCJAME_cjs.SWAP_ORDER_PLACED_EVENT; }
|
|
4135
4136
|
});
|
|
4136
4137
|
Object.defineProperty(exports, "StorableAccountAdapter", {
|
|
4137
4138
|
enumerable: true,
|
|
4138
|
-
get: function () { return
|
|
4139
|
+
get: function () { return chunkIYRCJAME_cjs.StorableAccountAdapter; }
|
|
4139
4140
|
});
|
|
4140
4141
|
Object.defineProperty(exports, "computeCancelKeyHash", {
|
|
4141
4142
|
enumerable: true,
|
|
4142
|
-
get: function () { return
|
|
4143
|
+
get: function () { return chunkIYRCJAME_cjs.computeCancelKeyHash; }
|
|
4143
4144
|
});
|
|
4144
4145
|
Object.defineProperty(exports, "computeFillPercentage", {
|
|
4145
4146
|
enumerable: true,
|
|
4146
|
-
get: function () { return
|
|
4147
|
+
get: function () { return chunkIYRCJAME_cjs.computeFillPercentage; }
|
|
4147
4148
|
});
|
|
4148
4149
|
Object.defineProperty(exports, "computeGiveAmount", {
|
|
4149
4150
|
enumerable: true,
|
|
4150
|
-
get: function () { return
|
|
4151
|
+
get: function () { return chunkIYRCJAME_cjs.computeGiveAmount; }
|
|
4151
4152
|
});
|
|
4152
4153
|
Object.defineProperty(exports, "computeNoteEncryptionKey", {
|
|
4153
4154
|
enumerable: true,
|
|
4154
|
-
get: function () { return
|
|
4155
|
+
get: function () { return chunkIYRCJAME_cjs.computeNoteEncryptionKey; }
|
|
4155
4156
|
});
|
|
4156
4157
|
Object.defineProperty(exports, "computeRate", {
|
|
4157
4158
|
enumerable: true,
|
|
4158
|
-
get: function () { return
|
|
4159
|
+
get: function () { return chunkIYRCJAME_cjs.computeRate; }
|
|
4159
4160
|
});
|
|
4160
4161
|
Object.defineProperty(exports, "computeTakeAmount", {
|
|
4161
4162
|
enumerable: true,
|
|
4162
|
-
get: function () { return
|
|
4163
|
+
get: function () { return chunkIYRCJAME_cjs.computeTakeAmount; }
|
|
4163
4164
|
});
|
|
4164
4165
|
Object.defineProperty(exports, "computeTotalBuyAmount", {
|
|
4165
4166
|
enumerable: true,
|
|
4166
|
-
get: function () { return
|
|
4167
|
+
get: function () { return chunkIYRCJAME_cjs.computeTotalBuyAmount; }
|
|
4167
4168
|
});
|
|
4168
4169
|
Object.defineProperty(exports, "createOneTimeKeys", {
|
|
4169
4170
|
enumerable: true,
|
|
4170
|
-
get: function () { return
|
|
4171
|
+
get: function () { return chunkIYRCJAME_cjs.createOneTimeKeys; }
|
|
4171
4172
|
});
|
|
4172
4173
|
Object.defineProperty(exports, "decodeStarkStealthAddress", {
|
|
4173
4174
|
enumerable: true,
|
|
4174
|
-
get: function () { return
|
|
4175
|
+
get: function () { return chunkIYRCJAME_cjs.decodeStarkStealthAddress; }
|
|
4175
4176
|
});
|
|
4176
4177
|
Object.defineProperty(exports, "decodeStealthAddress", {
|
|
4177
4178
|
enumerable: true,
|
|
4178
|
-
get: function () { return
|
|
4179
|
+
get: function () { return chunkIYRCJAME_cjs.decodeStealthAddress; }
|
|
4179
4180
|
});
|
|
4180
4181
|
Object.defineProperty(exports, "detectAddressType", {
|
|
4181
4182
|
enumerable: true,
|
|
4182
|
-
get: function () { return
|
|
4183
|
+
get: function () { return chunkIYRCJAME_cjs.detectAddressType; }
|
|
4183
4184
|
});
|
|
4184
4185
|
Object.defineProperty(exports, "encodeStarkStealthAddress", {
|
|
4185
4186
|
enumerable: true,
|
|
4186
|
-
get: function () { return
|
|
4187
|
+
get: function () { return chunkIYRCJAME_cjs.encodeStarkStealthAddress; }
|
|
4187
4188
|
});
|
|
4188
4189
|
Object.defineProperty(exports, "encodeStealthAddress", {
|
|
4189
4190
|
enumerable: true,
|
|
4190
|
-
get: function () { return
|
|
4191
|
+
get: function () { return chunkIYRCJAME_cjs.encodeStealthAddress; }
|
|
4191
4192
|
});
|
|
4192
4193
|
Object.defineProperty(exports, "filterOrdersByASP", {
|
|
4193
4194
|
enumerable: true,
|
|
4194
|
-
get: function () { return
|
|
4195
|
+
get: function () { return chunkIYRCJAME_cjs.filterOrdersByASP; }
|
|
4195
4196
|
});
|
|
4196
4197
|
Object.defineProperty(exports, "filterOrdersByTokenPair", {
|
|
4197
4198
|
enumerable: true,
|
|
4198
|
-
get: function () { return
|
|
4199
|
+
get: function () { return chunkIYRCJAME_cjs.filterOrdersByTokenPair; }
|
|
4199
4200
|
});
|
|
4200
4201
|
Object.defineProperty(exports, "formatRate", {
|
|
4201
4202
|
enumerable: true,
|
|
4202
|
-
get: function () { return
|
|
4203
|
+
get: function () { return chunkIYRCJAME_cjs.formatRate; }
|
|
4203
4204
|
});
|
|
4204
4205
|
Object.defineProperty(exports, "generateCancelSecret", {
|
|
4205
4206
|
enumerable: true,
|
|
4206
|
-
get: function () { return
|
|
4207
|
+
get: function () { return chunkIYRCJAME_cjs.generateCancelSecret; }
|
|
4207
4208
|
});
|
|
4208
4209
|
Object.defineProperty(exports, "generateStarkStealthAddress", {
|
|
4209
4210
|
enumerable: true,
|
|
4210
|
-
get: function () { return
|
|
4211
|
+
get: function () { return chunkIYRCJAME_cjs.generateStarkStealthAddress; }
|
|
4211
4212
|
});
|
|
4212
4213
|
Object.defineProperty(exports, "generateStealthAddress", {
|
|
4213
4214
|
enumerable: true,
|
|
4214
|
-
get: function () { return
|
|
4215
|
+
get: function () { return chunkIYRCJAME_cjs.generateStealthAddress; }
|
|
4215
4216
|
});
|
|
4216
4217
|
Object.defineProperty(exports, "generateUPPProofAsync", {
|
|
4217
4218
|
enumerable: true,
|
|
4218
|
-
get: function () { return
|
|
4219
|
+
get: function () { return chunkIYRCJAME_cjs.generateUPPProofAsync; }
|
|
4219
4220
|
});
|
|
4220
4221
|
Object.defineProperty(exports, "getCancelSecret", {
|
|
4221
4222
|
enumerable: true,
|
|
4222
|
-
get: function () { return
|
|
4223
|
+
get: function () { return chunkIYRCJAME_cjs.getCancelSecret; }
|
|
4223
4224
|
});
|
|
4224
4225
|
Object.defineProperty(exports, "getOwnOrderIds", {
|
|
4225
4226
|
enumerable: true,
|
|
4226
|
-
get: function () { return
|
|
4227
|
+
get: function () { return chunkIYRCJAME_cjs.getOwnOrderIds; }
|
|
4227
4228
|
});
|
|
4228
4229
|
Object.defineProperty(exports, "isFillerASPAccepted", {
|
|
4229
4230
|
enumerable: true,
|
|
4230
|
-
get: function () { return
|
|
4231
|
+
get: function () { return chunkIYRCJAME_cjs.isFillerASPAccepted; }
|
|
4231
4232
|
});
|
|
4232
4233
|
Object.defineProperty(exports, "isOrderActive", {
|
|
4233
4234
|
enumerable: true,
|
|
4234
|
-
get: function () { return
|
|
4235
|
+
get: function () { return chunkIYRCJAME_cjs.isOrderActive; }
|
|
4235
4236
|
});
|
|
4236
4237
|
Object.defineProperty(exports, "isValidStarkStealthAddress", {
|
|
4237
4238
|
enumerable: true,
|
|
4238
|
-
get: function () { return
|
|
4239
|
+
get: function () { return chunkIYRCJAME_cjs.isValidStarkStealthAddress; }
|
|
4239
4240
|
});
|
|
4240
4241
|
Object.defineProperty(exports, "isValidStealthAddress", {
|
|
4241
4242
|
enumerable: true,
|
|
4242
|
-
get: function () { return
|
|
4243
|
+
get: function () { return chunkIYRCJAME_cjs.isValidStealthAddress; }
|
|
4243
4244
|
});
|
|
4244
4245
|
Object.defineProperty(exports, "removeCancelSecret", {
|
|
4245
4246
|
enumerable: true,
|
|
4246
|
-
get: function () { return
|
|
4247
|
+
get: function () { return chunkIYRCJAME_cjs.removeCancelSecret; }
|
|
4247
4248
|
});
|
|
4248
4249
|
Object.defineProperty(exports, "storeCancelSecret", {
|
|
4249
4250
|
enumerable: true,
|
|
4250
|
-
get: function () { return
|
|
4251
|
+
get: function () { return chunkIYRCJAME_cjs.storeCancelSecret; }
|
|
4251
4252
|
});
|
|
4252
4253
|
Object.defineProperty(exports, "verifyOwnership", {
|
|
4253
4254
|
enumerable: true,
|
|
4254
|
-
get: function () { return
|
|
4255
|
+
get: function () { return chunkIYRCJAME_cjs.verifyOwnership; }
|
|
4255
4256
|
});
|
|
4256
4257
|
Object.defineProperty(exports, "DEMO_ASP_ID", {
|
|
4257
4258
|
enumerable: true,
|
|
@@ -4293,6 +4294,18 @@ Object.defineProperty(exports, "verifyASPProof", {
|
|
|
4293
4294
|
enumerable: true,
|
|
4294
4295
|
get: function () { return chunkXVIICZKW_cjs.verifyASPProof; }
|
|
4295
4296
|
});
|
|
4297
|
+
Object.defineProperty(exports, "CIRCUIT_CDN_BASE", {
|
|
4298
|
+
enumerable: true,
|
|
4299
|
+
get: function () { return chunkVVW5VVY3_cjs.CIRCUIT_CDN_BASE; }
|
|
4300
|
+
});
|
|
4301
|
+
Object.defineProperty(exports, "CIRCUIT_VERSION", {
|
|
4302
|
+
enumerable: true,
|
|
4303
|
+
get: function () { return chunkVVW5VVY3_cjs.CIRCUIT_VERSION; }
|
|
4304
|
+
});
|
|
4305
|
+
Object.defineProperty(exports, "CircuitArtifactCache", {
|
|
4306
|
+
enumerable: true,
|
|
4307
|
+
get: function () { return chunkVVW5VVY3_cjs.CircuitArtifactCache; }
|
|
4308
|
+
});
|
|
4296
4309
|
Object.defineProperty(exports, "bigintToBytes", {
|
|
4297
4310
|
enumerable: true,
|
|
4298
4311
|
get: function () { return chunkUFEDJJSH_cjs.bigintToBytes; }
|