mm-eth 0.2.3__py3-none-any.whl → 0.2.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/cli/cmd/balances_cmd.py +0 -2
- mm_eth/cli/cmd/send_contract_cmd.py +0 -4
- mm_eth/cli/cmd/transfer_erc20_cmd.py +0 -3
- mm_eth/cli/cmd/transfer_eth_cmd.py +0 -3
- {mm_eth-0.2.3.dist-info → mm_eth-0.2.4.dist-info}/METADATA +1 -1
- {mm_eth-0.2.3.dist-info → mm_eth-0.2.4.dist-info}/RECORD +8 -8
- {mm_eth-0.2.3.dist-info → mm_eth-0.2.4.dist-info}/WHEEL +0 -0
- {mm_eth-0.2.3.dist-info → mm_eth-0.2.4.dist-info}/entry_points.txt +0 -0
mm_eth/cli/cmd/balances_cmd.py
CHANGED
|
@@ -17,12 +17,10 @@ class Config(BaseConfig):
|
|
|
17
17
|
round_ndigits: int = 5
|
|
18
18
|
|
|
19
19
|
@field_validator("nodes", mode="before")
|
|
20
|
-
@classmethod
|
|
21
20
|
def nodes_validator(cls, v: str | list[str] | None) -> list[str]:
|
|
22
21
|
return validators.nodes_validator(v)
|
|
23
22
|
|
|
24
23
|
@field_validator("tokens", "addresses", mode="before")
|
|
25
|
-
@classmethod
|
|
26
24
|
def addresses_validator(cls, v: str | list[str] | None) -> list[str]:
|
|
27
25
|
return validators.addresses_validator(v)
|
|
28
26
|
|
|
@@ -35,22 +35,18 @@ class Config(BaseConfig):
|
|
|
35
35
|
log_info: str | None = None
|
|
36
36
|
|
|
37
37
|
@field_validator("log_debug", "log_info", mode="before")
|
|
38
|
-
@classmethod
|
|
39
38
|
def log_validator(cls, v: str | None) -> str | None:
|
|
40
39
|
return validators.log_validator(v)
|
|
41
40
|
|
|
42
41
|
@field_validator("nodes", "from_addresses", mode="before")
|
|
43
|
-
@classmethod
|
|
44
42
|
def list_validator(cls, v: str | list[str] | None) -> list[str]:
|
|
45
43
|
return validators.nodes_validator(v)
|
|
46
44
|
|
|
47
45
|
@field_validator("from_addresses", mode="before")
|
|
48
|
-
@classmethod
|
|
49
46
|
def from_addresses_validator(cls, v: str | list[str] | None) -> list[str]:
|
|
50
47
|
return str_to_list(v, remove_comments=True, lower=True)
|
|
51
48
|
|
|
52
49
|
@field_validator("private_keys", mode="before")
|
|
53
|
-
@classmethod
|
|
54
50
|
def private_keys_validator(cls, v: str | list[str] | None) -> dict[str, str]:
|
|
55
51
|
if v is None:
|
|
56
52
|
return {}
|
|
@@ -44,17 +44,14 @@ class Config(BaseConfig):
|
|
|
44
44
|
return [tx.from_address for tx in self.txs]
|
|
45
45
|
|
|
46
46
|
@field_validator("log_debug", "log_info", mode="before")
|
|
47
|
-
@classmethod
|
|
48
47
|
def log_validator(cls, v: str | None) -> str | None:
|
|
49
48
|
return validators.log_validator(v)
|
|
50
49
|
|
|
51
50
|
@field_validator("nodes", mode="before")
|
|
52
|
-
@classmethod
|
|
53
51
|
def nodes_validator(cls, v: str | list[str] | None) -> list[str]:
|
|
54
52
|
return validators.nodes_validator(v)
|
|
55
53
|
|
|
56
54
|
@field_validator("private_keys", mode="before")
|
|
57
|
-
@classmethod
|
|
58
55
|
def private_keys_validator(cls, v: str | list[str] | None) -> dict[str, str]:
|
|
59
56
|
if v is None:
|
|
60
57
|
return {}
|
|
@@ -43,17 +43,14 @@ class Config(BaseConfig):
|
|
|
43
43
|
return [tx.from_address for tx in self.txs]
|
|
44
44
|
|
|
45
45
|
@field_validator("log_debug", "log_info", mode="before")
|
|
46
|
-
@classmethod
|
|
47
46
|
def log_validator(cls, v: str | None) -> str | None:
|
|
48
47
|
return validators.log_validator(v)
|
|
49
48
|
|
|
50
49
|
@field_validator("nodes", mode="before")
|
|
51
|
-
@classmethod
|
|
52
50
|
def nodes_validator(cls, v: str | list[str] | None) -> list[str]:
|
|
53
51
|
return validators.nodes_validator(v)
|
|
54
52
|
|
|
55
53
|
@field_validator("private_keys", mode="before")
|
|
56
|
-
@classmethod
|
|
57
54
|
def private_keys_validator(cls, v: str | list[str] | None) -> dict[str, str]:
|
|
58
55
|
if v is None:
|
|
59
56
|
return {}
|
|
@@ -22,7 +22,7 @@ mm_eth/cli/rpc_helpers.py,sha256=tAJBUHwpH0jPvg0Hrm-cwpOrpp9GUb91e4ZdwixNUQg,472
|
|
|
22
22
|
mm_eth/cli/validators.py,sha256=CWOXorI2HGajhLvQ354d2cCl5S3JC7tKUxWmmVn6j4Y,2417
|
|
23
23
|
mm_eth/cli/cmd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
24
|
mm_eth/cli/cmd/balance_cmd.py,sha256=SjRSbGF8QFMBHncEyzPdVUi_rjOwNW2wxfbFsRBV2A0,2097
|
|
25
|
-
mm_eth/cli/cmd/balances_cmd.py,sha256=
|
|
25
|
+
mm_eth/cli/cmd/balances_cmd.py,sha256=3kxgHBmMDbzt0E7iaNaVaP_YaQArttlHaOfnB2usez8,4214
|
|
26
26
|
mm_eth/cli/cmd/call_contract_cmd.py,sha256=T6IHzxHuymJsEog2y7oMKNiHahip_W3FIk0adH4T0W4,1170
|
|
27
27
|
mm_eth/cli/cmd/config_example_cmd.py,sha256=hMfrFxjIP0xZllJRRxi99qhF8tzJI3lrp-XudFEWF1g,270
|
|
28
28
|
mm_eth/cli/cmd/deploy_cmd.py,sha256=nFJExEcKbm-6pE-r-XDY6pExOJywSSK7fN_gMZs9hc4,1173
|
|
@@ -31,17 +31,17 @@ mm_eth/cli/cmd/mnemonic_cmd.py,sha256=Mb0H0inSNCa93GEPxGYQi7BnPe11mnLjnspfe7h54I
|
|
|
31
31
|
mm_eth/cli/cmd/node_cmd.py,sha256=mUqixPGNHzuKCJvk1Fd5VaUGumpbR2AE7raGmXZscg4,1943
|
|
32
32
|
mm_eth/cli/cmd/private_key_cmd.py,sha256=Fv_2OLog1h32pIP7PJITwl_pHdy3BXvaDRcXZsxY1xo,241
|
|
33
33
|
mm_eth/cli/cmd/rpc_cmd.py,sha256=02q82YqgbPezfEBmV_QBCIeNReE7ktkPych8Xr9ann8,2186
|
|
34
|
-
mm_eth/cli/cmd/send_contract_cmd.py,sha256=
|
|
34
|
+
mm_eth/cli/cmd/send_contract_cmd.py,sha256=cGVP1hZOp64e5rN5uCsA2QkG5NIN9Car_2IZDWh4RvA,9023
|
|
35
35
|
mm_eth/cli/cmd/solc_cmd.py,sha256=tBpeMdPfGs2iQIMaIJAAhMh1a3KyXHwyninfXPVpsgs,677
|
|
36
36
|
mm_eth/cli/cmd/token_cmd.py,sha256=4y6ZQpLOJ33_iNuKpm9tZXh4RntWhmPUcizgaNNBzaw,1102
|
|
37
|
-
mm_eth/cli/cmd/transfer_erc20_cmd.py,sha256=
|
|
38
|
-
mm_eth/cli/cmd/transfer_eth_cmd.py,sha256=
|
|
37
|
+
mm_eth/cli/cmd/transfer_erc20_cmd.py,sha256=fNja8Krx5OLzEvZypt1d5CogrN9BsLHVG48DI1W0twM,10195
|
|
38
|
+
mm_eth/cli/cmd/transfer_eth_cmd.py,sha256=_LgSGaFD0GbzODA3OfIUXjKGFSNBHltNM0fcgDbnEN8,9369
|
|
39
39
|
mm_eth/cli/cmd/vault_cmd.py,sha256=rRTclz0U6N_87KFsssdvZhi3_f6tmkHiYxMsIoVeBGc,532
|
|
40
40
|
mm_eth/cli/config_examples/balances.yml,sha256=fpXJfoOSqOrkoWpqO7-HrTTb5OBs9PM-PpZ1ulqWUnY,399
|
|
41
41
|
mm_eth/cli/config_examples/call_contract.yml,sha256=E0XuWuBnbhyTYfxNqaoxH6Cy7UCYqMLDwoEu_4OSV3M,233
|
|
42
42
|
mm_eth/cli/config_examples/transfer_erc20.yml,sha256=mCUpUfqzZjTvst8kqd3EGzJY0S7cr48ySqS6yZhzLdI,1324
|
|
43
43
|
mm_eth/cli/config_examples/transfer_eth.yml,sha256=i4hh3-LTcpl7JsrSuuM6gDi23B5ZnCeEnaYazQO3bzQ,1181
|
|
44
|
-
mm_eth-0.2.
|
|
45
|
-
mm_eth-0.2.
|
|
46
|
-
mm_eth-0.2.
|
|
47
|
-
mm_eth-0.2.
|
|
44
|
+
mm_eth-0.2.4.dist-info/METADATA,sha256=XnqJ7NqhVE7Ck7We-qN96VS8DCLPjMfxlSR3MpvGZMs,228
|
|
45
|
+
mm_eth-0.2.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
46
|
+
mm_eth-0.2.4.dist-info/entry_points.txt,sha256=aGhpsozl8NIrkuUcX5fSgURCcDhr3ShUdeTSIrJq4oc,46
|
|
47
|
+
mm_eth-0.2.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|