Casper types, i.e. types which can be stored and manipulated by smart contracts. Provides a description of the underlying data type of a
OptionOption of a
ListVariable-length list of a single
CLType(comparable to a
ByteArrayFixed-length list of a single
CLType(comparable to a Rust array).
MapMap with keys of a single
CLTypeand values of a single
Tuple11-ary tuple of a
Tuple22-ary tuple of
Tuple33-ary tuple of
A Casper value, i.e. a value which can be stored and manipulated by smart contracts. It holds the underlying data as a type-erased, serialized
Vec<u8> and also holds the CLType of the underlying data as a separate member. The
parsed field, representing the original value, is a convenience only available when a CLValue is encoded to JSON, and can always be set to null if preferred.
bytesA Casper serialized representation of the underlying value. For more information, reference the Serialization Standard.