CryptoGnome / LimitSwap

LimitSwap is fully functional DeFi Trading Bot. No fees. You just need to hold LIMIT Utility token in your wallet to use.
https://www.limitswap.com/
278 stars 150 forks source link

Bot says not enough USDC when buying on quickswap even when there's plenty in wallet #273

Closed Napkinss closed 3 years ago

Napkinss commented 3 years ago

Error from logs:

ERROR: 2021-06-24 02:35:24,663 {'code': -32603, 'message': 'request failed or timed out'} Traceback (most recent call last): File "LimitSwap.py", line 210, in decimals File "web3\contract.py", line 954, in call File "web3\contract.py", line 1499, in call_contract_function File "eth_utils\functional.py", line 45, in inner File "web3\eth.py", line 432, in call File "web3\manager.py", line 153, in request_blocking ValueError: {'code': -32603, 'message': 'request failed or timed out'} ERROR: 2021-06-24 02:35:24,663 local variable 'DECIMALS' referenced before assignment Traceback (most recent call last): File "LimitSwap.py", line 791, in run File "LimitSwap.py", line 216, in decimals UnboundLocalError: local variable 'DECIMALS' referenced before assignment ERROR: 2021-06-24 02:35:24,663 local variable 'DECIMALS' referenced before assignment Traceback (most recent call last): File "LimitSwap.py", line 791, in run File "LimitSwap.py", line 216, in decimals UnboundLocalError: local variable 'DECIMALS' referenced before assignment

Bot Screenshot:

photo_2021-06-24_02-40-51

CryptoGnome commented 3 years ago

fixed next release