Closed 0xfornax closed 1 year ago
The linked function adjusts a sensitive contract variable yet does not emit an event for it.
function setRedemptionSofteningParam(uint256 _redemptionSofteningParam) public { if (msg.sender != timelockAddress) { revert VesselManagerOperations__NotTimelock(); } if (_redemptionSofteningParam < 9700 || _redemptionSofteningParam > 10000) { revert VesselManagerOperations__InvalidParam(); } redemptionSofteningParam = _redemptionSofteningParam; }
We advise an event to be declared and correspondingly emitted to ensure off-chain processes can properly react to this system adjustment.
event
Fixed.
VMO-02S: Inexistent Event Emission
Description:
The linked function adjusts a sensitive contract variable yet does not emit an event for it.
Example:
Recommendation:
We advise an
event
to be declared and correspondingly emitted to ensure off-chain processes can properly react to this system adjustment.