pub fn validate_slippage_tolerance( tolerance_type: &str, tolerance: Decimal, ) -> bool
Validate slippage tolerance based on type