You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm developing an application. One of its functions is to call the removeLiquidityWithPermit interface of the decentralized exchange to remove liquidity. This interface can call the permit contract method to approve the LP, then DEX's router contract can
call transferFrom to tranfer the LPs asset。 I checked the relevant data, which is probably related to EIP712. I studied the test code of the wallet core. The code I wrote is as follows, but when calling, I returned execution reversed: UniswapV2: INVALID_ SIGNATURE error. Please help to see what the problem is? I think the parameters v, r and s are incorrect. Thank you.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm developing an application. One of its functions is to call the removeLiquidityWithPermit interface of the decentralized exchange to remove liquidity. This interface can call the permit contract method to approve the LP, then DEX's router contract can
call transferFrom to tranfer the LPs asset。 I checked the relevant data, which is probably related to EIP712. I studied the test code of the wallet core. The code I wrote is as follows, but when calling, I returned execution reversed: UniswapV2: INVALID_ SIGNATURE error. Please help to see what the problem is? I think the parameters v, r and s are incorrect. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions