v2-periphery
v2-periphery copied to clipboard
call swap method of LP token contract not work
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
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.
Great works periphery.methods.swap how to use this function and want to know about the params.