Skip to content

Commit

Permalink
total supply indexer (#4863)
Browse files Browse the repository at this point in the history
#4835

---------

Co-authored-by: Lucas Meier <[email protected]>
  • Loading branch information
avahowell and cronokirby committed Sep 26, 2024
1 parent 0f133aa commit aa1359f
Show file tree
Hide file tree
Showing 5 changed files with 598 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/bin/pindexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ penumbra-shielded-pool = {workspace = true, default-features = false}
penumbra-stake = {workspace = true, default-features = false}
penumbra-app = {workspace = true}
penumbra-dex = {workspace = true, default-features = false}
penumbra-keys = {workspace = true, default-features = false}
penumbra-governance = {workspace = true, default-features = false}
penumbra-num = {workspace = true, default-features = false}
penumbra-asset = {workspace = true, default-features = false}
Expand Down
1 change: 1 addition & 0 deletions crates/bin/pindexer/src/indexer_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ impl IndexerExt for cometindex::Indexer {
.with_index(crate::stake::UndelegationTxs {})
.with_index(crate::governance::GovernanceProposals {})
.with_index(crate::dex::Component::new())
.with_index(crate::supply::Component::new())
}
}
1 change: 1 addition & 0 deletions crates/bin/pindexer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ pub mod dex;
pub mod shielded_pool;
mod sql;
pub mod stake;
pub mod supply;

pub mod governance;
Loading

0 comments on commit aa1359f

Please sign in to comment.