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

1// @generated
2/// Minter represents the minting state.
3#[allow(clippy::derive_partial_eq_without_eq)]
4#[derive(Clone, PartialEq, ::prost::Message)]
5pub struct Minter {
6    /// current annual inflation rate
7    #[prost(string, tag="1")]
8    pub inflation: ::prost::alloc::string::String,
9    /// current annual expected provisions
10    #[prost(string, tag="2")]
11    pub annual_provisions: ::prost::alloc::string::String,
12}
13/// Params defines the parameters for the x/mint module.
14#[allow(clippy::derive_partial_eq_without_eq)]
15#[derive(Clone, PartialEq, ::prost::Message)]
16pub struct Params {
17    /// type of coin to mint
18    #[prost(string, tag="1")]
19    pub mint_denom: ::prost::alloc::string::String,
20    /// maximum annual change in inflation rate
21    #[prost(string, tag="2")]
22    pub inflation_rate_change: ::prost::alloc::string::String,
23    /// maximum inflation rate
24    #[prost(string, tag="3")]
25    pub inflation_max: ::prost::alloc::string::String,
26    /// minimum inflation rate
27    #[prost(string, tag="4")]
28    pub inflation_min: ::prost::alloc::string::String,
29    /// goal of percent bonded atoms
30    #[prost(string, tag="5")]
31    pub goal_bonded: ::prost::alloc::string::String,
32    /// expected blocks per year
33    #[prost(uint64, tag="6")]
34    pub blocks_per_year: u64,
35}
36/// GenesisState defines the mint module's genesis state.
37#[allow(clippy::derive_partial_eq_without_eq)]
38#[derive(Clone, PartialEq, ::prost::Message)]
39pub struct GenesisState {
40    /// minter is a space for holding current inflation information.
41    #[prost(message, optional, tag="1")]
42    pub minter: ::core::option::Option<Minter>,
43    /// params defines all the parameters of the module.
44    #[prost(message, optional, tag="2")]
45    pub params: ::core::option::Option<Params>,
46}
47/// QueryParamsRequest is the request type for the Query/Params RPC method.
48#[allow(clippy::derive_partial_eq_without_eq)]
49#[derive(Clone, PartialEq, ::prost::Message)]
50pub struct QueryParamsRequest {
51}
52/// QueryParamsResponse is the response type for the Query/Params RPC method.
53#[allow(clippy::derive_partial_eq_without_eq)]
54#[derive(Clone, PartialEq, ::prost::Message)]
55pub struct QueryParamsResponse {
56    /// params defines the parameters of the module.
57    #[prost(message, optional, tag="1")]
58    pub params: ::core::option::Option<Params>,
59}
60/// QueryInflationRequest is the request type for the Query/Inflation RPC method.
61#[allow(clippy::derive_partial_eq_without_eq)]
62#[derive(Clone, PartialEq, ::prost::Message)]
63pub struct QueryInflationRequest {
64}
65/// QueryInflationResponse is the response type for the Query/Inflation RPC
66/// method.
67#[allow(clippy::derive_partial_eq_without_eq)]
68#[derive(Clone, PartialEq, ::prost::Message)]
69pub struct QueryInflationResponse {
70    /// inflation is the current minting inflation value.
71    #[prost(bytes="bytes", tag="1")]
72    pub inflation: ::prost::bytes::Bytes,
73}
74/// QueryAnnualProvisionsRequest is the request type for the
75/// Query/AnnualProvisions RPC method.
76#[allow(clippy::derive_partial_eq_without_eq)]
77#[derive(Clone, PartialEq, ::prost::Message)]
78pub struct QueryAnnualProvisionsRequest {
79}
80/// QueryAnnualProvisionsResponse is the response type for the
81/// Query/AnnualProvisions RPC method.
82#[allow(clippy::derive_partial_eq_without_eq)]
83#[derive(Clone, PartialEq, ::prost::Message)]
84pub struct QueryAnnualProvisionsResponse {
85    /// annual_provisions is the current minting annual provisions value.
86    #[prost(bytes="bytes", tag="1")]
87    pub annual_provisions: ::prost::bytes::Bytes,
88}
89/// MsgUpdateParams is the Msg/UpdateParams request type.
90///
91/// Since: cosmos-sdk 0.47
92#[allow(clippy::derive_partial_eq_without_eq)]
93#[derive(Clone, PartialEq, ::prost::Message)]
94pub struct MsgUpdateParams {
95    /// authority is the address that controls the module (defaults to x/gov unless overwritten).
96    #[prost(string, tag="1")]
97    pub authority: ::prost::alloc::string::String,
98    /// params defines the x/mint parameters to update.
99    ///
100    /// NOTE: All parameters must be supplied.
101    #[prost(message, optional, tag="2")]
102    pub params: ::core::option::Option<Params>,
103}
104/// MsgUpdateParamsResponse defines the response structure for executing a
105/// MsgUpdateParams message.
106///
107/// Since: cosmos-sdk 0.47
108#[allow(clippy::derive_partial_eq_without_eq)]
109#[derive(Clone, PartialEq, ::prost::Message)]
110pub struct MsgUpdateParamsResponse {
111}
112// @@protoc_insertion_point(module)