//! This code was AUTOGENERATED using the Codama library.
use solana_pubkey::Pubkey;
/// Emitted pool liquidity change when increase and decrease liquidity
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct LiquidityChangeEvent {
    /// The pool for swap
    pub pool_state: Pubkey,
    /// The tick of the pool
    pub tick: i32,
    /// The tick lower of position
    pub tick_lower: i32,
    /// The tick lower of position
    pub tick_upper: i32,
    /// The liquidity of the pool before liquidity change
    pub liquidity_before: u128,
    /// The liquidity of the pool after liquidity change
    pub liquidity_after: u128,
}
