pub(crate) fn operator_stakers_split(
			provider_info: &ProviderStakeInfo<BalanceOf<T>>,
			era_info: &EraInfo<BalanceOf<T>>,
		) -> (BalanceOf<T>, BalanceOf<T>) {
			let provider_stake_portion =
				Perbill::from_rational(provider_info.total, era_info.staked);

			let operator_reward_part = provider_stake_portion * era_info.rewards.operators;
			let stakers_reward_part = provider_stake_portion * era_info.rewards.stakers;

			(operator_reward_part, stakers_reward_part)
		}
/// Calculate reward split between operator and stakers.
///
/// Returns (operator reward, joint stakers reward)
Calculate reward split between operator and stakers.
Returns (operator reward, joint stakers reward)
Calculate reward split between operator and stakers . Returns ( operator reward joint stakers reward )
pub(crate) fn operator_stakers_split(
			provider_info: &ProviderStakeInfo<BalanceOf<T>>,
			era_info: &EraInfo<BalanceOf<T>>,
		) -> (BalanceOf<T>, BalanceOf<T>) {
			let provider_stake_portion =
				Perbill::from_rational(provider_info.total, era_info.staked);
			let operator_reward_part = provider_stake_portion * era_info.rewards.operators;
			let stakers_reward_part = provider_stake_portion * era_info.rewards.stakers;
			(operator_reward_part, stakers_reward_part)
		}
pub ( crate ) fn operator_stakers_split ( provider_info : & ProviderStakeInfo < BalanceOf < T > > , era_info : & EraInfo < BalanceOf < T > > , ) -> ( BalanceOf < T > , BalanceOf < T > ) { let provider_stake_portion = Perbill :: from_rational ( provider_info . total , era_info . staked ) ; let operator_reward_part = provider_stake_portion * era_info . rewards . operators ; let stakers_reward_part = provider_stake_portion * era_info . rewards . stakers ; ( operator_reward_part , stakers_reward_part ) }
Calculate reward split between operator and stakers.
Calculate reward split between operator and stakers .
provider_info
&ProviderStakeInfo<BalanceOf<T>>
era_info
&EraInfo<BalanceOf<T>>