Skip to main content

New answers tagged

3 votes
Accepted

Is it possible to emit generic events using assembly?

This works for me: function emitGenericEvent(bytes32[] calldata topics, bytes calldata logData) external onlyController { require(topics.length <= 4, "Too many topics"); assembly {...
0xSanson's user avatar
  • 3,364

Top 50 recent answers are included