web3-wizzard-lib 0.1.3__py3-none-any.whl → 0.2.0__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.
- web3_wizzard_lib/core/modules/linea_appeal.py +9 -10
- {web3_wizzard_lib-0.1.3.dist-info → web3_wizzard_lib-0.2.0.dist-info}/METADATA +1 -1
- {web3_wizzard_lib-0.1.3.dist-info → web3_wizzard_lib-0.2.0.dist-info}/RECORD +6 -6
- {web3_wizzard_lib-0.1.3.data → web3_wizzard_lib-0.2.0.data}/data/requirements.txt +0 -0
- {web3_wizzard_lib-0.1.3.dist-info → web3_wizzard_lib-0.2.0.dist-info}/WHEEL +0 -0
- {web3_wizzard_lib-0.1.3.dist-info → web3_wizzard_lib-0.2.0.dist-info}/top_level.txt +0 -0
@@ -32,13 +32,6 @@ class LineaAppeal(Module):
|
|
32
32
|
)
|
33
33
|
|
34
34
|
chat_gpt = get_ai_chat(ai_type, token)
|
35
|
-
reason = chat_gpt.ask(self.linea_appeal_reason)
|
36
|
-
logger.info(reason)
|
37
|
-
|
38
|
-
statistics.write_row(
|
39
|
-
statistic_date_string,
|
40
|
-
[account.app_id, account.address, reason]
|
41
|
-
)
|
42
35
|
|
43
36
|
if get_by_key(APPEAL_ACCOUNTS_AMOUNT) is None:
|
44
37
|
add_value(
|
@@ -49,7 +42,6 @@ class LineaAppeal(Module):
|
|
49
42
|
accumulate_by_key(
|
50
43
|
APPEAL_ACCOUNTS, {
|
51
44
|
"address": account.address,
|
52
|
-
"reason": reason,
|
53
45
|
}
|
54
46
|
)
|
55
47
|
|
@@ -58,11 +50,18 @@ class LineaAppeal(Module):
|
|
58
50
|
|
59
51
|
if (get_by_key(APPEAL_ACCOUNTS_AMOUNT) == len(get_by_key(APPEAL_ACCOUNTS))
|
60
52
|
or get_value("Acc Num") == get_value("Acc Amount")):
|
53
|
+
reason = chat_gpt.ask(self.linea_appeal_reason)
|
54
|
+
logger.info(reason)
|
55
|
+
|
56
|
+
statistics.write_row(
|
57
|
+
statistic_date_string,
|
58
|
+
[account.app_id, account.address, reason]
|
59
|
+
)
|
60
|
+
|
61
61
|
wallets = get_by_key(APPEAL_ACCOUNTS)
|
62
62
|
address_list = [wallet["address"] for wallet in wallets]
|
63
63
|
address_list.remove(account.address)
|
64
|
-
|
65
|
-
self.open_appeal_form(account, "\n".join(address_list), formatted_string)
|
64
|
+
self.open_appeal_form(account, "\n".join(address_list), reason)
|
66
65
|
remove_key(APPEAL_ACCOUNTS)
|
67
66
|
remove_key(APPEAL_ACCOUNTS_AMOUNT)
|
68
67
|
|
@@ -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=TyWtlZ6Rlx8ukG2elc4Lcr_ImF1K2RL2lz_EkhNfJBc,3744
|
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=
|
108
|
+
web3_wizzard_lib/core/modules/linea_appeal.py,sha256=iXDNS8hnRqr2xzyz-kYAmGkRuBIyRDl5x-zDKHLNBI8,3100
|
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
|
@@ -256,8 +256,8 @@ web3_wizzard_lib/core/utils/ai_utils.py,sha256=v1aVEAQz9IoI1B9qdfeDUohoMrHr8EBFK
|
|
256
256
|
web3_wizzard_lib/core/utils/benchmark_utils.py,sha256=3YBPXseWJb_BpBJtWWU6Dc5kydyhX4YWSvEWj4v6ekk,286
|
257
257
|
web3_wizzard_lib/core/utils/module_memory.py,sha256=Ot-C3g9ax9frTTpWSLQqsbGcp7WMmmHKM9R7qI920xk,436
|
258
258
|
web3_wizzard_lib/core/utils/sub_module.py,sha256=r7C89nhlOUAYtCI92JINapS_-5hUUYX7YnY9hQLgHKg,117
|
259
|
-
web3_wizzard_lib-0.
|
260
|
-
web3_wizzard_lib-0.
|
261
|
-
web3_wizzard_lib-0.
|
262
|
-
web3_wizzard_lib-0.
|
263
|
-
web3_wizzard_lib-0.
|
259
|
+
web3_wizzard_lib-0.2.0.data/data/requirements.txt,sha256=YhDe0eUumhIfPZauGghmAKIlbFEO4wyxP2iEMUC6Z28,20
|
260
|
+
web3_wizzard_lib-0.2.0.dist-info/METADATA,sha256=NdKi5jX-MRbNl3GRVnNI67a6VLvChaZY-ThM8jum0kg,428
|
261
|
+
web3_wizzard_lib-0.2.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
262
|
+
web3_wizzard_lib-0.2.0.dist-info/top_level.txt,sha256=8dD8S5HQo4dKtxogttWY_sh4n3yCVy0MwiTelYp6kug,28
|
263
|
+
web3_wizzard_lib-0.2.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|