web3-wizzard-lib 1.4.1__py3-none-any.whl → 1.4.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.
@@ -15,7 +15,7 @@ class NilePool(Pool):
15
15
  super().__init__(chain_instance, web3)
16
16
  self.nile_contract = NileContract(self.velocore_pool_contract_address, self.web3)
17
17
 
18
- @retry(max_attempts=10, retry_interval={'from': 10, 'to': 20})
18
+ @retry(max_attempts=2, retry_interval={'from': 10, 'to': 20})
19
19
  def deposit(self, amount_interval, account, token, min_native_balance, chain):
20
20
  amount = interval_to_eth_balance(amount_interval, account, chain, self.web3)
21
21
 
@@ -33,7 +33,7 @@ class NilePool(Pool):
33
33
  logger.info(f"Deposit {amount} and {nile_token.balance(account)}")
34
34
  self.nile_contract.add_liquidity_eth(account, nile_token.erc20_contract.contract_address, pool_amount, amount)
35
35
 
36
- @retry(max_attempts=10, retry_interval={'from': 10, 'to': 20})
36
+ @retry(max_attempts=2, retry_interval={'from': 10, 'to': 20})
37
37
  def withdraw(self, account, token, chain):
38
38
  weth_zero_address = get_tokens_for_chain(chain)[f"WETH_{token}_LP"]
39
39
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: web3_wizzard_lib
3
- Version: 1.4.1
3
+ Version: 1.4.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
@@ -147,7 +147,7 @@ web3_wizzard_lib/core/modules/intract/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCe
147
147
  web3_wizzard_lib/core/modules/intract/intract_api.py,sha256=Pc4LNhp0BoHvr2qLlUXGVFQjh-s0_eG8VcTPG5LB7zQ,8597
148
148
  web3_wizzard_lib/core/modules/intract/utils.py,sha256=i3LbPGLHtMQ3qjbwfADJ0W2CjJo04sc5CYBPKl5zHhg,2811
149
149
  web3_wizzard_lib/core/modules/liquidity/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
150
- web3_wizzard_lib/core/modules/liquidity/nile_pool.py,sha256=7bQJpRTgyhctBhFLkjqJulMuNT94Lzz7HX7tOQ1BsIo,2616
150
+ web3_wizzard_lib/core/modules/liquidity/nile_pool.py,sha256=dvKJzo43qtZcGXA9xsolks403cnbXHcDVTvRzr_DfVU,2614
151
151
  web3_wizzard_lib/core/modules/liquidity/pool.py,sha256=fiQ_EtxUMxcmtSPPQq601qL8cxNfEnaQgtlaOF-jsfg,498
152
152
  web3_wizzard_lib/core/modules/liquidity/syncswap_pool.py,sha256=rJtoGsz4DPtediDHlAQBttH4hCFpEAYccf8v6GRy2VY,2591
153
153
  web3_wizzard_lib/core/modules/liquidity/velocore_pool.py,sha256=rgCaFX20FJyHI94EGKH0lV7E9QhiyC0bRYY29rJGjVk,2286
@@ -361,8 +361,8 @@ web3_wizzard_lib/resources/main/contracts.json,sha256=jGeEoEiys1Itg7s5WFIeVFKis9
361
361
  web3_wizzard_lib/resources/main/networks.json,sha256=dmZLOsSaj2_CJwLqS4Deb4FgQrxPWpIQKGml6cXfKzI,6465
362
362
  web3_wizzard_lib/resources/main/pairs.json,sha256=uvIFvY46Ctiw8hjGd9e-1WE0qLf_duo3MuZncRMLqGg,8262
363
363
  web3_wizzard_lib/resources/main/tokens.json,sha256=AoZz_I6AVoZuecNdyX5L-SnGm6TREuPrsYd2i9PJr7U,5707
364
- web3_wizzard_lib-1.4.1.data/data/requirements.txt,sha256=1yiy6f7m2XBGiXoYhSVTxI8SEsfimGGxBJU9708bYFE,20
365
- web3_wizzard_lib-1.4.1.dist-info/METADATA,sha256=LpHL5AIJyCoz_G6dWXhI06_oikW7e5AZfbiMdKmHDTI,428
366
- web3_wizzard_lib-1.4.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
367
- web3_wizzard_lib-1.4.1.dist-info/top_level.txt,sha256=8dD8S5HQo4dKtxogttWY_sh4n3yCVy0MwiTelYp6kug,28
368
- web3_wizzard_lib-1.4.1.dist-info/RECORD,,
364
+ web3_wizzard_lib-1.4.3.data/data/requirements.txt,sha256=1yiy6f7m2XBGiXoYhSVTxI8SEsfimGGxBJU9708bYFE,20
365
+ web3_wizzard_lib-1.4.3.dist-info/METADATA,sha256=z8pkTP2wixOd3Od_-PZLTRmxjTHOtn7H163oVp5JJHc,428
366
+ web3_wizzard_lib-1.4.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
367
+ web3_wizzard_lib-1.4.3.dist-info/top_level.txt,sha256=8dD8S5HQo4dKtxogttWY_sh4n3yCVy0MwiTelYp6kug,28
368
+ web3_wizzard_lib-1.4.3.dist-info/RECORD,,