Closed sherlock-admin4 closed 3 months ago
NoOne
medium
internal
private
In a library, using an external or public visibility means that we won't be going through the library with a DELEGATECALL but with a CALL. This changes the context and should be done carefully.
external
public
DELEGATECAL
CALL
function getReservesAtPrice
Manual Review
Change it to internal or private
NoOne
medium
Library function isn't
internal
orprivate
Summary
Vulnerability Detail
In a library, using an
external
orpublic
visibility means that we won't be going through the library with aDELEGATECAL
L but with aCALL
. This changes the context and should be done carefully.Impact
Code Snippet
function getReservesAtPrice
Tool used
Manual Review
Recommendation
Change it to
internal
orprivate