import { ChainObject, TokenClassKey } from "@gala-chain/api"; import BigNumber from "bignumber.js"; import { DexFeePercentageTypes } from "./DexFeeTypes"; export declare class DexPositionData extends ChainObject { static INDEX_KEY: string; poolHash: string; tickUpper: number; tickLower: number; positionId: string; liquidity: BigNumber; feeGrowthInside0Last: BigNumber; feeGrowthInside1Last: BigNumber; tokensOwed0: BigNumber; tokensOwed1: BigNumber; readonly token0ClassKey: TokenClassKey; readonly token1ClassKey: TokenClassKey; readonly fee: DexFeePercentageTypes; /** * Initializes a new instance of the pool position. * * @param poolHash - Unique identifier for the pool. * @param positionId - Unique identifier for this position. * @param tickUpper - Upper tick boundary for the position. * @param tickLower - Lower tick boundary for the position. */ constructor(poolHash: string, positionId: string, tickUpper: number, tickLower: number, token0ClassKey: TokenClassKey, token1ClassKey: TokenClassKey, fee: DexFeePercentageTypes); /** * Updates the position's liquidity and fee tracking data. * * @param liquidityDelta - Change in liquidity (can be positive or negative). * @param feeGrowthInside0 - Latest accumulated fee growth for token0 within the tick range. * @param feeGrowthInside1 - Latest accumulated fee growth for token1 within the tick range. */ updatePosition(liquidityDelta: BigNumber, feeGrowthInside0: BigNumber, feeGrowthInside1: BigNumber): void; } //# sourceMappingURL=DexPositionData.d.ts.map