faster-eth-utils 5.3.7__cp311-cp311-macosx_11_0_arm64.whl → 5.3.8__cp311-cp311-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of faster-eth-utils might be problematic. Click here for more details.

Files changed (29) hide show
  1. 99c07adba6ff961eaf3e__mypyc.cpython-311-darwin.so +0 -0
  2. faster_eth_utils/abi.cpython-311-darwin.so +0 -0
  3. faster_eth_utils/abi.py +1 -1
  4. faster_eth_utils/address.cpython-311-darwin.so +0 -0
  5. faster_eth_utils/applicators.cpython-311-darwin.so +0 -0
  6. faster_eth_utils/applicators.py +3 -3
  7. faster_eth_utils/conversions.cpython-311-darwin.so +0 -0
  8. faster_eth_utils/crypto.cpython-311-darwin.so +0 -0
  9. faster_eth_utils/currency.cpython-311-darwin.so +0 -0
  10. faster_eth_utils/curried/__init__.py +3 -0
  11. faster_eth_utils/debug.cpython-311-darwin.so +0 -0
  12. faster_eth_utils/decorators.cpython-311-darwin.so +0 -0
  13. faster_eth_utils/encoding.cpython-311-darwin.so +0 -0
  14. faster_eth_utils/exceptions.cpython-311-darwin.so +0 -0
  15. faster_eth_utils/functional.cpython-311-darwin.so +0 -0
  16. faster_eth_utils/hexadecimal.cpython-311-darwin.so +0 -0
  17. faster_eth_utils/humanize.cpython-311-darwin.so +0 -0
  18. faster_eth_utils/module_loading.cpython-311-darwin.so +0 -0
  19. faster_eth_utils/network.cpython-311-darwin.so +0 -0
  20. faster_eth_utils/numeric.cpython-311-darwin.so +0 -0
  21. faster_eth_utils/toolz.cpython-311-darwin.so +0 -0
  22. faster_eth_utils/types.cpython-311-darwin.so +0 -0
  23. faster_eth_utils/units.cpython-311-darwin.so +0 -0
  24. {faster_eth_utils-5.3.7.dist-info → faster_eth_utils-5.3.8.dist-info}/METADATA +1 -1
  25. faster_eth_utils-5.3.8.dist-info/RECORD +53 -0
  26. faster_eth_utils-5.3.7.dist-info/RECORD +0 -53
  27. {faster_eth_utils-5.3.7.dist-info → faster_eth_utils-5.3.8.dist-info}/WHEEL +0 -0
  28. {faster_eth_utils-5.3.7.dist-info → faster_eth_utils-5.3.8.dist-info}/licenses/LICENSE +0 -0
  29. {faster_eth_utils-5.3.7.dist-info → faster_eth_utils-5.3.8.dist-info}/top_level.txt +0 -0
Binary file
faster_eth_utils/abi.py CHANGED
@@ -274,7 +274,7 @@ def filter_abi_by_name(abi_name: str, contract_abi: ABI) -> Sequence[ABIElement]
274
274
  abi
275
275
  for abi in contract_abi
276
276
  if abi["type"] in ["function", "event", "error"]
277
- and abi["name"] == abi_name
277
+ and abi["name"] == abi_name # type: ignore [typeddict-item]
278
278
  ]
279
279
 
280
280
 
@@ -73,8 +73,8 @@ def combine_argument_formatters(*formatters: Callable[..., Any]) -> Formatters:
73
73
 
74
74
  @return_arg_type(1)
75
75
  def apply_formatters_to_sequence(
76
- formatters: List[Any], sequence: List[Any]
77
- ) -> Generator[List[Any], None, None]:
76
+ formatters: List[Callable[[Any], TReturn]], sequence: Sequence[Any]
77
+ ) -> Generator[TReturn, None, None]:
78
78
  if len(formatters) == len(sequence):
79
79
  for formatter, item in zip(formatters, sequence):
80
80
  yield formatter(item)
@@ -139,7 +139,7 @@ def apply_formatters_to_dict(
139
139
 
140
140
  @return_arg_type(1)
141
141
  def apply_formatter_to_array(
142
- formatter: Callable[[TArg], TReturn], value: List[TArg]
142
+ formatter: Callable[[TArg], TReturn], value: Sequence[TArg]
143
143
  ) -> Generator[TReturn, None, None]:
144
144
  for item in value:
145
145
  yield formatter(item)
@@ -261,6 +261,7 @@ apply_key_map = curry(apply_key_map)
261
261
  apply_one_of_formatters = curry(non_curried_apply_one_of_formatters) # noqa: F811
262
262
  filter_abi_by_name = curry(filter_abi_by_name)
263
263
  filter_abi_by_type = curry(filter_abi_by_type)
264
+ flatten_return = curry(flatten_return)
264
265
  from_wei = curry(from_wei)
265
266
  from_wei_decimals = curry(from_wei_decimals)
266
267
  get_aligned_abi_inputs = curry(get_aligned_abi_inputs)
@@ -268,7 +269,9 @@ get_logger = curry(get_logger)
268
269
  get_normalized_abi_inputs = curry(get_normalized_abi_inputs)
269
270
  hexstr_if_str = curry(non_curried_hexstr_if_str) # noqa: F811
270
271
  is_same_address = curry(is_same_address)
272
+ sort_return = curry(sort_return)
271
273
  text_if_str = curry(non_curried_text_if_str) # noqa: F811
274
+ to_ordered_dict = curry(to_ordered_dict)
272
275
  to_wei = curry(to_wei)
273
276
  to_wei_decimals = curry(to_wei_decimals)
274
277
  clamp = curry(clamp)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faster-eth-utils
3
- Version: 5.3.7
3
+ Version: 5.3.8
4
4
  Summary: A fork of eth-utils: Common utility functions for python code that interacts with Ethereum, implemented in C
5
5
  Home-page: https://github.com/BobTheBuidler/eth-utils
6
6
  Author: The Ethereum Foundation
@@ -0,0 +1,53 @@
1
+ 99c07adba6ff961eaf3e__mypyc.cpython-311-darwin.so,sha256=z15Op0-HvftJXCbgbVvN0f1dQpoz627ubGsvJTQIFM0,1214144
2
+ faster_eth_utils-5.3.8.dist-info/RECORD,,
3
+ faster_eth_utils-5.3.8.dist-info/WHEEL,sha256=sunMa2yiYbrNLGeMVDqEA0ayyJbHlex7SCn1TZrEq60,136
4
+ faster_eth_utils-5.3.8.dist-info/top_level.txt,sha256=8eOy3WlvVLCcmwPnl2UMylYQNmrXz76p9L_TH-NYSSM,55
5
+ faster_eth_utils-5.3.8.dist-info/METADATA,sha256=fGX4JsjWHYdXIALM2o1Gx0vO9Jx5mLrJCcrT55O7ruo,7096
6
+ faster_eth_utils-5.3.8.dist-info/licenses/LICENSE,sha256=STqznQ6A8OeJylPrTA7dlsMtH0isQQybRlnDZOKGVrM,1095
7
+ faster_eth_utils/hexadecimal.py,sha256=bPxUdJse6A3j3vF6KpnvSM2h3eRhgWSWeyicwnLdvHY,2082
8
+ faster_eth_utils/address.py,sha256=IIHlYuIz-F6-mAnRWdsD4uH5l56yVRFMokFQINao9lE,3680
9
+ faster_eth_utils/logging.py,sha256=Gm0B2D7oDPByi-mNCEwLnl3lAU4_TJ4yc6EsOOJA8Rc,4590
10
+ faster_eth_utils/currency.cpython-311-darwin.so,sha256=ypUv6b8JLS0GaYlHnQeZL-wVVLsrPoNGvKTf7RTUHAw,50656
11
+ faster_eth_utils/applicators.py,sha256=2BKYgRaXgUhA1sCMApuJvN6Qy59LBDkUzQcQkJdknJA,5301
12
+ faster_eth_utils/units.py,sha256=jRo8p6trxwuISBnT8kfxTNVyd_TSd5vVY5aiKDefB1U,1757
13
+ faster_eth_utils/encoding.py,sha256=1qfDeuinLZ01XjYgknpm_p9LuWwaYvicYkYI8mS1iMc,199
14
+ faster_eth_utils/address.cpython-311-darwin.so,sha256=H0qzZRfuFsjWMpdijidOWWGMKtBTrQ5RDOjdSz4lmmE,50656
15
+ faster_eth_utils/hexadecimal.cpython-311-darwin.so,sha256=Zqr-FUXNtbZMcX3YMVp5i7_qbLr4rlnPPdU334zPrmE,50672
16
+ faster_eth_utils/exceptions.cpython-311-darwin.so,sha256=1kbzkyE2n28RHKQVeNvR-HQk6P8JWzZD1Bl947DAkf8,50672
17
+ faster_eth_utils/conversions.py,sha256=t2TEe0WsffqOFDbyQcERTSbHJYpDBWHKd8XPArhLoEE,5665
18
+ faster_eth_utils/module_loading.cpython-311-darwin.so,sha256=oQrU4CI_zlMn2syOisCclH6pOj1qgB4F3DBXOZY3M-E,50696
19
+ faster_eth_utils/types.cpython-311-darwin.so,sha256=mkKteKyn3kfjRiB6J5f6QRGKiUzXSbqBlbtzRdpjM8g,50648
20
+ faster_eth_utils/humanize.cpython-311-darwin.so,sha256=p7aczgzs1d6K2-nUKuVy_KTc7_ti6bdx932DvxgJv2Q,50656
21
+ faster_eth_utils/__init__.py,sha256=hW-A_fjyQ76crTKwuxxSbvNzvPfW27dSlzhtOkseymg,2762
22
+ faster_eth_utils/types.py,sha256=-RDPzkoNhkp3dpDNK9iKzGmSQawwZ6wJ4exur0E_BuY,1519
23
+ faster_eth_utils/humanize.py,sha256=bCxXyx73NuVIDjRnpPZs7lybfrun-llC3ITy-0zZSns,4682
24
+ faster_eth_utils/pydantic.py,sha256=Bmj9J-Nia0bv5PvaFxxncyW9KrCNtsbDyf2PV4jPmUo,3366
25
+ faster_eth_utils/toolz.cpython-311-darwin.so,sha256=Li5aRaP4nzNIBgMGmPAZ_6yRr6ByHEFqStPIgISCvmY,50648
26
+ faster_eth_utils/functional.cpython-311-darwin.so,sha256=CH9hB2sGRN73mdKCVr2L-E8rAjVWw58eJooL7_FhI_s,50672
27
+ faster_eth_utils/abi.cpython-311-darwin.so,sha256=4b0v9UYthAhlBetgQAmK7XfIDibLt3_Lqja7Ncjs11c,50632
28
+ faster_eth_utils/conversions.cpython-311-darwin.so,sha256=VdKJW0uP2mmVgM1QF7N3h-oLcsPzSqMfMDIa9NUtWc0,50672
29
+ faster_eth_utils/functional.py,sha256=nJTxE4_HDci0chos5mQdy05pJ8o7n0wx_o7_WCro2gI,2449
30
+ faster_eth_utils/crypto.py,sha256=EQgupom_TnURbLNXodwbJoKB-mHyxgOTvo8EjnSzdxw,395
31
+ faster_eth_utils/decorators.cpython-311-darwin.so,sha256=fKwC2kTTeG9dX2Wh1glqmnZ8B13CuEXudTDLMDgtSPk,50672
32
+ faster_eth_utils/units.cpython-311-darwin.so,sha256=7Mikp7FXDom8HBX7fK_u2mNkHcca4ErNmj4hCzdrll0,50648
33
+ faster_eth_utils/debug.py,sha256=0Z-tNOqgQJunS4uHeSCCH1LWLoijlH34MBh6NRrrDrk,499
34
+ faster_eth_utils/numeric.py,sha256=RrXdXI-bhhkEsz3aBtxHuGlc_2ZJvUGpvMc47wx408Y,1190
35
+ faster_eth_utils/network.py,sha256=O3yTtA93YyyZ6Obkusr_IbbcZ6upkCewN6EsAcF0Npc,2278
36
+ faster_eth_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
+ faster_eth_utils/abi.py,sha256=2Lk78YiWLIG_srH2nTYny8tYrxM7JS-zWNpBe8ACMEs,26544
38
+ faster_eth_utils/exceptions.py,sha256=3ndM6zl4QoSc6GupV9T1Klz9TByM8w2zr4ez8UJvzew,110
39
+ faster_eth_utils/crypto.cpython-311-darwin.so,sha256=5WoC0WDL3nR4f-QlK9k-pme1jt9JxrONC7TqpUADDKk,50656
40
+ faster_eth_utils/network.cpython-311-darwin.so,sha256=H3nj9KJNZ-a7Brn1r6jBT-poq_cvjqnpRV4Jx3lBbBk,50656
41
+ faster_eth_utils/debug.cpython-311-darwin.so,sha256=mte_zSGB7f-uh4cm7axsnZikGsKjCVNdEW7XyJ4_MZU,50648
42
+ faster_eth_utils/numeric.cpython-311-darwin.so,sha256=dBk0WqxFs7RGwLMKeOGddRpVFuUMil8vuNG0vL2ueFY,50656
43
+ faster_eth_utils/currency.py,sha256=01YVV2f2GL4830jfSjnC4XhLQjTNQB-5y7vbGzaMWbM,4150
44
+ faster_eth_utils/applicators.cpython-311-darwin.so,sha256=0T5FygyMOibln4Nc0M6y1I6J6yquucCi_bVfyknjMbo,50672
45
+ faster_eth_utils/encoding.cpython-311-darwin.so,sha256=wsVWXsKluvnDgUdb1j732Seuw3YXAMKm1ewCaZ2edS8,50656
46
+ faster_eth_utils/module_loading.py,sha256=DCLM4dEh1gqr8Ny-FWwD-_pINqeHzbLSupz4ZIpCCAw,842
47
+ faster_eth_utils/__main__.py,sha256=mH37e49q7_A0-q1ymqkq1QyYABbQHVmXeuSKIBSahO8,86
48
+ faster_eth_utils/toolz.py,sha256=1QQY-aMbZrEgJsuqR0Ajsa32C_cXrQquzViw7OkxNLU,4410
49
+ faster_eth_utils/decorators.py,sha256=BdAz-imQIf0TlBm7Di7T05o3IC6ei-xJc7FgIOqqAyE,2145
50
+ faster_eth_utils/curried/__init__.py,sha256=x_nPjvTwmXeEl5jV86RRUvudu6ks1kMUxZfbjNuGx8Y,7407
51
+ faster_eth_utils/typing/misc.py,sha256=4N5raYXFAeRGpmch6qgHrtYNCDxCJM5XtAAsJ1FSzzU,190
52
+ faster_eth_utils/typing/__init__.py,sha256=84PxIxCvEHtBb-Ik6qnGvXH4alaWbamr_zDbtlbJh3A,325
53
+ faster_eth_utils/__json/eth_networks.json,sha256=0S8HoWD6RTR6Hc0uQdQl2VHtopytIYl5NiDAzpuskBs,414773
@@ -1,53 +0,0 @@
1
- 99c07adba6ff961eaf3e__mypyc.cpython-311-darwin.so,sha256=7M4oV0LR5Nx4mPG9O887BLOvQI8Q2fzSnBJzE9bLGls,1214560
2
- faster_eth_utils/hexadecimal.py,sha256=bPxUdJse6A3j3vF6KpnvSM2h3eRhgWSWeyicwnLdvHY,2082
3
- faster_eth_utils/address.py,sha256=IIHlYuIz-F6-mAnRWdsD4uH5l56yVRFMokFQINao9lE,3680
4
- faster_eth_utils/logging.py,sha256=Gm0B2D7oDPByi-mNCEwLnl3lAU4_TJ4yc6EsOOJA8Rc,4590
5
- faster_eth_utils/currency.cpython-311-darwin.so,sha256=zAVgDJJiccgpPgMxXZ7vRcnPKo5qUEUmrV2Jbd1efcQ,50656
6
- faster_eth_utils/applicators.py,sha256=xuaoFtFc1_6_syf6pnb7727n2ib-lWNkKpS_y3Y4W8o,5274
7
- faster_eth_utils/units.py,sha256=jRo8p6trxwuISBnT8kfxTNVyd_TSd5vVY5aiKDefB1U,1757
8
- faster_eth_utils/encoding.py,sha256=1qfDeuinLZ01XjYgknpm_p9LuWwaYvicYkYI8mS1iMc,199
9
- faster_eth_utils/address.cpython-311-darwin.so,sha256=dC3j-ocuI_su6LfCu-gyH-A6GhHfr4dQ8qrMVASNXCQ,50656
10
- faster_eth_utils/hexadecimal.cpython-311-darwin.so,sha256=m9Gdmogl4S6Ty5RGv07iHxqoOb_zWcDoX7iwD4jTIRY,50672
11
- faster_eth_utils/exceptions.cpython-311-darwin.so,sha256=n-Yt2fQZBam9Q_vLLMDVCsLTddHJza5SD37p_jHUxZA,50672
12
- faster_eth_utils/conversions.py,sha256=t2TEe0WsffqOFDbyQcERTSbHJYpDBWHKd8XPArhLoEE,5665
13
- faster_eth_utils/module_loading.cpython-311-darwin.so,sha256=aQKHs437nFQFT-ZTaETZ_16fkk6MJncS36b53QwtqQM,50696
14
- faster_eth_utils/types.cpython-311-darwin.so,sha256=-2QG1JsIFShOBh282-2rsona73121sQ2vLne7t4XQ-Y,50648
15
- faster_eth_utils/humanize.cpython-311-darwin.so,sha256=hfDBD88AU_3IiWOIoPqFLsV_DiKipz2YpQJDFaFmK-I,50656
16
- faster_eth_utils/__init__.py,sha256=hW-A_fjyQ76crTKwuxxSbvNzvPfW27dSlzhtOkseymg,2762
17
- faster_eth_utils/types.py,sha256=-RDPzkoNhkp3dpDNK9iKzGmSQawwZ6wJ4exur0E_BuY,1519
18
- faster_eth_utils/humanize.py,sha256=bCxXyx73NuVIDjRnpPZs7lybfrun-llC3ITy-0zZSns,4682
19
- faster_eth_utils/pydantic.py,sha256=Bmj9J-Nia0bv5PvaFxxncyW9KrCNtsbDyf2PV4jPmUo,3366
20
- faster_eth_utils/toolz.cpython-311-darwin.so,sha256=KznKwOcNBSkkfx3uEooE9X73AUECiYP85VPfeCrMDoE,50648
21
- faster_eth_utils/functional.cpython-311-darwin.so,sha256=qijPIlJQ1B86ERaDO1ybroepQarhNe5ZYEgxyP-nkVU,50672
22
- faster_eth_utils/abi.cpython-311-darwin.so,sha256=BvzM5hkHZzCbG19Olydw2EMf9kkCNteoTELKb8h7lUQ,50632
23
- faster_eth_utils/conversions.cpython-311-darwin.so,sha256=MQtiOTJXek7V8qaeMzFGsFiO6Gqrpg8lKuFzGMXXs2U,50672
24
- faster_eth_utils/functional.py,sha256=nJTxE4_HDci0chos5mQdy05pJ8o7n0wx_o7_WCro2gI,2449
25
- faster_eth_utils/crypto.py,sha256=EQgupom_TnURbLNXodwbJoKB-mHyxgOTvo8EjnSzdxw,395
26
- faster_eth_utils/decorators.cpython-311-darwin.so,sha256=sXe72UFRy6_G8jkMoRqTu4NF3SN9PbOPJvwBeLP6e9Y,50672
27
- faster_eth_utils/units.cpython-311-darwin.so,sha256=_UsgYJm3eLtieZJSpEXshHFPNzHyMHo89OMp8tpLAe4,50648
28
- faster_eth_utils/debug.py,sha256=0Z-tNOqgQJunS4uHeSCCH1LWLoijlH34MBh6NRrrDrk,499
29
- faster_eth_utils/numeric.py,sha256=RrXdXI-bhhkEsz3aBtxHuGlc_2ZJvUGpvMc47wx408Y,1190
30
- faster_eth_utils/network.py,sha256=O3yTtA93YyyZ6Obkusr_IbbcZ6upkCewN6EsAcF0Npc,2278
31
- faster_eth_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
- faster_eth_utils/abi.py,sha256=miB6LjlaT2x5VsKZn4sPZDlvOcq7ir5izND7Eco3OHc,26511
33
- faster_eth_utils/exceptions.py,sha256=3ndM6zl4QoSc6GupV9T1Klz9TByM8w2zr4ez8UJvzew,110
34
- faster_eth_utils/crypto.cpython-311-darwin.so,sha256=fybEgosfTcHshuoeu1_lgz8PhJDMYHcnmaReVBFnDPY,50656
35
- faster_eth_utils/network.cpython-311-darwin.so,sha256=x8APjd_Yd146NNKzs5JJyH4L6mdDuFXXnAMoKyzVQrg,50656
36
- faster_eth_utils/debug.cpython-311-darwin.so,sha256=wU7UzmJ1oIDIfFJNCQwKkIsTWWsSW8yJv6qkZ5yKFWo,50648
37
- faster_eth_utils/numeric.cpython-311-darwin.so,sha256=aVa1lPU-KBm6NTiyq0VbULBzC1j0btriUWHgoTMDdJg,50656
38
- faster_eth_utils/currency.py,sha256=01YVV2f2GL4830jfSjnC4XhLQjTNQB-5y7vbGzaMWbM,4150
39
- faster_eth_utils/applicators.cpython-311-darwin.so,sha256=1V1Et_76hB80N8lQ4LEXpxPSSZizAPwWqpsUMy8zdTk,50672
40
- faster_eth_utils/encoding.cpython-311-darwin.so,sha256=EPNL82fhPdKht8vtb94uzvQNaYtqh5tMLs_Ye8wmXKI,50656
41
- faster_eth_utils/module_loading.py,sha256=DCLM4dEh1gqr8Ny-FWwD-_pINqeHzbLSupz4ZIpCCAw,842
42
- faster_eth_utils/__main__.py,sha256=mH37e49q7_A0-q1ymqkq1QyYABbQHVmXeuSKIBSahO8,86
43
- faster_eth_utils/toolz.py,sha256=1QQY-aMbZrEgJsuqR0Ajsa32C_cXrQquzViw7OkxNLU,4410
44
- faster_eth_utils/decorators.py,sha256=BdAz-imQIf0TlBm7Di7T05o3IC6ei-xJc7FgIOqqAyE,2145
45
- faster_eth_utils/curried/__init__.py,sha256=m2EFGuJrU6AmyD71szdkXpnom7i_Kex54CUlQv91s5c,7294
46
- faster_eth_utils/typing/misc.py,sha256=4N5raYXFAeRGpmch6qgHrtYNCDxCJM5XtAAsJ1FSzzU,190
47
- faster_eth_utils/typing/__init__.py,sha256=84PxIxCvEHtBb-Ik6qnGvXH4alaWbamr_zDbtlbJh3A,325
48
- faster_eth_utils/__json/eth_networks.json,sha256=0S8HoWD6RTR6Hc0uQdQl2VHtopytIYl5NiDAzpuskBs,414773
49
- faster_eth_utils-5.3.7.dist-info/RECORD,,
50
- faster_eth_utils-5.3.7.dist-info/WHEEL,sha256=sunMa2yiYbrNLGeMVDqEA0ayyJbHlex7SCn1TZrEq60,136
51
- faster_eth_utils-5.3.7.dist-info/top_level.txt,sha256=8eOy3WlvVLCcmwPnl2UMylYQNmrXz76p9L_TH-NYSSM,55
52
- faster_eth_utils-5.3.7.dist-info/METADATA,sha256=5BQXtgmQ8b6z9lF4AD9SzIruc4aba7xNMqif0KOhzc0,7096
53
- faster_eth_utils-5.3.7.dist-info/licenses/LICENSE,sha256=STqznQ6A8OeJylPrTA7dlsMtH0isQQybRlnDZOKGVrM,1095