We present version 1.3.2
of Archetype language.
· 2 min read
Version 1.3.1
· One min read
Version 1.3.0
· 2 min read
Shortcut evaluation
· One min read
Accessing assets
· 3 min read
Iterable big map
· 3 min read
We present a new type of map called iterable_big_map
, which has the scalability property of a big_map
, and which can be iterated like a basic map
.
This feature was suggested by Nomadic Labs. Thank you to Lucas Feli and Charles Delhinger for the algorithm.
Example
Consider the following declaration of an iterable big map between a nat
key and a bytes
value:
variable ibm : iterable_big_map<nat, bytes> = []
Events
· 3 min read
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
}
Welcome
· One min read
We are delighted to present this new documentation for the Archetype language.