solana_program

Module program

source
Expand description

Cross-program invocation.

Solana programs may call other programs, termed cross-program invocations (CPI), with the invoke and invoke_signed functions.

Constants§

Functions§

  • Get the return data from an invoked program.
  • Invoke a cross-program instruction.
  • Invoke a cross-program instruction with program signatures.
  • Invoke a cross-program instruction with signatures but don’t enforce Rust’s aliasing rules.
  • Invoke a cross-program instruction but don’t enforce Rust’s aliasing rules.
  • Set the running program’s return data.