-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi
I have cloned your contract for learning purpose and deployed it using my factory address on Polygon Mumbai.
And i called approve function of my LP token on the cloned cryptex-Lock contract address by using some JS script (as explorer is not providing interface due to the fact that contract for LP token has not been verified & published )
But still when i call the lockLPToken function from smartContract it always produces
"execution reverted: TransferHelper: TRANSFER_FROM_FAILED",
After alot of try i am still not getting why it is showing such behaviour.
Passing details here:
Network: Polygon mumbai
factory address: 0x240DB968a9010751f7cEa1A0EB8916b4A91A630c
https://mumbai.polygonscan.com/address/0x240DB968a9010751f7cEa1A0EB8916b4A91A630c#code
LP pair address: 0xC66AE97e5b901f536a36642d70B8912cc8Cf4A85
https://mumbai.polygonscan.com/token/0xc66ae97e5b901f536a36642d70b8912cc8cf4a85#writeContract
Address holding the above LP token
0x7A9F881C96d1743E1B6eAF5c7bdA4Bf1e2400Bd8 pub-address
d0b54e0eef5763c8e887800c3a89f6a822b09818cecef71249e6145ae8025f4f private-key
Could you please guide what is the missing recipe?