injective_std/types/cosmos/bank/module/v1.rs
1use injective_std_derive::CosmwasmExt;
2/// Module is the config object of the bank module.
3#[allow(clippy::derive_partial_eq_without_eq)]
4#[derive(Clone, PartialEq, Eq, ::prost::Message, ::serde::Serialize, ::serde::Deserialize, ::schemars::JsonSchema, CosmwasmExt)]
5#[proto_message(type_url = "/cosmos.bank.module.v1.Module")]
6pub struct Module {
7 /// blocked_module_accounts_override configures exceptional module accounts which should be blocked from receiving
8 /// funds. If left empty it defaults to the list of account names supplied in the auth module configuration as
9 /// module_account_permissions
10 #[prost(string, repeated, tag = "1")]
11 pub blocked_module_accounts_override: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
12 /// authority defines the custom module authority. If not set, defaults to the governance module.
13 #[prost(string, tag = "2")]
14 pub authority: ::prost::alloc::string::String,
15 /// restrictions_order specifies the order of send restrictions and should be
16 /// a list of module names which provide a send restriction instance. If no
17 /// order is provided, then restrictions will be applied in alphabetical order
18 /// of module names.
19 #[prost(string, repeated, tag = "3")]
20 pub restrictions_order: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
21}