Slither

Slither

Community Analyzer

Public function that could be declared external SLITHER-W1090

Performance
Major

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.

Recommendation

Use the external attribute for functions never called from the contract, and change the location of immutable parameters to calldata to save gas.

Learn more

external-function on Slither's wiki.