# Generated by the protocol buffer compiler.  DO NOT EDIT!
# sources: cosmos/bank/module/v1/module.proto
# plugin: python-betterproto
# This file has been @generated

from dataclasses import dataclass
from typing import List

import betterproto


@dataclass(eq=False, repr=False)
class Module(betterproto.Message):
    """Module is the config object of the bank module."""

    blocked_module_accounts_override: List[str] = betterproto.string_field(1)
    """
    blocked_module_accounts configures exceptional module accounts which should
    be blocked from receiving funds. If left empty it defaults to the list of
    account names supplied in the auth module configuration as
    module_account_permissions
    """

    authority: str = betterproto.string_field(2)
    """
    authority defines the custom module authority. If not set, defaults to the
    governance module.
    """
