mm-eth 0.1.4__py3-none-any.whl → 0.1.5__py3-none-any.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.
- mm_eth/cli/cli_utils.py +3 -5
- mm_eth/types.py +2 -3
- {mm_eth-0.1.4.dist-info → mm_eth-0.1.5.dist-info}/METADATA +4 -4
- {mm_eth-0.1.4.dist-info → mm_eth-0.1.5.dist-info}/RECORD +6 -6
- {mm_eth-0.1.4.dist-info → mm_eth-0.1.5.dist-info}/WHEEL +0 -0
- {mm_eth-0.1.4.dist-info → mm_eth-0.1.5.dist-info}/entry_points.txt +0 -0
mm_eth/cli/cli_utils.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import sys
|
|
2
2
|
import time
|
|
3
3
|
from pathlib import Path
|
|
4
|
-
from typing import TypeVar
|
|
5
4
|
|
|
6
5
|
import eth_utils
|
|
7
6
|
import yaml
|
|
@@ -15,6 +14,8 @@ from mm_eth import account, rpc
|
|
|
15
14
|
from mm_eth.account import is_private_key
|
|
16
15
|
from mm_eth.cli import calcs
|
|
17
16
|
|
|
17
|
+
# from typing import TypeVar
|
|
18
|
+
|
|
18
19
|
|
|
19
20
|
class BaseConfig(BaseModel):
|
|
20
21
|
model_config = ConfigDict(extra="forbid")
|
|
@@ -44,10 +45,7 @@ def delay(value: str | None) -> None:
|
|
|
44
45
|
time.sleep(float(calcs.calc_decimal_value(value)))
|
|
45
46
|
|
|
46
47
|
|
|
47
|
-
T
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
def read_config(config_cls: type[T], config_path: str) -> T:
|
|
48
|
+
def read_config[T](config_cls: type[T], config_path: str) -> T:
|
|
51
49
|
try:
|
|
52
50
|
with open(config_path) as f:
|
|
53
51
|
config = config_cls(**yaml.full_load(f))
|
mm_eth/types.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: mm-eth
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5
|
|
4
4
|
Requires-Python: >=3.12
|
|
5
5
|
Requires-Dist: loguru~=0.7.2
|
|
6
|
-
Requires-Dist: mm-std~=0.1.
|
|
7
|
-
Requires-Dist: typer>=0.
|
|
8
|
-
Requires-Dist: web3~=7.
|
|
6
|
+
Requires-Dist: mm-std~=0.1.8
|
|
7
|
+
Requires-Dist: typer>=0.14.0
|
|
8
|
+
Requires-Dist: web3~=7.6.0
|
|
9
9
|
Requires-Dist: websocket-client~=1.8.0
|
|
@@ -10,7 +10,7 @@ mm_eth/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
10
10
|
mm_eth/rpc.py,sha256=kQnYllp5ZHGuIUUX2Vw-ejLwL3zXQgka3ukwDndv4AM,13881
|
|
11
11
|
mm_eth/solc.py,sha256=JcBCel-LO-lBvz3_1f7s3pVhECsUittavBvXqxYIP2c,1066
|
|
12
12
|
mm_eth/tx.py,sha256=qSkaPgow3QEZR0vbnQouw8X4G-Hw9RedPrDB10aZhU0,4046
|
|
13
|
-
mm_eth/types.py,sha256=
|
|
13
|
+
mm_eth/types.py,sha256=vXXP5Dc72BpHv5tsyws0KDZebG1W1-5HH0UjL7N2Mgc,113
|
|
14
14
|
mm_eth/utils.py,sha256=kjCIsXtRTG0dL6A1bCCuWctqd0Qh8K8N-ZocQRppYj0,7861
|
|
15
15
|
mm_eth/vault.py,sha256=1ahABcgyYAMUlE4ELMGdlG_uV4irmwzrfzUZTpo3rdY,1500
|
|
16
16
|
mm_eth/zksync.py,sha256=u9vnB85LXcZmtsgqsGd7NIDTwZf_U39LQfvVdC4C5I0,5997
|
|
@@ -19,7 +19,7 @@ mm_eth/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
19
19
|
mm_eth/cli/calcs.py,sha256=nHfn_Q9T_E8_hP7ExMyWlUGvAMzxQs6KgzdNg1CUnvU,3651
|
|
20
20
|
mm_eth/cli/cli.py,sha256=lXLf_-oHT0JykSU_CHjVuq0f1EXPCfCq-OK_S6dgtiM,8992
|
|
21
21
|
mm_eth/cli/cli_helpers.py,sha256=0NapwmrRVQ1PWDP6iqwaX1fnzrIdD_TwvcZXIcq5QzM,6572
|
|
22
|
-
mm_eth/cli/cli_utils.py,sha256=
|
|
22
|
+
mm_eth/cli/cli_utils.py,sha256=XkumbSpjSXPJ5tI4OUaMJzwDg_rGVtenAZKokVLx30c,5028
|
|
23
23
|
mm_eth/cli/validators.py,sha256=bE4G-OL6W6S30P4FK5pVn_LiY2G2w8aeA3R1kQaX0gY,2379
|
|
24
24
|
mm_eth/cli/cmd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
25
|
mm_eth/cli/cmd/balance_cmd.py,sha256=kDV_KAPrUY_fsGiVLcGGHspuU2zqpqsVnTe2btjtCxs,2254
|
|
@@ -43,7 +43,7 @@ mm_eth/cli/config_examples/call_contract.yml,sha256=E0XuWuBnbhyTYfxNqaoxH6Cy7UCY
|
|
|
43
43
|
mm_eth/cli/config_examples/transfer_erc20.yml,sha256=mCUpUfqzZjTvst8kqd3EGzJY0S7cr48ySqS6yZhzLdI,1324
|
|
44
44
|
mm_eth/cli/config_examples/transfer_eth.yml,sha256=i4hh3-LTcpl7JsrSuuM6gDi23B5ZnCeEnaYazQO3bzQ,1181
|
|
45
45
|
mm_eth/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
|
-
mm_eth-0.1.
|
|
47
|
-
mm_eth-0.1.
|
|
48
|
-
mm_eth-0.1.
|
|
49
|
-
mm_eth-0.1.
|
|
46
|
+
mm_eth-0.1.5.dist-info/METADATA,sha256=ateqX6m6v3snHN5L8v5mEeN0PgQmws07domULkDV5sw,227
|
|
47
|
+
mm_eth-0.1.5.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
48
|
+
mm_eth-0.1.5.dist-info/entry_points.txt,sha256=aGhpsozl8NIrkuUcX5fSgURCcDhr3ShUdeTSIrJq4oc,46
|
|
49
|
+
mm_eth-0.1.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|