Expand description
Wrappers around solana-cpi
with support for overwriting
syscall stubs
Solana programs may call other programs, termed cross-program
invocations (CPI), with the invoke
and invoke_signed
functions.
Constants§
- MAX_
RETURN_ DATA - Maximum size that can be set using
set_return_data
.
Functions§
- get_
return_ data - Like
solana_cpi::get_return_data
, but with support for overwriting thesol_get_return_data
syscall stub. - invoke
- Like
solana_cpi::invoke
, but with support for overwriting thesol_invoke_signed
syscall stub. - invoke_
signed - Like
solana_cpi::invoke_signed
, but with support for overwriting thesol_invoke_signed
syscall stub. - invoke_
signed_ unchecked - Like
solana_cpi::invoke_signed_unchecked
, but with support for overwriting thesol_invoke_signed
syscall stub. - invoke_
unchecked - Like
solana_cpi::invoke_unchecked
, but with support for overwriting thesol_invoke_signed
syscall stub. - set_
return_ data - Like
solana_cpi::set_return_data
, but with support for overwriting thesol_set_return_data
syscall stub.