From 796f2785de6b038fda12919d9c3106ef6e4cc227 Mon Sep 17 00:00:00 2001 From: Michael Wang <44713145+mzywang@users.noreply.github.com> Date: Tue, 17 Sep 2024 13:06:37 -0400 Subject: [PATCH] remove unused function --- src/utils/tick.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/utils/tick.ts b/src/utils/tick.ts index 9744653e..ac6d527f 100644 --- a/src/utils/tick.ts +++ b/src/utils/tick.ts @@ -27,20 +27,3 @@ export function createTick(tickId: string, tickIdx: i32, poolId: string, event: return tick } - -export function feeTierToTickSpacing(feeTier: BigInt): BigInt { - if (feeTier.equals(BigInt.fromI32(10000))) { - return BigInt.fromI32(200) - } - if (feeTier.equals(BigInt.fromI32(3000))) { - return BigInt.fromI32(60) - } - if (feeTier.equals(BigInt.fromI32(500))) { - return BigInt.fromI32(10) - } - if (feeTier.equals(BigInt.fromI32(100))) { - return BigInt.fromI32(1) - } - - throw Error('Unexpected fee tier') -}