pub struct AddLstDriftCpi<'a, 'b> {
pub __program: &'b AccountInfo<'a>,
pub lst_controller: &'b AccountInfo<'a>,
pub admin_permissions: &'b AccountInfo<'a>,
pub lst_mint: &'b AccountInfo<'a>,
pub main: &'b AccountInfo<'a>,
pub spot_market_lst: &'b AccountInfo<'a>,
pub admin: &'b AccountInfo<'a>,
pub system_program: &'b AccountInfo<'a>,
}Expand description
add_lst_drift CPI instruction.
Fields§
§__program: &'b AccountInfo<'a>The program to invoke.
lst_controller: &'b AccountInfo<'a>§admin_permissions: &'b AccountInfo<'a>§lst_mint: &'b AccountInfo<'a>§main: &'b AccountInfo<'a>§spot_market_lst: &'b AccountInfo<'a>§admin: &'b AccountInfo<'a>§system_program: &'b AccountInfo<'a>Implementations§
Source§impl<'a, 'b> AddLstDriftCpi<'a, 'b>
impl<'a, 'b> AddLstDriftCpi<'a, 'b>
pub fn new( program: &'b AccountInfo<'a>, accounts: AddLstDriftCpiAccounts<'a, 'b>, ) -> Self
pub fn invoke(&self) -> ProgramResult
pub fn invoke_with_remaining_accounts( &self, remaining_accounts: &[(&'b AccountInfo<'a>, bool, bool)], ) -> ProgramResult
pub fn invoke_signed(&self, signers_seeds: &[&[&[u8]]]) -> ProgramResult
pub fn invoke_signed_with_remaining_accounts( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[(&'b AccountInfo<'a>, bool, bool)], ) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for AddLstDriftCpi<'a, 'b>
impl<'a, 'b> !Send for AddLstDriftCpi<'a, 'b>
impl<'a, 'b> !Sync for AddLstDriftCpi<'a, 'b>
impl<'a, 'b> !UnwindSafe for AddLstDriftCpi<'a, 'b>
impl<'a, 'b> Freeze for AddLstDriftCpi<'a, 'b>
impl<'a, 'b> Unpin for AddLstDriftCpi<'a, 'b>
impl<'a, 'b> UnsafeUnpin for AddLstDriftCpi<'a, 'b>
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