"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file
"""
import asset_pb2
import builtins
import google.protobuf.descriptor
import google.protobuf.message
import sys

if sys.version_info >= (3, 8):
    import typing as typing_extensions
else:
    import typing_extensions

DESCRIPTOR: google.protobuf.descriptor.FileDescriptor

@typing_extensions.final
class dhf_conversion(google.protobuf.message.Message):
    """Related to specific case of transfer_operation and to block processing.
    When user transferred HIVE to treasury the amount is immediately converted to HBD and this vops is generated.
    Also generated during block processing every day during daily proposal maintenance.
    Note: portion of HIVE on treasury balance is converted to HBD and thus increases funds available for proposals.
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    TREASURY_FIELD_NUMBER: builtins.int
    HIVE_AMOUNT_IN_FIELD_NUMBER: builtins.int
    HBD_AMOUNT_OUT_FIELD_NUMBER: builtins.int
    treasury: builtins.str
    """@param {string} treasury - treasury (source of hive_amount_in and receiver of hbd_amount_out)"""
    @property
    def hive_amount_in(self) -> asset_pb2.asset:
        """@param {asset} hive_amount_in - (HIVE) source of conversion"""
    @property
    def hbd_amount_out(self) -> asset_pb2.asset:
        """@param {asset} hbd_amount_out - (HBD) effect of conversion"""
    def __init__(
        self,
        *,
        treasury: builtins.str | None = ...,
        hive_amount_in: asset_pb2.asset | None = ...,
        hbd_amount_out: asset_pb2.asset | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["hbd_amount_out", b"hbd_amount_out", "hive_amount_in", b"hive_amount_in", "treasury", b"treasury"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["hbd_amount_out", b"hbd_amount_out", "hive_amount_in", b"hive_amount_in", "treasury", b"treasury"]) -> None: ...

global___dhf_conversion = dhf_conversion
