persistence_std/types/cosmos/staking/module/
v1.rs

1use persistence_std_derive::CosmwasmExt;
2/// Module is the config object of the staking module.
3#[allow(clippy::derive_partial_eq_without_eq)]
4#[derive(
5    Clone,
6    PartialEq,
7    Eq,
8    ::prost::Message,
9    ::serde::Serialize,
10    ::serde::Deserialize,
11    ::schemars::JsonSchema,
12    CosmwasmExt,
13)]
14#[proto_message(type_url = "/cosmos.staking.module.v1.Module")]
15pub struct Module {
16    /// hooks_order specifies the order of staking hooks and should be a list
17    /// of module names which provide a staking hooks instance. If no order is
18    /// provided, then hooks will be applied in alphabetical order of module names.
19    #[prost(string, repeated, tag = "1")]
20    pub hooks_order: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
21    /// authority defines the custom module authority. If not set, defaults to the governance module.
22    #[prost(string, tag = "2")]
23    pub authority: ::prost::alloc::string::String,
24}