Builtin Types
优质
小牛编辑
129浏览
2023-12-01
指定typedefs和别名
模块
类
struct public key
struct signature
struct checksum256
struct checksum160
struct checksum512
struct fixed_string16
struct fixed_string32
struct account_permission
struct eosio::name
封装一个uint64_t以确保它只传递给期望Name的方法.
宏
#define PACKED(X) __attribute((packed)) X
#define N(X) ::eosio::string_to_name(#X)
用于从X的base32编码的字符串解释中生成一个编译时间uint64_t
类型定义
typedef uint64_t account_name
typedef uint64_t permission_name
typedef uint64_t token_name
typedef uint64_t table_name
typedef uint64_t scope_name
typedef uint64_t action_name
typedef uint64_t asset_symbol
typedef int64_t share_type
typedef uint16_t weight_type
typedef struct checksum256 transaction_id_type
typedef struct fixed_string16 field_name
typedef struct fixed_string32 type_name