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

type ProcessInstruction = fn(program_id: &Pubkey, accounts: &mut [AccountInfo], data: &[u8]) -> bool;

User implemented program entrypoint

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