Function safecoin_program::program::invoke
source[−]pub fn invoke(
instruction: &Instruction,
account_infos: &[AccountInfo<'_>]
) -> ProgramResult
Expand description
Invoke a cross-program instruction.
Notes:
- RefCell checking can be compute unit expensive, to avoid that expense use
invoke_unchecked
instead, but at your own risk. - The program id of the instruction being issued must also be included in
account_infos
.