There is no event emitted in the whole contract, even after executing sensitive actions like swaps between assets or at the constructor. That is bad because many automatic tools that monitors the contracts deployed rely on them. For example, see the swap function in UniswapV3Pool#L786
emit Swap(msg.sender, recipient, amount0, amount1, state.sqrtPriceX96, state.liquidity, state.tick);
Just Ctrl+f and look for emit in the whole file in scope
Manual analysis
Consider emitting events after sensitive changes take place (including in the constructor), to facilitate tracking and notify off-chain clients following the contractsβ activity.
NOTE -> Medium severity as here, here and here. For C4 ones, go to Solodit and put as keyword emits and there are plenty of them as a medium
Other
The text was updated successfully, but these errors were encountered:
All reactions