router address right and it’s Abi. I performed the swap on kovan and it is working
Probably something is wrong in one of the tokens, look for reverts under _transfer function
I think you are right. I am calling the token’s approve function before the swap. The code on polygonscan doesn’t readily have the function in itself but a proxy has it. I’m not sure if that’s the cause
Обсуждают сегодня