Coda by Ian Macalinao
    Preparing search index...
    interface PoolArgs {
        activationPoint: number | bigint;
        activationType: number;
        collectFeeMode: number;
        creator: Address;
        feeAPerLiquidity: number[];
        feeBPerLiquidity: number[];
        liquidity: number | bigint;
        metrics: PoolMetricsArgs;
        padding: number | bigint;
        padding0: number;
        padding1: (number | bigint)[];
        partner: Address;
        partnerAFee: number | bigint;
        partnerBFee: number | bigint;
        permanentLockLiquidity: number | bigint;
        poolFees: PoolFeesStructArgs;
        poolStatus: number;
        poolType: number;
        protocolAFee: number | bigint;
        protocolBFee: number | bigint;
        rewardInfos: RewardInfoArgs[];
        sqrtMaxPrice: number | bigint;
        sqrtMinPrice: number | bigint;
        sqrtPrice: number | bigint;
        tokenAFlag: number;
        tokenAMint: Address;
        tokenAVault: Address;
        tokenBFlag: number;
        tokenBMint: Address;
        tokenBVault: Address;
        version: number;
        whitelistedVault: Address;
    }
    Index

    Properties

    activationPoint: number | 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

    feeAPerLiquidity: number[]

    cumulative

    feeBPerLiquidity: number[]

    cumulative

    liquidity: number | bigint

    liquidity share

    metrics

    padding: number | bigint

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

    padding0: number

    padding

    padding1: (number | bigint)[]

    Padding for further use

    partner: Address

    partner

    partnerAFee: number | bigint

    partner a fee

    partnerBFee: number | bigint

    partner b fee

    permanentLockLiquidity: number | bigint

    Pool fee

    poolStatus: number

    pool status, 0: enable, 1 disable

    poolType: number

    pool type

    protocolAFee: number | bigint

    protocol a fee

    protocolBFee: number | bigint

    protocol b fee

    rewardInfos: RewardInfoArgs[]

    Farming reward information

    sqrtMaxPrice: number | bigint

    max price

    sqrtMinPrice: number | bigint

    min price

    sqrtPrice: number | 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