Lucene search

K
code423n4Code4renaCODE423N4:2022-06-CANTO-FINDINGS-ISSUES-119
HistoryJun 21, 2022 - 12:00 a.m.

Functions in CNote.sol are internal instead of external/public

2022-06-2100:00:00
Code4rena
github.com
6

Lines of code
<https://github.com/Plex-Engineer/lending-market/blob/755424c1f9ab3f9f0408443e6606f94e4f08a990/contracts/CNote.sol#L96&gt;
<https://github.com/Plex-Engineer/lending-market/blob/755424c1f9ab3f9f0408443e6606f94e4f08a990/contracts/CNote.sol#L178&gt;
<https://github.com/Plex-Engineer/lending-market/blob/755424c1f9ab3f9f0408443e6606f94e4f08a990/contracts/CNote.sol#L258&gt;

Vulnerability details

Impact

Most of the functions in CNote.sol are internal mutability and have no other locations they are being called. This renders most of the functionalities in the contract to be uncallable.

Tools Used

Manual review

Recommended Mitigation Steps

Change to the correct mutability state.


The text was updated successfully, but these errors were encountered:

All reactions