mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update abi-spec.rst
This commit is contained in:
parent
dbc8655b36
commit
550653300b
@ -279,7 +279,7 @@ Events
|
||||
|
||||
Events are an abstraction of the Ethereum logging/event-watching protocol. Log entries provide the contract's address, a series of up to four topics and some arbitrary length binary data. Events leverage the existing function ABI in order to interpret this (together with an interface spec) as a properly typed structure.
|
||||
|
||||
Given an event name and series of event parameters, we split them into two sub-series: those which are indexed and those which are not. Those which are indexed, which may number up to 3, are used alongside the Keccak hash of the event signature to form the topics of the log entry. Those which as not indexed form the byte array of the event.
|
||||
Given an event name and series of event parameters, we split them into two sub-series: those which are indexed and those which are not. Those which are indexed, which may number up to 3, are used alongside the Keccak hash of the event signature to form the topics of the log entry. Those which are not indexed form the byte array of the event.
|
||||
|
||||
In effect, a log entry using this ABI is described as:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user