orca_whirlpools_docs::orca_whirlpools_core

Function is_tick_initializable

pub fn is_tick_initializable(tick_index: i32, tick_spacing: u16) -> bool
Expand description

Check if a tick is initializable. A tick is initializable if it is divisible by the tick spacing.

§Parameters

  • tick_index - A i32 integer representing the tick integer
  • tick_spacing - A i32 integer representing the tick spacing

§Returns

  • A boolean value indicating if the tick is initializable