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

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

Provided methods

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

pub fn sol_log_compute_units(&self)[src]

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

Loading content...

Implementors

Loading content...