Closed code423n4 closed 2 years ago
0x1f8b
Unsafe transfer was done.
In the method LPTokenWrapper.claimReward it's made a transfer without checking the boolean result, ERC20 standard specify that the token can return false if the transfer was not made, so it's mandatory to check the result of transfer methods.
LPTokenWrapper.claimReward
Manual review
Use safe transfer or check the boolean result
@LilYeti: Duplicate #1
Outdated
Duplicate of #94
Duplicate of issue by the same warden
Handle
0x1f8b
Vulnerability details
Impact
Unsafe transfer was done.
Proof of Concept
In the method
LPTokenWrapper.claimReward
it's made a transfer without checking the boolean result, ERC20 standard specify that the token can return false if the transfer was not made, so it's mandatory to check the result of transfer methods.Tools Used
Manual review
Recommended Mitigation Steps
Use safe transfer or check the boolean result