Skip to main content

haqq_grpc/gen/
cosmos.auth.module.v1.rs

1// @generated
2/// Module is the config object for the auth module.
3#[derive(::derive_builder::Builder)]
4#[allow(clippy::derive_partial_eq_without_eq)]
5#[derive(Clone, PartialEq, ::prost::Message)]
6pub struct Module {
7    /// bech32_prefix is the bech32 account prefix for the app.
8    #[prost(string, tag="1")]
9    pub bech32_prefix: ::prost::alloc::string::String,
10    /// module_account_permissions are module account permissions.
11    #[prost(message, repeated, tag="2")]
12    pub module_account_permissions: ::prost::alloc::vec::Vec<ModuleAccountPermission>,
13    /// authority defines the custom module authority. If not set, defaults to the governance module.
14    #[prost(string, tag="3")]
15    pub authority: ::prost::alloc::string::String,
16}
17/// ModuleAccountPermission represents permissions for a module account.
18#[derive(::derive_builder::Builder)]
19#[allow(clippy::derive_partial_eq_without_eq)]
20#[derive(Clone, PartialEq, ::prost::Message)]
21pub struct ModuleAccountPermission {
22    /// account is the name of the module.
23    #[prost(string, tag="1")]
24    pub account: ::prost::alloc::string::String,
25    /// permissions are the permissions this module has. Currently recognized
26    /// values are minter, burner and staking.
27    #[prost(string, repeated, tag="2")]
28    pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
29}
30include!("cosmos.auth.module.v1.serde.rs");
31// @@protoc_insertion_point(module)