Skip to main content

One post tagged with "events"

View All Tags

· 3 min read
Benoit Rognier

We present the new instruction emit to emit an event, in a similar an event is emitted in languages like solidity.

This feater was suggested by Nomadic Labs. Thank you to Bruno Bernardo for the event well mechanism.

An event is declared with the event keyword, similarly to a record:

event HighestBidIncreased {
bidder : address;
amount : tez