Documentation
    Preparing search index...

    Type Alias InitializeAdaptiveFeeTierParams

    Parameters to initialize an AdaptiveFeeTier account.

    PublicKey for the whirlpool config space that the adaptive fee-tier will be initialized for.

    PDA for the adaptive fee-tier account that will be initialized

    The account that would fund the creation of this account

    Authority authorized to initialize fee-tiers and set customs fees.

    The index of the fee-tier in the whirlpools config.

    The tick spacing of this fee tier.

    The initialize pool authority in the AdaptiveFeeTier

    The delegated fee authority in the AdaptiveFeeTier

    The default base fee rate for this adaptive fee-tier. Stored as a hundredths of a basis point.

    The filter period for the adaptive fee

    The decay period for the adaptive fee

    The reduction factor for the adaptive fee

    The control factor for the adaptive fee

    The max volatility accumulator for the adaptive fee

    The tick group size for the adaptive fee

    The major swap threshold ticks to define major swap

    type InitializeAdaptiveFeeTierParams = {
        defaultBaseFeeRate: number;
        delegatedFeeAuthority?: PublicKey;
        feeAuthority: PublicKey;
        feeTierIndex: number;
        feeTierPda: PDA;
        funder: PublicKey;
        initializePoolAuthority?: PublicKey;
        presetAdaptiveFeeControlFactor: number;
        presetDecayPeriod: number;
        presetFilterPeriod: number;
        presetMajorSwapThresholdTicks: number;
        presetMaxVolatilityAccumulator: number;
        presetReductionFactor: number;
        presetTickGroupSize: number;
        tickSpacing: number;
        whirlpoolsConfig: PublicKey;
    }
    Index

    Properties

    defaultBaseFeeRate: number
    delegatedFeeAuthority?: PublicKey
    feeAuthority: PublicKey
    feeTierIndex: number
    feeTierPda: PDA
    funder: PublicKey
    initializePoolAuthority?: PublicKey
    presetAdaptiveFeeControlFactor: number
    presetDecayPeriod: number
    presetFilterPeriod: number
    presetMajorSwapThresholdTicks: number
    presetMaxVolatilityAccumulator: number
    presetReductionFactor: number
    presetTickGroupSize: number
    tickSpacing: number
    whirlpoolsConfig: PublicKey