pub struct RedeemStrategy2 {
pub user: Pubkey,
pub admin_permissions: Option<Pubkey>,
pub main: Pubkey,
pub strategy_controller: Pubkey,
pub receipt_mint: Pubkey,
pub user_receipt_ata: Pubkey,
pub user_earn_ata: Pubkey,
pub strategy_controller_earn_token_account: Pubkey,
pub token_program: Pubkey,
pub associated_token_program: Pubkey,
pub instruction_sysvar_account: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§user: Pubkey§admin_permissions: Option<Pubkey>§main: Pubkey§strategy_controller: Pubkey§receipt_mint: Pubkey§user_receipt_ata: Pubkey§user_earn_ata: Pubkey§strategy_controller_earn_token_account: Pubkey§token_program: Pubkey§associated_token_program: Pubkey§instruction_sysvar_account: Pubkey§system_program: PubkeyImplementations§
Source§impl RedeemStrategy2
impl RedeemStrategy2
pub fn instruction(&self, args: RedeemStrategy2InstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: RedeemStrategy2InstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RedeemStrategy2
impl RefUnwindSafe for RedeemStrategy2
impl Send for RedeemStrategy2
impl Sync for RedeemStrategy2
impl Unpin for RedeemStrategy2
impl UnsafeUnpin for RedeemStrategy2
impl UnwindSafe for RedeemStrategy2
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