Giter Club home page Giter Club logo

cryptex-lock's Introduction

cryptex-lock's People

Contributors

kataloo avatar masquel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cryptex-lock's Issues

Isn't working

Doesnt work at all. Contracts and Frontend aren't up to date to work with each other.

TRANSFER_FROM_FAILED on calling lockLPToken

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.