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