pub fn create_program_address(
seeds: &[&[u8]],
program_id: &Address,
) -> Result<Address, ProgramError>Expand description
Create a program-derived address from seeds and a program ID.
Returns Err(InvalidSeeds) if the derived address falls on the
ed25519 curve (not a valid PDA).