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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// @generated
// This file is @generated by prost-build.
/// Minter represents the minting state.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Minter {
/// current annual inflation rate
#[prost(string, tag = "1")]
pub inflation: ::prost::alloc::string::String,
/// current annual expected provisions
#[prost(string, tag = "2")]
pub annual_provisions: ::prost::alloc::string::String,
}
/// Params defines the parameters for the x/mint module.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Params {
/// type of coin to mint
#[prost(string, tag = "1")]
pub mint_denom: ::prost::alloc::string::String,
/// maximum annual change in inflation rate
#[prost(string, tag = "2")]
pub inflation_rate_change: ::prost::alloc::string::String,
/// maximum inflation rate
#[prost(string, tag = "3")]
pub inflation_max: ::prost::alloc::string::String,
/// minimum inflation rate
#[prost(string, tag = "4")]
pub inflation_min: ::prost::alloc::string::String,
/// goal of percent bonded atoms
#[prost(string, tag = "5")]
pub goal_bonded: ::prost::alloc::string::String,
/// expected blocks per year
#[prost(uint64, tag = "6")]
pub blocks_per_year: u64,
}
/// GenesisState defines the mint module's genesis state.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GenesisState {
/// minter is a space for holding current inflation information.
#[prost(message, optional, tag = "1")]
pub minter: ::core::option::Option<Minter>,
/// params defines all the parameters of the module.
#[prost(message, optional, tag = "2")]
pub params: ::core::option::Option<Params>,
}
/// QueryParamsRequest is the request type for the Query/Params RPC method.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryParamsRequest {}
/// QueryParamsResponse is the response type for the Query/Params RPC method.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryParamsResponse {
/// params defines the parameters of the module.
#[prost(message, optional, tag = "1")]
pub params: ::core::option::Option<Params>,
}
/// QueryInflationRequest is the request type for the Query/Inflation RPC method.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryInflationRequest {}
/// QueryInflationResponse is the response type for the Query/Inflation RPC
/// method.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryInflationResponse {
/// inflation is the current minting inflation value.
#[prost(bytes = "vec", tag = "1")]
pub inflation: ::prost::alloc::vec::Vec<u8>,
}
/// QueryAnnualProvisionsRequest is the request type for the
/// Query/AnnualProvisions RPC method.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct QueryAnnualProvisionsRequest {}
/// QueryAnnualProvisionsResponse is the response type for the
/// Query/AnnualProvisions RPC method.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryAnnualProvisionsResponse {
/// annual_provisions is the current minting annual provisions value.
#[prost(bytes = "vec", tag = "1")]
pub annual_provisions: ::prost::alloc::vec::Vec<u8>,
}
/// MsgUpdateParams is the Msg/UpdateParams request type.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MsgUpdateParams {
/// authority is the address that controls the module (defaults to x/gov unless overwritten).
#[prost(string, tag = "1")]
pub authority: ::prost::alloc::string::String,
/// params defines the x/mint parameters to update.
///
/// NOTE: All parameters must be supplied.
#[prost(message, optional, tag = "2")]
pub params: ::core::option::Option<Params>,
}
/// MsgUpdateParamsResponse defines the response structure for executing a
/// MsgUpdateParams message.
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MsgUpdateParamsResponse {}
include!("cosmos.mint.v1beta1.tonic.rs");
// @@protoc_insertion_point(module)