Thank you FreezyEx. Can you elaborate please? I was trying to implement a Cetik finding:
The X contract uses Pancakeswap for swapping and add liquidity to Pancakeswap pool, but naming it Uniswap. Function swapTokensForEth(uint256 tokenAmount) swaps X token for BNB instead of ETH.
You were trying to use things that don’t exist. If you go on pancake router you will se AddLiqudityETH not AddLiquidityBNB. So you were trying to do the impossible.