pub struct PumpConstants {Show 24 fields
pub bonding_curve_global_config: Pubkey,
pub bonding_curve_program: Pubkey,
pub bonding_curve_event_authority: Pubkey,
pub bonding_curve_update_authority: Pubkey,
pub bonding_curve_fee_config: Pubkey,
pub pump_swap_migrator_wallet: Pubkey,
pub pump_swap_program: Pubkey,
pub pump_swap_global_config: Pubkey,
pub pump_swap_event_authority: Pubkey,
pub bonding_curve_global_volume_accumulator: Pubkey,
pub pumpswap_fee_config: Pubkey,
pub pumpswap_global_volume_accumulator: Pubkey,
pub fee_program: Pubkey,
pub buy_instruction_discriminator: [u8; 8],
pub sell_instruction_discriminator: [u8; 8],
pub create_pool_instruction_discriminator: [u8; 8],
pub bonding_curve_event_discriminator: [u8; 16],
pub bonding_curve_create_instruction_discriminator: [u8; 8],
pub bonding_curve_buy_exact_sol_in_instruction_discriminator: [u8; 8],
pub pumpswap_buy_exact_quote_in_instruction_discriminator: [u8; 8],
pub pumpswap_swap_event_discriminator: [u8; 8],
pub pumpswap_buy_swap_event_discriminator: [u8; 8],
pub bc_init_virtual_sol_reserves: u64,
pub bc_init_virtual_token_reserve_diff: u64,
}Fields§
§bonding_curve_global_config: Pubkey§bonding_curve_program: Pubkey§bonding_curve_fee_config: Pubkey§pump_swap_migrator_wallet: Pubkey§pump_swap_program: Pubkey§pump_swap_global_config: Pubkey§bonding_curve_global_volume_accumulator: Pubkey§pumpswap_fee_config: Pubkey§pumpswap_global_volume_accumulator: Pubkey§fee_program: Pubkey§buy_instruction_discriminator: [u8; 8]§sell_instruction_discriminator: [u8; 8]§create_pool_instruction_discriminator: [u8; 8]§bonding_curve_event_discriminator: [u8; 16]§bonding_curve_create_instruction_discriminator: [u8; 8]§bonding_curve_buy_exact_sol_in_instruction_discriminator: [u8; 8]§pumpswap_buy_exact_quote_in_instruction_discriminator: [u8; 8]§pumpswap_swap_event_discriminator: [u8; 8]§pumpswap_buy_swap_event_discriminator: [u8; 8]§bc_init_virtual_sol_reserves: u64§bc_init_virtual_token_reserve_diff: u64Auto Trait Implementations§
impl Freeze for PumpConstants
impl RefUnwindSafe for PumpConstants
impl Send for PumpConstants
impl Sync for PumpConstants
impl Unpin for PumpConstants
impl UnwindSafe for PumpConstants
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