substreams_ethereum_core/lib.rs
1pub mod pb;
2pub mod rpc;
3
4/// Helpers to deal with block sources.
5pub mod block_view;
6pub use event::Event;
7pub use function::Function;
8pub mod scalar;
9
10/// Dependencies needed by 'substreams-abigen' to generate bindings.
11pub use event::IndexedDynamicValue;
12
13mod event;
14mod externs;
15mod function;
16
17/// Represents the null address static array in bytes (20 bytes) which in hex is equivalent
18/// to:
19///
20/// ```text
21/// 0000000000000000000000000000000000000000
22/// ```
23pub const NULL_ADDRESS: [u8; 20] = [
24 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8,
25 0u8,
26];