pub fn invoke<const ACCOUNTS: usize>(
instruction: &InstructionView<'_, '_, '_, '_>,
account_views: &[&AccountView; ACCOUNTS],
) -> ProgramResultExpand description
Invoke a CPI with full validation.
Validates account count, address identity, signer/writable requirements, and borrow compatibility before calling the runtime.