faster-eth-utils 5.3.7__cp314-cp314t-musllinux_1_2_x86_64.whl → 5.3.9__cp314-cp314t-musllinux_1_2_x86_64.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.
- 99c07adba6ff961eaf3e__mypyc.cpython-314t-x86_64-linux-musl.so +0 -0
- faster_eth_utils/abi.py +1 -1
- faster_eth_utils/applicators.py +3 -3
- faster_eth_utils/curried/__init__.py +3 -0
- {faster_eth_utils-5.3.7.dist-info → faster_eth_utils-5.3.9.dist-info}/METADATA +4 -4
- {faster_eth_utils-5.3.7.dist-info → faster_eth_utils-5.3.9.dist-info}/RECORD +9 -9
- {faster_eth_utils-5.3.7.dist-info → faster_eth_utils-5.3.9.dist-info}/WHEEL +0 -0
- {faster_eth_utils-5.3.7.dist-info → faster_eth_utils-5.3.9.dist-info}/licenses/LICENSE +0 -0
- {faster_eth_utils-5.3.7.dist-info → faster_eth_utils-5.3.9.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
|
|
faster_eth_utils/applicators.py
CHANGED
|
@@ -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:
|
|
77
|
-
) -> Generator[
|
|
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:
|
|
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.
|
|
3
|
+
Version: 5.3.9
|
|
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
|
|
@@ -32,7 +32,7 @@ Requires-Dist: build>=0.9.0; extra == "dev"
|
|
|
32
32
|
Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
|
|
33
33
|
Requires-Dist: eth-hash[pycryptodome]; extra == "dev"
|
|
34
34
|
Requires-Dist: ipython; extra == "dev"
|
|
35
|
-
Requires-Dist: mypy==1.
|
|
35
|
+
Requires-Dist: mypy==1.18.2; extra == "dev"
|
|
36
36
|
Requires-Dist: pre-commit>=3.4.0; extra == "dev"
|
|
37
37
|
Requires-Dist: tox>=4.0.0; extra == "dev"
|
|
38
38
|
Requires-Dist: twine; extra == "dev"
|
|
@@ -42,7 +42,7 @@ Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
|
|
|
42
42
|
Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
|
|
43
43
|
Requires-Dist: towncrier<25,>=24; extra == "dev"
|
|
44
44
|
Requires-Dist: hypothesis>=4.43.0; extra == "dev"
|
|
45
|
-
Requires-Dist: mypy==1.
|
|
45
|
+
Requires-Dist: mypy==1.18.2; extra == "dev"
|
|
46
46
|
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
47
47
|
Requires-Dist: pytest-codspeed>=2.0.0; extra == "dev"
|
|
48
48
|
Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
|
|
@@ -53,7 +53,7 @@ Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
|
|
|
53
53
|
Requires-Dist: towncrier<25,>=24; extra == "docs"
|
|
54
54
|
Provides-Extra: test
|
|
55
55
|
Requires-Dist: hypothesis>=4.43.0; extra == "test"
|
|
56
|
-
Requires-Dist: mypy==1.
|
|
56
|
+
Requires-Dist: mypy==1.18.2; extra == "test"
|
|
57
57
|
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
58
58
|
Requires-Dist: pytest-codspeed>=2.0.0; extra == "test"
|
|
59
59
|
Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
99c07adba6ff961eaf3e__mypyc.cpython-314t-x86_64-linux-musl.so,sha256=
|
|
1
|
+
99c07adba6ff961eaf3e__mypyc.cpython-314t-x86_64-linux-musl.so,sha256=xS6qoixqGv5RxUjPqvnvjENrCqprewioT3E-6Ai6e-k,1768360
|
|
2
2
|
faster_eth_utils/__init__.py,sha256=hW-A_fjyQ76crTKwuxxSbvNzvPfW27dSlzhtOkseymg,2762
|
|
3
3
|
faster_eth_utils/__main__.py,sha256=mH37e49q7_A0-q1ymqkq1QyYABbQHVmXeuSKIBSahO8,86
|
|
4
4
|
faster_eth_utils/abi.cpython-314t-x86_64-linux-musl.so,sha256=f9YXc_0cmcSKkFs4OtFZzJtrrMX0ce5gcMQcZuCvmUg,18752
|
|
5
|
-
faster_eth_utils/abi.py,sha256=
|
|
5
|
+
faster_eth_utils/abi.py,sha256=2Lk78YiWLIG_srH2nTYny8tYrxM7JS-zWNpBe8ACMEs,26544
|
|
6
6
|
faster_eth_utils/address.cpython-314t-x86_64-linux-musl.so,sha256=yh1UhmVz8-og-g3DCP2MIdjmUPlNhvI5Krig0M7TF5A,18776
|
|
7
7
|
faster_eth_utils/address.py,sha256=IIHlYuIz-F6-mAnRWdsD4uH5l56yVRFMokFQINao9lE,3680
|
|
8
8
|
faster_eth_utils/applicators.cpython-314t-x86_64-linux-musl.so,sha256=8P8Ulwb_TOY2BO_a4hGw3A5IOk3kQBmdanL3FNxIaiU,18816
|
|
9
|
-
faster_eth_utils/applicators.py,sha256=
|
|
9
|
+
faster_eth_utils/applicators.py,sha256=2BKYgRaXgUhA1sCMApuJvN6Qy59LBDkUzQcQkJdknJA,5301
|
|
10
10
|
faster_eth_utils/conversions.cpython-314t-x86_64-linux-musl.so,sha256=bSYIGGhwectkc8au7dXp0FEqrP9OUu8-1SihHHFQ_1k,18816
|
|
11
11
|
faster_eth_utils/conversions.py,sha256=t2TEe0WsffqOFDbyQcERTSbHJYpDBWHKd8XPArhLoEE,5665
|
|
12
12
|
faster_eth_utils/crypto.cpython-314t-x86_64-linux-musl.so,sha256=MqahixM6CSooUvaHLBW0vbNCw9DA0r8FSJLxSHPs7zk,18776
|
|
@@ -43,11 +43,11 @@ faster_eth_utils/types.py,sha256=-RDPzkoNhkp3dpDNK9iKzGmSQawwZ6wJ4exur0E_BuY,151
|
|
|
43
43
|
faster_eth_utils/units.cpython-314t-x86_64-linux-musl.so,sha256=mSjDm5XiKWaMhIXd8dLtv4wDTKt3OBjGWujMTYS6xCY,18760
|
|
44
44
|
faster_eth_utils/units.py,sha256=jRo8p6trxwuISBnT8kfxTNVyd_TSd5vVY5aiKDefB1U,1757
|
|
45
45
|
faster_eth_utils/__json/eth_networks.json,sha256=0S8HoWD6RTR6Hc0uQdQl2VHtopytIYl5NiDAzpuskBs,414773
|
|
46
|
-
faster_eth_utils/curried/__init__.py,sha256=
|
|
46
|
+
faster_eth_utils/curried/__init__.py,sha256=x_nPjvTwmXeEl5jV86RRUvudu6ks1kMUxZfbjNuGx8Y,7407
|
|
47
47
|
faster_eth_utils/typing/__init__.py,sha256=84PxIxCvEHtBb-Ik6qnGvXH4alaWbamr_zDbtlbJh3A,325
|
|
48
48
|
faster_eth_utils/typing/misc.py,sha256=4N5raYXFAeRGpmch6qgHrtYNCDxCJM5XtAAsJ1FSzzU,190
|
|
49
|
-
faster_eth_utils-5.3.
|
|
50
|
-
faster_eth_utils-5.3.
|
|
51
|
-
faster_eth_utils-5.3.
|
|
52
|
-
faster_eth_utils-5.3.
|
|
53
|
-
faster_eth_utils-5.3.
|
|
49
|
+
faster_eth_utils-5.3.9.dist-info/METADATA,sha256=7TPPCO8PBRlno3m0Yay89SjK5b2SQ9EjEOksQb74RQQ,7096
|
|
50
|
+
faster_eth_utils-5.3.9.dist-info/WHEEL,sha256=zXoM281zyz8wppofreMuq3eZjd9HP4BgZS1rfYnrpIs,113
|
|
51
|
+
faster_eth_utils-5.3.9.dist-info/top_level.txt,sha256=8eOy3WlvVLCcmwPnl2UMylYQNmrXz76p9L_TH-NYSSM,55
|
|
52
|
+
faster_eth_utils-5.3.9.dist-info/RECORD,,
|
|
53
|
+
faster_eth_utils-5.3.9.dist-info/licenses/LICENSE,sha256=STqznQ6A8OeJylPrTA7dlsMtH0isQQybRlnDZOKGVrM,1095
|
|
File without changes
|
|
File without changes
|
|
File without changes
|