Skip to content

Commit

Permalink
feat: support more baseswap-v3 and alien-base-cl fee tiers (350/750)
Browse files Browse the repository at this point in the history
  • Loading branch information
NgoKimPhu committed Oct 5, 2024
1 parent 2881078 commit 8de9e35
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down

0 comments on commit 8de9e35

Please sign in to comment.