Closed code423n4 closed 2 years ago
pauliax
Functions like publishNewIndex deleteNewIndex, changeLicenseFee, changePublisher, etc can be 'external' not 'public' to save some gas as they are never called from the same contract.
https://github.com/code-423n4/2021-09-defiprotocol-findings/issues/240
Duplicate of #240
Handle
pauliax
Vulnerability details
Impact
Functions like publishNewIndex deleteNewIndex, changeLicenseFee, changePublisher, etc can be 'external' not 'public' to save some gas as they are never called from the same contract.