Beginner FriendlyDeFiFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

`MoneyVault::depositUSDC` there is no any method of depositing funds in this contract , but there is deposit function which does nothing but just reverts

Summary

function depositUSDC(address, address, uint256) external pure {
revert("MoneyVault: depositUSDC is disabled");
}

Impact

Waste of gas

Tools Used

manual review

Recommendations

We should get rid of the deposit function as mentioned in the doc that MoneyVault is used in an emergency situation and no funds can be deposited in it.

Updates

Lead Judging Commences

n0kto Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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