Coinmonks
Published in

Coinmonks

The Curious Case of ‘emit’ in Solidity

Photo by Jodie Stallard on Unsplash

I have come to enjoy coding in Solidity because it offers so much in innovative features.I have written about the “_” modifier in a previous article. In this article, I wish to document what emit in Solidity does.

An emit in Solidity triggers an event. Think of an event as a click on a button on a user interface - but that's not the type of event that a Solidity Smart Contract triggers. Here's an…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store