Coda by Ian Macalinao
    Preparing search index...
    interface Pool {
        activationPoint: bigint;
        activationType: number;
        collectFeeMode: number;
        creator: Address;
        discriminator: ReadonlyUint8Array;
        feeAPerLiquidity: number[];
        feeBPerLiquidity: number[];
        liquidity: bigint;
        metrics: PoolMetrics;
        padding: bigint;
        padding0: number;
        padding1: bigint[];
        partner: Address;
        partnerAFee: bigint;
        partnerBFee: bigint;
        permanentLockLiquidity: bigint;
        poolFees: PoolFeesStruct;
        poolStatus: number;
        poolType: number;
        protocolAFee: bigint;
        protocolBFee: bigint;
        rewardInfos: RewardInfo[];
        sqrtMaxPrice: bigint;
        sqrtMinPrice: bigint;
        sqrtPrice: bigint;
        tokenAFlag: number;
        tokenAMint: Address;
        tokenAVault: Address;
        tokenBFlag: number;
        tokenBMint: Address;
        tokenBVault: Address;
        version: number;
        whitelistedVault: Address;
    }
    Index

    Properties

    activationPoint: bigint

    Activation point, can be slot or timestamp

    activationType: number

    Activation type, 0 means by slot, 1 means by timestamp

    collectFeeMode: number

    0 is collect fee in both token, 1 only collect fee in token a, 2 only collect fee in token b

    creator: Address

    pool creator

    discriminator: ReadonlyUint8Array
    feeAPerLiquidity: number[]

    cumulative

    feeBPerLiquidity: number[]

    cumulative

    liquidity: bigint

    liquidity share

    metrics: PoolMetrics

    metrics

    padding: bigint

    padding, previous reserve amount, be careful to use that field

    padding0: number

    padding

    padding1: bigint[]

    Padding for further use

    partner: Address

    partner

    partnerAFee: bigint

    partner a fee

    partnerBFee: bigint

    partner b fee

    permanentLockLiquidity: bigint
    poolFees: PoolFeesStruct

    Pool fee

    poolStatus: number

    pool status, 0: enable, 1 disable

    poolType: number

    pool type

    protocolAFee: bigint

    protocol a fee

    protocolBFee: bigint

    protocol b fee

    rewardInfos: RewardInfo[]

    Farming reward information

    sqrtMaxPrice: bigint

    max price

    sqrtMinPrice: bigint

    min price

    sqrtPrice: bigint

    current price

    tokenAFlag: number

    token a flag

    tokenAMint: Address

    token a mint

    tokenAVault: Address

    token a vault

    tokenBFlag: number

    token b flag

    tokenBMint: Address

    token b mint

    tokenBVault: Address

    token b vault

    version: number

    pool version, 0: max_fee is still capped at 50%, 1: max_fee is capped at 99%

    whitelistedVault: Address

    Whitelisted vault to be able to buy pool before activation_point