//! This code was AUTOGENERATED using the Codama library.
use solana_pubkey::Pubkey;
/// Emitted when the collected protocol fees are withdrawn by the factory owner
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct CollectProtocolFeeEvent {
    /// The pool whose protocol fee is collected
    pub pool_state: Pubkey,
    /// The address that receives the collected token_0 protocol fees
    pub recipient_token_account0: Pubkey,
    /// The address that receives the collected token_1 protocol fees
    pub recipient_token_account1: Pubkey,
    /// The amount of token_0 protocol fees that is withdrawn
    pub amount0: u64,
    /// The amount of token_0 protocol fees that is withdrawn
    pub amount1: u64,
}
