Source code for evmos.proto.autogen.py.cosmos.bank.module.v1

# 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


[docs] @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_override 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. """ restrictions_order: List[str] = betterproto.string_field(3) """ restrictions_order specifies the order of send restrictions and should be a list of module names which provide a send restriction instance. If no order is provided, then restrictions will be applied in alphabetical order of module names. """