substreams 0.8.0-beta

Substreams SDK - A streaming data engine for The Graph - by StreamingFast
Documentation
//! 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::*;
}