Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gold8/WBNB #13

Open
paungabriel1 opened this issue Jul 12, 2023 · 0 comments
Open

gold8/WBNB #13

paungabriel1 opened this issue Jul 12, 2023 · 0 comments

Comments

@paungabriel1
Copy link

INFO: 2023-07-12 09:30:39,212 **********************************************************************************************************************
INFO: 2023-07-12 09:30:39,213 YOUR BOT IS CURRENTLY RUNNING VERSION  1.0.1
INFO: 2023-07-12 09:30:42,582 Current Wallet Balance is:  0.1 WBNB
INFO: 2023-07-12 09:30:42,785 Found 136.2059 liquidity for gold8/WBNB
INFO: 2023-07-12 09:30:42,884 -----------------------------------------------------------
INFO: 2023-07-12 09:30:42,885 Buy Signal Found =-= Buy Signal Found =-= Buy Signal Found 
INFO: 2023-07-12 09:30:42,885 
INFO: 2023-07-12 09:30:42,892 Buy price in gold8/WBNB : 0.000474947297749506
INFO: 2023-07-12 09:30:42,894 -----------------------------------------------------------
ERROR: 2023-07-12 09:30:43,397 Could not transact with/call contract function, is contract deployed correctly and chain synced?
Traceback (most recent call last):
  File "/home/codespace/.local/lib/python3.10/site-packages/web3/contract.py", line 1515, in call_contract_function
    output_data = web3.codec.decode_abi(output_types, return_data)
  File "/home/codespace/.local/lib/python3.10/site-packages/eth_abi/codec.py", line 181, in decode_abi
    return decoder(stream)
  File "/home/codespace/.local/lib/python3.10/site-packages/eth_abi/decoding.py", line 127, in __call__
    return self.decode(stream)
  File "/home/codespace/.local/lib/python3.10/site-packages/eth_utils/functional.py", line 45, in inner
    return callback(fn(*args, **kwargs))
  File "/home/codespace/.local/lib/python3.10/site-packages/eth_abi/decoding.py", line 173, in decode
    yield decoder(stream)
  File "/home/codespace/.local/lib/python3.10/site-packages/eth_abi/decoding.py", line 127, in __call__
    return self.decode(stream)
  File "/home/codespace/.local/lib/python3.10/site-packages/eth_abi/decoding.py", line 198, in decode
    raw_data = self.read_data_from_stream(stream)
  File "/home/codespace/.local/lib/python3.10/site-packages/eth_abi/decoding.py", line 305, in read_data_from_stream
    raise InsufficientDataBytes(
eth_abi.exceptions.InsufficientDataBytes: Tried to read 32 bytes.  Only got 0 bytes

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workspaces/alpha-evm-dex-bot/AlphaBot.py", line 5062, in run
    liquidity_result = check_liquidity_amount(token, token['_BASE_DECIMALS'], token['_WETH_DECIMALS'])
  File "/workspaces/alpha-evm-dex-bot/AlphaBot.py", line 2830, in check_liquidity_amount
    custom_base_price_in_base = calculate_custom_base_price(outToken, DECIMALS_OUT, DECIMALS_weth)
  File "/home/codespace/.local/lib/python3.10/site-packages/cachetools/__init__.py", line 642, in wrapper
    v = func(*args, **kwargs)
  File "/workspaces/alpha-evm-dex-bot/AlphaBot.py", line 3199, in calculate_custom_base_price
    reserves = getReserves_with_cache(pair_contract)
  File "/home/codespace/.local/lib/python3.10/site-packages/cachetools/__init__.py", line 642, in wrapper
    v = func(*args, **kwargs)
  File "/workspaces/alpha-evm-dex-bot/AlphaBot.py", line 2512, in getReserves_with_cache
    return pair_contract.functions.getReserves().call()
  File "/home/codespace/.local/lib/python3.10/site-packages/web3/contract.py", line 959, in call
    return call_contract_function(
  File "/home/codespace/.local/lib/python3.10/site-packages/web3/contract.py", line 1532, in call_contract_function
    raise BadFunctionCallOutput(msg) from e
web3.exceptions.BadFunctionCallOutput: Could not transact with/call contract function, is contract deployed correctly and chain synced?
INFO: 2023-07-12 09:30:43,399 ERROR. Please go to /log folder and open your logs: you will find more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant