"""
@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 escrow_approved(google.protobuf.message.Message):
    """Related to escrow_approve_operation.
    Generated when both agent and to accounts approved pending escrow transfer (agent receives fee).
    @see escrow_rejected
    """

    DESCRIPTOR: google.protobuf.descriptor.Descriptor

    FROM_ACCOUNT_FIELD_NUMBER: builtins.int
    TO_ACCOUNT_FIELD_NUMBER: builtins.int
    AGENT_FIELD_NUMBER: builtins.int
    ESCROW_ID_FIELD_NUMBER: builtins.int
    FEE_FIELD_NUMBER: builtins.int
    from_account: builtins.str
    """@param {string} from_account - user that initiated escrow transfer"""
    to_account: builtins.str
    """@param {string} to_account - user that is target of pending escrow transfer"""
    agent: builtins.str
    """@param {string} agent - user that is an agent of pending escrow transfer (receiver of fee)"""
    escrow_id: builtins.int
    """@param {number} escrow_id - id of escrow transfer"""
    @property
    def fee(self) -> asset_pb2.asset:
        """@param {asset} fee - (HIVE of HBD) fee paid to agent"""
    def __init__(
        self,
        *,
        from_account: builtins.str | None = ...,
        to_account: builtins.str | None = ...,
        agent: builtins.str | None = ...,
        escrow_id: builtins.int | None = ...,
        fee: asset_pb2.asset | None = ...,
    ) -> None: ...
    def HasField(self, field_name: typing_extensions.Literal["agent", b"agent", "escrow_id", b"escrow_id", "fee", b"fee", "from_account", b"from_account", "to_account", b"to_account"]) -> builtins.bool: ...
    def ClearField(self, field_name: typing_extensions.Literal["agent", b"agent", "escrow_id", b"escrow_id", "fee", b"fee", "from_account", b"from_account", "to_account", b"to_account"]) -> None: ...

global___escrow_approved = escrow_approved
