Description: The LiquidityPool struct doesn't include a timestamp for when the pool was initialized, which could be useful for analytics, fee adjustments, or other time-based features.
Inside the file liquidity_pool.rs
file:
Impact: Lack of timestamp information limits the protocol's ability to implement time-based features or provide useful analytics to users and developers.
Proof of Concept: If the protocol wanted to implement time-weighted average price (TWAP) oracles or graduated fee structures based on pool age, it would be unable to do so without this timestamp information.
Recommended Mitigation: Add a timestamp field to the LiquidityPool struct and set it during pool initialization:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.