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
//! Protobuf types for the Substreams protocol.
//!
//! Generated by the `buf.build/anthropics/buffa` plugin; run `buf generate` to regenerate.
macro_rules! include_buffa {
($package:literal) => {
include!(concat!($package, ".mod.rs"));
};
}
pub mod sf {
pub mod substreams {
include_buffa!("sf.substreams.v1");
pub mod index {
pub mod v1 {
include_buffa!("sf.substreams.index.v1");
}
}
pub mod foundational_store {
pub mod v1 {
include_buffa!("sf.substreams.foundational_store.v1");
}
pub mod model {
pub mod v2 {
include_buffa!("sf.substreams.foundational_store.model.v2");
}
}
pub mod service {
pub mod v2 {
include_buffa!("sf.substreams.foundational_store.service.v2");
}
}
}
}
}
// Legacy way to import Protobuf definition to keep backward compatibility with all
// Substreams modules out there.
//
// New Protobuf definitions should be added using the namespacing seen above.
pub mod substreams {
pub use crate::pb::sf::substreams::*;
}