pub struct Unstake {
pub unstaker_account: Pubkey,
pub state_account: Pubkey,
pub pending_withdraw_account: Pubkey,
pub unstaker_xorca_ata: Pubkey,
pub xorca_mint_account: Pubkey,
pub orca_mint_account: Pubkey,
pub vault_account: Pubkey,
pub system_program_account: Pubkey,
pub token_program_account: Pubkey,
}Expand description
Accounts.
Fields§
§unstaker_account: Pubkey§state_account: Pubkey§pending_withdraw_account: Pubkey§unstaker_xorca_ata: Pubkey§xorca_mint_account: Pubkey§orca_mint_account: Pubkey§vault_account: Pubkey§system_program_account: Pubkey§token_program_account: PubkeyImplementations§
Source§impl Unstake
impl Unstake
pub fn instruction(&self, args: UnstakeInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: UnstakeInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Unstake
impl RefUnwindSafe for Unstake
impl Send for Unstake
impl Sync for Unstake
impl Unpin for Unstake
impl UnwindSafe for Unstake
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