Function pallet_nomination_pools::pallet::dispatchables::set_commission_max
source · pub fn set_commission_max<T: Config>(pool_id: PoolId, max_commission: Perbill)
Expand description
Set the maximum commission of a pool.
- Initial max can be set to any
Perbill
, and only smaller values thereafter. - Current commission will be lowered in the event it is higher than a new max commission.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_commission_max
.