pub struct RaydiumConstants {Show 14 fields
pub amm_authority: Pubkey,
pub market_program_id: Pubkey,
pub amm_program: Pubkey,
pub cpmm_program: Pubkey,
pub cpmm_authority: Pubkey,
pub launchpad_global_config: Pubkey,
pub launchpad_event_authority: Pubkey,
pub launchpad_program: Pubkey,
pub launchpad_authority: Pubkey,
pub cpmm_swap_discriminators: [[u8; 8]; 2],
pub launchpad_swap_discriminators: [[u8; 8]; 4],
pub cpmm_create_pool_instruction_discriminator: [u8; 8],
pub ammv4_create_pool_instruction_discriminator: u8,
pub ammv4_swap_discriminators: [u8; 2],
}Fields§
§market_program_id: Pubkey§amm_program: Pubkey§cpmm_program: Pubkey§launchpad_global_config: Pubkey§launchpad_program: Pubkey§cpmm_swap_discriminators: [[u8; 8]; 2]§launchpad_swap_discriminators: [[u8; 8]; 4]§cpmm_create_pool_instruction_discriminator: [u8; 8]§ammv4_create_pool_instruction_discriminator: u8§ammv4_swap_discriminators: [u8; 2]Auto Trait Implementations§
impl Freeze for RaydiumConstants
impl RefUnwindSafe for RaydiumConstants
impl Send for RaydiumConstants
impl Sync for RaydiumConstants
impl Unpin for RaydiumConstants
impl UnwindSafe for RaydiumConstants
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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