mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adding event and error selector fields on the lines of the function selector fields
This commit is contained in:
committed by
chriseth
parent
2cb29dbd35
commit
d4c06d2b4e
@@ -73,6 +73,16 @@ four indexed arguments rather than three.
|
||||
In particular, it is possible to "fake" the signature of another event
|
||||
using an anonymous event.
|
||||
|
||||
Members of Events
|
||||
=================
|
||||
|
||||
- ``event.selector``: For non-anonymous events, this is a ``bytes32`` value
|
||||
containing the ``keccak256`` hash of the event signature, as used in the default topic.
|
||||
|
||||
|
||||
Example
|
||||
=======
|
||||
|
||||
.. code-block:: solidity
|
||||
|
||||
// SPDX-License-Identifier: GPL-3.0
|
||||
|
||||
Reference in New Issue
Block a user