@ -25,9 +25,7 @@ class ExternalFunction(AbstractDetector):
WIKI_TITLE="Public function that could be declared external"
WIKI_DESCRIPTION="`public` functions that are never called by the contract should be declared `external`, and its immutable parameters should be located in `calldata` to save gas."
WIKI_RECOMMENDATION=(
"Use the `external` attribute for functions never called from the contract, and change the location of immutable parameters to `calldata` to save gas."
)
WIKI_RECOMMENDATION="Use the `external` attribute for functions never called from the contract, and change the location of immutable parameters to `calldata` to save gas."
@staticmethod
defdetect_functions_called(contract):
@ -115,7 +113,9 @@ class ExternalFunction(AbstractDetector):