DeFiFoundrySolidity
16,653 OP
View results
Submission Details
Severity: medium
Invalid

Use of `block.timestamp` as Swap Deadline Offers No Price Protection

Summary

see below

Vulnerability Details

setting the deadline to block.timestamp is ineffective, as validators can delay the transaction, and the block it is eventually included in will have a block.timestamp, offering no real protection

Impact

block.timestamp, offers no real protection

Tools Used

manual

Recommendations

protocols should allow users to set explicit expiration deadlines to ensure timely execution and protect against unfavorable price movements.

Updates

Appeal created

inallhonesty Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Known issue
inallhonesty Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.