hi guys, I'm strugling with a contract that swaps from ETH to USDT and later from USDT to ETH. I'm able to buy tokens but I'm getting an revert() when trying to approve the sell. The code looks like the following:
Jul 26, 2021, 11:58 AM
any idea? What am I doing wrong?
there is no way to approve it from my contract?
that could be an option!
and later I can transfer the tokens from the contract to my account, is that right?
Jul 26, 2021, 12:27 PM