pub fn validate_amount_sol(
amount: f64,
max_balance: Option<f64>,
) -> Result<(), ValidationError>Expand description
Validate a transfer amount in SOL.
The amount must be positive, must not exceed max_balance (if provided),
and must be representable at lamport precision (9 decimal places).