- numbers —
int,int32,uint64,coins, and others. - boolean —
trueandfalse. - address —
internal,external, andnone. - cells — containers with up to 1023 bits of data and up to 4 references to other cells, plus the cell manipulation primitives of TVM: builders and slices.
- structures — multiple fields grouped into one entity.
- generics — any struct can be generic
<T>. - enums — distinct types containing integer variants.
- nullable types —
nullsafety and safe casts. - union types — variables holding one of several possible values.
- tensors — multiple values placed sequentially on the stack.
- tuples — multiple values stored in a single TVM tuple.
- maps — key-value dictionaries.
- callables — first-class functions.
voidandnever— both represent the absence of a value.
- Type checks and casts covers casting with the unsafe
asoperator. - TVM stack representation summarizes how types map to the TVM stack.
- Serialization describes how types serialize and relate to TL-B.