Type alias SetFeeRateParams

SetFeeRateParams: {
    feeAuthority: PublicKey;
    feeRate: number;
    whirlpool: PublicKey;
    whirlpoolsConfig: PublicKey;
}

Parameters to set fee rate for a Whirlpool.

Type declaration

  • feeAuthority: PublicKey
  • feeRate: number
  • whirlpool: PublicKey
  • whirlpoolsConfig: PublicKey

Param: whirlpool

PublicKey for the whirlpool to update. This whirlpool has to be part of the provided WhirlpoolsConfig space.

Param: whirlpoolsConfig

The public key for the WhirlpoolsConfig this pool is initialized in

Param: feeAuthority

Authority authorized in the WhirlpoolsConfig to set default fee rates.

Param: feeRate

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

Generated using TypeDoc