pub struct RedeemStrategy1 {
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 RedeemStrategy1
impl RedeemStrategy1
pub fn instruction(&self, args: RedeemStrategy1InstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: RedeemStrategy1InstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RedeemStrategy1
impl RefUnwindSafe for RedeemStrategy1
impl Send for RedeemStrategy1
impl Sync for RedeemStrategy1
impl Unpin for RedeemStrategy1
impl UnsafeUnpin for RedeemStrategy1
impl UnwindSafe for RedeemStrategy1
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