infrastructure-upgrade/lib/v3-periphery/test/shared/constants.ts
T-Hax 735546619e
init
Signed-off-by: T-Hax <>
2023-04-08 18:46:18 +00:00

16 lines
312 B
TypeScript

import { BigNumber } from 'ethers'
export const MaxUint128 = BigNumber.from(2).pow(128).sub(1)
export enum FeeAmount {
LOW = 500,
MEDIUM = 3000,
HIGH = 10000,
}
export const TICK_SPACINGS: { [amount in FeeAmount]: number } = {
[FeeAmount.LOW]: 10,
[FeeAmount.MEDIUM]: 60,
[FeeAmount.HIGH]: 200,
}