web3-wizzard-lib 0.1.0__py3-none-any.whl → 0.1.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.
@@ -7,9 +7,8 @@ from sybil_engine.utils.accumulator import add_accumulator, get_value
7
7
  from sybil_engine.utils.statistic_utils import get_statistic_writer, statistic_date_string
8
8
 
9
9
  from web3_wizzard_lib.core.utils.ai_utils import get_ai_chat
10
- from sybil_engine.utils.telegram import add_config
11
10
 
12
- from web3_wizzard_lib.core.utils.module_memory import get_by_key, accumulate_by_key, remove_key
11
+ from web3_wizzard_lib.core.utils.module_memory import get_by_key, accumulate_by_key, remove_key, add_value
13
12
 
14
13
  APPEAL_ACCOUNTS = "APPEAL_ACCOUNTS"
15
14
  APPEAL_ACCOUNTS_AMOUNT = "APPEAL_ACCOUNTS_AMOUNT"
@@ -42,7 +41,7 @@ class LineaAppeal(Module):
42
41
  )
43
42
 
44
43
  if get_by_key(APPEAL_ACCOUNTS_AMOUNT) is None:
45
- add_config(
44
+ add_value(
46
45
  APPEAL_ACCOUNTS_AMOUNT,
47
46
  random.randint(accounts['from'], accounts['to'])
48
47
  )
@@ -70,8 +69,8 @@ class LineaAppeal(Module):
70
69
  def open_appeal_form(self, account, address_list, formatted_string):
71
70
  payload = {
72
71
  "entry.1292139045": account.address,
73
- "entry.1099559693": address_list,
74
- "entry.1296389817": formatted_string
72
+ "entry.1099559693": address_list.replace("\n", "%0A"),
73
+ "entry.1296389817": formatted_string.replace("\n", "%0A")
75
74
  }
76
75
  query_string = "&".join(f"{key}={value}" for key, value in payload.items())
77
76
  pre_filled_url = f"{self.base_url}?{query_string}"
@@ -2,6 +2,8 @@ memory = {
2
2
 
3
3
  }
4
4
 
5
+ def add_value(key, value):
6
+ memory[key] = value
5
7
 
6
8
  def add_memory_list(key, value):
7
9
  memory[key] = value
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: web3_wizzard_lib
3
- Version: 0.1.0
3
+ Version: 0.1.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=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=ws-ROOim4y7mpx7ZZ8cYJdy1YLKozQvr4IZu0ka82n8,3225
108
+ web3_wizzard_lib/core/modules/linea_appeal.py,sha256=1lVAev85Ru8UoS42gnLzEIN9CRijingmWUNoHWKmauc,3226
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
@@ -254,10 +254,10 @@ web3_wizzard_lib/core/modules/swap/zebra.py,sha256=AnoBSRkh1YFyIbbL87JN9JwMTKnyG
254
254
  web3_wizzard_lib/core/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
255
255
  web3_wizzard_lib/core/utils/ai_utils.py,sha256=v1aVEAQz9IoI1B9qdfeDUohoMrHr8EBFKBFbqM8Ddng,1030
256
256
  web3_wizzard_lib/core/utils/benchmark_utils.py,sha256=3YBPXseWJb_BpBJtWWU6Dc5kydyhX4YWSvEWj4v6ekk,286
257
- web3_wizzard_lib/core/utils/module_memory.py,sha256=-EoEG5KvmWxGervESzCw0htjraFvNw6Fck7_aMwU4NE,385
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.1.0.data/data/requirements.txt,sha256=YhDe0eUumhIfPZauGghmAKIlbFEO4wyxP2iEMUC6Z28,20
260
- web3_wizzard_lib-0.1.0.dist-info/METADATA,sha256=T2vzNcWOdMYrhAWFN1Q4gSBvqDDsEs34OEd2xZ0lqAU,428
261
- web3_wizzard_lib-0.1.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
262
- web3_wizzard_lib-0.1.0.dist-info/top_level.txt,sha256=8dD8S5HQo4dKtxogttWY_sh4n3yCVy0MwiTelYp6kug,28
263
- web3_wizzard_lib-0.1.0.dist-info/RECORD,,
259
+ web3_wizzard_lib-0.1.3.data/data/requirements.txt,sha256=YhDe0eUumhIfPZauGghmAKIlbFEO4wyxP2iEMUC6Z28,20
260
+ web3_wizzard_lib-0.1.3.dist-info/METADATA,sha256=cDD0Qmx7FOlYNyIcz7AIaedoyjMB9WFSsfhmibs0dcA,428
261
+ web3_wizzard_lib-0.1.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
262
+ web3_wizzard_lib-0.1.3.dist-info/top_level.txt,sha256=8dD8S5HQo4dKtxogttWY_sh4n3yCVy0MwiTelYp6kug,28
263
+ web3_wizzard_lib-0.1.3.dist-info/RECORD,,