pub struct IncreaseLimitOrderCpi<'a, 'b> {
pub __program: &'b AccountInfo<'a>,
pub limit_order_authority: &'b AccountInfo<'a>,
pub fusion_pool: &'b AccountInfo<'a>,
pub limit_order: &'b AccountInfo<'a>,
pub limit_order_token_account: &'b AccountInfo<'a>,
pub token_mint: &'b AccountInfo<'a>,
pub token_owner_account: &'b AccountInfo<'a>,
pub token_vault: &'b AccountInfo<'a>,
pub tick_array: &'b AccountInfo<'a>,
pub token_program: &'b AccountInfo<'a>,
pub memo_program: &'b AccountInfo<'a>,
pub __args: IncreaseLimitOrderInstructionArgs,
}
Expand description
increase_limit_order
CPI instruction.
Fields§
§__program: &'b AccountInfo<'a>
The program to invoke.
fusion_pool: &'b AccountInfo<'a>
§limit_order: &'b AccountInfo<'a>
§limit_order_token_account: &'b AccountInfo<'a>
§token_mint: &'b AccountInfo<'a>
§token_owner_account: &'b AccountInfo<'a>
§token_vault: &'b AccountInfo<'a>
§tick_array: &'b AccountInfo<'a>
§token_program: &'b AccountInfo<'a>
§memo_program: &'b AccountInfo<'a>
§__args: IncreaseLimitOrderInstructionArgs
The arguments for the instruction.
Implementations§
Source§impl<'a, 'b> IncreaseLimitOrderCpi<'a, 'b>
impl<'a, 'b> IncreaseLimitOrderCpi<'a, 'b>
pub fn new( program: &'b AccountInfo<'a>, accounts: IncreaseLimitOrderCpiAccounts<'a, 'b>, args: IncreaseLimitOrderInstructionArgs, ) -> Self
pub fn invoke(&self) -> ProgramResult
pub fn invoke_with_remaining_accounts( &self, remaining_accounts: &[(&'b AccountInfo<'a>, bool, bool)], ) -> ProgramResult
pub fn invoke_signed(&self, signers_seeds: &[&[&[u8]]]) -> ProgramResult
pub fn invoke_signed_with_remaining_accounts( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[(&'b AccountInfo<'a>, bool, bool)], ) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> Freeze for IncreaseLimitOrderCpi<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for IncreaseLimitOrderCpi<'a, 'b>
impl<'a, 'b> !Send for IncreaseLimitOrderCpi<'a, 'b>
impl<'a, 'b> !Sync for IncreaseLimitOrderCpi<'a, 'b>
impl<'a, 'b> Unpin for IncreaseLimitOrderCpi<'a, 'b>
impl<'a, 'b> !UnwindSafe for IncreaseLimitOrderCpi<'a, 'b>
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