Omniscia Bluejay Finance Audit

StabilizingBondDepository Static Analysis Findings

StabilizingBondDepository Static Analysis Findings

SBD-01S: Inexistent Event Emissions

Description:

The linked functions adjust sensitive contract variables yet do not emit an event for them.

Example:

packages/contracts/contracts/StabilizingBondDepository.sol
230function setControlVariable(uint256 _controlVariable)
231 public
232 override
233 onlyOwner
234{
235 controlVariable = _controlVariable;
236}

Recommendation:

We advise an event to be coded and correspondingly emitted to ensure off-chain processes can properly react to these changes.

Alleviation:

Events and corresponding event emissions have been introduced throughout the relevant setter functions as advised.