Type Definition solana_program::entrypoint_deprecated::ProcessInstruction [−][src]
type ProcessInstruction = fn(program_id: &Pubkey, accounts: &[AccountInfo<'_>], instruction_data: &[u8]) -> ProgramResult;
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