Function hydra_dx_math::omnipool::verify_asset_cap
source · pub fn verify_asset_cap(
asset: &AssetReserveState<Balance>,
asset_cap: u128,
hub_amount: Balance,
total_hub_reserve: Balance
) -> Option<bool>
Expand description
Verify if cap does or does exceed asset’s weight cap.