pub fn calculate_cap_difference( asset: &AssetReserveState<Balance>, asset_cap: u128, total_hub_reserve: Balance) -> Option<Balance>