pub struct SyscallInvokeSignedC {}๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Expand description
Cross-program invocation called from C
Implementationsยง
Sourceยงimpl SyscallInvokeSignedC
impl SyscallInvokeSignedC
Sourcepub fn rust(
invoke_context: &mut InvokeContext<'_, '_>,
instruction_addr: u64,
account_infos_addr: u64,
account_infos_len: u64,
signers_seeds_addr: u64,
signers_seeds_len: u64,
memory_mapping: &mut MemoryMapping<'_>,
) -> Result<u64, Box<dyn Error>>
๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
pub fn rust( invoke_context: &mut InvokeContext<'_, '_>, instruction_addr: u64, account_infos_addr: u64, account_infos_len: u64, signers_seeds_addr: u64, signers_seeds_len: u64, memory_mapping: &mut MemoryMapping<'_>, ) -> Result<u64, Box<dyn Error>>
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Rust interface
Sourcepub fn vm(
invoke_context: *mut EbpfVm<'_, InvokeContext<'_, '_>>,
instruction_addr: u64,
account_infos_addr: u64,
account_infos_len: u64,
signers_seeds_addr: u64,
signers_seeds_len: u64,
)
๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
pub fn vm( invoke_context: *mut EbpfVm<'_, InvokeContext<'_, '_>>, instruction_addr: u64, account_infos_addr: u64, account_infos_len: u64, signers_seeds_addr: u64, signers_seeds_len: u64, )
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.VM interface
Trait Implementationsยง
Sourceยงimpl SyscallInvokeSigned for SyscallInvokeSignedC
impl SyscallInvokeSigned for SyscallInvokeSignedC
fn translate_instruction( addr: u64, memory_mapping: &MemoryMapping<'_>, invoke_context: &mut InvokeContext<'_, '_>, check_aligned: bool, ) -> Result<Instruction, Box<dyn Error>>
fn translate_accounts<'a>( account_infos_addr: u64, account_infos_len: u64, memory_mapping: &MemoryMapping<'_>, invoke_context: &mut InvokeContext<'_, '_>, check_aligned: bool, ) -> Result<Vec<TranslatedAccount<'a>>, Box<dyn Error>>
fn translate_signers( program_id: &Pubkey, signers_seeds_addr: u64, signers_seeds_len: u64, memory_mapping: &MemoryMapping<'_>, check_aligned: bool, ) -> Result<Vec<Pubkey>, Box<dyn Error>>
Auto Trait Implementationsยง
impl Freeze for SyscallInvokeSignedC
impl RefUnwindSafe for SyscallInvokeSignedC
impl Send for SyscallInvokeSignedC
impl Sync for SyscallInvokeSignedC
impl Unpin for SyscallInvokeSignedC
impl UnsafeUnpin for SyscallInvokeSignedC
impl UnwindSafe for SyscallInvokeSignedC
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more