Type Alias SetProtocolFeeRateParams

SetProtocolFeeRateParams: {
    feeAuthority: PublicKey;
    protocolFeeRate: number;
    whirlpool: PublicKey;
    whirlpoolsConfig: PublicKey;
}

Parameters to set fee rate for a Whirlpool.

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

The public key for the WhirlpoolsConfig this pool is initialized in

Authority authorized in the WhirlpoolsConfig to set default fee rates.

The new default protocol fee rate for this pool. Stored as a basis point of the total fees collected by feeRate.