vapory_types/lib.rs
1// Copyright 2020 Parity Technologies
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9#![cfg_attr(not(feature = "std"), no_std)]
10
11mod hash;
12mod uint;
13
14pub use vapbloom::{Bloom, BloomRef, Input as BloomInput};
15pub use hash::{BigEndianHash, H128, H160, H256, H264, H32, H512, H520, H64};
16pub use uint::{FromDecStrErr, FromStrRadixErr, FromStrRadixErrKind, U128, U256, U512, U64};
17
18pub type Address = H160;
19pub type Secret = H256;
20pub type Public = H512;
21pub type Signature = H520;