@airdao/astra-cl-periphery
Version:
🎚 Peripheral smart contracts for interacting with AstraDEX Concentrated Liquidity version
16 lines (12 loc) • 312 B
text/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,
}