issues
search
Velvet-Capital
/
Velvet-v4
V4 (thena+venus) on top of v3
Other
0
stars
0
forks
source link
Optimized ratio verification for Thena / UniswapV3
#34
Closed
langnavina97
closed
1 month ago
langnavina97
commented
1 month ago
Removed unused function
getRatioForTicks
Zero check for amount1, otherwise it can lead to division by zero
Improvement of single sided check: return the token that should be zero and compare it to the sell token
getRatioForTicks