dchain-sdk-proto 0.9.2

Protobuf stuct defintions for Dchain
// @generated
// This file is @generated by prost-build.
/// Module is the config object for the auth module.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Module {
    /// bech32_prefix is the bech32 account prefix for the app.
    #[prost(string, tag = "1")]
    pub bech32_prefix: ::prost::alloc::string::String,
    /// module_account_permissions are module account permissions.
    #[prost(message, repeated, tag = "2")]
    pub module_account_permissions: ::prost::alloc::vec::Vec<ModuleAccountPermission>,
    /// authority defines the custom module authority. If not set, defaults to the governance module.
    #[prost(string, tag = "3")]
    pub authority: ::prost::alloc::string::String,
    /// enable_unordered_transactions determines whether unordered transactions should be supported or not.
    /// When true, unordered transactions will be validated and processed.
    /// When false, unordered transactions will be rejected.
    #[prost(bool, tag = "4")]
    pub enable_unordered_transactions: bool,
}
/// ModuleAccountPermission represents permissions for a module account.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ModuleAccountPermission {
    /// account is the name of the module.
    #[prost(string, tag = "1")]
    pub account: ::prost::alloc::string::String,
    /// permissions are the permissions this module has. Currently recognized
    /// values are minter, burner and staking.
    #[prost(string, repeated, tag = "2")]
    pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
// @@protoc_insertion_point(module)