Skip to content

Commit 796f278

Browse files
committed
remove unused function
1 parent 1394f59 commit 796f278

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/utils/tick.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,3 @@ export function createTick(tickId: string, tickIdx: i32, poolId: string, event:
2727

2828
return tick
2929
}
30-
31-
export function feeTierToTickSpacing(feeTier: BigInt): BigInt {
32-
if (feeTier.equals(BigInt.fromI32(10000))) {
33-
return BigInt.fromI32(200)
34-
}
35-
if (feeTier.equals(BigInt.fromI32(3000))) {
36-
return BigInt.fromI32(60)
37-
}
38-
if (feeTier.equals(BigInt.fromI32(500))) {
39-
return BigInt.fromI32(10)
40-
}
41-
if (feeTier.equals(BigInt.fromI32(100))) {
42-
return BigInt.fromI32(1)
43-
}
44-
45-
throw Error('Unexpected fee tier')
46-
}

0 commit comments

Comments
 (0)