Documentation
    Preparing search index...
    • Check if a position is in range. When a position is in range it is earning fees and rewards

      Parameters

      • sqrt_price - A u128 integer representing the sqrt price of the pool
      • tick_index_1 - A i32 integer representing the first tick index of the position
      • tick_index_2 - A i32 integer representing the second tick index of the position

      Returns

      • A boolean value indicating if the position is in range

      Parameters

      • current_sqrt_price: bigint
      • tick_index_1: number
      • tick_index_2: number

      Returns boolean