The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Unchecked Transfer in claimReward() Could Cause Loss of Reward

Description:

When a staker calls claimReward() to withdraw their reward, it is sent to them with IERC20::transfer function. However, the return value of an external transfer call in claimReward() is not checked.

Impact:

Any transaction to msg.caller that fails will fail silently, which could lead to a loss for the caller.

Tools Used:

  • Slither

Recommended Mitigation Steps:

Use SafeERC20, or ensure that the transfer return value is checked.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue
Assigned finding tags:

unchecked-transfer

informational/invalid

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.