pub fn validate_proxy_mandate(
existing_mandate_count: usize,
existing_delegated_quotas: i32,
new_voting_power: i32,
total_building_quotas: i32,
max_mandates: usize,
max_quota_pct: f64,
) -> Result<(), ProxyValidationError>Expand description
Validate proxy mandate constraints for Belgian AG (Art. 3.87 §6 CC)
Rules:
- A proxy holder cannot hold more than 3 mandates per AG
- A proxy holder cannot represent more than 10% of total building quotas
Returns Ok(()) if valid, or Err(ProxyValidationError) if constraint violated.