penumbra_governance/
lib.rs#![deny(clippy::unwrap_used)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![recursion_limit = "512"]
pub mod delegator_vote;
pub use delegator_vote::{
DelegatorVote, DelegatorVoteBody, DelegatorVoteCircuit, DelegatorVotePlan, DelegatorVoteProof,
DelegatorVoteProofPrivate, DelegatorVoteProofPublic, DelegatorVoteView,
};
pub mod proposal_deposit_claim;
pub use proposal_deposit_claim::ProposalDepositClaim;
pub mod validator_vote;
pub use validator_vote::{
ValidatorVote, ValidatorVoteBody, ValidatorVoteReason, MAX_VALIDATOR_VOTE_REASON_LENGTH,
};
pub mod proposal_submit;
pub use proposal_submit::ProposalSubmit;
pub mod proposal_withdraw;
pub use proposal_withdraw::ProposalWithdraw;
pub mod proposal;
pub use proposal::{Proposal, ProposalKind, ProposalPayload};
pub mod proposal_nft;
pub mod proposal_state;
pub mod voting_receipt_token;
pub use proposal_nft::ProposalNft;
pub use voting_receipt_token::VotingReceiptToken;
pub mod event;
mod metrics;
pub use crate::metrics::register_metrics;
pub mod state_key;
pub mod tally;
pub use tally::Tally;
#[cfg(feature = "component")]
pub mod component;
#[cfg(feature = "component")]
mod action_handler;
#[cfg(feature = "component")]
pub use component::{StateReadExt, StateWriteExt};
pub mod vote;
pub use vote::Vote;
pub mod genesis;
pub mod params;
pub mod change;