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
We considered this, but it's possible for a malicious user to "drain" the approval of the contract, so there would need to be checks to see if approval dropped below a certain level. We opted to leave out the complexity.
Handle
cmichel
Vulnerability details
YearnV2YieldSource._depositInVault
can save gas by cachingtoken
in memory instead of accessing it 3 times from storage.The text was updated successfully, but these errors were encountered: