Module solana_sdk::program
source · Expand description
Cross-program invocation.
Safecoin programs may call other programs, termed cross-program
invocations (CPI), with the invoke
and invoke_signed
functions.
Constants
- Maximum size that can be set using
set_return_data
.
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.