Skip to main content

InvokeAccounts

Trait InvokeAccounts 

Source
pub trait InvokeAccounts<'info> {
    // Required methods
    fn get_registered_program_pda(&self) -> &AccountInfo<'info>;
    fn get_noop_program(&self) -> &UncheckedAccount<'info>;
    fn get_account_compression_authority(&self) -> &UncheckedAccount<'info>;
    fn get_account_compression_program(
        &self,
    ) -> &Program<'info, AccountCompression>;
    fn get_system_program(&self) -> &Program<'info, System>;
    fn get_sol_pool_pda(&self) -> Option<&AccountInfo<'info>>;
    fn get_decompression_recipient(&self) -> Option<&AccountInfo<'info>>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'info> InvokeAccounts<'info> for InvokeCpiInstruction<'info>

Source§

impl<'info> InvokeAccounts<'info> for InvokeInstruction<'info>