substreams_ethereum_core/
lib.rs

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
pub mod pb;
pub mod rpc;

/// Helpers to deal with block sources.
pub mod block_view;
pub use event::Event;
pub use function::Function;
pub mod scalar;

/// Dependencies needed by 'substreams-abigen' to generate bindings.
pub use event::IndexedDynamicValue;

mod event;
mod externs;
mod function;

/// Represents the null address static array in bytes (20 bytes) which in hex is equivalent
/// to:
///
/// ```text
/// 0000000000000000000000000000000000000000
/// ```
pub const NULL_ADDRESS: [u8; 20] = [
    0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8,
    0u8,
];