paint-brush
How To Use Events In Solidityby@kamilpolak
12,037 reads
12,037 reads

How To Use Events In Solidity

by Kamil Polak2mMay 22nd, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow
EN

Too Long; Didn't Read

In this short tutorial, I will show you what are the events in Solidity and how to use them in our smart contract. After events are called, their arguments are placed in the blockchain. Smart contracts themselves cannot listen to any events. There are two types of Solidity event parameters: indexed and not indexed, and events can be filtered by name and by contract address. To use events first, you need to declare them in the definition of the event and the parameters you want to save when you trigger the event.

Coin Mentioned

Mention Thumbnail
featured image - How To Use Events In Solidity
Kamil Polak HackerNoon profile picture
Kamil Polak

Kamil Polak

@kamilpolak

I am a huge enthusiast of cryptocurrency and blockchain technology.

About @kamilpolak
LEARN MORE ABOUT @KAMILPOLAK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Kamil Polak HackerNoon profile picture
Kamil Polak@kamilpolak
I am a huge enthusiast of cryptocurrency and blockchain technology.

TOPICS

Languages

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite