web3-wizzard-lib 1.0.1__py3-none-any.whl → 1.0.3__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.
@@ -22,6 +22,9 @@ class LineaAppeal(Module):
22
22
  with open("resources/linea_appeal.txt") as f:
23
23
  linea_appeal_reason = f.read()
24
24
 
25
+ with open("resources/ai_style_randomized.txt") as f:
26
+ lines = f.readlines()
27
+
25
28
  def execute(self, token, accounts, statistic_write, ai_type, account):
26
29
  add_accumulator("Acc Num", 1)
27
30
 
@@ -50,7 +53,11 @@ class LineaAppeal(Module):
50
53
 
51
54
  if (get_by_key(APPEAL_ACCOUNTS_AMOUNT) == len(get_by_key(APPEAL_ACCOUNTS))
52
55
  or get_value("Acc Num") == get_value("Acc Amount")):
53
- reason = chat_gpt.ask(self.linea_appeal_reason)
56
+ ai_style_randomized = random.choice(self.lines)
57
+
58
+ reason = chat_gpt.ask(
59
+ self.linea_appeal_reason.replace("{random_style}", ai_style_randomized)
60
+ )
54
61
  logger.info(reason)
55
62
 
56
63
  statistics.write_row(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: web3_wizzard_lib
3
- Version: 1.0.1
3
+ Version: 1.0.3
4
4
  Summary: Engine for web3 smart contracts automatization.
5
5
  Home-page: https://github.com/Indeoo/web3-wizzard-lib/
6
6
  Author: Indeoo
@@ -105,7 +105,7 @@ web3_wizzard_lib/core/modules/erc20_balance.py,sha256=4mxd6QpOgnHHqUB0u6ya1Kh_xw
105
105
  web3_wizzard_lib/core/modules/intract_claim.py,sha256=jfXuLYCpgYsEZsf3FHxvDbfqcX1gI-ZC8QUiIIa71ZA,3753
106
106
  web3_wizzard_lib/core/modules/layer_2_20.py,sha256=1MvidKQBS5GhBzH6yAmjTf1VHnM96_Wb0sGF24TTXJo,2475
107
107
  web3_wizzard_lib/core/modules/lending_module.py,sha256=Sy0P-Ojt3e1JVMUCqpG06-DsiuTCvvHilgSj_QJPCwg,5517
108
- web3_wizzard_lib/core/modules/linea_appeal.py,sha256=iXDNS8hnRqr2xzyz-kYAmGkRuBIyRDl5x-zDKHLNBI8,3100
108
+ web3_wizzard_lib/core/modules/linea_appeal.py,sha256=61I4FGiHvxV046Cuh7mYtnsPZFg2YHGvkmqRjARW5g8,3326
109
109
  web3_wizzard_lib/core/modules/linea_poh_lxp.py,sha256=keipTIhT3SrOESNJdIJesHBOOM-NKVzMGqKEACEKIvQ,2320
110
110
  web3_wizzard_lib/core/modules/liquidity_pool.py,sha256=vu0vBoXomvAJFa10n9woo66v62hQbEO726M4lkiLWNE,2181
111
111
  web3_wizzard_lib/core/modules/merkly_refuel.py,sha256=whQD6CplGt-hQxFN7lg40F6SmFU5niOO529lKMj0dyA,3488
@@ -354,8 +354,8 @@ web3_wizzard_lib/resources/main/contracts.json,sha256=k6p36RmuVnj6ebcDzpIE-VUHM8
354
354
  web3_wizzard_lib/resources/main/networks.json,sha256=dmZLOsSaj2_CJwLqS4Deb4FgQrxPWpIQKGml6cXfKzI,6465
355
355
  web3_wizzard_lib/resources/main/pairs.json,sha256=uvIFvY46Ctiw8hjGd9e-1WE0qLf_duo3MuZncRMLqGg,8262
356
356
  web3_wizzard_lib/resources/main/tokens.json,sha256=AoZz_I6AVoZuecNdyX5L-SnGm6TREuPrsYd2i9PJr7U,5707
357
- web3_wizzard_lib-1.0.1.data/data/requirements.txt,sha256=5oZVZuID8L00sR9kJZYJg-TYMRN1WY93ktdNIhPIzX8,20
358
- web3_wizzard_lib-1.0.1.dist-info/METADATA,sha256=nlTe6_htAtk_iIjPLwYBD9rnpyTm1lxQRpEnzIHKx1o,428
359
- web3_wizzard_lib-1.0.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
360
- web3_wizzard_lib-1.0.1.dist-info/top_level.txt,sha256=8dD8S5HQo4dKtxogttWY_sh4n3yCVy0MwiTelYp6kug,28
361
- web3_wizzard_lib-1.0.1.dist-info/RECORD,,
357
+ web3_wizzard_lib-1.0.3.data/data/requirements.txt,sha256=5oZVZuID8L00sR9kJZYJg-TYMRN1WY93ktdNIhPIzX8,20
358
+ web3_wizzard_lib-1.0.3.dist-info/METADATA,sha256=IZXbUaImLFSoIQu3KrzNMH9qZP6gSoqgiR8Wxt4wIpE,428
359
+ web3_wizzard_lib-1.0.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
360
+ web3_wizzard_lib-1.0.3.dist-info/top_level.txt,sha256=8dD8S5HQo4dKtxogttWY_sh4n3yCVy0MwiTelYp6kug,28
361
+ web3_wizzard_lib-1.0.3.dist-info/RECORD,,