pub struct InitializePoolV2CpiAccounts<'a, 'b> {Show 14 fields
pub whirlpools_config: &'b AccountInfo<'a>,
pub token_mint_a: &'b AccountInfo<'a>,
pub token_mint_b: &'b AccountInfo<'a>,
pub token_badge_a: &'b AccountInfo<'a>,
pub token_badge_b: &'b AccountInfo<'a>,
pub funder: &'b AccountInfo<'a>,
pub whirlpool: &'b AccountInfo<'a>,
pub token_vault_a: &'b AccountInfo<'a>,
pub token_vault_b: &'b AccountInfo<'a>,
pub fee_tier: &'b AccountInfo<'a>,
pub token_program_a: &'b AccountInfo<'a>,
pub token_program_b: &'b AccountInfo<'a>,
pub system_program: &'b AccountInfo<'a>,
pub rent: &'b AccountInfo<'a>,
}Expand description
initialize_pool_v2 CPI accounts.
Fields§
§whirlpools_config: &'b AccountInfo<'a>§token_mint_a: &'b AccountInfo<'a>§token_mint_b: &'b AccountInfo<'a>§token_badge_a: &'b AccountInfo<'a>§token_badge_b: &'b AccountInfo<'a>§funder: &'b AccountInfo<'a>§whirlpool: &'b AccountInfo<'a>§token_vault_a: &'b AccountInfo<'a>§token_vault_b: &'b AccountInfo<'a>§fee_tier: &'b AccountInfo<'a>§token_program_a: &'b AccountInfo<'a>§token_program_b: &'b AccountInfo<'a>§system_program: &'b AccountInfo<'a>§rent: &'b AccountInfo<'a>Auto Trait Implementations§
impl<'a, 'b> Freeze for InitializePoolV2CpiAccounts<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for InitializePoolV2CpiAccounts<'a, 'b>
impl<'a, 'b> !Send for InitializePoolV2CpiAccounts<'a, 'b>
impl<'a, 'b> !Sync for InitializePoolV2CpiAccounts<'a, 'b>
impl<'a, 'b> Unpin for InitializePoolV2CpiAccounts<'a, 'b>
impl<'a, 'b> !UnwindSafe for InitializePoolV2CpiAccounts<'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
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