//! This code was AUTOGENERATED using the Codama library.
use solana_pubkey::Pubkey;
/// Emitted when liquidity is decreased.
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct DecreaseLiquidityEvent {
    /// The ID of the token for which liquidity was decreased
    pub position_nft_mint: Pubkey,
    /// The amount by which liquidity for the position was decreased
    pub liquidity: u128,
    /// The amount of token_0 that was paid for the decrease in liquidity
    pub decrease_amount0: u64,
    /// The amount of token_1 that was paid for the decrease in liquidity
    pub decrease_amount1: u64,
    pub fee_amount0: u64,
    /// The amount of token_1 fee
    pub fee_amount1: u64,
    /// The amount of rewards
    pub reward_amounts: [u64; 3],
    /// The amount of token_0 transfer fee
    pub transfer_fee0: u64,
    /// The amount of token_1 transfer fee
    pub transfer_fee1: u64,
}
