//! This code was AUTOGENERATED using the Codama library.
use solana_pubkey::Pubkey;
/// Emitted when a pool is created and initialized with a starting price
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct PoolCreatedEvent {
    /// The first token of the pool by address sort order
    pub token_mint0: Pubkey,
    /// The second token of the pool by address sort order
    pub token_mint1: Pubkey,
    /// The minimum number of ticks between initialized ticks
    pub tick_spacing: u16,
    /// The address of the created pool
    pub pool_state: Pubkey,
    /// The initial sqrt price of the pool, as a Q64.64
    pub sqrt_price_x64: u128,
    /// The initial tick of the pool, i.e. log base 1.0001 of the starting price
    /// of the pool
    pub tick: i32,
    /// Vault of token_0
    pub token_vault0: Pubkey,
    /// Vault of token_1
    pub token_vault1: Pubkey,
}
