You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.
sherlock-admin opened this issue
May 24, 2023
· 0 comments
Labels
DuplicateA valid issue that is a duplicate of an issue with `Has Duplicates` labelHighA valid High severity issueRewardA payout will be made for this issue
At heavy traffic, a transaction could take a while.
In order to protect against long-pending transactions and wild swings in prices, a deadline is needed.
Code includes the deadline but has been commented out which means it will not work.
Vulnerability Detail
e.g.
transaction to trade 1 tokenA for 1 tokenB (ratio is 1:1)
transaction takes along time
when transactions finally goes threw, the ratio is 0.5:1 and less than expected tokens are received
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
DuplicateA valid issue that is a duplicate of an issue with `Has Duplicates` labelHighA valid High severity issueRewardA payout will be made for this issue
Delvir0
medium
UniV3SwapInput
doesn't implement a deadlineSummary
At heavy traffic, a transaction could take a while.
In order to protect against long-pending transactions and wild swings in prices, a deadline is needed.
Code includes the deadline but has been commented out which means it will not work.
Vulnerability Detail
e.g.
Impact
Exposed to price swings
Code Snippet
https://github.com/sherlock-audit/2023-05-USSD/blob/main/ussd-contracts/contracts/USSD.sol#L227
Tool used
Manual Review
Recommendation
Implement a deadline
Duplicate of #673
The text was updated successfully, but these errors were encountered: