Giter Site home page Giter Site logo

fantom-funi's Introduction

Fantom FUni

We are using:

  • Node / NPM
  • ES2015 (and beyond) support.
  • Vue.js
  • Vue Router for routing
  • Vuex for global state management
  • SCSS

Project setup

We use npm to handle dependencies.

npm install

Hot Build

The npm script can be used to serve default implementation.

npm run serve

Production Build

npm run build

fantom-funi's People

Contributors

skavel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fantom-funi's Issues

Transaction failure when trying to add liquidity with the "MAX" button on fUniswap

Hello Fantom Team. You can consider this a followup to a bug report submitted via your online chat a few weeks ago. In summary, I was getting transaction failure when I tried to add liquidity to Uniswap and couldn't see a reason why. I took another crack at it tonight and was able to work around it by typing in an exact amount (2.80 in the screenshot below). Pressing the maxTo... or maxFrom... buttons in the screenshot resulted in transaction failure.

image

The most suspect code I found after digging through your "FUniswapAddLiquidity" component was in ./src/plugins/defi/defi.js lines 136-138 - the "getTokenDecimals" function (see screenshot below). Right now my assumption is the addLiquidity function in the UniswapV2 router is being fed invalid inputs when I press the Max button, though I may be off the mark.

image

Here are the screenshots I shared with James the other week, for context:

screenshots

Thanks guys! If someone else runs into this problem, just tell them to avoid the "MAX" button.

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.