web3-wizzard-lib 1.7.0__py3-none-any.whl → 1.7.1__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.
@@ -52,9 +52,12 @@ class Banking(Module):
52
52
  bank_app.repay_borrow(account, amount)
53
53
  elif action == 'REDEEM':
54
54
  amount = bank_app.get_deposit_amount(account, token)
55
- logger.info(f"Redeem {amount} of {token} from {bank_app.app_name}")
56
55
 
57
- bank_app.redeem(account, amount, token)
56
+ if amount > 0:
57
+ logger.info(f"Redeem {amount} of {token} from {bank_app.app_name}")
58
+ bank_app.redeem(account, amount, token)
59
+ else:
60
+ logger.info(f"{account.address} does not have {token}")
58
61
  else:
59
62
  raise ConfigurationException("Unsupported action")
60
63
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: web3-wizzard-lib
3
- Version: 1.7.0
3
+ Version: 1.7.1
4
4
  Summary: Engine for web3 smart contracts automatization.
5
5
  Author-email: Indeoo <indeooars@gmail.com>
6
6
  License: MIT
@@ -91,7 +91,7 @@ web3_wizzard_lib/core/contract/zks.py,sha256=QN9dKfWfA4cFKxzA8qcMnNBcdKmBmZMPeNq
91
91
  web3_wizzard_lib/core/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
92
  web3_wizzard_lib/core/modules/ads_import_proxy.py,sha256=6i_ZJ400Wg1_CLVqnhVHgRoJsjEYyOpMDUDNwtd2wIQ,1809
93
93
  web3_wizzard_lib/core/modules/airdrop_printer.py,sha256=k1w1m8WAS9MnQ7LkKaYlx5xgi10pf12lcGJ0SrVA1OE,2862
94
- web3_wizzard_lib/core/modules/bank_module.py,sha256=kF0-k5qctMGGz8IsvEMG3loFI8EDpGoU38uC3JINwDE,3812
94
+ web3_wizzard_lib/core/modules/bank_module.py,sha256=OUAMQ3wbDKoZ4_zGfgIV9CMckxm1dTxQm7nWQv4SrdE,3937
95
95
  web3_wizzard_lib/core/modules/bridge_module.py,sha256=ZoO80ody9cP_ezhah680ezTAEdM2VyxRqmmUH7b2xHE,2011
96
96
  web3_wizzard_lib/core/modules/bungee.py,sha256=CVjZH5_nmBWO5Vg5Xx-_dDzfaJ7oCDgFp0gG8VHd76E,4881
97
97
  web3_wizzard_lib/core/modules/cex_sender.py,sha256=2akfVhaMvHnuKUBfiCTqnVuP3VWrJIStArBqQKpiU2I,2723
@@ -368,7 +368,7 @@ web3_wizzard_lib/resources/main/pairs.json,sha256=uvIFvY46Ctiw8hjGd9e-1WE0qLf_du
368
368
  web3_wizzard_lib/resources/main/tokens.json,sha256=AoZz_I6AVoZuecNdyX5L-SnGm6TREuPrsYd2i9PJr7U,5707
369
369
  web3_wizzard_lib/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
370
370
  web3_wizzard_lib/utils/debank_utils.py,sha256=CE2SUN9RpFK_j9KjJgxf7a__VRJ75tLIw9tLrVNrn3c,484
371
- web3_wizzard_lib-1.7.0.dist-info/METADATA,sha256=iIUr80pgA5sCFfvB75aL8mFqieDizLLorrGVrbJ324Q,339
372
- web3_wizzard_lib-1.7.0.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
373
- web3_wizzard_lib-1.7.0.dist-info/top_level.txt,sha256=31sEPHxuJ1p5fpc75vHQJ8eJdSs80aCZeeT3L8YAHNg,17
374
- web3_wizzard_lib-1.7.0.dist-info/RECORD,,
371
+ web3_wizzard_lib-1.7.1.dist-info/METADATA,sha256=05xUsXPNrQOkJ0cdBSrj5bx-XOadKGinpavU0KpjH3A,339
372
+ web3_wizzard_lib-1.7.1.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
373
+ web3_wizzard_lib-1.7.1.dist-info/top_level.txt,sha256=31sEPHxuJ1p5fpc75vHQJ8eJdSs80aCZeeT3L8YAHNg,17
374
+ web3_wizzard_lib-1.7.1.dist-info/RECORD,,