The linked functions adjust sensitive contract variables yet do not emit an event for it.
Example:
function setRwaToken(address _newRwaToken) external onlyOwner {
require(_newRwaToken != address(0), "Cannot be address(0)");
rwaToken = _newRwaToken;
}
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.
RRR-01S: 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.