pindexer/
lib.rs

1pub use cometindex::{AppView, ContextualizedEvent, Indexer, PgPool, PgTransaction};
2
3mod indexer_ext;
4pub use indexer_ext::IndexerExt;
5use penumbra_sdk_asset::asset;
6pub mod block;
7pub mod dex_ex;
8pub mod ibc;
9pub mod insights;
10pub mod lqt;
11mod parsing;
12pub mod stake;
13pub mod supply;
14
15pub mod governance;
16
17#[derive(clap::Parser, Clone, Debug)]
18pub struct Options {
19    #[clap(flatten)]
20    pub cometindex: cometindex::opt::Options,
21    /// The denom to use for indexing related components, of the form passet1...
22    #[clap(
23        long,
24        default_value = "passet1w6e7fvgxsy6ccy3m8q0eqcuyw6mh3yzqu3uq9h58nu8m8mku359spvulf6"
25    )]
26    pub indexing_denom: asset::Id,
27    /// The minimum liquidity for the indexing denom in the dex explorer app view.
28    #[clap(long, default_value = "100000000")]
29    pub dex_ex_min_liquidity: u128,
30}