/// import { PublicKey, Connection } from '@solana/web3.js'; import BN from 'bn.js'; import * as types from '../types'; export interface PersonalPositionStateFields { /** Bump to identify PDA */ bump: number; /** Mint address of the tokenized position */ nftMint: PublicKey; /** The ID of the pool with which this token is connected */ poolId: PublicKey; /** The lower bound tick of the position */ tickLowerIndex: number; /** The upper bound tick of the position */ tickUpperIndex: number; /** The amount of liquidity owned by this position */ liquidity: BN; /** The token_0 fee growth of the aggregate position as of the last action on the individual position */ feeGrowthInside0LastX64: BN; /** The token_1 fee growth of the aggregate position as of the last action on the individual position */ feeGrowthInside1LastX64: BN; /** The fees owed to the position owner in token_0, as of the last computation */ tokenFeesOwed0: BN; /** The fees owed to the position owner in token_1, as of the last computation */ tokenFeesOwed1: BN; rewardInfos: Array; padding: Array; } export interface PersonalPositionStateJSON { /** Bump to identify PDA */ bump: number; /** Mint address of the tokenized position */ nftMint: string; /** The ID of the pool with which this token is connected */ poolId: string; /** The lower bound tick of the position */ tickLowerIndex: number; /** The upper bound tick of the position */ tickUpperIndex: number; /** The amount of liquidity owned by this position */ liquidity: string; /** The token_0 fee growth of the aggregate position as of the last action on the individual position */ feeGrowthInside0LastX64: string; /** The token_1 fee growth of the aggregate position as of the last action on the individual position */ feeGrowthInside1LastX64: string; /** The fees owed to the position owner in token_0, as of the last computation */ tokenFeesOwed0: string; /** The fees owed to the position owner in token_1, as of the last computation */ tokenFeesOwed1: string; rewardInfos: Array; padding: Array; } export declare class PersonalPositionState { /** Bump to identify PDA */ readonly bump: number; /** Mint address of the tokenized position */ readonly nftMint: PublicKey; /** The ID of the pool with which this token is connected */ readonly poolId: PublicKey; /** The lower bound tick of the position */ readonly tickLowerIndex: number; /** The upper bound tick of the position */ readonly tickUpperIndex: number; /** The amount of liquidity owned by this position */ readonly liquidity: BN; /** The token_0 fee growth of the aggregate position as of the last action on the individual position */ readonly feeGrowthInside0LastX64: BN; /** The token_1 fee growth of the aggregate position as of the last action on the individual position */ readonly feeGrowthInside1LastX64: BN; /** The fees owed to the position owner in token_0, as of the last computation */ readonly tokenFeesOwed0: BN; /** The fees owed to the position owner in token_1, as of the last computation */ readonly tokenFeesOwed1: BN; readonly rewardInfos: Array; readonly padding: Array; static readonly discriminator: Buffer; static readonly layout: any; constructor(fields: PersonalPositionStateFields); static fetch(c: Connection, address: PublicKey): Promise; static fetchMultiple(c: Connection, addresses: PublicKey[]): Promise>; static decode(data: Buffer): PersonalPositionState; toJSON(): PersonalPositionStateJSON; static fromJSON(obj: PersonalPositionStateJSON): PersonalPositionState; }