Documentation
    Preparing search index...

    Type Alias SetPresetAdaptiveFeeConstantsParams

    Parameters to set the preset adaptive fee constants in an AdaptiveFeeTier

    The public key for the WhirlpoolsConfig this adaptive fee-tier is initialized in

    The feeAuthority in the WhirlpoolsConfig

    The adaptive fee-tier account that we would like to update

    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 SetPresetAdaptiveFeeConstantsParams = {
        adaptiveFeeTier: PublicKey;
        feeAuthority: PublicKey;
        presetAdaptiveFeeControlFactor: number;
        presetDecayPeriod: number;
        presetFilterPeriod: number;
        presetMajorSwapThresholdTicks: number;
        presetMaxVolatilityAccumulator: number;
        presetReductionFactor: number;
        presetTickGroupSize: number;
        whirlpoolsConfig: PublicKey;
    }
    Index

    Properties

    adaptiveFeeTier: PublicKey
    feeAuthority: PublicKey
    presetAdaptiveFeeControlFactor: number
    presetDecayPeriod: number
    presetFilterPeriod: number
    presetMajorSwapThresholdTicks: number
    presetMaxVolatilityAccumulator: number
    presetReductionFactor: number
    presetTickGroupSize: number
    whirlpoolsConfig: PublicKey