Releases: everx-labs/ever-abi
Releases · everx-labs/ever-abi
2.4.0
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, wherex = [log2(N)]
.
-
bool
– equivalent toint<N>
, whereN = 1
.
-
tuple(T1, T2, ..., Tn)
– default values for each type, i.e.D(tuple(T1, T2, ..., Tn)) = tuple(D(T1), D(T2), ..., D(Tn))
, whereD
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
.
-
address
–addr_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 withk
default values of typeT
-
ref(T)
– reference to a cell, cell is encoded as the default value of typeT
.
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
2.2.0
2.1.6
2.1.5
2.1.4: Update version because of dependencies update
ton-types 1.10.10 -> 1.10.11 ton-block 1.7.27 -> 1.7.28