mm-eth 0.1.4__tar.gz → 0.2.0__tar.gz

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.
Files changed (72) hide show
  1. mm_eth-0.2.0/PKG-INFO +7 -0
  2. {mm_eth-0.1.4 → mm_eth-0.2.0}/pyproject.toml +10 -16
  3. mm_eth-0.2.0/src/mm_eth/types.py +4 -0
  4. {mm_eth-0.1.4 → mm_eth-0.2.0}/uv.lock +145 -202
  5. mm_eth-0.1.4/PKG-INFO +0 -9
  6. mm_eth-0.1.4/src/mm_eth/abi/zksync.json +0 -2092
  7. mm_eth-0.1.4/src/mm_eth/cli/calcs.py +0 -88
  8. mm_eth-0.1.4/src/mm_eth/cli/cli.py +0 -237
  9. mm_eth-0.1.4/src/mm_eth/cli/cli_helpers.py +0 -195
  10. mm_eth-0.1.4/src/mm_eth/cli/cli_utils.py +0 -150
  11. mm_eth-0.1.4/src/mm_eth/cli/cmd/__init__.py +0 -0
  12. mm_eth-0.1.4/src/mm_eth/cli/cmd/balance_cmd.py +0 -59
  13. mm_eth-0.1.4/src/mm_eth/cli/cmd/balances_cmd.py +0 -121
  14. mm_eth-0.1.4/src/mm_eth/cli/cmd/call_contract_cmd.py +0 -44
  15. mm_eth-0.1.4/src/mm_eth/cli/cmd/config_example_cmd.py +0 -9
  16. mm_eth-0.1.4/src/mm_eth/cli/cmd/deploy_cmd.py +0 -41
  17. mm_eth-0.1.4/src/mm_eth/cli/cmd/encode_input_data_cmd.py +0 -10
  18. mm_eth-0.1.4/src/mm_eth/cli/cmd/mnemonic_cmd.py +0 -27
  19. mm_eth-0.1.4/src/mm_eth/cli/cmd/node_cmd.py +0 -47
  20. mm_eth-0.1.4/src/mm_eth/cli/cmd/private_key_cmd.py +0 -10
  21. mm_eth-0.1.4/src/mm_eth/cli/cmd/rpc_cmd.py +0 -81
  22. mm_eth-0.1.4/src/mm_eth/cli/cmd/send_contract_cmd.py +0 -247
  23. mm_eth-0.1.4/src/mm_eth/cli/cmd/solc_cmd.py +0 -25
  24. mm_eth-0.1.4/src/mm_eth/cli/cmd/token_cmd.py +0 -29
  25. mm_eth-0.1.4/src/mm_eth/cli/cmd/transfer_erc20_cmd.py +0 -275
  26. mm_eth-0.1.4/src/mm_eth/cli/cmd/transfer_eth_cmd.py +0 -252
  27. mm_eth-0.1.4/src/mm_eth/cli/cmd/vault_cmd.py +0 -16
  28. mm_eth-0.1.4/src/mm_eth/cli/config_examples/balances.yml +0 -15
  29. mm_eth-0.1.4/src/mm_eth/cli/config_examples/call_contract.yml +0 -5
  30. mm_eth-0.1.4/src/mm_eth/cli/config_examples/transfer_erc20.yml +0 -26
  31. mm_eth-0.1.4/src/mm_eth/cli/config_examples/transfer_eth.yml +0 -24
  32. mm_eth-0.1.4/src/mm_eth/cli/validators.py +0 -84
  33. mm_eth-0.1.4/src/mm_eth/services/__init__.py +0 -0
  34. mm_eth-0.1.4/src/mm_eth/types.py +0 -5
  35. mm_eth-0.1.4/src/mm_eth/zksync.py +0 -203
  36. mm_eth-0.1.4/tests/__init__.py +0 -0
  37. mm_eth-0.1.4/tests/cli/__init__.py +0 -0
  38. mm_eth-0.1.4/tests/cli/cmd/__init__.py +0 -0
  39. mm_eth-0.1.4/tests/cli/cmd/test_balance_cmd.py +0 -11
  40. mm_eth-0.1.4/tests/cli/cmd/test_mnemonic_cmd.py +0 -10
  41. mm_eth-0.1.4/tests/cli/cmd/test_node_cmd.py +0 -10
  42. mm_eth-0.1.4/tests/cli/cmd/test_private_key_cmd.py +0 -8
  43. mm_eth-0.1.4/tests/cli/cmd/test_solc_cmd.py +0 -10
  44. mm_eth-0.1.4/tests/cli/test_calcs.py +0 -33
  45. mm_eth-0.1.4/tests/contracts/ERC20.sol +0 -207
  46. mm_eth-0.1.4/tests/contracts/abi/ERC20.json +0 -72
  47. mm_eth-0.1.4/tests/test_zksync.py +0 -7
  48. {mm_eth-0.1.4 → mm_eth-0.2.0}/.gitignore +0 -0
  49. {mm_eth-0.1.4 → mm_eth-0.2.0}/README.txt +0 -0
  50. {mm_eth-0.1.4 → mm_eth-0.2.0}/justfile +0 -0
  51. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/__init__.py +0 -0
  52. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/abi.py +0 -0
  53. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/account.py +0 -0
  54. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/anvil.py +0 -0
  55. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/deploy.py +0 -0
  56. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/ens.py +0 -0
  57. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/erc20.py +0 -0
  58. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/ethernodes.py +0 -0
  59. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/py.typed +0 -0
  60. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/rpc.py +0 -0
  61. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/solc.py +0 -0
  62. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/tx.py +0 -0
  63. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/utils.py +0 -0
  64. {mm_eth-0.1.4 → mm_eth-0.2.0}/src/mm_eth/vault.py +0 -0
  65. {mm_eth-0.1.4/src/mm_eth/cli → mm_eth-0.2.0/tests}/__init__.py +0 -0
  66. {mm_eth-0.1.4 → mm_eth-0.2.0}/tests/conftest.py +0 -0
  67. {mm_eth-0.1.4 → mm_eth-0.2.0}/tests/test_abi.py +0 -0
  68. {mm_eth-0.1.4 → mm_eth-0.2.0}/tests/test_account.py +0 -0
  69. {mm_eth-0.1.4 → mm_eth-0.2.0}/tests/test_ethernodes.py +0 -0
  70. {mm_eth-0.1.4 → mm_eth-0.2.0}/tests/test_rpc.py +0 -0
  71. {mm_eth-0.1.4 → mm_eth-0.2.0}/tests/test_tx.py +0 -0
  72. {mm_eth-0.1.4 → mm_eth-0.2.0}/tests/test_utils.py +0 -0
mm_eth-0.2.0/PKG-INFO ADDED
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.4
2
+ Name: mm-eth
3
+ Version: 0.2.0
4
+ Requires-Python: >=3.12
5
+ Requires-Dist: mm-std~=0.1.9
6
+ Requires-Dist: web3~=7.6.1
7
+ Requires-Dist: websocket-client~=1.8.0
@@ -1,36 +1,31 @@
1
1
  [project]
2
2
  name = "mm-eth"
3
- version = "0.1.4"
3
+ version = "0.2.0"
4
4
  description = ""
5
5
  requires-python = ">=3.12"
6
6
  dependencies = [
7
- "mm-std~=0.1.6",
7
+ "mm-std~=0.1.9",
8
8
  "websocket-client~=1.8.0",
9
- "web3~=7.5.0",
10
- "loguru~=0.7.2",
11
- "typer>=0.13.0",
9
+ "web3~=7.6.1",
12
10
 
13
11
  ]
14
- [project.scripts]
15
- mm-eth = "mm_eth.cli.cli:app"
16
-
17
12
  [build-system]
18
13
  requires = ["hatchling"]
19
14
  build-backend = "hatchling.build"
20
15
 
21
16
  [tool.uv]
22
17
  dev-dependencies = [
23
- "pytest~=8.3.3",
18
+ "pytest~=8.3.4",
24
19
  "pytest-xdist~=3.6.1",
25
- "ruff~=0.7.4",
20
+ "ruff~=0.8.4",
26
21
  "pip-audit~=2.7.3",
27
- "bandit~=1.7.10",
28
- "mypy~=1.13.0",
29
- "types-PyYAML~=6.0.12.20240917",
22
+ "bandit~=1.8.0",
23
+ "mypy~=1.14.0",
24
+ "types-PyYAML~=6.0.12.20241221",
30
25
  ]
31
26
 
32
27
  [tool.mypy]
33
- python_version = "3.12"
28
+ python_version = "3.13"
34
29
  mypy_path = "stubs"
35
30
  warn_no_return = false
36
31
  implicit_reexport = true
@@ -43,7 +38,7 @@ ignore_missing_imports = true
43
38
 
44
39
  [tool.ruff]
45
40
  line-length = 130
46
- target-version = "py312"
41
+ target-version = "py313"
47
42
  lint.select = [
48
43
  "F", # Pyflakes
49
44
  "E", "W", # pycodestyle
@@ -60,7 +55,6 @@ lint.select = [
60
55
  lint.ignore = [
61
56
  "A003", # builtin-attribute-shadowing
62
57
  "B008", # function-call-argument-default
63
- "UP040", # non-pep695-type-alias
64
58
  "COM812"
65
59
  ]
66
60
 
@@ -0,0 +1,4 @@
1
+ from collections.abc import Sequence
2
+
3
+ type Proxies = str | Sequence[str] | None
4
+ type Nodes = str | Sequence[str]