
    ":h}                        d dl mZ  G d de      Z G d de      Z G d de      Z G d d	e      Z G d
 de      Z G d de      Z G d de      Z	 G d de      Z G d de
      Z G d de      Z G d de
e      Z G d de
e      Zy)   )
ParseErrorc                       e Zd ZdZy)EncodingErrorzC
    Base exception for any error that occurs during encoding.
    N__name__
__module____qualname____doc__     j/var/www/html/turnos/venv/lib/python3.12/site-packages/ccxt/static_dependencies/ethereum/abi/exceptions.pyr   r           	r   r   c                       e Zd ZdZy)EncodingTypeErrorzn
    Raised when trying to encode a python value whose type is not supported for
    the output ABI type.
    Nr   r   r   r   r   r          
 	r   r   c                       e Zd ZdZy)IllegalValuea  
    Raised when trying to encode a python value with the correct type but with
    a value that is not considered legal for the output ABI type.

    Example:

    .. code-block:: python

        fixed128x19_encoder(Decimal('NaN'))  # cannot encode NaN

    Nr   r   r   r   r   r          
 	r   r   c                       e Zd ZdZy)ValueOutOfBoundsa  
    Raised when trying to encode a python value with the correct type but with
    a value that appears outside the range of valid values for the output ABI
    type.

    Example:

    .. code-block:: python

        ufixed8x1_encoder(Decimal('25.6'))  # out of bounds

    Nr   r   r   r   r   r   '   s     	r   r   c                       e Zd ZdZy)DecodingErrorzC
    Base exception for any error that occurs during decoding.
    Nr   r   r   r   r   r   8   r   r   r   c                       e Zd ZdZy)InsufficientDataBytesz]
    Raised when there are insufficient data to decode a value for a given ABI
    type.
    Nr   r   r   r   r   r   @   r   r   r   c                       e Zd ZdZy)NonEmptyPaddingByteszF
    Raised when the padding bytes of an ABI value are malformed.
    Nr   r   r   r   r   r   I   r   r   r   c                       e Zd ZdZd Zy)r   z:
    Raised when an ABI type string cannot be parsed.
    c                     dj                  | j                  | j                  | j                  dz    | j                         | j                        S )Nz3Parse error at '{}' (column {}) in type string '{}'   )formattextposcolumn)selfs    r   __str__zParseError.__str__V   s?    DKKIIdhhA.KKMII
 	
r   N)r   r   r	   r
   r%   r   r   r   r   r   Q   s    
r   r   c                       e Zd ZdZy)ABITypeErrorz
    Raised when a parsed ABI type has inconsistent properties; for example,
    when trying to parse the type string ``'uint7'`` (which has a bit-width
    that is not congruent with zero modulo eight).
    Nr   r   r   r   r'   r'   ^   s     	r   r'   c                       e Zd ZdZy)PredicateMappingErrorzG
    Raised when an error occurs in a registry's internal mapping.
    Nr   r   r   r   r)   r)   h   r   r   r)   c                       e Zd ZdZy)NoEntriesFoundz
    Raised when no registration is found for a type string in a registry's
    internal mapping.

    .. warning::

        In a future version of ``eth-abi``, this error class will no longer
        inherit from ``ValueError``.
    Nr   r   r   r   r+   r+   p   s     	r   r+   c                       e Zd ZdZy)MultipleEntriesFounda  
    Raised when multiple registrations are found for a type string in a
    registry's internal mapping.  This error is non-recoverable and indicates
    that a registry was configured incorrectly.  Registrations are expected to
    cover completely distinct ranges of type strings.

    .. warning::

        In a future version of ``eth-abi``, this error class will no longer
        inherit from ``ValueError``.
    Nr   r   r   r   r-   r-   ~   r   r   r-   N)parsimoniousr   	Exceptionr   r   r   r   r   r   r   
ValueErrorr'   r)   r+   r-   r   r   r   <module>r1      s   
	I 		 		= 	 	| 	"	I 		M 		= 	

 

	: 		I 		Z!6 		:'< 	r   