ethane_types/lib.rs
1mod be_bytes;
2mod bytes;
3mod ethereum_type;
4mod utils;
5
6use ethereum_type::EthereumType;
7
8pub use bytes::Bytes;
9/// A 160 bit (20 bytes) special Address type.
10pub type Address = EthereumType<20_usize, true>;
11/// A 2048 bit (256 bytes) Bloom hash type.
12pub type Bloom = EthereumType<256_usize, true>;
13/// A 256 bit (32 bytes) hash type.
14pub type H256 = EthereumType<32_usize, true>;
15/// A 64 bit (8 bytes) hash type.
16pub type H64 = EthereumType<8_usize, true>;
17/// A 256 bit (32 bytes) unsigned integer type.
18pub type U256 = EthereumType<32_usize, false>;
19/// A 128 bit (16 bytes) unsigned integer type.
20pub type U128 = EthereumType<16_usize, false>;
21/// A 128 bit (8 bytes) unsigned integer type.
22pub type U64 = EthereumType<8_usize, false>;