penumbra_proto/gen/
penumbra.core.component.distributions.v1.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/// Distribution configuration data.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DistributionsParameters {
    /// The amount of staking token issued per block.
    #[prost(uint64, tag = "1")]
    pub staking_issuance_per_block: u64,
}
impl ::prost::Name for DistributionsParameters {
    const NAME: &'static str = "DistributionsParameters";
    const PACKAGE: &'static str = "penumbra.core.component.distributions.v1";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!(
            "penumbra.core.component.distributions.v1.{}", Self::NAME
        )
    }
}
/// Genesis data for the distributions module.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenesisContent {
    #[prost(message, optional, tag = "1")]
    pub distributions_params: ::core::option::Option<DistributionsParameters>,
}
impl ::prost::Name for GenesisContent {
    const NAME: &'static str = "GenesisContent";
    const PACKAGE: &'static str = "penumbra.core.component.distributions.v1";
    fn full_name() -> ::prost::alloc::string::String {
        ::prost::alloc::format!(
            "penumbra.core.component.distributions.v1.{}", Self::NAME
        )
    }
}