Moonwell

Moonwell
DeFiFoundry
15,000 USDC
View results
Submission Details
Severity: low
Invalid

View function should be public

Summary

The function getCashPrior in MErc20DelegateFixer.sol should be public so that anyone can get the return value which is EIP20Interface(underlying).balanceOf(address(this)) + badDebt. Making it public will not break the protocol's functionality.

Impact

Users will no be able to see the cash prior directly.

Tools Used

Manual Review

Recommendations

Change the visibility from internal to public.

Updates

Lead Judging Commences

0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

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