hello everyone, i am trying to execute a swap using sushiswap router and Web3Py. I basically approve both token contracts and then I try to send the transaction. When I sell WETH for USDC it works perfectly, when I try to sell USDC for WETH it returns the error: 'TRANSFER_FROM_FAILED' as if i didn't approve the contract. can someone help me pls? this is my source code: https://pastebin.com/1pFyCS9w

Apr 13, 2023, 8:27 AM

© 2024 Draquery.com All rights reserved.