//! This code was AUTOGENERATED using the Codama library.
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct UserFees {
/// Total taker fee paid
/// precision: QUOTE_PRECISION
pub total_fee_paid: u64,
/// Total maker fee rebate
/// precision: QUOTE_PRECISION
pub total_fee_rebate: u64,
/// Total discount from holding token
/// precision: QUOTE_PRECISION
pub total_token_discount: u64,
/// Total discount from being referred
/// precision: QUOTE_PRECISION
pub total_referee_discount: u64,
/// Total reward to referrer
/// precision: QUOTE_PRECISION
pub total_referrer_reward: u64,
/// Total reward to referrer this epoch
/// precision: QUOTE_PRECISION
pub current_epoch_referrer_reward: u64,
}