Ticks
Overview of how Ticks work on Duality
Last updated
Overview of how Ticks work on Duality
Last updated
Ticks are the fundamental unit of accounting within the dex. Each tick is an integer between 352437 and -352437. All tradeable liquidity, in the form of either `PoolReserves` or `LimitOrderTranche`s is stored at a specific tick. The price of liquidity being stored at tick is determined by the function:
Some examples:
Price of tick
Price of tick : ā
Price of tick : ā
More specifically price refers to the rate at which Token1 can be converted to Token0. Logically, the converse rate for converting Token0 to Token1 can be expressed as: