//! 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::BorshDeserialize;
use borsh::BorshSerialize;
#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct TickState {
pub tick: i32,
/// Amount of net liquidity added (subtracted) when tick is crossed from left to right (right to left)
pub liquidity_net: i128,
/// The total position liquidity that references this tick
pub liquidity_gross: u128,
/// Fee growth per unit of liquidity on the _other_ side of this tick (relative to the current tick)
/// only has relative meaning, not absolute — the value depends on when the tick is initialized
pub fee_growth_outside0_x64: u128,
pub fee_growth_outside1_x64: u128,
pub reward_growths_outside_x64: [u128; 3],
pub padding: [u32; 13],
}