The function can only be called from outside the contract. It cannot be called internally or via another contract. Also external functions have a cheaper gas cost for calling as compared to public functions. This is because calling an external function involves a jump to a different context (i.e., the called contract), whereas calling a public function can be done within the same context.
Please see "Proof of code" in GitHub file.
Marking public functions that are not used internally as "external" in Solidity can have several impacts, both in terms of code clarity and gas optimization
Aderyn
For public functions that are not used internally but are part of the contract's external interface, update their visibility modifiers from "public" to "external". This change clearly defines the contract's boundaries and optimizes gas usage.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.