v2-periphery icon indicating copy to clipboard operation
v2-periphery copied to clipboard

call swap method of LP token contract not work

Open balasta75 opened this issue 2 years ago • 2 comments

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

balasta75 avatar Mar 07 '22 09:03 balasta75

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.

italoHonoratoSA avatar May 02 '22 21:05 italoHonoratoSA

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

jamesjam116 avatar Jul 12 '23 06:07 jamesjam116