The Standard

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

Unchecked Transfer in `LiquidationPoolManager::distributeFees()` Could Cause Loss for the Protocol

Description:

LiquidationPoolManager::distributeFees() is called periodically to distribute fees to network stakers and the protocol treasury. The treasury's share is sent using the ERC20::transfer function. However, the return value of an external transfer call in distributeFee() is not checked.

Impact:

If the transaction fails, it fails silently, causing the protocol to miss out on its share of the reward. The next distributeFees() call shares all the fees in the pool between both groups.

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:

informational/invalid

Support

FAQs

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