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') -}