CLType
Casper types, i.e. types which can be stored and manipulated by smart contracts. Provides a description of the underlying data type of a CLValue.
BoolPrimitiveI32PrimitiveI64PrimitiveU8PrimitiveU32PrimitiveU64PrimitiveU128Large unsigned integer typeU256Large unsigned integer typeU512Large unsigned integer typeUnitPrimitiveStringPrimitiveKeySystem typeURefSystem typePublicKeySystem typeOptionOption of aCLTypeListVariable-length list of a singleCLType(comparable to aVec)ByteArrayFixed-length list of a singleCLType(comparable to a Rust array)ResultResultwithOkandErrvariants ofCLType'sMapMap with keys of a singleCLTypeand values of a singleCLTypeTuple11-ary tuple of aCLTypeTuple22-ary tuple ofCLTypesTuple33-ary tuple ofCLTypesAnyUnspecified type
CLValue
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.