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

The function `Laundrette::depositCrimeMoneyInATM` name and its purpose donot match

Description

A function in Laundrette.sol is named depositCrimeMoneyInATM but it does not deposit crime money in the ATM but is deposits USDC to MoneyShelf

Impact

Some potential donors can see the ambiguity in the function name and purpose to be suspicious and may not donate USDC altogether

Proof of Concept

@> function depositTheCrimeMoneyInATM(address account, address to, uint256 amount) external {
moneyShelf.depositUSDC(account, to, amount);
}

Recommended Mitigation

Change the function name from depositCrimeMoneyInATM to depositMoney

Updates

Lead Judging Commences

n0kto Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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