pub fn set_commission<T: Config>(
    pool_id: PoolId,
    new_commission: Option<(Perbill, T::AccountId)>
)
Expand description

Set the commission of a pool. Both a commission percentage and a commission payee must be provided in the current tuple. Where a current of None is provided, any current commission will be removed.

  • If a None is supplied to new_commission, existing commission will be removed.

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::set_commission.