ó
    EÖ#iÏ  ã                   ó(   • S r SSKJr   " S S5      rg)z$Module with BIP32 utility functions.é   )ÚBip32KeyIndexc                   ól   • \ rS rSrSr\S\S\4S j5       r\S\S\4S j5       r\S\S\	4S j5       r
Srg	)
Ú
Bip32Utilsé   z“
BIP32 utility class.
It contains some helper methods for Bip32 indexes.

Deprecated: only for compatibility, methods were moved to Bip32KeyIndex.
ÚindexÚreturnc                 ó.   • [         R                  " U 5      $ )zk
Harden the specified index and return it.

Args:
    index (int): Index

Returns:
    int: Hardened index
)r   ÚHardenIndex©r   s    Úh/home/james-whalen/.local/lib/python3.13/site-packages/ccxt/static_dependencies/bip/bip32/bip32_utils.pyr
   ÚBip32Utils.HardenIndex#   s   € ô ×(Ò(¨Ó/Ð/ó    c                 ó.   • [         R                  " U 5      $ )zo
Unharden the specified index and return it.

Args:
    index (int): Index

Returns:
    int: Unhardened index
)r   ÚUnhardenIndexr   s    r   r   ÚBip32Utils.UnhardenIndex0   s   € ô ×*Ò*¨5Ó1Ð1r   c                 ó.   • [         R                  " U 5      $ )z}
Get if the specified index is hardened.

Args:
    index (int): Index

Returns:
    bool: True if hardened, false otherwise
)r   ÚIsHardenedIndexr   s    r   r   ÚBip32Utils.IsHardenedIndex=   s   € ô ×,Ò,¨UÓ3Ð3r   © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__ÚstaticmethodÚintr
   r   Úboolr   Ú__static_attributes__r   r   r   r   r      sm   † ñð ð
0˜3ð 
0 3ó 
0ó ð
0ð ð
2˜Sð 
2 Só 
2ó ð
2ð ð
4˜sð 
4 tó 
4ó ó
4r   r   N)r   Úbip32_key_datar   r   r   r   r   Ú<module>r       s   ðñ* +õ *÷-4ò -4r   