Skip to content

Releases: everx-labs/ever-abi

2.4.0

09 Nov 16:17
1f5cfa9
Compare
Choose a tag to compare

Version 2.4.0

New

  • ABI v2.4 specification implemented

  • Param in fields section extended with init: boolean

  • ref(T) – new type added

  • Default values for parameter types:

    • int<N>N zero bits.
    • uint<N>N zero bits.
    • varint<N>/varuint<N>x zero bits, where x = [log2(N)].
    • bool – equivalent to int<N>, where N = 1.
    • tuple(T1, T2, ..., Tn) – default values for each type, i.e. D(tuple(T1, T2, ..., Tn)) = tuple(D(T1), D(T2), ..., D(Tn)), where D is defined as a function that takes ABI type and returns the corresponding default value.
    • map(K,V) – 1 zero bit, i.e. b{0}.
    • cell – reference to an empty cell, i.e. ^EmptyCell.
    • addressaddr_none$00 constructor, i.e. 2 zero bits.
    • bytes – reference to an empty cell, i.e. ^EmptyCell.
    • string – reference to an empty cell, i.e. ^EmptyCell.
    • optional(T) – 1 zero bit, i.e. b{0}.
    • T[]x{00000000} b{0}, i.e. 33 zero bits.
    • T[k] – encoded as an array with k default values of type T
    • ref(T) – reference to a cell, cell is encoded as the default value of type T.

Breaking

  • data section in ABI JSON is removed.
  • fixedbytes type serialization changed. Now it is limited to 127 bytes and serialized into cell
    body instead of chained cells in current cell reference

2.3.0

12 Jul 11:19
@d3p d3p
1d53386
Compare
Choose a tag to compare

New

ABI 2.3 introduces new signature calculation method for external inbound messages

2.2.0

03 May 11:12
568f8da
Compare
Choose a tag to compare
Merge pull request #94 from tonlabs/allow-partial-decode

Allow partial decode

2.1.6

08 Dec 11:32
a74609a
Compare
Choose a tag to compare
Update public version

2.1.5

08 Nov 19:10
1acc057
Compare
Choose a tag to compare
2.1.5 (#64)

2.1.4: Update version because of dependencies update

27 Oct 15:49
e8f907c
Compare
Choose a tag to compare
ton-types 1.10.10 -> 1.10.11
ton-block 1.7.27 -> 1.7.28

2.1.2: Merge pull request #63 from tonlabs/decode-boc

26 Oct 09:04
321cb37
Compare
Choose a tag to compare

2.1.1

22 Oct 13:06
Compare
Choose a tag to compare
Update dependencies list