Skip to main content

· 3 min read
Benoit Rognier
info

Edit : from version 1.3.5, the event sink mechansim is now replaced by native protocol's events from Kathmandu.

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

This feature was suggested by Nomadic Labs.

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

event HighestBidIncreased {
bidder : address;
amount : tez
}