Skip to main content

Version 1.3.1

· One min read
Benoit Rognier
Guillaume Duhamel

We present version 1.3.1 of Archetype language.

Added​

Constant section​

This new entrypoint's section constant allows the declaration of local constants to be used in other sections.


const parameter​

A contract parameter can new be declared const. Its occurences are replaced by the value provided at deployment.


Asset's update instruction​

An asset field typed map or set, can now be updated with update (or add_update) instructions += -= := update instructions. See details.

Changed​

Following new Jakarta protocol, the return type of builtin verify_sapling_update is now option<bytes * int * sapling_state(n)>