Skip to content

Commit

Permalink
feat(v3-sdk): Adding extra fee tiers for V3 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrsv authored Sep 18, 2024
1 parent 0e336db commit 93df082
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sdks/v3-sdk/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 93df082

Please sign in to comment.