1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(not(feature = "std"))]
extern crate alloc;
mod decoder;
mod event;
mod param;
mod std;
mod token;
pub use crate::{
decoder::decode,
event::Event,
param::{Param, ParamKind},
token::Token,
};
#[derive(Debug)]
pub enum Error {
InvalidName,
InvalidData
}
pub use ethereum_types::Address;
pub type Word = [u8; 32];
pub use ethereum_types::U256;
pub use ethereum_types::H256;