penumbra_sdk_proto/gen/
penumbra.core.component.funding.v1.rs

1// This file is @generated by prost-build.
2/// Funding component configuration data.
3#[derive(Clone, Copy, PartialEq, ::prost::Message)]
4pub struct FundingParameters {}
5impl ::prost::Name for FundingParameters {
6    const NAME: &'static str = "FundingParameters";
7    const PACKAGE: &'static str = "penumbra.core.component.funding.v1";
8    fn full_name() -> ::prost::alloc::string::String {
9        "penumbra.core.component.funding.v1.FundingParameters".into()
10    }
11    fn type_url() -> ::prost::alloc::string::String {
12        "/penumbra.core.component.funding.v1.FundingParameters".into()
13    }
14}
15/// Genesis data for the funding component.
16#[derive(Clone, Copy, PartialEq, ::prost::Message)]
17pub struct GenesisContent {
18    #[prost(message, optional, tag = "1")]
19    pub funding_params: ::core::option::Option<FundingParameters>,
20}
21impl ::prost::Name for GenesisContent {
22    const NAME: &'static str = "GenesisContent";
23    const PACKAGE: &'static str = "penumbra.core.component.funding.v1";
24    fn full_name() -> ::prost::alloc::string::String {
25        "penumbra.core.component.funding.v1.GenesisContent".into()
26    }
27    fn type_url() -> ::prost::alloc::string::String {
28        "/penumbra.core.component.funding.v1.GenesisContent".into()
29    }
30}
31/// Indicates that a funding stream reward was paid.
32#[derive(Clone, PartialEq, ::prost::Message)]
33pub struct EventFundingStreamReward {
34    /// The recipient of the funding stream reward.
35    /// This is a string value for future extensibility.
36    /// Currently it will be either "community-pool"
37    /// or an address.
38    #[prost(string, tag = "1")]
39    pub recipient: ::prost::alloc::string::String,
40    /// The epoch for which the reward was paid.
41    #[prost(uint64, tag = "2")]
42    pub epoch_index: u64,
43    /// The amount of the reward, in staking tokens.
44    #[prost(message, optional, tag = "3")]
45    pub reward_amount: ::core::option::Option<super::super::super::num::v1::Amount>,
46}
47impl ::prost::Name for EventFundingStreamReward {
48    const NAME: &'static str = "EventFundingStreamReward";
49    const PACKAGE: &'static str = "penumbra.core.component.funding.v1";
50    fn full_name() -> ::prost::alloc::string::String {
51        "penumbra.core.component.funding.v1.EventFundingStreamReward".into()
52    }
53    fn type_url() -> ::prost::alloc::string::String {
54        "/penumbra.core.component.funding.v1.EventFundingStreamReward".into()
55    }
56}