1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#![cfg_attr(not(feature = "std"), no_std)]
#![warn(clippy::all, clippy::pedantic)]

extern crate alloc;

mod account;
mod block;
mod header;
mod log;
mod receipt;
mod transaction;
pub mod util;

// Alias for `Vec<u8>`. This type alias is necessary for rlp-derive to work correctly.
type Bytes = alloc::vec::Vec<u8>;

pub use account::Account;
pub use block::Block;
pub use header::{Header, PartialHeader};
pub use log::Log;
pub use receipt::Receipt;
pub use transaction::{Transaction, TransactionAction, TransactionSignature, TransactionMessage};