massbit_sol/
lib.rs

1#[macro_use]
2extern crate serde_derive;
3pub mod generator;
4pub mod indexer_deploy;
5pub mod indexer_release;
6pub mod parser;
7pub mod schema;
8
9use lazy_static::lazy_static;
10use std::env;
11use std::path::PathBuf;
12lazy_static! {
13    pub static ref COMPONENT_NAME: String = String::from("[SolanaCli]");
14    pub static ref INDEXER_ENDPOINT: String =
15        env::var("INDEXER_ENDPOINT").unwrap_or(String::from("http://127.0.0.1:3031"));
16}
17pub const METHOD_DEPLOY: &str = "indexer/deploy";
18pub const SO_FILE_NAME: &str = "libblock.so";
19pub const SO_FOLDER: &str = "target/release";
20pub const SCHEMA_FILE_NAME: &str = "schema.graphql";
21pub const SUBGRAPH_FILE_NAME: &str = "subgraph.yaml";
22pub const SRC_FOLDER: &str = "src";
23pub const RELEASES_FOLDER: &str = "releases";