substreams_ethereum_core/pb/mod.rs
1//! This module contains the protobuf generated code for the Substreams Ethereum block
2//! model.
3//!
4//! This is the raw Protbuf code, types in here can be used without problem.
5
6mod generated;
7
8/// Re-export the protobuf generated code directly, at some point we might
9/// deprecate the `eth` module so `pb::eth::v2` becomes `pb::sf::ethereum::r#type::v2`.
10pub mod sf {
11 pub use crate::pb::generated::sf::*;
12}
13
14pub mod eth {
15 pub mod v2 {
16 pub use crate::pb::generated::sf::ethereum::r#type::v2::*;
17 }
18 pub mod rpc {
19 pub use crate::pb::generated::sf::ethereum::substreams::v1::*;
20 }
21}