Uniswap / v2-periphery

🎚 Peripheral smart contracts for interacting with Uniswap V2
https://uniswap.org/docs
GNU General Public License v3.0
1.14k stars 1.69k forks source link

call swap method of LP token contract not work #119

Open balasta75 opened 2 years ago

balasta75 commented 2 years ago

Hi,

I want to make a flashswap but all time when i call the swap method of a LP token, it fails Here an tx : https://polygonscan.com/tx/0xd1d9de893140a971548e8cba6edd8591dca73acfbb9aa80536bb401c38202dbd

it always fails on the swap method of the LP token but i dont know why. Arguments are verified.

Bests

italoHonoratoSA commented 2 years ago

Please post the code you are using and explain exactly the function call you are making. Only then will we be able to help you.

jamesjam116 commented 1 year ago

Great works periphery.methods.swap how to use this function and want to know about the params.