I have a contract in that contract I have functions like enable trading, bot tax, deadblocks.
Now I want to go live on rocketswap, the problem is I can’t add liquidity I get an error.
I put the rocketswap router in contract that works fine, because I can’t add liquidity on rocketswap, I tryna to switch from router address to sushiswap router address now I get a error in my contract.
And we're supposed to figure out the problem using a 90-degree titled screenshot of some code?
Please provide ALL the relevant details and ONLY the relevant details in PLAINTEXT (no images).
This should by the least include:
The relevant part of your contract or a link to it (e.g., on github or similar) if it's too long
The relevant part of any other contract involved (e.g., sushiswap router) or a link to it...
The transaction hash or a link to it (e.g., on etherscan or similar)
As a side note, Transfer-From failure is typically (but not always) due to the lack of a preceding approval, so you may want to start off your investigation by looking into that (of course, without the missing details listed above, it is rather difficult to tell you exactly where in your code you may need to execute that approval).
I don’t use telegram, just trying to help people here whenever I got a few minutes to spare.
I’ve check the contract and the used pair routers however there are no swap transactions recorded. So I don’t know where that error is coming from or even where and what that website is.
The pictures of your screen doesn’t provide a lot of confidence that you’re actually trying to make a swap correctly, on om the correct chain or with enough slippage. If you only added limited liquidity then slippage can be very big.
How can anyone here check anything when all you share is images of your screen taken with a camera? (by the way, you may wanna consider the fact that some sensitive details are reflected in the background on those images).