Closed chasebrownn closed 6 months ago
The linked functions adjust sensitive contract variables yet do not emit an event for it.
function setDistributor(address _distributor, bool _canDistribute) external onlyOwner { canDistribute[_distributor] = _canDistribute; }
We advise an event to be declared and correspondingly emitted for each function to ensure off-chain processes can properly react to this system adjustment.
event
Acknowledged
RDR-02S: Inexistent Event Emissions
Description:
The linked functions adjust sensitive contract variables yet do not emit an event for it.
Example:
Recommendation:
We advise an
event
to be declared and correspondingly emitted for each function to ensure off-chain processes can properly react to this system adjustment.