mm-eth 0.1.3__py3-none-any.whl → 0.1.4__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/account.py CHANGED
@@ -3,6 +3,7 @@ from dataclasses import dataclass
3
3
  import eth_utils
4
4
  from eth_account import Account
5
5
  from eth_account.hdaccount import Mnemonic
6
+ from eth_account.types import Language
6
7
  from eth_keys import KeyAPI
7
8
  from eth_typing import ChecksumAddress
8
9
  from eth_utils import decode_hex
@@ -24,7 +25,7 @@ def to_checksum_address(address: str) -> ChecksumAddress:
24
25
 
25
26
 
26
27
  def generate_mnemonic(num_words: int = 24) -> str:
27
- mnemonic = Mnemonic("english")
28
+ mnemonic = Mnemonic(Language.ENGLISH)
28
29
  return mnemonic.generate(num_words=num_words)
29
30
 
30
31
 
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: mm-eth
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Requires-Python: >=3.12
5
5
  Requires-Dist: loguru~=0.7.2
6
- Requires-Dist: mm-std~=0.1.3
7
- Requires-Dist: typer~=0.12.5
8
- Requires-Dist: web3~=7.3.0
6
+ Requires-Dist: mm-std~=0.1.6
7
+ Requires-Dist: typer>=0.13.0
8
+ Requires-Dist: web3~=7.5.0
9
9
  Requires-Dist: websocket-client~=1.8.0
@@ -1,6 +1,6 @@
1
1
  mm_eth/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  mm_eth/abi.py,sha256=_xw2c7Eht3-g-fA6yvakHMcehzsRRK_LqTO7Q8Ppkj4,4794
3
- mm_eth/account.py,sha256=McY_ceSLMs6lvB2RfDmBfH0dleuVnFh2jopszGkI4HQ,1976
3
+ mm_eth/account.py,sha256=6iiCZ70ojptiaDI1UMaUdJT-SghuOexLeH0YJhCWQ8g,2022
4
4
  mm_eth/anvil.py,sha256=9CWXWyK7tVrvs6NeOy7QnVwMTrUke-nBMFwZeJ4VULA,1582
5
5
  mm_eth/deploy.py,sha256=SB3ruY808_5UnG8kHR34uVP66P3zOWZu0ImKD7UUv2s,691
6
6
  mm_eth/ens.py,sha256=WMxqC1v3zwDDuLH_oWekm22qrNYxCNcvZumQMT7SYds,623
@@ -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.3.dist-info/METADATA,sha256=8RNO36nSl-kmghoYRLQqSRBGVIPBABxccC9vl_Mkueo,227
47
- mm_eth-0.1.3.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
48
- mm_eth-0.1.3.dist-info/entry_points.txt,sha256=aGhpsozl8NIrkuUcX5fSgURCcDhr3ShUdeTSIrJq4oc,46
49
- mm_eth-0.1.3.dist-info/RECORD,,
46
+ mm_eth-0.1.4.dist-info/METADATA,sha256=phJaJyVkgk9KScaXp23rFhZUX3-f3gV9_EYb4va92Ps,227
47
+ mm_eth-0.1.4.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
48
+ mm_eth-0.1.4.dist-info/entry_points.txt,sha256=aGhpsozl8NIrkuUcX5fSgURCcDhr3ShUdeTSIrJq4oc,46
49
+ mm_eth-0.1.4.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.25.0
2
+ Generator: hatchling 1.26.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any