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
At line 213 of ATokenYieldSource, depositToken() can be replaced by _tokenAddress() to save gas since the former is a public function, while the latter is an internal function.
Handle
shw
Vulnerability details
Impact
At line 213 of
ATokenYieldSource
,depositToken()
can be replaced by_tokenAddress()
to save gas since the former is a public function, while the latter is an internal function.Proof of Concept
Referenced code:
ATokenYieldSource.sol#L213
Recommended Mitigation Steps
Change
depositToken()
to_tokenAddress()
.The text was updated successfully, but these errors were encountered: