Calculates the raw balance fields returned by the legacy SDK's calculateBundleUserBalance. The legacy helper used floating-point PPS and Math.round; this helper uses the exact integer floor from calculate_assets_from_shares at bundle.rs:259-270.
calculateBundleUserBalance
Math.round
calculate_assets_from_shares
bundle.rs:259-270
Calculates the raw balance fields returned by the legacy SDK's
calculateBundleUserBalance. The legacy helper used floating-point PPS andMath.round; this helper uses the exact integer floor fromcalculate_assets_from_sharesatbundle.rs:259-270.