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