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
transfer() will always revert for token that not return boolean value
Summary
In this case, if USDT is used as a rewards token, the transfer functions will always fail because USDT does not have a boolean value.
Root Cause
in MorphoLeverageStrategyExtension:603 uses transfer()
inMorphoLeverageStrategyExtension:1238uses transfer()
Internal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
transfer() will always revert for token that not return
PoC
No response
Mitigation
Use safeTransfer() instead of transfer() .
The text was updated successfully, but these errors were encountered:
sherlock-admin2
changed the title
Lone Rosewood Platypus - transfer() will always revert for token that not return boolean value
karsar - transfer() will always revert for token that not return boolean value
Oct 28, 2024
karsar
Medium
transfer() will always revert for token that not return boolean value
Summary
In this case, if USDT is used as a rewards token, the transfer functions will always fail because USDT does not have a boolean value.
Root Cause
in
MorphoLeverageStrategyExtension:603
uses transfer()in
MorphoLeverageStrategyExtension:1238
uses transfer()Internal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
transfer() will always revert for token that not return
PoC
No response
Mitigation
Use safeTransfer() instead of transfer() .
The text was updated successfully, but these errors were encountered: