fn validate_timing_with_min_balance( account: &Account, txn_amount: Amount, txn_global_slot: &Slot, ) -> Result<(Timing, MinBalance), String>