Crate cfx_types

Source

Re-exports§

pub use space_util::AddressSpaceUtil;
pub use contract_address::cal_contract_address;
pub use contract_address::CreateContractAddressType;

Modules§

address_util
contract_address
space_util

Structs§

AddressWithSpace
AllChainID
Bloom
Bloom hash type with 256 bytes (2048 bits) size.
H64
H128
H160
Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
H256
Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
H512
Fixed-size uninterpreted hash type with 64 bytes (512 bits) size.
H520
SpaceMap
U64
Little-endian large integer type Unsigned 64-bit integer.
U128
Little-endian large integer type 128-bit unsigned integer.
U256
Little-endian large integer type 256-bit unsigned integer.
U512
Little-endian large integer type 512-bits unsigned integer.

Enums§

BloomInput
Space

Constants§

KECCAK_EMPTY_BLOOM
The KECCAK hash of an empty bloom filter (0x00 * 256)

Traits§

BigEndianHash

Functions§

h256_to_u256_be
hexstr_to_h256
maybe_address
option_vec_to_hex
parse_hex_string
u256_to_h256_be

Type Aliases§

Address
Public
Secret
Signature