From 8de9e35087df4d57b2bee9c7b9c992685ff3d0e9 Mon Sep 17 00:00:00 2001 From: Phu Ngo <12547020+NgoKimPhu@users.noreply.github.com> Date: Sat, 5 Oct 2024 22:04:05 +0700 Subject: [PATCH] feat: support more baseswap-v3 and alien-base-cl fee tiers (350/750) --- constants/constants.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/constants/constants.go b/constants/constants.go index a6debd6..920a3c4 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -29,7 +29,9 @@ const ( // These FeeTiers are used in other dexes such as BaseSwapV3, ArbiDexV3. Fee1 FeeAmount = 1 Fee80 FeeAmount = 80 + Fee350 FeeAmount = 350 Fee450 FeeAmount = 450 + Fee750 FeeAmount = 750 Fee2500 FeeAmount = 2500 FeeMax FeeAmount = 1000000 @@ -42,9 +44,11 @@ var TickSpacings = map[FeeAmount]int{ FeeLowest: 1, Fee200: 4, Fee300: 6, + Fee350: 10, Fee400: 8, FeeLow: 10, Fee450: 10, + Fee750: 15, FeeMedium: 60, Fee2500: 60, FeeHigh: 200,