#46675 [SC-Insight] Insufficient Time Validation in function settle_trade_v2
Description
Brief/Intro
Vulnerability Details
let traded_at: u64 = trade.traded_at.try_into().unwrap();
assert(traded_at > 0_u64, Errors::TRADE_TIME_INVALID);Impact Details
Proof of Concept
Proof of Concept
Previous#46639 [SC-Low] The `_settlement_fee_payments` function contains a calculation error that leads to abnormal user balances.Next#46676 [SC-Insight] Unrestricted Minimum Lockup Period
Was this helpful?