Giter VIP home page Giter VIP logo

hegic-staking-pool-front's People

Contributors

jmonteer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sayedex

hegic-staking-pool-front's Issues

Deposit Amount input field works erratically

In the Deposit & Stake tab, there is an input field that takes the value the user wants to deposit in the Staking Pools.

There is an issue with input field placeholder, update of value, update of react state, ...
The main issue is regarding wei conversion and BigNumber treatment + update of the input value

The task would get this button to work properly. This means:

  • only accepts numeric values
  • correctly updates amountToDeposit state variable
  • receives MAX button actions (see #1 )
  • gets back to max balance once a deposit is done (user inputs some value, clicks deposit button and accepts in MM)

Use web3modal

In order to easily implement the use of wallets other than metamask, @rej156 suggested we use web3modal.

Job to be done: replace web3react with web3modal.

Max button does not always work

When depositing HEGIC there is a button to put in the input field the maximum amount to be deposited (887999.9999999999 HEGIC -- if you have 888k, go buy your own lot) or user's HEGIC balance (whichever is smaller)

This button does not always work.

We need to debug this and make it work in all situations.

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.