#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Minter {
#[prost(string, tag = "1")]
pub epoch_provisions: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DistributionProportions {
#[prost(string, tag = "1")]
pub staking: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub community_pool: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Params {
#[prost(string, tag = "1")]
pub mint_denom: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub genesis_epoch_provisions: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub epoch_identifier: ::prost::alloc::string::String,
#[prost(int64, tag = "4")]
pub reduction_period_in_epochs: i64,
#[prost(string, tag = "5")]
pub reduction_factor: ::prost::alloc::string::String,
#[prost(message, optional, tag = "6")]
pub distribution_proportions: ::core::option::Option<DistributionProportions>,
#[prost(int64, tag = "7")]
pub minting_rewards_distribution_start_epoch: i64,
#[prost(string, tag = "8")]
pub max_supply: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenesisState {
#[prost(message, optional, tag = "1")]
pub minter: ::core::option::Option<Minter>,
#[prost(message, optional, tag = "2")]
pub params: ::core::option::Option<Params>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryParamsRequest {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryParamsResponse {
#[prost(message, optional, tag = "1")]
pub params: ::core::option::Option<Params>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryEpochProvisionsRequest {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryEpochProvisionsResponse {
#[prost(bytes = "vec", tag = "1")]
pub epoch_provisions: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryLastReductionEpochRequest {}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryLastReductionEpochResponse {
#[prost(int64, tag = "1")]
pub last_reduction_epoch: i64,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryReductionFactorRequest {
#[prost(int64, tag = "1")]
pub epoch_number: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryReductionFactorResponse {
#[prost(bytes = "vec", tag = "1")]
pub reduction_factor: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ReductionEpochInfo {
#[prost(int64, tag = "1")]
pub epoch_number: i64,
#[prost(bytes = "vec", tag = "2")]
pub reduction_factor: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryAllReductionEpochsRequest {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAllReductionEpochsResponse {
#[prost(message, repeated, tag = "1")]
pub reduction_epochs: ::prost::alloc::vec::Vec<ReductionEpochInfo>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryEpochProvisionsHistoryRequest {
#[prost(int64, tag = "1")]
pub epoch_number: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryEpochProvisionsHistoryResponse {
#[prost(bytes = "vec", tag = "1")]
pub epoch_provisions: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EpochProvisionInfo {
#[prost(int64, tag = "1")]
pub epoch_number: i64,
#[prost(bytes = "vec", tag = "2")]
pub provisions: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryAllEpochProvisionsHistoryRequest {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAllEpochProvisionsHistoryResponse {
#[prost(message, repeated, tag = "1")]
pub epoch_provisions_history: ::prost::alloc::vec::Vec<EpochProvisionInfo>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryGetAuthorityRequest {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryGetAuthorityResponse {
#[prost(string, tag = "1")]
pub authority: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateParams {
#[prost(string, tag = "1")]
pub authority: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub params: ::core::option::Option<Params>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MsgUpdateParamsResponse {}
include!("d.mint.v1.tonic.rs");