ethereum_types_solana/
lib.rs1#![cfg_attr(not(feature = "std"), no_std)]
10
11mod hash;
12mod uint;
13
14#[cfg(feature = "ethbloom")]
15pub use ethbloom::{Bloom, BloomRef, Input as BloomInput};
16pub use hash::{BigEndianHash, H128, H160, H256, H264, H32, H520, H64};
17pub use uint::{FromDecStrErr, FromStrRadixErr, FromStrRadixErrKind, U128, U256, U64};
18
19pub type Address = H160;
20pub type Secret = H256;
21pub type Signature = H520;
22
23#[cfg(feature = "ethbloom")]
25#[macro_export]
26macro_rules! if_ethbloom {
27 ($($tt:tt)*) => {
28 $($tt)*
29 };
30}
31
32#[cfg(not(feature = "ethbloom"))]
33#[macro_export]
34#[doc(hidden)]
35macro_rules! if_ethbloom {
36 ($($tt:tt)*) => {};
37}