Skip to content

v0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@liorgold2 liorgold2 released this 14 Jun 06:22
· 68 commits to master since this release

StarkNet:

  • StarkNet contract compiler and StarkNet CLI (command line interface)
  • @external, @view and @storage_var decorators

Cairo language:

  • Remove-unused-functions optimization
  • Dot operator (e.g., (x + 1).y) and the subscript operator (x[3]).
  • Tuples ((2, 3, 4))
  • Struct data-constructors (let t = T(x=1, y=2))
  • Compare structs (assert a = b, where a and b are of type T)

Cairo architecture:

  • Safe call (the Cairo CPU ensures that each call instruction returns).