From 93df082eeec99106be3ca2b29e0fbd3e40387bfe Mon Sep 17 00:00:00 2001 From: xrsv Date: Wed, 18 Sep 2024 08:43:59 -0700 Subject: [PATCH] feat(v3-sdk): Adding extra fee tiers for V3 (#99) --- sdks/v3-sdk/src/constants.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdks/v3-sdk/src/constants.ts b/sdks/v3-sdk/src/constants.ts index 086ccd1a5..c66b6439d 100644 --- a/sdks/v3-sdk/src/constants.ts +++ b/sdks/v3-sdk/src/constants.ts @@ -21,6 +21,9 @@ export function poolInitCodeHash(chainId?: ChainId): string { */ export enum FeeAmount { LOWEST = 100, + LOW_200 = 200, + LOW_300 = 300, + LOW_400 = 400, LOW = 500, MEDIUM = 3000, HIGH = 10000, @@ -31,6 +34,9 @@ export enum FeeAmount { */ export const TICK_SPACINGS: { [amount in FeeAmount]: number } = { [FeeAmount.LOWEST]: 1, + [FeeAmount.LOW_200]: 4, + [FeeAmount.LOW_300]: 6, + [FeeAmount.LOW_400]: 8, [FeeAmount.LOW]: 10, [FeeAmount.MEDIUM]: 60, [FeeAmount.HIGH]: 200,