DittoETH

Ditto
DeFiFoundryOracle
55,000 USDC
View results
Submission Details
Severity: medium
Invalid

Unsafe ERC20 methods are called in several instances

Summary

Unsafe ERC20 operations like transfer and transferFrom are used in several instances in the above contracts instead of safeTransfer and safeTransferFrom .

Vulnerability Details

Operations like transfer and transferFrom can pass boolean values instead of reverting the transaction on failure. safeERC20 ensure's these additional checks to allow integration of wider variety of non-standard ERC20 implementation.

Tools Used

Manual Review

Recommendations

Call safeTransfer and safeTransferFrom instead of transfer and transferFrom respectively.

Updates

Lead Judging Commences

0xnevi Lead Judge
almost 2 years ago
0xnevi Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

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