Skip to main content

· 2 min read
Benoit Rognier
Guillaume Duhamel

We present version 1.4.3 of Archetype language.

Added

Functions

Functions can now have side effects on storage. For example, it is now valid to write:

archetype function_side_effect

variable res : nat = 0

function set_res(v : nat) {
res := v
}

entry exec(value : nat) { set_res(value) }

· 3 min read
Benoit Rognier
Guillaume Duhamel

We are glad to present the new contract binding generation in TypeScript language. We consider this as a major improvement in the way we are working with Archetype and Michelson contracts.

Completium CLI now provides a simple command to generate the TypeScript binding:

completium-cli generate binding-ts mycontract.arl > mycontract.ts

· 2 min read
Benoit Rognier
Guillaume Duhamel

We present version 1.3.2 of Archetype language.

Added

update for set

update instruction adds or removes an element in a set.


· 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.