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;
10mod parsing;
11pub mod stake;
12pub mod supply;
13
14pub mod governance;
15
16#[derive(clap::Parser, Clone, Debug)]
17pub struct Options {
18    #[clap(flatten)]
19    pub cometindex: cometindex::opt::Options,
20    /// The denom to use for indexing related components, of the form passet1...
21    #[clap(
22        long,
23        default_value = "passet1w6e7fvgxsy6ccy3m8q0eqcuyw6mh3yzqu3uq9h58nu8m8mku359spvulf6"
24    )]
25    pub indexing_denom: asset::Id,
26    /// The minimum liquidity for the indexing denom in the dex explorer app view.
27    #[clap(long, default_value = "100000000")]
28    pub dex_ex_min_liquidity: u128,
29}