Content pfp
Content
@
0 reply
0 recast
0 reaction

Adam pfp
Adam
@adamtj-xyz
1 / 2 A few questions 1) how are tick spaces determined when deploying a pool? Is there a sort of common number thats just fine for most cases? 2) i understand that the price shifts whenever y / x moves in the tick range. But different pools across all of defi have different ratios. How do
2 replies
0 recast
1 reaction

Haardik pfp
Haardik
@haardikkk
The tick spacing is determined by the fees charged in the pool for swaps, actually. Fees is represented in basis points (0.01% increments). (fees / 200) = tick spacing (or, tick spacing * 200 = fees) So for a pool which wants 0.3% fees = 3000 bps, tick spacing = 15
2 replies
0 recast
1 reaction

Haardik pfp
Haardik
@haardikkk
one edge case here btw is pools with hooks attached that enable dynamic fees using dynamic fees will make tickSpacing = 60 (subject to change until code freeze happens, but as of right now this is it)
0 reply
0 recast
0 reaction

Adam pfp
Adam
@adamtj-xyz
Ok this feels a little counter intuitive actually. I'm guessing that the fees on the pool affect the tick spacing because you want to optimize for just how much value lps are extracting on swaps?
1 reply
0 recast
0 reaction