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.
To make an interchangeable alias for an existing type, including structural types, there are type aliases.Smart contracts run on a stack-based virtual machine, TVM, which imposes specific rules on how values are represented at runtime. For example, there is no distinct type for strings — they are not native to TVM and thus are emulated using slices.All on-chain data and communication rely entirely on cells, so the type system focuses on binary serialization and clear data relationships: