Omniscia Bonq Audit

mintable-token-owner Static Analysis Findings

mintable-token-owner Static Analysis Findings

MIT-01S: Inexistent Event Emissions

Description:

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

Example:

contracts/mintable-token-owner.sol
31function addMinter(address _newMinter) public onlyOwner {
32 minters[_newMinter] = true;
33}

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.

Alleviation:

The Bonq Protocol team has introduced a MinterAdded event which is emitted correspondingly.