pub fn calculate_yield_farm_rewards( yield_farm_rpz: FixedU128, global_farm_rpz: FixedU128, multiplier: FixedU128, total_valued_shares: Balance) -> Result<(FixedU128, Balance), MathError>
This function caluclates yield farm rewards Balance and rewards per valued shares delta(delta_rpvs) FixedU128 or error.
Balance
delta_rpvs
FixedU128