faster-eth-abi 5.2.1__cp313-cp313-macosx_11_0_arm64.whl → 5.2.20__cp313-cp313-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-abi might be problematic. Click here for more details.

Files changed (43) hide show
  1. faster_eth_abi/_codec.cpython-313-darwin.so +0 -0
  2. faster_eth_abi/_codec.py +83 -0
  3. faster_eth_abi/_decoding.cpython-313-darwin.so +0 -0
  4. faster_eth_abi/_decoding.py +299 -0
  5. faster_eth_abi/_encoding.cpython-313-darwin.so +0 -0
  6. faster_eth_abi/_encoding.py +251 -0
  7. faster_eth_abi/_grammar.cpython-313-darwin.so +0 -0
  8. faster_eth_abi/_grammar.py +375 -0
  9. faster_eth_abi/abi.cpython-313-darwin.so +0 -0
  10. faster_eth_abi/base.py +5 -1
  11. faster_eth_abi/codec.py +2694 -52
  12. faster_eth_abi/constants.cpython-313-darwin.so +0 -0
  13. faster_eth_abi/decoding.py +263 -242
  14. faster_eth_abi/encoding.py +201 -154
  15. faster_eth_abi/exceptions.py +26 -14
  16. faster_eth_abi/from_type_str.cpython-313-darwin.so +0 -0
  17. faster_eth_abi/from_type_str.py +7 -1
  18. faster_eth_abi/grammar.py +30 -325
  19. faster_eth_abi/io.py +5 -1
  20. faster_eth_abi/packed.cpython-313-darwin.so +0 -0
  21. faster_eth_abi/packed.py +4 -0
  22. faster_eth_abi/registry.py +201 -83
  23. faster_eth_abi/tools/__init__.cpython-313-darwin.so +0 -0
  24. faster_eth_abi/tools/_strategies.cpython-313-darwin.so +0 -0
  25. faster_eth_abi/tools/_strategies.py +12 -6
  26. faster_eth_abi/typing.py +4627 -0
  27. faster_eth_abi/utils/__init__.cpython-313-darwin.so +0 -0
  28. faster_eth_abi/utils/numeric.cpython-313-darwin.so +0 -0
  29. faster_eth_abi/utils/numeric.py +51 -20
  30. faster_eth_abi/utils/padding.cpython-313-darwin.so +0 -0
  31. faster_eth_abi/utils/string.cpython-313-darwin.so +0 -0
  32. faster_eth_abi/utils/validation.cpython-313-darwin.so +0 -0
  33. faster_eth_abi/utils/validation.py +1 -5
  34. faster_eth_abi-5.2.20.dist-info/METADATA +136 -0
  35. faster_eth_abi-5.2.20.dist-info/RECORD +46 -0
  36. faster_eth_abi-5.2.20.dist-info/top_level.txt +2 -0
  37. faster_eth_abi__mypyc.cpython-313-darwin.so +0 -0
  38. a1f8aa123fabc88e2b56__mypyc.cpython-313-darwin.so +0 -0
  39. faster_eth_abi-5.2.1.dist-info/METADATA +0 -95
  40. faster_eth_abi-5.2.1.dist-info/RECORD +0 -38
  41. faster_eth_abi-5.2.1.dist-info/licenses/LICENSE +0 -21
  42. faster_eth_abi-5.2.1.dist-info/top_level.txt +0 -3
  43. {faster_eth_abi-5.2.1.dist-info → faster_eth_abi-5.2.20.dist-info}/WHEEL +0 -0
@@ -1,6 +1,7 @@
1
1
  import decimal
2
2
  from typing import (
3
3
  Callable,
4
+ Dict,
4
5
  Final,
5
6
  Tuple,
6
7
  )
@@ -8,6 +9,7 @@ from typing import (
8
9
  ABI_DECIMAL_PREC: Final = 999
9
10
 
10
11
  abi_decimal_context: Final = decimal.Context(prec=ABI_DECIMAL_PREC)
12
+ decimal_localcontext: Final = decimal.localcontext
11
13
 
12
14
  ZERO: Final = decimal.Decimal(0)
13
15
  TEN: Final = decimal.Decimal(10)
@@ -16,47 +18,76 @@ Decimal: Final = decimal.Decimal
16
18
 
17
19
 
18
20
  def ceil32(x: int) -> int:
19
- return x if x % 32 == 0 else x + 32 - (x % 32)
21
+ remainder = x % 32
22
+ return x if remainder == 0 else x + 32 - remainder
23
+
24
+
25
+ _unsigned_integer_bounds_cache: Final[Dict[int, Tuple[int, int]]] = {}
20
26
 
21
27
 
22
28
  def compute_unsigned_integer_bounds(num_bits: int) -> Tuple[int, int]:
23
- return (
24
- 0,
25
- 2**num_bits - 1,
26
- )
29
+ bounds = _unsigned_integer_bounds_cache.get(num_bits)
30
+ if bounds is None:
31
+ bounds = 0, 2**num_bits - 1
32
+ _unsigned_integer_bounds_cache[num_bits] = bounds
33
+ return bounds
34
+
35
+
36
+ _signed_integer_bounds_cache: Final[Dict[int, Tuple[int, int]]] = {}
27
37
 
28
38
 
29
39
  def compute_signed_integer_bounds(num_bits: int) -> Tuple[int, int]:
30
- return (
31
- -1 * 2 ** (num_bits - 1),
32
- 2 ** (num_bits - 1) - 1,
33
- )
40
+ bounds = _signed_integer_bounds_cache.get(num_bits)
41
+ if bounds is None:
42
+ overflow_at = 2 ** (num_bits - 1)
43
+ min_value = -overflow_at
44
+ max_value = overflow_at - 1
45
+ bounds = min_value, max_value
46
+ _signed_integer_bounds_cache[num_bits] = bounds
47
+ return bounds
48
+
49
+
50
+ _unsigned_fixed_bounds_cache: Final[Dict[Tuple[int, int], decimal.Decimal]] = {}
34
51
 
35
52
 
36
53
  def compute_unsigned_fixed_bounds(
37
54
  num_bits: int,
38
55
  frac_places: int,
39
56
  ) -> Tuple[decimal.Decimal, decimal.Decimal]:
40
- int_upper = compute_unsigned_integer_bounds(num_bits)[1]
57
+ upper = _unsigned_fixed_bounds_cache.get((num_bits, frac_places))
58
+ if upper is None:
59
+ int_upper = 2**num_bits - 1
60
+
61
+ with decimal_localcontext(abi_decimal_context):
62
+ upper = Decimal(int_upper) * TEN**-frac_places
41
63
 
42
- with decimal.localcontext(abi_decimal_context):
43
- upper = Decimal(int_upper) * TEN**-frac_places
64
+ _unsigned_fixed_bounds_cache[(num_bits, frac_places)] = upper
44
65
 
45
66
  return ZERO, upper
46
67
 
47
68
 
69
+ _signed_fixed_bounds_cache: Final[
70
+ Dict[Tuple[int, int], Tuple[decimal.Decimal, decimal.Decimal]]
71
+ ] = {}
72
+
73
+
48
74
  def compute_signed_fixed_bounds(
49
75
  num_bits: int,
50
76
  frac_places: int,
51
77
  ) -> Tuple[decimal.Decimal, decimal.Decimal]:
52
- int_lower, int_upper = compute_signed_integer_bounds(num_bits)
78
+ bounds = _signed_fixed_bounds_cache.get((num_bits, frac_places))
79
+ if bounds is None:
80
+ int_lower, int_upper = compute_signed_integer_bounds(num_bits)
81
+
82
+ with decimal_localcontext(abi_decimal_context):
83
+ exp = TEN**-frac_places
84
+ lower = Decimal(int_lower) * exp
85
+ upper = Decimal(int_upper) * exp
53
86
 
54
- with decimal.localcontext(abi_decimal_context):
55
- exp = TEN**-frac_places
56
- lower = Decimal(int_lower) * exp
57
- upper = Decimal(int_upper) * exp
87
+ bounds = lower, upper
88
+ _signed_fixed_bounds_cache[(num_bits, frac_places)] = bounds
58
89
 
59
- return lower, upper
90
+ return bounds
60
91
 
61
92
 
62
93
  def scale_places(places: int) -> Callable[[decimal.Decimal], decimal.Decimal]:
@@ -70,11 +101,11 @@ def scale_places(places: int) -> Callable[[decimal.Decimal], decimal.Decimal]:
70
101
  f"of type {type(places)}.",
71
102
  )
72
103
 
73
- with decimal.localcontext(abi_decimal_context):
104
+ with decimal_localcontext(abi_decimal_context):
74
105
  scaling_factor = TEN**-places
75
106
 
76
107
  def f(x: decimal.Decimal) -> decimal.Decimal:
77
- with decimal.localcontext(abi_decimal_context):
108
+ with decimal_localcontext(abi_decimal_context):
78
109
  return x * scaling_factor
79
110
 
80
111
  places_repr = f"Eneg{places}" if places > 0 else f"Epos{-places}"
@@ -2,13 +2,9 @@ from typing import (
2
2
  Any,
3
3
  )
4
4
 
5
- from faster_eth_utils import (
6
- is_bytes,
7
- )
8
-
9
5
 
10
6
  def validate_bytes_param(param: Any, param_name: str) -> None:
11
- if not is_bytes(param):
7
+ if not isinstance(param, (bytes, bytearray)):
12
8
  raise TypeError(
13
9
  f"The `{param_name}` value must be of bytes type. Got {type(param)}"
14
10
  )
@@ -0,0 +1,136 @@
1
+ Metadata-Version: 2.4
2
+ Name: faster_eth_abi
3
+ Version: 5.2.20
4
+ Summary: A ~2-6x faster fork of eth_abi: Python utilities for working with Ethereum ABI definitions, especially encoding and decoding. Implemented in C.
5
+ Home-page: https://github.com/BobTheBuidler/faster-eth-abi
6
+ Author: The Ethereum Foundation
7
+ Author-email: snakecharmers@ethereum.org
8
+ License: MIT
9
+ Project-URL: Documentation, https://eth-abi.readthedocs.io/en/stable/
10
+ Project-URL: Release Notes, https://github.com/BobTheBuidler/faster-eth-abi/releases
11
+ Project-URL: Issues, https://github.com/BobTheBuidler/faster-eth-abi/issues
12
+ Project-URL: Source - Precompiled (.py), https://github.com/BobTheBuidler/faster-eth-utils/tree/master/faster_eth_utils
13
+ Project-URL: Source - Compiled (.c), https://github.com/BobTheBuidler/faster-eth-utils/tree/master/build
14
+ Project-URL: Benchmarks, https://github.com/BobTheBuidler/faster-eth-utils/tree/master/benchmarks
15
+ Project-URL: Benchmarks - Results, https://github.com/BobTheBuidler/faster-eth-utils/tree/master/benchmarks/results
16
+ Project-URL: Original, https://github.com/ethereum/eth-abi
17
+ Keywords: ethereum
18
+ Classifier: Development Status :: 5 - Production/Stable
19
+ Classifier: Intended Audience :: Developers
20
+ Classifier: License :: OSI Approved :: MIT License
21
+ Classifier: Natural Language :: English
22
+ Classifier: Programming Language :: Python :: 3
23
+ Classifier: Programming Language :: Python :: 3.8
24
+ Classifier: Programming Language :: Python :: 3.9
25
+ Classifier: Programming Language :: Python :: 3.10
26
+ Classifier: Programming Language :: Python :: 3.11
27
+ Classifier: Programming Language :: Python :: 3.12
28
+ Classifier: Programming Language :: Python :: 3.13
29
+ Classifier: Programming Language :: Python :: 3.14
30
+ Classifier: Programming Language :: Python :: Implementation :: CPython
31
+ Requires-Python: >=3.8, <4
32
+ Description-Content-Type: text/markdown
33
+ Requires-Dist: cchecksum<0.4,>=0.2.6
34
+ Requires-Dist: faster-eth-utils==5.3.18
35
+ Requires-Dist: eth-abi==5.2.0
36
+ Requires-Dist: eth-typing==5.2.1
37
+ Requires-Dist: mypy_extensions
38
+ Requires-Dist: parsimonious<0.11.0,>=0.10.0
39
+ Provides-Extra: dev
40
+ Requires-Dist: mypy<1.18.3,>=1.14.1; extra == "dev"
41
+ Requires-Dist: tqdm; extra == "dev"
42
+ Requires-Dist: build>=0.9.0; extra == "dev"
43
+ Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
44
+ Requires-Dist: ipython; extra == "dev"
45
+ Requires-Dist: mypy<1.18.3,>=1.14.1; extra == "dev"
46
+ Requires-Dist: pre-commit>=3.4.0; extra == "dev"
47
+ Requires-Dist: tox>=4.0.0; extra == "dev"
48
+ Requires-Dist: twine; extra == "dev"
49
+ Requires-Dist: wheel; extra == "dev"
50
+ Requires-Dist: pytest-benchmark; extra == "dev"
51
+ Requires-Dist: sphinx>=6.0.0; extra == "dev"
52
+ Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
53
+ Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
54
+ Requires-Dist: towncrier<26,>=24; extra == "dev"
55
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
56
+ Requires-Dist: hypothesis<6.108.7,>=6.22.0; extra == "dev"
57
+ Requires-Dist: pytest-timeout>=2.0.0; extra == "dev"
58
+ Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
59
+ Requires-Dist: pytest-pythonpath>=0.7.1; extra == "dev"
60
+ Requires-Dist: eth-hash[pycryptodome]; extra == "dev"
61
+ Provides-Extra: docs
62
+ Requires-Dist: sphinx>=6.0.0; extra == "docs"
63
+ Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "docs"
64
+ Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
65
+ Requires-Dist: towncrier<26,>=24; extra == "docs"
66
+ Provides-Extra: test
67
+ Requires-Dist: pytest>=7.0.0; extra == "test"
68
+ Requires-Dist: hypothesis<6.108.7,>=6.22.0; extra == "test"
69
+ Requires-Dist: pytest-timeout>=2.0.0; extra == "test"
70
+ Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
71
+ Requires-Dist: pytest-pythonpath>=0.7.1; extra == "test"
72
+ Requires-Dist: eth-hash[pycryptodome]; extra == "test"
73
+ Provides-Extra: tools
74
+ Requires-Dist: hypothesis<6.108.7,>=6.22.0; extra == "tools"
75
+ Provides-Extra: codspeed
76
+ Requires-Dist: pytest>=7.0.0; extra == "codspeed"
77
+ Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "codspeed"
78
+ Requires-Dist: pytest-test-groups; extra == "codspeed"
79
+ Provides-Extra: benchmark
80
+ Requires-Dist: pytest>=7.0.0; extra == "benchmark"
81
+ Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "benchmark"
82
+ Requires-Dist: pytest-test-groups; extra == "benchmark"
83
+ Provides-Extra: mypy
84
+ Requires-Dist: mypy<1.18.3,>=1.14.1; extra == "mypy"
85
+ Requires-Dist: tqdm; extra == "mypy"
86
+ Dynamic: author
87
+ Dynamic: author-email
88
+ Dynamic: classifier
89
+ Dynamic: description
90
+ Dynamic: description-content-type
91
+ Dynamic: home-page
92
+ Dynamic: keywords
93
+ Dynamic: license
94
+ Dynamic: project-url
95
+ Dynamic: provides-extra
96
+ Dynamic: requires-dist
97
+ Dynamic: requires-python
98
+ Dynamic: summary
99
+
100
+ ### I forked eth-abi, added comprehensive type annotations, and compiled it to C. It does the same stuff, now ~2-6x faster.
101
+
102
+ [![PyPI](https://img.shields.io/pypi/v/faster-eth-abi.svg?logo=Python&logoColor=white)](https://pypi.org/project/faster-eth-abi/)
103
+ [![Monthly Downloads](https://img.shields.io/pypi/dm/faster-eth-abi)](https://pypistats.org/packages/faster-eth-abi)
104
+ [![Codspeed.io Status](https://img.shields.io/endpoint?url=https://codspeed.io/badge.json)](https://codspeed.io/BobTheBuidler/faster-eth-abi)
105
+
106
+ ##### This fork will be kept up-to-date with [eth-abi](https://github.com/ethereum/eth-abi). I will pull updates as they are released and push new [faster-eth-abi](https://github.com/BobTheBuidler/faster-eth-abi) releases to [PyPI](https://pypi.org/project/faster-eth-abi/).
107
+
108
+ ##### Starting in [v5.2.12](https://github.com/BobTheBuidler/faster-eth-abi/releases/tag/v5.2.12), all `faster-eth-abi` Exception classes inherit from the matching Exception class in `eth-abi`, so porting to `faster-eth-abi` does not require any change to your existing exception handlers. All existing exception handling in your codebase will continue to work as it did when originaly implemented.
109
+
110
+ ##### We benchmark `faster-eth-abi` against the original `eth-abi` for your convenience. [See results](https://github.com/BobTheBuidler/faster-eth-abi/tree/master/benchmarks/results).
111
+
112
+ ##### You can find the compiled C code and header files in the [build](https://github.com/BobTheBuidler/faster-eth-abi/tree/master/build) directory.
113
+
114
+ ###### You may also be interested in: [faster-web3.py](https://github.com/BobTheBuidler/faster-web3.py/), [faster-hexbytes](https://github.com/BobTheBuidler/faster-hexbytes/), and [faster-eth-utils](https://github.com/BobTheBuidler/faster-eth-utils/)
115
+
116
+ ##### The original eth-abi readme is below:
117
+
118
+ # Ethereum Contract Interface (ABI) Utility
119
+
120
+ [![Join the conversation on Discord](https://img.shields.io/discord/809793915578089484?color=blue&label=chat&logo=discord&logoColor=white)](https://discord.gg/GHryRvPB84)
121
+ [![Build Status](https://circleci.com/gh/ethereum/faster-eth-abi.svg?style=shield)](https://circleci.com/gh/ethereum/faster-eth-abi)
122
+ [![PyPI version](https://badge.fury.io/py/faster-eth-abi.svg)](https://badge.fury.io/py/faster-eth-abi)
123
+ [![Python versions](https://img.shields.io/pypi/pyversions/faster-eth-abi.svg)](https://pypi.python.org/pypi/faster-eth-abi)
124
+ [![Docs build](https://readthedocs.org/projects/faster-eth-abi/badge/?version=latest)](https://faster-eth-abi.readthedocs.io/en/latest/?badge=latest)
125
+
126
+ Python utilities for working with Ethereum ABI definitions, especially encoding and decoding
127
+
128
+ Read the [documentation](https://faster-eth-abi.readthedocs.io/).
129
+
130
+ View the [change log](https://faster-eth-abi.readthedocs.io/en/latest/release_notes.html).
131
+
132
+ ## Installation
133
+
134
+ ```sh
135
+ python -m pip install faster-eth-abi
136
+ ```
@@ -0,0 +1,46 @@
1
+ faster_eth_abi__mypyc.cpython-313-darwin.so,sha256=S1s22LVXVHVl0GapgE85WvvGvPQK1E9_oZeZTtpfvkk,665848
2
+ faster_eth_abi/abi.cpython-313-darwin.so,sha256=hsisTurD8PrHYOHcjRob3LrIwsozVRct2PYJc3PGJEI,50632
3
+ faster_eth_abi/constants.cpython-313-darwin.so,sha256=ix63SKk_PbfA3kAGOWT9psETI3e1j7wy2PH9Gdj2UgU,50656
4
+ faster_eth_abi/_encoding.py,sha256=SCwXXe6bG1Ep47QfPQ0n9Bn4rNcfeIIdv_3hsQYIaok,8768
5
+ faster_eth_abi/_codec.cpython-313-darwin.so,sha256=Lssptsc1GdWQZUcjPsi4OZZZmPidUh-xaLnQ9KrgNqU,50640
6
+ faster_eth_abi/packed.py,sha256=YN1k8heenRMVQQsPEKAYfpd1XhWNF3mOn4sbaR4HiYE,418
7
+ faster_eth_abi/encoding.py,sha256=zWtt2TKEfmdeQ3kHtz5lRJZCCzuMO0il8BtMHmTBu1g,21381
8
+ faster_eth_abi/_grammar.cpython-313-darwin.so,sha256=UQmfUWGv0AAoDgPt9X3rggLv998XuwLkzoC9CVQc7g4,50656
9
+ faster_eth_abi/registry.py,sha256=zIZOlhaSoKsLxDw6UWBiS1xvspm9wDzu6t5LUbgvZ3c,23840
10
+ faster_eth_abi/_decoding.py,sha256=EXzYr_fTnzieWBLBivCSlgDwcHBmnRoxlrB2dChZX6s,9913
11
+ faster_eth_abi/constants.py,sha256=uJbuND1rFs_Pexuz58TKd-BJPuoA6hLqFEX6kkDS-dE,107
12
+ faster_eth_abi/io.py,sha256=BcSNri4jEpw2DKzpwAlr-0HNqcGfDE5fbynEzT1EvNw,3885
13
+ faster_eth_abi/_encoding.cpython-313-darwin.so,sha256=TLkhu5mdgw8oVwN6xlMcx_ppqsWktrqnCwx2VkzR73c,50656
14
+ faster_eth_abi/__init__.py,sha256=55jGpiVbsTGNu-c_rr-wwyH3eqEv9MELSTWa4AMiKvU,205
15
+ faster_eth_abi/_grammar.py,sha256=31Eu5ZMoR2oa7Lpd8M0kfLJ9rUX2qEkKxMN5rAUSAuc,10912
16
+ faster_eth_abi/decoding.py,sha256=kYFsCXgLhyOJK2GlbLeVcyul4yOAA1Lle4mRs_hfy7Y,17565
17
+ faster_eth_abi/grammar.py,sha256=EXxzpdPuzXfBhUxYmZfR0R8gtBK77CDnE0fkAAE6cTE,4521
18
+ faster_eth_abi/from_type_str.py,sha256=U3Xl7zjRL4C7J0t1aGBpBzhEqGo7BS8sxLYnF5pBu4Y,4490
19
+ faster_eth_abi/from_type_str.cpython-313-darwin.so,sha256=LJgCY1K3oNGqAuQzLM2iJdEPHDW_QzCjgUZ9mXUhjWg,50672
20
+ faster_eth_abi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
+ faster_eth_abi/abi.py,sha256=HzkXy0EjHraNbbC5l-EhVqVcx5vy8tcykiKIO4Fp1xw,366
22
+ faster_eth_abi/exceptions.py,sha256=I_uWNRq8a1UcWNahYDBJd1rKbET1bYTiTbDf3R4eFOI,3646
23
+ faster_eth_abi/_codec.py,sha256=D_Vn5gtUWZi2ltiqKfH5qm5xr1w8k9CAwDRWSnzOINE,2514
24
+ faster_eth_abi/typing.py,sha256=FIMFquzJeZrL6qslWhMlfdRbO95P851gt2lt3T5S16E,105020
25
+ faster_eth_abi/codec.py,sha256=A04ZzXppz3QK0RzZcsDMoYxuH1eGx6fzOqGGGdNu62c,66624
26
+ faster_eth_abi/base.py,sha256=j7IVwKBATnjfOnA58FjhPH94KibVkuWsAMBe6fsNiI8,1337
27
+ faster_eth_abi/packed.cpython-313-darwin.so,sha256=2eQqivZcanFu4heT8OiwuAEYCI2c0Ph3IPKVAoTKTl4,50640
28
+ faster_eth_abi/_decoding.cpython-313-darwin.so,sha256=KrP27yNmpLpZNZDIiSm92DYCdbR4oXrwzouGlx4MpQc,50656
29
+ faster_eth_abi/tools/__init__.cpython-313-darwin.so,sha256=2_xtGCkE_ah6Z4UCqpYWoPQElRejl8BAe5odxqcYFV0,50640
30
+ faster_eth_abi/tools/_strategies.py,sha256=csDbLq2jKEKWyyzRKE3OGvUWnVsvEyYd3vvtE0JjX1o,6138
31
+ faster_eth_abi/tools/__init__.py,sha256=trtATEmgu4ctg04qkejbODDzvDSofgcVJ3rkzMP_hQE,51
32
+ faster_eth_abi/tools/_strategies.cpython-313-darwin.so,sha256=AXudw_6KZG39vwtY0E04G86Fk2ZnCMZZHwys4JS2v8U,50672
33
+ faster_eth_abi/utils/validation.cpython-313-darwin.so,sha256=O3-a7ACykg43HR4N3m_RHw9cLVGgEA3Ji1_ErNCRje8,50672
34
+ faster_eth_abi/utils/__init__.cpython-313-darwin.so,sha256=AqPMRGIJQGnwB4aVujmIBV2W_cW6-dufUD79PvtJ4gk,50640
35
+ faster_eth_abi/utils/numeric.cpython-313-darwin.so,sha256=nt6USLFY5sCNLITfEsp72lhFIcOx1q9gqsfKlzz0ROw,50656
36
+ faster_eth_abi/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
+ faster_eth_abi/utils/padding.cpython-313-darwin.so,sha256=fkFN6zBBvE8d4Sv15o28cNb_mhLgCpZRZGpFqQzlO10,50656
38
+ faster_eth_abi/utils/numeric.py,sha256=fkdazLcgd7FN0JGSSyb6Jsx555QdgRf2N0mxrm6rGB4,3278
39
+ faster_eth_abi/utils/string.cpython-313-darwin.so,sha256=wjdL0WunDAJ7r7H03ngM4IpssEnvFDMSNOcfthR62PY,50656
40
+ faster_eth_abi/utils/string.py,sha256=fjsAR2C7Xlu5bHomxx5l4rlADFtByzGTQfugMTo8TQk,436
41
+ faster_eth_abi/utils/padding.py,sha256=JBuFhdrvKWLrmmJBZ-a6pqbHWydAuiUBt2aBjCwVcVE,493
42
+ faster_eth_abi/utils/validation.py,sha256=NA2wRacYEBdkpQnZfmeDvzF-sHyy6NT2QzCFuBnYJVI,521
43
+ faster_eth_abi-5.2.20.dist-info/RECORD,,
44
+ faster_eth_abi-5.2.20.dist-info/WHEEL,sha256=oqGJCpG61FZJmvyZ3C_0aCv-2mdfcY9e3fXvyUNmWfM,136
45
+ faster_eth_abi-5.2.20.dist-info/top_level.txt,sha256=Y0kTTMPnPpssaR0jlmJwQ2XbkYXMEj_80Ewd7quo1Cg,37
46
+ faster_eth_abi-5.2.20.dist-info/METADATA,sha256=u6GWD8rnbtTsMH0vFDfI4GiOUgU6tGtGyVO5QOshGsE,7397
@@ -0,0 +1,2 @@
1
+ faster_eth_abi
2
+ faster_eth_abi__mypyc
@@ -1,95 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: faster_eth_abi
3
- Version: 5.2.1
4
- Summary: A fork of eth_abi: Python utilities for working with Ethereum ABI definitions, especially encoding and decoding, implemented in C.
5
- Home-page: https://github.com/BobTheBuidler/faster-eth-abi
6
- Author: The Ethereum Foundation
7
- Author-email: snakecharmers@ethereum.org
8
- License: MIT
9
- Keywords: ethereum
10
- Classifier: Development Status :: 5 - Production/Stable
11
- Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: MIT License
13
- Classifier: Natural Language :: English
14
- Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.8
16
- Classifier: Programming Language :: Python :: 3.9
17
- Classifier: Programming Language :: Python :: 3.10
18
- Classifier: Programming Language :: Python :: 3.11
19
- Classifier: Programming Language :: Python :: 3.12
20
- Classifier: Programming Language :: Python :: 3.13
21
- Classifier: Programming Language :: Python :: Implementation :: CPython
22
- Requires-Python: >=3.8, <3.14
23
- Description-Content-Type: text/markdown
24
- License-File: LICENSE
25
- Requires-Dist: cchecksum<0.4,>=0.3.1
26
- Requires-Dist: faster-eth-utils>=2.0.0
27
- Requires-Dist: eth-typing>=3.0.0
28
- Requires-Dist: mypy_extensions
29
- Requires-Dist: parsimonious<0.11.0,>=0.10.0
30
- Provides-Extra: dev
31
- Requires-Dist: build>=0.9.0; extra == "dev"
32
- Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
33
- Requires-Dist: ipython; extra == "dev"
34
- Requires-Dist: mypy==1.10.0; extra == "dev"
35
- Requires-Dist: pre-commit>=3.4.0; extra == "dev"
36
- Requires-Dist: tox>=4.0.0; extra == "dev"
37
- Requires-Dist: twine; extra == "dev"
38
- Requires-Dist: wheel; extra == "dev"
39
- Requires-Dist: sphinx>=6.0.0; extra == "dev"
40
- Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
41
- Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
42
- Requires-Dist: towncrier<25,>=24; extra == "dev"
43
- Requires-Dist: pytest>=7.0.0; extra == "dev"
44
- Requires-Dist: pytest-timeout>=2.0.0; extra == "dev"
45
- Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
46
- Requires-Dist: pytest-pythonpath>=0.7.1; extra == "dev"
47
- Requires-Dist: eth-hash[pycryptodome]; extra == "dev"
48
- Requires-Dist: hypothesis<6.108.7,>=6.22.0; extra == "dev"
49
- Provides-Extra: docs
50
- Requires-Dist: sphinx>=6.0.0; extra == "docs"
51
- Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "docs"
52
- Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
53
- Requires-Dist: towncrier<25,>=24; extra == "docs"
54
- Provides-Extra: test
55
- Requires-Dist: pytest>=7.0.0; extra == "test"
56
- Requires-Dist: pytest-timeout>=2.0.0; extra == "test"
57
- Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
58
- Requires-Dist: pytest-pythonpath>=0.7.1; extra == "test"
59
- Requires-Dist: eth-hash[pycryptodome]; extra == "test"
60
- Requires-Dist: hypothesis<6.108.7,>=6.22.0; extra == "test"
61
- Provides-Extra: tools
62
- Requires-Dist: hypothesis<6.108.7,>=6.22.0; extra == "tools"
63
- Dynamic: author
64
- Dynamic: author-email
65
- Dynamic: classifier
66
- Dynamic: description
67
- Dynamic: description-content-type
68
- Dynamic: home-page
69
- Dynamic: keywords
70
- Dynamic: license
71
- Dynamic: license-file
72
- Dynamic: provides-extra
73
- Dynamic: requires-dist
74
- Dynamic: requires-python
75
- Dynamic: summary
76
-
77
- # Ethereum Contract Interface (ABI) Utility
78
-
79
- [![Join the conversation on Discord](https://img.shields.io/discord/809793915578089484?color=blue&label=chat&logo=discord&logoColor=white)](https://discord.gg/GHryRvPB84)
80
- [![Build Status](https://circleci.com/gh/ethereum/faster-eth-abi.svg?style=shield)](https://circleci.com/gh/ethereum/faster-eth-abi)
81
- [![PyPI version](https://badge.fury.io/py/faster-eth-abi.svg)](https://badge.fury.io/py/faster-eth-abi)
82
- [![Python versions](https://img.shields.io/pypi/pyversions/faster-eth-abi.svg)](https://pypi.python.org/pypi/faster-eth-abi)
83
- [![Docs build](https://readthedocs.org/projects/faster-eth-abi/badge/?version=latest)](https://faster-eth-abi.readthedocs.io/en/latest/?badge=latest)
84
-
85
- Python utilities for working with Ethereum ABI definitions, especially encoding and decoding
86
-
87
- Read the [documentation](https://faster-eth-abi.readthedocs.io/).
88
-
89
- View the [change log](https://faster-eth-abi.readthedocs.io/en/latest/release_notes.html).
90
-
91
- ## Installation
92
-
93
- ```sh
94
- python -m pip install faster-eth-abi
95
- ```
@@ -1,38 +0,0 @@
1
- a1f8aa123fabc88e2b56__mypyc.cpython-313-darwin.so,sha256=Qxd3YqjPcywUGBUVlo42qqWciejq7LfrnjIffoFZF4M,267168
2
- faster_eth_abi/abi.cpython-313-darwin.so,sha256=qn3TqdLoXMrh_FkH9yhpX5HEB_t0PG2FMIx6smt_iMc,50632
3
- faster_eth_abi/constants.cpython-313-darwin.so,sha256=-m3BP0I62tR9bZme8SmZS5PkHr60Q8u1As2-luRVJsc,50656
4
- faster_eth_abi/packed.py,sha256=qDPBjish_0h26O7xGWopnlD4pRkphFuFq4izgIqT600,301
5
- faster_eth_abi/encoding.py,sha256=Ht1g6Xa2y-npY5YrI1zjVcerf7YSZX-cYHZ6IJE5G5M,19988
6
- faster_eth_abi/registry.py,sha256=ja53ifO-YlxZa_k0jtjHYa8nAJ9LJQNc9kVthss_TYo,19667
7
- faster_eth_abi/constants.py,sha256=uJbuND1rFs_Pexuz58TKd-BJPuoA6hLqFEX6kkDS-dE,107
8
- faster_eth_abi/io.py,sha256=PjOnBChWh_-6ADkpJQONnxHVwsAfC_4bRiT6YQhlP6c,3728
9
- faster_eth_abi/__init__.py,sha256=55jGpiVbsTGNu-c_rr-wwyH3eqEv9MELSTWa4AMiKvU,205
10
- faster_eth_abi/decoding.py,sha256=2ieCin4UbtPhbi02d3xlQxaaBtd7ANMU1BEUR45_RwA,17324
11
- faster_eth_abi/grammar.py,sha256=9Q4niyiw8cAKXwVMlpfayPNcWkerZXM6WuWBEjx2TQ8,13335
12
- faster_eth_abi/from_type_str.py,sha256=aAZ58YUBZuMF_DovGkthvnacAD6X6VkYFs0Zbv9JxoM,4311
13
- faster_eth_abi/from_type_str.cpython-313-darwin.so,sha256=8kZs_usv8-FzbTgv0mDG_0HCGbtjBtQWwcSvoLitFg0,50672
14
- faster_eth_abi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- faster_eth_abi/abi.py,sha256=HzkXy0EjHraNbbC5l-EhVqVcx5vy8tcykiKIO4Fp1xw,366
16
- faster_eth_abi/exceptions.py,sha256=Q_b62R-E0OtlxQGLQSyx6BXkBbLf259KQ1pT5Eb1oh8,2952
17
- faster_eth_abi/codec.py,sha256=wjKLVR4Qb4hn2bloeEeZ4lQs7uLKoZq5c6rSTJVlCeo,5174
18
- faster_eth_abi/base.py,sha256=eMpUM78FhJg5wHPj6glvJRpS1AmvQ_1ks9ENwyu68hc,1188
19
- faster_eth_abi/packed.cpython-313-darwin.so,sha256=Jdt_XBkWxGiHZmtFk7UwV4G4nB4YkpetpfxhH-ops9M,50640
20
- faster_eth_abi/tools/__init__.cpython-313-darwin.so,sha256=Imxeht3UXZf7-hg_XK7FFwakckQqOanJLUgI84_qBKo,50640
21
- faster_eth_abi/tools/_strategies.py,sha256=iLIjqRw7FlEEIXtnhSgtrWwbxO74dslT0EQrgE2o8I8,5960
22
- faster_eth_abi/tools/__init__.py,sha256=trtATEmgu4ctg04qkejbODDzvDSofgcVJ3rkzMP_hQE,51
23
- faster_eth_abi/tools/_strategies.cpython-313-darwin.so,sha256=ee9E2GWZi1VL-z9bw_vCEsAJhJMCMyDAHZLT_TK7hdw,50672
24
- faster_eth_abi/utils/validation.cpython-313-darwin.so,sha256=lwVbRop7mOmMfoYd0hdgXrOqPSjp2Umdg-ilYgAcoy8,50672
25
- faster_eth_abi/utils/__init__.cpython-313-darwin.so,sha256=gzcPsq6--XKfjH9L-ClVK2cuZvf-su3OjFt_g7e1adU,50640
26
- faster_eth_abi/utils/numeric.cpython-313-darwin.so,sha256=rSc9togXUyJzcbLDsSBr4Y4q4-IFZqrF1y_uRQReuMU,50656
27
- faster_eth_abi/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
- faster_eth_abi/utils/padding.cpython-313-darwin.so,sha256=obajSbo8WVMsXVEhsP_p0bvA1Eo1SkNyDk7AG8IoxDI,50656
29
- faster_eth_abi/utils/numeric.py,sha256=VU6Z76zvZn7rYaZMyDy1XO9A9ukKTzOrtA80jypp_LQ,2146
30
- faster_eth_abi/utils/string.cpython-313-darwin.so,sha256=vTwp-KOzTWdpADYnQ5GBd4ITKZYcPt2W7ee6KIHeQm4,50656
31
- faster_eth_abi/utils/string.py,sha256=fjsAR2C7Xlu5bHomxx5l4rlADFtByzGTQfugMTo8TQk,436
32
- faster_eth_abi/utils/padding.py,sha256=JBuFhdrvKWLrmmJBZ-a6pqbHWydAuiUBt2aBjCwVcVE,493
33
- faster_eth_abi/utils/validation.py,sha256=kqDxlcIyb55Y80FdcCYtWP1-8geCePsH3_yPTayxdM8,547
34
- faster_eth_abi-5.2.1.dist-info/RECORD,,
35
- faster_eth_abi-5.2.1.dist-info/WHEEL,sha256=oqGJCpG61FZJmvyZ3C_0aCv-2mdfcY9e3fXvyUNmWfM,136
36
- faster_eth_abi-5.2.1.dist-info/top_level.txt,sha256=NbjfpQ9lBrFaSYDeeRrYo2vn3ZGVqu_9MZ0LOqjzQho,51
37
- faster_eth_abi-5.2.1.dist-info/METADATA,sha256=IqZjJK00iqQw54_CLK7CtjoeRjVuWVoMvfisOtWR8mk,4132
38
- faster_eth_abi-5.2.1.dist-info/licenses/LICENSE,sha256=P_zrhVa0OXK-_XuA0RF3d3gwMLXRSBkn2fWraC4CFLo,1106
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2016-2020, 2022-2025 The Ethereum Foundation
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,3 +0,0 @@
1
- a1f8aa123fabc88e2b56__mypyc
2
- eth_abi
3
- faster_eth_abi