Struct DecreaseLiquidityV2
pub struct DecreaseLiquidityV2 {Show 15 fields
pub whirlpool: Address,
pub token_program_a: Address,
pub token_program_b: Address,
pub memo_program: Address,
pub position_authority: Address,
pub position: Address,
pub position_token_account: Address,
pub token_mint_a: Address,
pub token_mint_b: Address,
pub token_owner_account_a: Address,
pub token_owner_account_b: Address,
pub token_vault_a: Address,
pub token_vault_b: Address,
pub tick_array_lower: Address,
pub tick_array_upper: Address,
}Expand description
Accounts.
Fields§
§whirlpool: Address§token_program_a: Address§token_program_b: Address§memo_program: Address§position: Address§position_token_account: Address§token_mint_a: Address§token_mint_b: Address§token_owner_account_a: Address§token_owner_account_b: Address§token_vault_a: Address§token_vault_b: Address§tick_array_lower: Address§tick_array_upper: AddressImplementations§
§impl DecreaseLiquidityV2
impl DecreaseLiquidityV2
pub fn instruction( &self, args: DecreaseLiquidityV2InstructionArgs, ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: DecreaseLiquidityV2InstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecreaseLiquidityV2
impl RefUnwindSafe for DecreaseLiquidityV2
impl Send for DecreaseLiquidityV2
impl Sync for DecreaseLiquidityV2
impl Unpin for DecreaseLiquidityV2
impl UnwindSafe for DecreaseLiquidityV2
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more