nibiru_std/proto/buf/
cosmos.params.v1beta1.rs

1// @generated
2/// ParameterChangeProposal defines a proposal to change one or more parameters.
3#[allow(clippy::derive_partial_eq_without_eq)]
4#[derive(Clone, PartialEq, ::prost::Message)]
5pub struct ParameterChangeProposal {
6    #[prost(string, tag="1")]
7    pub title: ::prost::alloc::string::String,
8    #[prost(string, tag="2")]
9    pub description: ::prost::alloc::string::String,
10    #[prost(message, repeated, tag="3")]
11    pub changes: ::prost::alloc::vec::Vec<ParamChange>,
12}
13/// ParamChange defines an individual parameter change, for use in
14/// ParameterChangeProposal.
15#[allow(clippy::derive_partial_eq_without_eq)]
16#[derive(Clone, PartialEq, ::prost::Message)]
17pub struct ParamChange {
18    #[prost(string, tag="1")]
19    pub subspace: ::prost::alloc::string::String,
20    #[prost(string, tag="2")]
21    pub key: ::prost::alloc::string::String,
22    #[prost(string, tag="3")]
23    pub value: ::prost::alloc::string::String,
24}
25/// QueryParamsRequest is request type for the Query/Params RPC method.
26#[allow(clippy::derive_partial_eq_without_eq)]
27#[derive(Clone, PartialEq, ::prost::Message)]
28pub struct QueryParamsRequest {
29    /// subspace defines the module to query the parameter for.
30    #[prost(string, tag="1")]
31    pub subspace: ::prost::alloc::string::String,
32    /// key defines the key of the parameter in the subspace.
33    #[prost(string, tag="2")]
34    pub key: ::prost::alloc::string::String,
35}
36/// QueryParamsResponse is response type for the Query/Params RPC method.
37#[allow(clippy::derive_partial_eq_without_eq)]
38#[derive(Clone, PartialEq, ::prost::Message)]
39pub struct QueryParamsResponse {
40    /// param defines the queried parameter.
41    #[prost(message, optional, tag="1")]
42    pub param: ::core::option::Option<ParamChange>,
43}
44/// QuerySubspacesRequest defines a request type for querying for all registered
45/// subspaces and all keys for a subspace.
46///
47/// Since: cosmos-sdk 0.46
48#[allow(clippy::derive_partial_eq_without_eq)]
49#[derive(Clone, PartialEq, ::prost::Message)]
50pub struct QuerySubspacesRequest {
51}
52/// QuerySubspacesResponse defines the response types for querying for all
53/// registered subspaces and all keys for a subspace.
54///
55/// Since: cosmos-sdk 0.46
56#[allow(clippy::derive_partial_eq_without_eq)]
57#[derive(Clone, PartialEq, ::prost::Message)]
58pub struct QuerySubspacesResponse {
59    #[prost(message, repeated, tag="1")]
60    pub subspaces: ::prost::alloc::vec::Vec<Subspace>,
61}
62/// Subspace defines a parameter subspace name and all the keys that exist for
63/// the subspace.
64///
65/// Since: cosmos-sdk 0.46
66#[allow(clippy::derive_partial_eq_without_eq)]
67#[derive(Clone, PartialEq, ::prost::Message)]
68pub struct Subspace {
69    #[prost(string, tag="1")]
70    pub subspace: ::prost::alloc::string::String,
71    #[prost(string, repeated, tag="2")]
72    pub keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
73}
74// @@protoc_insertion_point(module)