[][src]Trait solana_sdk::program_stubs::SyscallStubs

pub trait SyscallStubs: Send + Sync {
    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]]]
    ) -> Result<(), ProgramError> { ... } }

Provided methods

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]]]
) -> Result<(), ProgramError>

Loading content...

Implementors

Loading content...