Type alias SetDefaultFeeRateParams

SetDefaultFeeRateParams: {
    defaultFeeRate: number;
    feeAuthority: PublicKey;
    tickSpacing: number;
    whirlpoolsConfig: PublicKey;

Parameters to set the default fee rate for a FeeTier.

Type declaration

  • defaultFeeRate: number
  • feeAuthority: PublicKey
  • tickSpacing: number
  • whirlpoolsConfig: PublicKey

Param: whirlpoolsConfig

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

Param: feeAuthority

Authority authorized in the WhirlpoolsConfig to set default fee rates.

Param: tickSpacing

The tick spacing of the fee-tier that we would like to update.

Param: defaultFeeRate

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

Generated using TypeDoc