- tags: Uniswap V3
- source: Shao, 田少谷. “Uniswap v3 Features Explained in Depth.” Taipei Ethereum Meetup (blog), July 20, 2021. https://medium.com/taipei-ethereum-meetup/uniswap-v3-features-explained-in-depth-178cfe45f223.
Tick is a price range
Each tick is a price range with upper bound and lower bound.
Tick price from index:
\(p(i) = 1.0001 ^ i\)
1.0001 ** 138162 # 999_998
Tick index from price:
\(log_{1.0001}p\)
import math
math.log(1000_000, base=1.0001) # 138162.01321981344