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