Struct RepositionLiquidityV2
pub struct RepositionLiquidityV2 {Show 19 fields
pub whirlpool: Address,
pub token_program_a: Address,
pub token_program_b: Address,
pub memo_program: Address,
pub position_authority: Address,
pub funder: 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 existing_tick_array_lower: Address,
pub existing_tick_array_upper: Address,
pub new_tick_array_lower: Address,
pub new_tick_array_upper: Address,
pub system_program: Address,
}Expand description
Accounts.
Fields§
§whirlpool: Address§token_program_a: Address§token_program_b: Address§memo_program: Address§funder: 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§existing_tick_array_lower: Address§existing_tick_array_upper: Address§new_tick_array_lower: Address§new_tick_array_upper: Address§system_program: AddressImplementations§
§impl RepositionLiquidityV2
impl RepositionLiquidityV2
pub fn instruction( &self, args: RepositionLiquidityV2InstructionArgs, ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: RepositionLiquidityV2InstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepositionLiquidityV2
impl RefUnwindSafe for RepositionLiquidityV2
impl Send for RepositionLiquidityV2
impl Sync for RepositionLiquidityV2
impl Unpin for RepositionLiquidityV2
impl UnwindSafe for RepositionLiquidityV2
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