- 14 May, 2020 5 commits
-
-
Noah Zinsmeister authored
* appropriately discount for multi-hop fee slippage * fix comment * make calculation more explicit with a ternary
-
Moody Salem authored
-
Moody Salem authored
-
Moody Salem authored
-
Moody Salem authored
* Create the wallet store * Get the updater completed * Code complete * Fix token balance bug * Fix another bug in the hooks * Final bug fix, blockNumber can be undefined * Formalize the fact that block number can be undefined * Woops add package * Add more info to errors * Replace balances in the v1 methods with the new ones * Only return a balance value if it's present * Address comments * Trigger updateVersion before anything else
-
- 13 May, 2020 12 commits
-
-
Moody Salem authored
-
Ian Lapham authored
* bug fixes on non-existent vs no reserves, fix scanning on pair search, small ui tweaks * remove unused vars * remove mainnet in injected connector * code cleanup for pr * update pair value check
-
Moody Salem authored
* Change slippage calculation in trade page as discussed * Revert test change * Fix the missing import
-
Moody Salem authored
-
Moody Salem authored
Remove trade errors about insufficient liquidity that only show up if there's a route (best trade will not return a trade if there is insufficient liquidity)
-
Moody Salem authored
-
Moody Salem authored
-
Moody Salem authored
* Connect a testing wallet * Replace with a funded address * Fix the balance checking and adding logging
-
Moody Salem authored
-
Moody Salem authored
-
Moody Salem authored
* Rewrite the transaction store * Working state * Fix lint errors * Just always call getSigner
-
Moody Salem authored
* Rewrite the local storage context into a redux store for user data * Separate out the mega methods * Fix infinite loop * Missing dependency * Missing dependency, rename version field
-
- 12 May, 2020 6 commits
-
-
Noah Zinsmeister authored
* add v1 slippage checks (only for mainnet) * Add v1 trade notification UI * Design tweaks * add minimum delta * remove dark theme toggle from menu * only render view on etherscan if an address exists * fix weird spacing on logged-in header * lint error * remove mainnet Co-authored-by:
Callil Capuozzo <callil.capuozzo@gmail.com>
-
Ian Lapham authored
* copy changes * remove unused input on toggle * comparison fix
-
Moody Salem authored
* Introduce redux for one of the state stores * Remove unused state * Clean up hooks * Add types for react-redux and fix error from any type on useSelector * Strongly type the web3 provider * Make the popup content into a POJO * Lint errors * Clean up method call * Fix lint error * Fix lint error * Lint
-
Moody Salem authored
-
Noah Zinsmeister authored
* remove duplicated prettier from dependencies * use swr for allowances * slight improvements to error cascading * fetch totalsupply with SWR fetch pairs with SWR (except persistent pairs, will be refactored later) * fix lint error * stop using pair context, instead store per-user pairs in local storage * add more pairs to the default list remove unnecessary isWETH fix lint error * add more bases to trade consideration * fix lint warnings * get SWR data on same schedule * don't pass value if it's 0 fix WETH equality checks * clean up fixed/significant formatting * fix slippage calculation bug in swap add slippage to remove * fix token logos * show fewer sig figs * lint error * remove unused signer * add calculateSlippageAmount safety check and tests * fix useAllBalances type stop spuriously sorting token amounts of different tokens use slightly better comparisons for slippage calculations * improve priceSlippage comparison logic * useReserves -> usePair * use checksum for DAI logo address
-
Callil Capuozzo authored
* Prepare for V2 testing * Bug fixes and tweaks * Add form link * Design tweaks * higher quality favicon * Favicon... again. * Start dark mode * Add dark toggle * New dark theme unicorn * fix connect wallet ui * Titles for fields && small UI/UX tweaks * Fix ts linter errors * UI/UX tweaks * rebass and change color names * v1/v2 toggle and color tweaks * Small header tweaks * fix account input mobile padding * remove unused imports * Fix header link * Theme toggle for mobile & fix * no acount? hide maxes * Use system theme unless toggled * Remove unused styles * Fix missing hooks dependencies * Fix linting errors * improve system dark mode listener * add listener * fix hook dependency Co-authored-by:
Ian Lapham <ianlapham@gmail.com> Co-authored-by:
Noah Zinsmeister <noahwz@gmail.com>
-
- 11 May, 2020 2 commits
-
-
Moody Salem authored
* Manifest icons * Add touch icons
-
Moody Salem authored
-
- 09 May, 2020 10 commits
-
-
Moody Salem authored
-
Moody Salem authored
-
Ian Lapham authored
* fix DOM warnings * Update index.tsx Co-authored-by:
Noah Zinsmeister <noahwz@gmail.com>
-
Moody Salem authored
-
Ian Lapham authored
* linking bug fixes, search UI tweaks * search style tweaks * organize imports
-
Moody Salem authored
* Use eslint/prettier for typescript files * Fix more linting errors * Turn linting errors off so CI passes
-
Moody Salem authored
-
Moody Salem authored
-
Moody Salem authored
-
Moody Salem authored
-
- 08 May, 2020 5 commits
-
-
Moody Salem authored
-
Moody Salem authored
-
Moody Salem authored
* First 2 * More typescript * More and more * Almost there * More * More typescript * Fix remove liquidity button * Make the error chain more readable * Slippage tabs
-
Moody Salem authored
* Types for react-router-dom, stop lazy loading each route * Couple small fixes to README.md
-
Moody Salem authored
* Add some basic integration tests and CI in GitHub * Add push trigger * Add badge for tests to readme * Unit tests * Just use the development infura URL in the tests * Remove unused webpack config * Make integration test run on the same port as yarn start * make test a little bit better * rename describe
-