Skip to content

gold8/WBNB #13

@paungabriel1

Description

@paungabriel1
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions