juno_std/types/cosmos/bank/module/v1.rs
1use juno_std_derive::CosmwasmExt;
2/// Module is the config object of the bank 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.bank.module.v1.Module")]
15pub struct Module {
16 /// blocked_module_accounts_override configures exceptional module accounts which should be blocked from receiving
17 /// funds. If left empty it defaults to the list of account names supplied in the auth module configuration as
18 /// module_account_permissions
19 #[prost(string, repeated, tag = "1")]
20 pub blocked_module_accounts_override: ::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 /// restrictions_order specifies the order of send restrictions and should be
25 /// a list of module names which provide a send restriction instance. If no
26 /// order is provided, then restrictions will be applied in alphabetical order
27 /// of module names.
28 #[prost(string, repeated, tag = "3")]
29 pub restrictions_order: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
30}