Function hydra_dx_math::liquidity_mining::calculate_valued_shares
source · pub fn calculate_valued_shares(
shares: Balance,
incentivized_asset_balance: Balance
) -> Result<Balance, MathError>
Expand description
This function calculate account’s valued shares Balance
or error.