Trait solana_program::program_stubs::SyscallStubs[][src]

pub trait SyscallStubs: Sync + Send {
    fn sol_log(&self, message: &str) { ... }
fn sol_log_compute_units(&self) { ... }
fn sol_invoke_signed(
        &self,
        _instruction: &Instruction,
        _account_infos: &[AccountInfo<'_>],
        _signers_seeds: &[&[&[u8]]]
    ) -> ProgramResult { ... } }

Provided methods

fn sol_log(&self, message: &str)[src]

fn sol_log_compute_units(&self)[src]

fn sol_invoke_signed(
    &self,
    _instruction: &Instruction,
    _account_infos: &[AccountInfo<'_>],
    _signers_seeds: &[&[&[u8]]]
) -> ProgramResult
[src]

Loading content...

Implementors

Loading content...