Crate ckb_types[][src]

The Core Types Library

This Library provides the essential types for CKB.

Re-exports

pub use bytes;
pub use molecule;

Modules

constants

All Constants.

core

The essential rust types for CKB.

error
packed

Various newtypes of bytes::Bytes, and their associated types.

prelude

This module includes several traits.

utilities

Types utilities.

Macros

h160

A proc-macro used to create a const H160 from a hexadecimal string or a trimmed hexadecimal string.

h256

A proc-macro used to create a const H256 from a hexadecimal string or a trimmed hexadecimal string.

u256

Structs

H160

The 20-byte fixed-length binary data.

H256

The 32-byte fixed-length binary data.

U128

Fixed non-negative integer type.

U256

Fixed non-negative integer type.