spl_elgamal_registry::instruction

Function create_registry

Source
pub fn create_registry(
    owner_address: &Pubkey,
    proof_location: ProofLocation<'_, PubkeyValidityProofData>,
) -> Result<Vec<Instruction>, ProgramError>
Expand description

Create a RegistryInstruction::CreateRegistry instruction