Documentation
    • Derive the tick index from a sqrt price. The precision of this method is only guarranted if tick is within the bounds of {max, min} tick-index. This function will make panic for zero sqrt price.

      Parameters

      • sqrt_price - A u128 integer representing the sqrt price

      Returns

      • Ok: A i32 integer representing the tick integer

      Parameters

      • sqrt_price: bigint

      Returns number

    MMNEPVFCICPMFPCPTTAAATR