[][src]Type Definition solana_sdk::entrypoint::ProcessInstruction

type ProcessInstruction = fn(&Pubkey, &[AccountInfo<'_>], &[u8]) -> Result<(), ProgramError>;

User implemented function to process an instruction

program_id: Program ID of the currently executing program accounts: Accounts passed as part of the instruction instruction_data: Instruction data