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
Optional
Parameters to initialize an AdaptiveFeeTier account.
Param: whirlpoolsConfig
PublicKey for the whirlpool config space that the adaptive fee-tier will be initialized for.
Param: feeTierPda
PDA for the adaptive fee-tier account that will be initialized
Param: funder
The account that would fund the creation of this account
Param: feeAuthority
Authority authorized to initialize fee-tiers and set customs fees.
Param: feeTierIndex
The index of the fee-tier in the whirlpools config.
Param: tickSpacing
The tick spacing of this fee tier.
Param: initializePoolAuthority
The initialize pool authority in the AdaptiveFeeTier
Param: delegatedFeeAuthority
The delegated fee authority in the AdaptiveFeeTier
Param: defaultBaseFeeRate
The default base fee rate for this adaptive fee-tier. Stored as a hundredths of a basis point.
Param: presetFilterPeriod
The filter period for the adaptive fee
Param: presetDecayPeriod
The decay period for the adaptive fee
Param: presetReductionFactor
The reduction factor for the adaptive fee
Param: presetAdaptiveFeeControlFactor
The control factor for the adaptive fee
Param: presetMaxVolatilityAccumulator
The max volatility accumulator for the adaptive fee
Param: presetTickGroupSize
The tick group size for the adaptive fee
Param: presetMajorSwapThresholdTicks
The major swap threshold ticks to define major swap