LpHarvest

Struct LpHarvest 

Source
pub struct LpHarvest {
Show 31 fields pub lp_authority: Pubkey, pub lp_escrow: Pubkey, pub whirlpool: Pubkey, pub position: Pubkey, pub position_token_account: Pubkey, pub lower_tick_array: Pubkey, pub upper_tick_array: Pubkey, pub token_a_mint: Pubkey, pub token_b_mint: Pubkey, pub token_a_ata: Pubkey, pub token_b_ata: Pubkey, pub token_a_vault: Pubkey, pub token_b_vault: Pubkey, pub reward1_mint: Pubkey, pub reward2_mint: Pubkey, pub reward3_mint: Pubkey, pub reward1_ata: Pubkey, pub reward2_ata: Pubkey, pub reward3_ata: Pubkey, pub reward1_vault: Pubkey, pub reward2_vault: Pubkey, pub reward3_vault: Pubkey, pub system_program: Pubkey, pub token_a_program: Pubkey, pub token_b_program: Pubkey, pub reward1_token_program: Pubkey, pub reward2_token_program: Pubkey, pub reward3_token_program: Pubkey, pub ata_program: Pubkey, pub memo_program: Pubkey, pub whirlpool_program: Pubkey,
}
Expand description

Accounts.

Fields§

§lp_authority: Pubkey

The authority of the lp escrow account

§lp_escrow: Pubkey

The LP escrow account

§whirlpool: Pubkey

The whirlpool account

§position: Pubkey

The position account

§position_token_account: Pubkey

The position token account

§lower_tick_array: Pubkey

The lower tick array account

§upper_tick_array: Pubkey

The upper tick array account

§token_a_mint: Pubkey

The token mint a account

§token_b_mint: Pubkey

The token mint b account

§token_a_ata: Pubkey

The token owner a account

§token_b_ata: Pubkey

The token owner b account

§token_a_vault: Pubkey

The token vault a account

§token_b_vault: Pubkey

The token vault b account

§reward1_mint: Pubkey

The reward mint 1 account

§reward2_mint: Pubkey

The reward mint 2 account

§reward3_mint: Pubkey

The reward mint 3 account

§reward1_ata: Pubkey

The reward owner 1 account

§reward2_ata: Pubkey

The reward owner 2 account

§reward3_ata: Pubkey

The reward owner 3 account

§reward1_vault: Pubkey

The reward vault 1 account

§reward2_vault: Pubkey

The reward vault 2 account

§reward3_vault: Pubkey

The reward vault 3 account

§system_program: Pubkey

The system program

§token_a_program: Pubkey

The token a program

§token_b_program: Pubkey

The token b program

§reward1_token_program: Pubkey

The token reward 1 program

§reward2_token_program: Pubkey

The token reward 2 program

§reward3_token_program: Pubkey

The token reward 3 program

§ata_program: Pubkey

The ata program

§memo_program: Pubkey

The memo program

§whirlpool_program: Pubkey

The whirlpool program

Implementations§

Trait Implementations§

Source§

impl Debug for LpHarvest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.