Modules§
Structs§
- Ciphertext
Validity Proof With Auditor Ciphertext - A type that wraps a ciphertext validity proof along with two
loandhiciphertexts.
Constants§
- REMAINING_
BALANCE_ BIT_ LENGTH - The bit length of the encrypted remaining balance in a token account
- TRANSFER_
AMOUNT_ HI_ BITS - The high bit length of the encrypted transfer amount
- TRANSFER_
AMOUNT_ LO_ BITS - The low bit length of the encrypted transfer amount
Functions§
- try_
combine_ lo_ hi_ ciphertexts - try_
combine_ lo_ hi_ commitments - try_
combine_ lo_ hi_ openings - try_
combine_ lo_ hi_ u64 - Combine two numbers that are interpreted as the low and high bits of a
target number. The
bit_lengthparameter specifies the number of bits thatamount_hiis to be shifted by. - try_
split_ u64 - Takes in a 64-bit number
amountand a bit lengthbit_length. It returns: