Clarity Types
Clarity Type System
The type system contains the following types:
Types | Notes |
---|---|
| signed 128-bit integer |
| unsigned 128-bit integer |
| boolean value ( |
| object representing a principal (whether a contract principal or standard principal) |
| byte buffer of maximum length |
| ASCII string of maximum length |
| UTF-8 string of maximum length |
| list of maximum length |
| tuple, group of data values with named fields |
| an option type for objects that can either be |
| object used by public functions to commit their changes or abort. May be returned or used by other functions as well, however, only public functions have the commit/abort behavior. |
Last updated