@fairblock/stabletrust 1.0.22 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +360 -106
- package/examples/anonymous-flow.js +338 -0
- package/package.json +1 -1
- package/pkg/README.md +310 -0
- package/pkg/confidential_transfer_proof_generation.d.ts +13 -9
- package/pkg/confidential_transfer_proof_generation.js +571 -604
- package/pkg/confidential_transfer_proof_generation_bg.wasm +0 -0
- package/pkg/confidential_transfer_proof_generation_bg.wasm.d.ts +2 -0
- package/src/anonymous-client.js +1353 -0
- package/src/{client.js → confidential-client.js} +11 -8
- package/src/constants.js +8 -9
- package/src/index.d.ts +341 -1
- package/src/index.js +2 -1
- package/pkg/proof_generator_wasm_bg.wasm +0 -0
|
Binary file
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
4
|
export const decode_transfer_proof: (a: number, b: number, c: number, d: number) => void;
|
|
5
5
|
export const decrypt_ciphertext: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6
|
+
export const decrypt_ciphertext_with_randomness: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6
7
|
export const encrypt_amount: (a: number, b: bigint, c: number, d: number) => void;
|
|
8
|
+
export const encrypt_amount_with_randomness: (a: number, b: bigint, c: number, d: number) => void;
|
|
7
9
|
export const generate_deterministic_keypair: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
8
10
|
export const generate_deterministic_keypair_legacy: (a: number, b: number, c: number) => void;
|
|
9
11
|
export const generate_keypair: (a: number) => void;
|