- 15 May, 2020 5 commits
-
-
Moody Salem authored
-
Moody Salem authored
-
Moody Salem authored
-
Noah Zinsmeister authored
* key per-block SWR data with block number * fix + tweak copy and decrease sig figs for lp fee * don't use blocknumber as a key instead mutate when it changes * fix totalsupply + user liquidity sync issues * fix v1 trade checker logic * rough fix allowing removal of user added tokens probably needs a more comprehensive overhaul... * refactor SWR block updates to custom hook * typo * fix import error * fix footer css to work cross-broswer * disallow \ to be typing into amount inputs add test case for this add value assertions to all input integration tests * fix import error * remove console.log * clean up address input a bit trim whitespace from pasted addresses * fix input maxing remove spurious max output logic
-
Moody Salem authored
* Bunch of refactoring * Add an integration test that gets as far as swapping * Drop the nonce code that isn't doing anything right now * Undo one of the accidental changes to the reducer
-
- 14 May, 2020 13 commits
-
-
Moody Salem authored
-
Moody Salem authored
-
Moody Salem authored
-
Moody Salem authored
-
Noah Zinsmeister authored
* fix invariant bug due to dummy ETH * fix lint issue
-
Moody Salem authored
-
Noah Zinsmeister authored
-
Noah Zinsmeister authored
fix incorrect feeTimesInputFormatted logic
-
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 2 commits
-
-
Moody Salem authored
-
Moody Salem authored
-