spl_token_confidential_transfer_proof_generation::withdraw

Function withdraw_proof_data

Source
pub fn withdraw_proof_data(
    current_available_balance: &ElGamalCiphertext,
    current_balance: u64,
    withdraw_amount: u64,
    elgamal_keypair: &ElGamalKeypair,
) -> Result<WithdrawProofData, TokenProofGenerationError>