Enum 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
.
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public enum CLType : byte
Fields
Name | Description |
---|---|
Any | Indicates the type is not known. |
Bool | Boolean primitive. |
ByteArray | Fixed-length list of a single |
I32 | Signed 32-bit integer primitive. |
I64 | Signed 64-bit integer primitive. |
Key | Global state key. |
List | Variable-length list of values of a single |
Map | Key-value association where keys and values have the given types Map(CLType, CLType). |
Option | Optional value of the given type Option(CLType). |
PublicKey | A Public key. |
Result | Co-product of the the given types; one variant meaning success, the other failure. |
String | A string. e.g. "Hello, World!". |
Tuple1 | Single value of the given type Tuple1(CLType). |
Tuple2 | Pair consisting of elements of the given types Tuple2(CLType, CLType). |
Tuple3 | Triple consisting of elements of the given types Tuple3(CLType, CLType, CLType). |
U128 | Unsigned 128-bit integer primitive. |
U256 | Unsigned 256-bit integer primitive. |
U32 | Unsigned 32-bit integer primitive. |
U512 | Unsigned 512-bit integer primitive. |
U64 | Unsigned 64-bit integer primitive. |
U8 | Unsigned 8-bit integer primitive. |
Unit | Singleton value without additional semantics. |
URef | Unforgeable reference. |