
    E#i}                        S SK Jr   " S S\5      r " S S\5      r " S S\5      r " S S	\5      r " S
 S\5      r " S S\5      r " S S\5      r	 " S S\5      r " S S\
5      r " S S\5      r " S S\
\5      r " S S\
\5      rg)   )
ParseErrorc                       \ rS rSrSrSrg)EncodingError   z;
Base exception for any error that occurs during encoding.
 N__name__
__module____qualname____firstlineno____doc____static_attributes__r       j/home/james-whalen/.local/lib/python3.13/site-packages/ccxt/static_dependencies/ethereum/abi/exceptions.pyr   r           	r   r   c                       \ rS rSrSrSrg)EncodingTypeError   zb
Raised when trying to encode a python value whose type is not supported for
the output ABI type.
r   Nr   r   r   r   r   r          
 	r   r   c                       \ rS rSrSrSrg)IllegalValue   z
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

r   Nr   r   r   r   r   r          
 	r   r   c                       \ rS rSrSrSrg)ValueOutOfBounds'   z
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

r   Nr   r   r   r   r   r   '   s     	r   r   c                       \ rS rSrSrSrg)DecodingError8   z;
Base exception for any error that occurs during decoding.
r   Nr   r   r   r   r   r   8   r   r   r   c                       \ rS rSrSrSrg)InsufficientDataBytes@   zQ
Raised when there are insufficient data to decode a value for a given ABI
type.
r   Nr   r   r   r   r!   r!   @   r   r   r!   c                       \ rS rSrSrSrg)NonEmptyPaddingBytesI   z>
Raised when the padding bytes of an ABI value are malformed.
r   Nr   r   r   r   r$   r$   I   r   r   r$   c                       \ rS rSrSrS rSrg)r   Q   z2
Raised when an ABI type string cannot be parsed.
c                     SR                  U R                  U R                  U R                  S-    U R                  5       U R                  5      $ )Nz3Parse error at '{}' (column {}) in type string '{}'   )formattextposcolumn)selfs    r   __str__ParseError.__str__V   s?    DKKIIdhhA.KKMII
 	
r   r   N)r	   r
   r   r   r   r/   r   r   r   r   r   r   Q   s    
r   r   c                       \ rS rSrSrSrg)ABITypeError^   z
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).
r   Nr   r   r   r   r2   r2   ^   s     	r   r2   c                       \ rS rSrSrSrg)PredicateMappingErrorh   z?
Raised when an error occurs in a registry's internal mapping.
r   Nr   r   r   r   r5   r5   h   r   r   r5   c                       \ rS rSrSrSrg)NoEntriesFoundp   z
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``.
r   Nr   r   r   r   r8   r8   p   s     	r   r8   c                       \ rS rSrSrSrg)MultipleEntriesFound~   a  
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``.
r   Nr   r   r   r   r;   r;   ~   r   r   r;   N)parsimoniousr   	Exceptionr   r   r   r   r   r!   r$   
ValueErrorr2   r5   r8   r;   r   r   r   <module>r@      s   
	I 		 		= 	 	| 	"	I 		M 		= 	

 

	: 		I 		Z!6 		:'< 	r   