spl_elgamal_registry::processor

Function create_pda_account

Source
pub fn create_pda_account<'a>(
    rent: &Rent,
    space: usize,
    owner: &Pubkey,
    system_program: &AccountInfo<'a>,
    new_pda_account: &AccountInfo<'a>,
    new_pda_signer_seeds: &[&[u8]],
) -> ProgramResult
Expand description

Allocate ElGamal registry account using Program Derived Address for the given seeds