Omniscia Congruent Audit

MasterChef Static Analysis Findings

MasterChef Static Analysis Findings

MCF-01S: Inexistent Event Emission

Description:

The linked function adjusts a sensitive contract variable yet does not emit an event for it.

Example:

contracts/MasterChef.sol
80function setOperator(address op_) external onlyOwner {
81 operator = op_;
82}

Recommendation:

We advise an event to be coded and consequently emitted whenever the function is invoked to permit off-chain processes to properly react to the change.

Alleviation:

The Congruent team considered this exhibit but opted not to apply a remediation for it in the current iteration of the codebase.