• Get the index of a tick in a tick array.

    Parameters

    • tick_index - A i32 integer representing the tick index
    • tick_array_start_index - A i32 integer representing the start tick index of the tick array
    • tick_spacing - A u16 integer representing the tick spacing

    Returns

    • A u32 integer representing the tick index in the tick array

    Parameters

    • tick_index: number
    • tick_array_start_index: number
    • tick_spacing: number

    Returns number