//
// Copyright (c) Cryptic Dot
//
// Modification based on Orca Whirlpools (https://github.com/orca-so/whirlpools),
// originally licensed under the Apache License, Version 2.0, prior to February 26, 2025.
//
// Modifications licensed under FusionAMM SDK Source-Available License v1.0
// See the LICENSE file in the project root for license information.
//
use wasm_expose;
/// The number of ticks in a tick array.
pub const TICK_ARRAY_SIZE: usize = 88;
/// Pools with tick spacing above this threshold are considered full range only.
/// This means the program rejects any non-full range positions in these pools.
pub const FULL_RANGE_ONLY_TICK_SPACING_THRESHOLD: u16 = 32768; // 2^15
/// The minimum tick index.
pub const MIN_TICK_INDEX: i32 = -443636;
/// The maximum tick index.
pub const MAX_TICK_INDEX: i32 = 443636;