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