Closed zhongfu closed 1 year ago
In order to save Gas, public functions that are never called in the contract should be declared as external.
public
external
./src/Funnel.sol : initialize(), permit(), permitRenewable(), approve(), approveRenewable(), allowance(), renewableAllowance(), supportsInterface() ./src/FunnelFactory.sol : deployFunnelForToken(), isFunnel()
Use the external attribute for functions that are never called from the contract.
New
In order to save Gas,
public
functions that are never called in the contract should be declared asexternal
.Paths
./src/Funnel.sol : initialize(), permit(), permitRenewable(), approve(), approveRenewable(), allowance(), renewableAllowance(), supportsInterface() ./src/FunnelFactory.sol : deployFunnelForToken(), isFunnel()
Recommendation
Use the external attribute for functions that are never called from the contract.
Status
New