From 44e122a8469dccb08edd24a6cd8c1be3a9c0d929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=E1=BA=A3i=20Nam?= Date: Mon, 22 Apr 2024 11:26:36 +0700 Subject: [PATCH] fix: support feeTier 1 for baseswap-v3 --- constants/constants.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/constants/constants.go b/constants/constants.go index 5f5ff05..0e447de 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -24,6 +24,7 @@ const ( FeeHigh FeeAmount = 10000 // These FeeTiers are used in other dexes such as BaseSwapV3, ArbiDexV3. + Fee1 FeeAmount = 1 Fee80 FeeAmount = 80 Fee450 FeeAmount = 450 Fee2500 FeeAmount = 2500 @@ -34,6 +35,7 @@ const ( // The default factory tick spacings by fee amount. var TickSpacings = map[FeeAmount]int{ FeeLowest: 1, + Fee1: 1, Fee80: 1, FeeLow: 10, Fee450: 10,