mm-eth 0.3.0__py3-none-any.whl → 0.3.1__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.
@@ -32,8 +32,8 @@ class Config(BaseConfig):
32
32
  gas: Annotated[str, AfterValidator(Validators.valid_eth_expression("estimate"))]
33
33
  delay: Annotated[str | None, AfterValidator(Validators.valid_calc_decimal_value())] = None # in seconds
34
34
  round_ndigits: int = 5
35
- log_debug: Annotated[Path | None, BeforeValidator(Validators.log_file())] = None
36
- log_info: Annotated[Path | None, BeforeValidator(Validators.log_file())] = None
35
+ log_debug: Annotated[Path | None, AfterValidator(Validators.log_file())] = None
36
+ log_info: Annotated[Path | None, AfterValidator(Validators.log_file())] = None
37
37
 
38
38
  @property
39
39
  def from_addresses(self) -> list[str]:
mm_eth/cli/validators.py CHANGED
@@ -18,11 +18,11 @@ class Validators(ConfigValidators):
18
18
  return ConfigValidators.valid_calc_int_expression(var_name, {"t": 6})
19
19
 
20
20
  @staticmethod
21
- def eth_routes() -> Callable[[str | None], list[TxRoute]]:
21
+ def eth_routes() -> Callable[[str], list[TxRoute]]:
22
22
  return ConfigValidators.routes(is_address, to_lower=True)
23
23
 
24
24
  @staticmethod
25
- def eth_private_keys() -> Callable[[str | list[str] | None], AddressToPrivate]:
25
+ def eth_private_keys() -> Callable[[str], AddressToPrivate]:
26
26
  return ConfigValidators.private_keys(address_from_private)
27
27
 
28
28
  @staticmethod
@@ -30,7 +30,7 @@ class Validators(ConfigValidators):
30
30
  return ConfigValidators.address(is_address, to_lower=True)
31
31
 
32
32
  @staticmethod
33
- def eth_addresses(unique: bool) -> Callable[[str | list[str] | None], list[str]]:
33
+ def eth_addresses(unique: bool) -> Callable[[str], list[str]]:
34
34
  return ConfigValidators.addresses(unique, to_lower=True, is_address=is_address)
35
35
 
36
36
 
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mm-eth
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Requires-Python: >=3.12
5
- Requires-Dist: mm-crypto-utils>=0.1.2
5
+ Requires-Dist: mm-crypto-utils>=0.1.4
6
6
  Requires-Dist: typer>=0.15.1
7
7
  Requires-Dist: web3~=7.7.0
8
8
  Requires-Dist: websocket-client~=1.8.0
@@ -20,7 +20,7 @@ mm_eth/cli/cli.py,sha256=1c16hY4SIL2NqCnY5SUBPCSIk3AoBn-kPLs9oZsgB1g,10112
20
20
  mm_eth/cli/cli_utils.py,sha256=j09pcGYJ6MfPV-DOjICTB4G8hE2vqb5od19_T2HbGbk,858
21
21
  mm_eth/cli/print_helpers.py,sha256=yOiOFjTKloumwf07AqNIHQswUo8t0yuT9bpeGBGl60Q,1470
22
22
  mm_eth/cli/rpc_helpers.py,sha256=FMV-QVNM3v9X8H_-DP0hjNRqmm7KOnfzkw9bP17Qbz0,4499
23
- mm_eth/cli/validators.py,sha256=UV7d53cZZ4vRuRWNfBbw7RpQl8pADyhG2WV7KgmYMCg,1520
23
+ mm_eth/cli/validators.py,sha256=77OFPsl6TGdcy-TKElDa5vumBhaVlgSUiAtkJ2C4RaU,1475
24
24
  mm_eth/cli/cmd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
25
  mm_eth/cli/cmd/balance_cmd.py,sha256=gkwUa8VGe1wXH0GDsit3-1NmRiijojaNLygi5zNcYSY,2110
26
26
  mm_eth/cli/cmd/balances_cmd.py,sha256=X3dzzVlphu9L4YPvm--Iev48zqOHlqtckxV8g1tNbwM,4206
@@ -36,14 +36,14 @@ mm_eth/cli/cmd/send_contract_cmd.py,sha256=h4Ue2gU0SqMoqQk9L8gSOJyzGUgzNLk2fXkEw
36
36
  mm_eth/cli/cmd/solc_cmd.py,sha256=tBpeMdPfGs2iQIMaIJAAhMh1a3KyXHwyninfXPVpsgs,677
37
37
  mm_eth/cli/cmd/token_cmd.py,sha256=4y6ZQpLOJ33_iNuKpm9tZXh4RntWhmPUcizgaNNBzaw,1102
38
38
  mm_eth/cli/cmd/transfer_erc20_cmd.py,sha256=F9lUE4X_i4-yo4pdhHA3CWi1joHvtbUxyFUT4ibc574,7870
39
- mm_eth/cli/cmd/transfer_eth_cmd.py,sha256=WeGX6kHc0x9kTTYuchp80DNWhq-i8vMCuR5JRq8kbVQ,6982
39
+ mm_eth/cli/cmd/transfer_eth_cmd.py,sha256=egYx3yG29CCzKeZRzY5QmqSHQrypdHMKJ32rHdQpsyg,6980
40
40
  mm_eth/cli/cmd/tx_cmd.py,sha256=PIenXYTT60Z2fqsivpzybCLI2Z_tlcz-asm3B0JLHgI,517
41
41
  mm_eth/cli/cmd/vault_cmd.py,sha256=MOM1CILIaaqown1I-Fgo22ckqIMLtFt8t2D3fWNp798,606
42
42
  mm_eth/cli/config_examples/balances.toml,sha256=Wb3y_-Rh5kqjEDX-jvRZhzwq_rVGv4zLKy7PGe1jysY,418
43
43
  mm_eth/cli/config_examples/call_contract.toml,sha256=vq6VtOlRYGWfLRpPXNkNcdQpndW8bJJRDBbrTr5rSt8,244
44
44
  mm_eth/cli/config_examples/transfer_erc20.toml,sha256=3bnLZbl49HlG0BFa4JLp0HQswNbr72BNBTa-niWsRGA,1135
45
45
  mm_eth/cli/config_examples/transfer_eth.toml,sha256=-eQEU9tK_4To_PDG39vvIZNkZhgh0_EZQJVjbUHJlyg,1164
46
- mm_eth-0.3.0.dist-info/METADATA,sha256=8-_f0wEkpdt0pA8P7kYg2Es1bCjykJUxzaGn553IXEY,207
47
- mm_eth-0.3.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
48
- mm_eth-0.3.0.dist-info/entry_points.txt,sha256=aGhpsozl8NIrkuUcX5fSgURCcDhr3ShUdeTSIrJq4oc,46
49
- mm_eth-0.3.0.dist-info/RECORD,,
46
+ mm_eth-0.3.1.dist-info/METADATA,sha256=-sztCRTmBAWQ5dtkrzD167ZAwgM1WvZZr_Z2XBaKNqU,207
47
+ mm_eth-0.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
48
+ mm_eth-0.3.1.dist-info/entry_points.txt,sha256=aGhpsozl8NIrkuUcX5fSgURCcDhr3ShUdeTSIrJq4oc,46
49
+ mm_eth-0.3.1.dist-info/RECORD,,
File without changes