The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: medium
Valid

`SmartVaultV3::swap` this function can fail because of the deadline in the past

Summary

SmartVaultV3::swap the deadline of the transaction time is in the past and can revert

Vulnerability Details

deadline: block.timestamp,

the onwer must set the dead line in the future

Impact

transaction will revert

Tools Used

manual

Recommendations

Add 1 days on the block.timestamp any other timestamp

+ block.timestamp + 1 days,
- block.timestamp,
Updates

Lead Judging Commences

hrishibhat Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

deadline-check-low

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

deadline-check

Support

FAQs

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