spl_token_2022::extension::confidential_transfer::instruction

Function inner_withdraw

Source
pub fn inner_withdraw(
    token_program_id: &Pubkey,
    token_account: &Pubkey,
    mint: &Pubkey,
    amount: u64,
    decimals: u8,
    new_decryptable_available_balance: DecryptableBalance,
    authority: &Pubkey,
    multisig_signers: &[&Pubkey],
    equality_proof_data_location: ProofLocation<'_, CiphertextCommitmentEqualityProofData>,
    range_proof_data_location: ProofLocation<'_, BatchedRangeProofU64Data>,
) -> Result<Instruction, ProgramError>
Expand description

Create a inner Withdraw instruction

This instruction is suitable for use with a cross-program invoke