faster-eth-abi 5.2.3__cp310-cp310-win_amd64.whl → 5.2.20__cp310-cp310-win_amd64.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.cp310-win_amd64.pyd +0 -0
  2. faster_eth_abi/_codec.py +83 -0
  3. faster_eth_abi/_decoding.cp310-win_amd64.pyd +0 -0
  4. faster_eth_abi/_decoding.py +299 -0
  5. faster_eth_abi/_encoding.cp310-win_amd64.pyd +0 -0
  6. faster_eth_abi/_encoding.py +251 -0
  7. faster_eth_abi/_grammar.cp310-win_amd64.pyd +0 -0
  8. faster_eth_abi/_grammar.py +375 -0
  9. faster_eth_abi/abi.cp310-win_amd64.pyd +0 -0
  10. faster_eth_abi/base.py +5 -1
  11. faster_eth_abi/codec.py +2694 -52
  12. faster_eth_abi/constants.cp310-win_amd64.pyd +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.cp310-win_amd64.pyd +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.cp310-win_amd64.pyd +0 -0
  21. faster_eth_abi/packed.py +4 -0
  22. faster_eth_abi/registry.py +201 -83
  23. faster_eth_abi/tools/__init__.cp310-win_amd64.pyd +0 -0
  24. faster_eth_abi/tools/_strategies.cp310-win_amd64.pyd +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__.cp310-win_amd64.pyd +0 -0
  28. faster_eth_abi/utils/numeric.cp310-win_amd64.pyd +0 -0
  29. faster_eth_abi/utils/numeric.py +51 -20
  30. faster_eth_abi/utils/padding.cp310-win_amd64.pyd +0 -0
  31. faster_eth_abi/utils/string.cp310-win_amd64.pyd +0 -0
  32. faster_eth_abi/utils/validation.cp310-win_amd64.pyd +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.cp310-win_amd64.pyd +0 -0
  38. a1f8aa123fabc88e2b56__mypyc.cp310-win_amd64.pyd +0 -0
  39. faster_eth_abi-5.2.3.dist-info/METADATA +0 -95
  40. faster_eth_abi-5.2.3.dist-info/RECORD +0 -38
  41. faster_eth_abi-5.2.3.dist-info/licenses/LICENSE +0 -21
  42. faster_eth_abi-5.2.3.dist-info/top_level.txt +0 -3
  43. {faster_eth_abi-5.2.3.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.cp310-win_amd64.pyd,sha256=KwdWuLdW6NlULUEGtHgv3Z3DWsnuDtOtFryyzjtlONw,238080
2
+ faster_eth_abi/__init__.py,sha256=JpTfPTiusUGMmX8sEsGAxvILxFbvhh3MEyfiKOd5o9g,217
3
+ faster_eth_abi/_codec.cp310-win_amd64.pyd,sha256=dXURYPYbVUnu850hvihufVlNuZkz-XlqGbIDKRZvncc,10752
4
+ faster_eth_abi/_codec.py,sha256=hmNYkM1dRFyF97x6cA0Pg26EndRVX7KdwauK67IcUh8,2597
5
+ faster_eth_abi/_decoding.cp310-win_amd64.pyd,sha256=__ibe3Ehyj5Bp6OjS9QKf7JcE-2Sbaw8wGPjl3C6atM,10752
6
+ faster_eth_abi/_decoding.py,sha256=fWvWkgydpuVYy1TkUIPiTpeFiSdwIrR5Fqzm_ZEU0bU,10212
7
+ faster_eth_abi/_encoding.cp310-win_amd64.pyd,sha256=MpGsb7qjjJu3TNBo70xWiC5eOZ6qBM-2qIceRpFtZLk,10752
8
+ faster_eth_abi/_encoding.py,sha256=hAgf9ZUaD05dKpMbUifjWeaE-EXsbuXWOxdrtyoJgUU,9019
9
+ faster_eth_abi/_grammar.cp310-win_amd64.pyd,sha256=8GcxwnwawwL-7x0mAUkpS1xcfXFavJFnj0P0kKVDM3I,10752
10
+ faster_eth_abi/_grammar.py,sha256=tYDcVa9tsGzyfETpczvyPbAFZotCj29h_5WFW8sdqjI,11287
11
+ faster_eth_abi/abi.cp310-win_amd64.pyd,sha256=2ytzMoKxA4rvbiagMOFoOcxaykqgCSEfKrQHhhROXpo,10752
12
+ faster_eth_abi/abi.py,sha256=-t9OVBSCxy6SuWpCu3cxHrCqkx8_svPIRb0MSFXEl5Q,383
13
+ faster_eth_abi/base.py,sha256=F8crTGdxqazfuXbm9KjDzB7mJcb_Nv9Z_fpUZcxYOfQ,1382
14
+ faster_eth_abi/codec.py,sha256=K5PQ1XpSuhT3VzEoEsdHDpsv7NEcY1u_EdT2XFF9EW0,69433
15
+ faster_eth_abi/constants.cp310-win_amd64.pyd,sha256=2IaxQuAprus8NDFuVyoCQW82DoTTsUPYHz9TbgEWJRQ,10752
16
+ faster_eth_abi/constants.py,sha256=q3FGynS-Eb78cnrL6mBoAvTDz16PF3tW2OylTMd6ajs,114
17
+ faster_eth_abi/decoding.py,sha256=3GJiO6Awxrbba32qNE6LNC-rYMHbX581cZYLKpsnL3g,18149
18
+ faster_eth_abi/encoding.py,sha256=Lo5V33aLTTUHoz6kVqc5CSVpLhnBd3ZSwOf7nfmWRAM,22127
19
+ faster_eth_abi/exceptions.py,sha256=wWsJJc_ip62fUVI_7CPlR-o37JWfv__ubYprEW0ZcYI,3773
20
+ faster_eth_abi/from_type_str.cp310-win_amd64.pyd,sha256=JHKJQZHUS33xBJbJlLqqz1BiUaCgaD9hQxw-e-qsduY,10752
21
+ faster_eth_abi/from_type_str.py,sha256=qHJtLNNHF2BHtRtdemC6hU4eP5jAuorY8qunC7illJI,4631
22
+ faster_eth_abi/grammar.py,sha256=zroPKUmn76fw4CzopBUQqd2q5-aikM0QkGly_8corcU,4693
23
+ faster_eth_abi/io.py,sha256=qF6BPw4hOi_Xu-nyT4XAFhEL-5EQ83fUsQuqqNXqE7w,3992
24
+ faster_eth_abi/packed.cp310-win_amd64.pyd,sha256=gEGbpe8K79GILW0iodLPAHx9lkzAnKtMCtsNxOLHUpg,10752
25
+ faster_eth_abi/packed.py,sha256=STlAhJQSm04B3keAOFGRh8jzk-aCCYAm61_9O9JUn68,437
26
+ faster_eth_abi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
+ faster_eth_abi/registry.py,sha256=TMepOMMqhoUkMkfXtylSFK8y2Dke2KRvvlyYDeAgsOM,24598
28
+ faster_eth_abi/typing.py,sha256=8npqU_Nvs-xRTnczC43eJSdaEbrsfERhNJhY9SwNEIg,109647
29
+ faster_eth_abi/tools/__init__.cp310-win_amd64.pyd,sha256=HYc_oZUVCftftEZfcpJaovHZw27VFjlhM0TEgCpvQ08,10752
30
+ faster_eth_abi/tools/__init__.py,sha256=jxyQnb34ldRjCTYi3Ajb5h5QlFQ6ODfKQNhOCVwR7Ao,54
31
+ faster_eth_abi/tools/_strategies.cp310-win_amd64.pyd,sha256=9uFNuN53hMzOKDNuODQ9mT6152T6dEi4L_EQLR68g4k,10752
32
+ faster_eth_abi/tools/_strategies.py,sha256=iGCqfmzVPSIsPwCv21KVvUBWppUm0gdFjYN-AbmZnn4,6381
33
+ faster_eth_abi/utils/__init__.cp310-win_amd64.pyd,sha256=3ui4cDbKiw_spI2h2EFlKjifvS1YhfQhxTHCueR-Xys,10752
34
+ faster_eth_abi/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
+ faster_eth_abi/utils/numeric.cp310-win_amd64.pyd,sha256=hA7GO_ZCN-WXPogTkYd8vyizkrhmqf4xx7GK5ebzUg8,10752
36
+ faster_eth_abi/utils/numeric.py,sha256=saAVL12dfDrMXZeao3u2jar-U2y57YKVUqF6VOzoLxs,3395
37
+ faster_eth_abi/utils/padding.cp310-win_amd64.pyd,sha256=TplFrURBaDXLU6Ey8_8iHkwgutekRKUhCoL2aZWLA1U,10752
38
+ faster_eth_abi/utils/padding.py,sha256=k6dkOiQ3k0OhQUZ6blCiL1VOQVYGyynucafbySjcFfY,515
39
+ faster_eth_abi/utils/string.cp310-win_amd64.pyd,sha256=3_0-QVvLGgPZa49HYzII5SJCTPG-LBSbTCd0SFAKo6I,10752
40
+ faster_eth_abi/utils/string.py,sha256=wYcvWof4kuitrGGSe_NOduQaxE4HHYmpraCPXKcZxMs,455
41
+ faster_eth_abi/utils/validation.cp310-win_amd64.pyd,sha256=s48QzuFEAv_KjFXEn4K5-i65XyIczMFP-iAZfVlkjIE,10752
42
+ faster_eth_abi/utils/validation.py,sha256=9veO7wyQsmcFgeaGrsKdSifjV1gaXfTDDKAt1EbKHYY,539
43
+ faster_eth_abi-5.2.20.dist-info/METADATA,sha256=fSmLzWc1PrOvUUM8pezROCGhPqT37fQAp-1ONoH68pE,7533
44
+ faster_eth_abi-5.2.20.dist-info/WHEEL,sha256=KUuBC6lxAbHCKilKua8R9W_TM71_-9Sg5uEP3uDWcoU,101
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/RECORD,,
@@ -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.3
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.15
23
- Description-Content-Type: text/markdown
24
- License-File: LICENSE
25
- Requires-Dist: cchecksum<0.4,>=0.2.6
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.cp310-win_amd64.pyd,sha256=fHMxI-GD31lxdJ6xZJ4HxQAxo-YHK4kj2nngbjZ7zIY,126976
2
- faster_eth_abi/__init__.py,sha256=JpTfPTiusUGMmX8sEsGAxvILxFbvhh3MEyfiKOd5o9g,217
3
- faster_eth_abi/abi.cp310-win_amd64.pyd,sha256=t1BcCKANUXv8R6O6TmtG4yY_wx4usSTgYLaEFr4Rfpw,10752
4
- faster_eth_abi/abi.py,sha256=-t9OVBSCxy6SuWpCu3cxHrCqkx8_svPIRb0MSFXEl5Q,383
5
- faster_eth_abi/base.py,sha256=y4IXpQJWGfUISl3xjCO420Grxido3tE2ebPV2rK-DvM,1229
6
- faster_eth_abi/codec.py,sha256=5wbB8yznz6v4-W6W_q-gfeHh247S5UmUubo6_r379fk,5341
7
- faster_eth_abi/constants.cp310-win_amd64.pyd,sha256=djjdnPhjtNwK-33JtwHLQBHxq57SjOYu8MfCIf8mvIc,10752
8
- faster_eth_abi/constants.py,sha256=q3FGynS-Eb78cnrL6mBoAvTDz16PF3tW2OylTMd6ajs,114
9
- faster_eth_abi/decoding.py,sha256=w98AsF5cq5DXE9OVflfkVLpMeCRbxzZuIj0hFPJcJNc,17910
10
- faster_eth_abi/encoding.py,sha256=CLeUpoWZhwIOOGMAMY8NwYdBdDd1j6AXcKqVkoevuKk,20687
11
- faster_eth_abi/exceptions.py,sha256=KzNYRc9t0CvlkveozWvLeo1WC_GarcBkwzV67aY_5yI,3067
12
- faster_eth_abi/from_type_str.cp310-win_amd64.pyd,sha256=wgRo2x_C68VSSKY0oi8KssDzUAFq3Uwm1FIltYYPafk,10752
13
- faster_eth_abi/from_type_str.py,sha256=WLRP3OIyrJORgloX-7V0x2KdrZj0kLay-J9I8f-H36s,4446
14
- faster_eth_abi/grammar.py,sha256=mB68n7WuFvQB8lh5zPZEO36fOXGfj3gEnNP6yWFHvQo,13802
15
- faster_eth_abi/io.py,sha256=E_QX7aYAjGYnkNAZmJMmSmx1lqvl_FDNmMFruTi9UX4,3831
16
- faster_eth_abi/packed.cp310-win_amd64.pyd,sha256=ukvtJrjcPDf138vbMBcb7oR4pfP9G30G3G6dlqAYa0k,10752
17
- faster_eth_abi/packed.py,sha256=RZ2chvsx9_AL9OxY1ixHTsaUJHaR_tmrNdViOIp-xSg,316
18
- faster_eth_abi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
- faster_eth_abi/registry.py,sha256=md0L1XgJ-Wb7mlpLm2Di-5S5Mr53jxHHgjUhI9vDK-0,20307
20
- faster_eth_abi/tools/__init__.cp310-win_amd64.pyd,sha256=X57N7PGP5owTJOQLHZC45Xdtzengto2VsFocIef2HjU,10752
21
- faster_eth_abi/tools/__init__.py,sha256=jxyQnb34ldRjCTYi3Ajb5h5QlFQ6ODfKQNhOCVwR7Ao,54
22
- faster_eth_abi/tools/_strategies.cp310-win_amd64.pyd,sha256=vRmovY1VvfkhMF4TRU1BLJdOooD9Fs2s_0S6EPaQUuQ,10752
23
- faster_eth_abi/tools/_strategies.py,sha256=HCFdQFLa84SMf7Deui2-szTH34hxTfc0Rog_kmpTg_w,6197
24
- faster_eth_abi/utils/__init__.cp310-win_amd64.pyd,sha256=N517vhFYOQl6kfEi3znfviNLabl_SM1Sl9GDmntuNxo,10752
25
- faster_eth_abi/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
- faster_eth_abi/utils/numeric.cp310-win_amd64.pyd,sha256=sZ_RZP9_zv_J3mDYe7AygF9gSKsPnodS4zS4xtp05_Q,10752
27
- faster_eth_abi/utils/numeric.py,sha256=hNGble1NA99_5hrAOnH0ZakCuHc6PFMC1p0olmpo_vM,2232
28
- faster_eth_abi/utils/padding.cp310-win_amd64.pyd,sha256=YGTJi2BO3GTZjsWASkVh5JtkDO82wNkDdG4a5bxHPlc,10752
29
- faster_eth_abi/utils/padding.py,sha256=k6dkOiQ3k0OhQUZ6blCiL1VOQVYGyynucafbySjcFfY,515
30
- faster_eth_abi/utils/string.cp310-win_amd64.pyd,sha256=Uh8xxLVbT1v9BPi_AeNJelJRf-x4g2SY8CEnpI-pQNs,10752
31
- faster_eth_abi/utils/string.py,sha256=wYcvWof4kuitrGGSe_NOduQaxE4HHYmpraCPXKcZxMs,455
32
- faster_eth_abi/utils/validation.cp310-win_amd64.pyd,sha256=m9qfZGr3TwJ6-RYc0f3a2kE34p8eaGF-k1kY51pOn2o,10752
33
- faster_eth_abi/utils/validation.py,sha256=3JTxhDbhkfkNeKKQm2TjiCgmDN9vdlX8_pmWeZuWCBg,569
34
- faster_eth_abi-5.2.3.dist-info/licenses/LICENSE,sha256=Q1lDDWXR057JL2Y7HTAwclCF32_LCloN4sGUkXO1YeI,1127
35
- faster_eth_abi-5.2.3.dist-info/METADATA,sha256=BL-baV1yhRtVaj3_UGSO6ancd4WaHb4H9ayEV2esqC4,4227
36
- faster_eth_abi-5.2.3.dist-info/WHEEL,sha256=KUuBC6lxAbHCKilKua8R9W_TM71_-9Sg5uEP3uDWcoU,101
37
- faster_eth_abi-5.2.3.dist-info/top_level.txt,sha256=NbjfpQ9lBrFaSYDeeRrYo2vn3ZGVqu_9MZ0LOqjzQho,51
38
- faster_eth_abi-5.2.3.dist-info/RECORD,,
@@ -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