1#[allow(clippy::derive_partial_eq_without_eq)]
6#[derive(Clone, PartialEq, ::prost::Message)]
7pub struct BaseAccount {
8 #[prost(string, tag = "1")]
9 pub address: ::prost::alloc::string::String,
10 #[prost(message, optional, tag = "2")]
11 pub pub_key: ::core::option::Option<::tendermint_proto::google::protobuf::Any>,
12 #[prost(uint64, tag = "3")]
13 pub account_number: u64,
14 #[prost(uint64, tag = "4")]
15 pub sequence: u64,
16}
17impl ::prost::Name for BaseAccount {
18 const NAME: &'static str = "BaseAccount";
19 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
20 fn full_name() -> ::prost::alloc::string::String {
21 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
22 }
23}
24#[allow(clippy::derive_partial_eq_without_eq)]
26#[derive(Clone, PartialEq, ::prost::Message)]
27pub struct ModuleAccount {
28 #[prost(message, optional, tag = "1")]
29 pub base_account: ::core::option::Option<BaseAccount>,
30 #[prost(string, tag = "2")]
31 pub name: ::prost::alloc::string::String,
32 #[prost(string, repeated, tag = "3")]
33 pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
34}
35impl ::prost::Name for ModuleAccount {
36 const NAME: &'static str = "ModuleAccount";
37 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
38 fn full_name() -> ::prost::alloc::string::String {
39 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
40 }
41}
42#[allow(clippy::derive_partial_eq_without_eq)]
46#[derive(Clone, PartialEq, ::prost::Message)]
47pub struct ModuleCredential {
48 #[prost(string, tag = "1")]
50 pub module_name: ::prost::alloc::string::String,
51 #[prost(bytes = "vec", repeated, tag = "2")]
54 pub derivation_keys: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec<u8>>,
55}
56impl ::prost::Name for ModuleCredential {
57 const NAME: &'static str = "ModuleCredential";
58 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
59 fn full_name() -> ::prost::alloc::string::String {
60 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
61 }
62}
63#[allow(clippy::derive_partial_eq_without_eq)]
65#[derive(Clone, PartialEq, ::prost::Message)]
66pub struct Params {
67 #[prost(uint64, tag = "1")]
68 pub max_memo_characters: u64,
69 #[prost(uint64, tag = "2")]
70 pub tx_sig_limit: u64,
71 #[prost(uint64, tag = "3")]
72 pub tx_size_cost_per_byte: u64,
73 #[prost(uint64, tag = "4")]
74 pub sig_verify_cost_ed25519: u64,
75 #[prost(uint64, tag = "5")]
76 pub sig_verify_cost_secp256k1: u64,
77}
78impl ::prost::Name for Params {
79 const NAME: &'static str = "Params";
80 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
81 fn full_name() -> ::prost::alloc::string::String {
82 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
83 }
84}
85#[allow(clippy::derive_partial_eq_without_eq)]
87#[derive(Clone, PartialEq, ::prost::Message)]
88pub struct GenesisState {
89 #[prost(message, optional, tag = "1")]
91 pub params: ::core::option::Option<Params>,
92 #[prost(message, repeated, tag = "2")]
94 pub accounts: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::Any>,
95}
96impl ::prost::Name for GenesisState {
97 const NAME: &'static str = "GenesisState";
98 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
99 fn full_name() -> ::prost::alloc::string::String {
100 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
101 }
102}
103#[allow(clippy::derive_partial_eq_without_eq)]
107#[derive(Clone, PartialEq, ::prost::Message)]
108pub struct QueryAccountsRequest {
109 #[prost(message, optional, tag = "1")]
111 pub pagination: ::core::option::Option<super::super::base::query::v1beta1::PageRequest>,
112}
113impl ::prost::Name for QueryAccountsRequest {
114 const NAME: &'static str = "QueryAccountsRequest";
115 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
116 fn full_name() -> ::prost::alloc::string::String {
117 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
118 }
119}
120#[allow(clippy::derive_partial_eq_without_eq)]
124#[derive(Clone, PartialEq, ::prost::Message)]
125pub struct QueryAccountsResponse {
126 #[prost(message, repeated, tag = "1")]
128 pub accounts: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::Any>,
129 #[prost(message, optional, tag = "2")]
131 pub pagination: ::core::option::Option<super::super::base::query::v1beta1::PageResponse>,
132}
133impl ::prost::Name for QueryAccountsResponse {
134 const NAME: &'static str = "QueryAccountsResponse";
135 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
136 fn full_name() -> ::prost::alloc::string::String {
137 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
138 }
139}
140#[allow(clippy::derive_partial_eq_without_eq)]
142#[derive(Clone, PartialEq, ::prost::Message)]
143pub struct QueryAccountRequest {
144 #[prost(string, tag = "1")]
146 pub address: ::prost::alloc::string::String,
147}
148impl ::prost::Name for QueryAccountRequest {
149 const NAME: &'static str = "QueryAccountRequest";
150 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
151 fn full_name() -> ::prost::alloc::string::String {
152 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
153 }
154}
155#[allow(clippy::derive_partial_eq_without_eq)]
157#[derive(Clone, PartialEq, ::prost::Message)]
158pub struct QueryAccountResponse {
159 #[prost(message, optional, tag = "1")]
161 pub account: ::core::option::Option<::tendermint_proto::google::protobuf::Any>,
162}
163impl ::prost::Name for QueryAccountResponse {
164 const NAME: &'static str = "QueryAccountResponse";
165 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
166 fn full_name() -> ::prost::alloc::string::String {
167 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
168 }
169}
170#[allow(clippy::derive_partial_eq_without_eq)]
172#[derive(Clone, PartialEq, ::prost::Message)]
173pub struct QueryParamsRequest {}
174impl ::prost::Name for QueryParamsRequest {
175 const NAME: &'static str = "QueryParamsRequest";
176 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
177 fn full_name() -> ::prost::alloc::string::String {
178 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
179 }
180}
181#[allow(clippy::derive_partial_eq_without_eq)]
183#[derive(Clone, PartialEq, ::prost::Message)]
184pub struct QueryParamsResponse {
185 #[prost(message, optional, tag = "1")]
187 pub params: ::core::option::Option<Params>,
188}
189impl ::prost::Name for QueryParamsResponse {
190 const NAME: &'static str = "QueryParamsResponse";
191 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
192 fn full_name() -> ::prost::alloc::string::String {
193 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
194 }
195}
196#[allow(clippy::derive_partial_eq_without_eq)]
200#[derive(Clone, PartialEq, ::prost::Message)]
201pub struct QueryModuleAccountsRequest {}
202impl ::prost::Name for QueryModuleAccountsRequest {
203 const NAME: &'static str = "QueryModuleAccountsRequest";
204 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
205 fn full_name() -> ::prost::alloc::string::String {
206 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
207 }
208}
209#[allow(clippy::derive_partial_eq_without_eq)]
213#[derive(Clone, PartialEq, ::prost::Message)]
214pub struct QueryModuleAccountsResponse {
215 #[prost(message, repeated, tag = "1")]
216 pub accounts: ::prost::alloc::vec::Vec<::tendermint_proto::google::protobuf::Any>,
217}
218impl ::prost::Name for QueryModuleAccountsResponse {
219 const NAME: &'static str = "QueryModuleAccountsResponse";
220 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
221 fn full_name() -> ::prost::alloc::string::String {
222 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
223 }
224}
225#[allow(clippy::derive_partial_eq_without_eq)]
227#[derive(Clone, PartialEq, ::prost::Message)]
228pub struct QueryModuleAccountByNameRequest {
229 #[prost(string, tag = "1")]
230 pub name: ::prost::alloc::string::String,
231}
232impl ::prost::Name for QueryModuleAccountByNameRequest {
233 const NAME: &'static str = "QueryModuleAccountByNameRequest";
234 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
235 fn full_name() -> ::prost::alloc::string::String {
236 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
237 }
238}
239#[allow(clippy::derive_partial_eq_without_eq)]
241#[derive(Clone, PartialEq, ::prost::Message)]
242pub struct QueryModuleAccountByNameResponse {
243 #[prost(message, optional, tag = "1")]
244 pub account: ::core::option::Option<::tendermint_proto::google::protobuf::Any>,
245}
246impl ::prost::Name for QueryModuleAccountByNameResponse {
247 const NAME: &'static str = "QueryModuleAccountByNameResponse";
248 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
249 fn full_name() -> ::prost::alloc::string::String {
250 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
251 }
252}
253#[allow(clippy::derive_partial_eq_without_eq)]
257#[derive(Clone, PartialEq, ::prost::Message)]
258pub struct Bech32PrefixRequest {}
259impl ::prost::Name for Bech32PrefixRequest {
260 const NAME: &'static str = "Bech32PrefixRequest";
261 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
262 fn full_name() -> ::prost::alloc::string::String {
263 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
264 }
265}
266#[allow(clippy::derive_partial_eq_without_eq)]
270#[derive(Clone, PartialEq, ::prost::Message)]
271pub struct Bech32PrefixResponse {
272 #[prost(string, tag = "1")]
273 pub bech32_prefix: ::prost::alloc::string::String,
274}
275impl ::prost::Name for Bech32PrefixResponse {
276 const NAME: &'static str = "Bech32PrefixResponse";
277 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
278 fn full_name() -> ::prost::alloc::string::String {
279 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
280 }
281}
282#[allow(clippy::derive_partial_eq_without_eq)]
286#[derive(Clone, PartialEq, ::prost::Message)]
287pub struct AddressBytesToStringRequest {
288 #[prost(bytes = "vec", tag = "1")]
289 pub address_bytes: ::prost::alloc::vec::Vec<u8>,
290}
291impl ::prost::Name for AddressBytesToStringRequest {
292 const NAME: &'static str = "AddressBytesToStringRequest";
293 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
294 fn full_name() -> ::prost::alloc::string::String {
295 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
296 }
297}
298#[allow(clippy::derive_partial_eq_without_eq)]
302#[derive(Clone, PartialEq, ::prost::Message)]
303pub struct AddressBytesToStringResponse {
304 #[prost(string, tag = "1")]
305 pub address_string: ::prost::alloc::string::String,
306}
307impl ::prost::Name for AddressBytesToStringResponse {
308 const NAME: &'static str = "AddressBytesToStringResponse";
309 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
310 fn full_name() -> ::prost::alloc::string::String {
311 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
312 }
313}
314#[allow(clippy::derive_partial_eq_without_eq)]
318#[derive(Clone, PartialEq, ::prost::Message)]
319pub struct AddressStringToBytesRequest {
320 #[prost(string, tag = "1")]
321 pub address_string: ::prost::alloc::string::String,
322}
323impl ::prost::Name for AddressStringToBytesRequest {
324 const NAME: &'static str = "AddressStringToBytesRequest";
325 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
326 fn full_name() -> ::prost::alloc::string::String {
327 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
328 }
329}
330#[allow(clippy::derive_partial_eq_without_eq)]
334#[derive(Clone, PartialEq, ::prost::Message)]
335pub struct AddressStringToBytesResponse {
336 #[prost(bytes = "vec", tag = "1")]
337 pub address_bytes: ::prost::alloc::vec::Vec<u8>,
338}
339impl ::prost::Name for AddressStringToBytesResponse {
340 const NAME: &'static str = "AddressStringToBytesResponse";
341 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
342 fn full_name() -> ::prost::alloc::string::String {
343 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
344 }
345}
346#[allow(clippy::derive_partial_eq_without_eq)]
350#[derive(Clone, PartialEq, ::prost::Message)]
351pub struct QueryAccountAddressByIdRequest {
352 #[deprecated]
358 #[prost(int64, tag = "1")]
359 pub id: i64,
360 #[prost(uint64, tag = "2")]
364 pub account_id: u64,
365}
366impl ::prost::Name for QueryAccountAddressByIdRequest {
367 const NAME: &'static str = "QueryAccountAddressByIDRequest";
368 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
369 fn full_name() -> ::prost::alloc::string::String {
370 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
371 }
372}
373#[allow(clippy::derive_partial_eq_without_eq)]
377#[derive(Clone, PartialEq, ::prost::Message)]
378pub struct QueryAccountAddressByIdResponse {
379 #[prost(string, tag = "1")]
380 pub account_address: ::prost::alloc::string::String,
381}
382impl ::prost::Name for QueryAccountAddressByIdResponse {
383 const NAME: &'static str = "QueryAccountAddressByIDResponse";
384 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
385 fn full_name() -> ::prost::alloc::string::String {
386 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
387 }
388}
389#[allow(clippy::derive_partial_eq_without_eq)]
393#[derive(Clone, PartialEq, ::prost::Message)]
394pub struct QueryAccountInfoRequest {
395 #[prost(string, tag = "1")]
397 pub address: ::prost::alloc::string::String,
398}
399impl ::prost::Name for QueryAccountInfoRequest {
400 const NAME: &'static str = "QueryAccountInfoRequest";
401 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
402 fn full_name() -> ::prost::alloc::string::String {
403 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
404 }
405}
406#[allow(clippy::derive_partial_eq_without_eq)]
410#[derive(Clone, PartialEq, ::prost::Message)]
411pub struct QueryAccountInfoResponse {
412 #[prost(message, optional, tag = "1")]
414 pub info: ::core::option::Option<BaseAccount>,
415}
416impl ::prost::Name for QueryAccountInfoResponse {
417 const NAME: &'static str = "QueryAccountInfoResponse";
418 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
419 fn full_name() -> ::prost::alloc::string::String {
420 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
421 }
422}
423#[allow(clippy::derive_partial_eq_without_eq)]
427#[derive(Clone, PartialEq, ::prost::Message)]
428pub struct MsgUpdateParams {
429 #[prost(string, tag = "1")]
431 pub authority: ::prost::alloc::string::String,
432 #[prost(message, optional, tag = "2")]
436 pub params: ::core::option::Option<Params>,
437}
438impl ::prost::Name for MsgUpdateParams {
439 const NAME: &'static str = "MsgUpdateParams";
440 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
441 fn full_name() -> ::prost::alloc::string::String {
442 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
443 }
444}
445#[allow(clippy::derive_partial_eq_without_eq)]
450#[derive(Clone, PartialEq, ::prost::Message)]
451pub struct MsgUpdateParamsResponse {}
452impl ::prost::Name for MsgUpdateParamsResponse {
453 const NAME: &'static str = "MsgUpdateParamsResponse";
454 const PACKAGE: &'static str = "cosmos.auth.v1beta1";
455 fn full_name() -> ::prost::alloc::string::String {
456 ::prost::alloc::format!("cosmos.auth.v1beta1.{}", Self::NAME)
457 }
458}
459include!("cosmos.auth.v1beta1.serde.rs");
460include!("cosmos.auth.v1beta1.tonic.rs");
461