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
Some tokens (like USDT) do not work when changing the allowance from an existing non-zero allowance value.They must first be approved by zero and then the actual allowance must be approved.
The text was updated successfully, but these errors were encountered:
code423n4
added
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
labels
Jan 28, 2022
pauliax
added
invalid
This doesn't seem right
and removed
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
labels
Feb 12, 2022
Handle
cccz
Vulnerability details
Impact
Some tokens (like USDT) do not work when changing the allowance from an existing non-zero allowance value.They must first be approved by zero and then the actual allowance must be approved.
Proof of Concept
https://github.com/code-423n4/2022-01-notional/blob/main/contracts/TreasuryManager.sol#L79
Tools Used
None
Recommended Mitigation Steps
The text was updated successfully, but these errors were encountered: