Open fbac opened 3 months ago
This suggestion applies to all v2 contracts.
When setting configuration parameters in contract, let's make sure an event is emitted.
Example:
function setCustody(address _custody) external onlyTSS { if (custody != address(0)) revert CustodyInitialized(); if (_custody == address(0)) revert ZeroAddress(); custody = _custody; emit CustodySet(_custody); }
This suggestion applies to all v2 contracts.
When setting configuration parameters in contract, let's make sure an event is emitted.
Example: