Closed code423n4 closed 2 years ago
hrkrshnn
It is a good practice to make public functions that are not referenced inside the code to external. In very old Solidity versions, in some cases, this lead to a decrease in gas. However, this is unlikely to be the case now.
public
external
partial duplicate of #49 from the same submitter.
Handle
hrkrshnn
Vulnerability details
Functions that can be made external
It is a good practice to make
public
functions that are not referenced inside the code toexternal
. In very old Solidity versions, in some cases, this lead to a decrease in gas. However, this is unlikely to be the case now.Examples