Events
Events are a way for your contract to communicate that something happened on the blockchain to your app front-end, which can be 'listening' for certain events and taking action when they happen.
You can have up to 3
indexed parameters
(also know astopics
) per individual event.Event logs can't be accessed by smart contracts, so are only used for off-chain applications such as web apps.
Last updated