//! This code was AUTOGENERATED using the codama library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun codama to update it.
//!
//! <https://github.com/codama-idl/codama>
//!

use borsh::BorshSerialize;
use borsh::BorshDeserialize;

#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct AdaptiveFeeConstants {
pub filter_period: u16,
pub decay_period: u16,
pub reduction_factor: u16,
pub adaptive_fee_control_factor: u32,
pub max_volatility_accumulator: u32,
pub tick_group_size: u16,
pub major_swap_threshold_ticks: u16,
pub reserved: [u8; 16],
}


