0

I have encountered this transaction where all of its logs were undecodable. If you see the value of topic0 in events logs, it is function signature but ideally it should be the event signature. From where the event gets emitted.

Can someone explain me why its like this.

Thanks

1 Answer 1

1

As described in the Solidity documentation:

Solidity events represent an abstraction over the EVM logging functionality.

Under the hood, Solidity uses the low-level EVM opcodes LOG.

The contract directly accesses the LOG4 opcode and decides not to log the event signature.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.