Moody Salem
152e84bc25
Fix more linting errors
2020-05-08 15:46:42 -04:00
Moody Salem
3b3f281319
Use eslint/prettier for typescript files
2020-05-08 14:50:27 -04:00
Moody Salem
28b24036c6
Cypress ( #734 )
...
* 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
2020-05-08 11:38:33 -04:00
Moody Salem
9b2fe0bdca
Use best trade to get the best route ( #731 )
2020-05-08 11:13:16 -04:00
Noah Zinsmeister
cb00e0baa5
migrate full away from ethers v4 to v5 ( #728 )
...
move some pacakges from dependencies to dev dependencies
bump versions
2020-05-07 19:53:08 -04:00
Moody Salem
b6b094acb3
remove unused functions, typescript ( #725 )
...
* TypeScript in the utils directory, README fixes
* Remove unused methods
* Added unnecessary space
* Some env variable cleanup
* Bug in change
* Another file to ts
2020-05-07 14:36:26 -04:00
Noah Zinsmeister
64dd09f2cc
update to latest deploy ( #712 )
2020-05-05 16:36:22 -04:00
Noah Zinsmeister
c3d8bc7ed5
Localstorage and routing improvements ( #704 )
...
* remove tokens context in favor of localstorage
refactor localstorage
improve adding custom token flow
* drop exchange language
* ensure url tokens are added to localstorage
clean up routing
remove unnecessary output approval checks
* fix bad import
* Remove unused imported checks
* remove unused imports
Co-authored-by: Ian Lapham <ianlapham@gmail.com>
2020-05-04 17:56:10 -04:00
Ian Lapham
006fe9b325
Updated context keys, remove logs ( #680 )
...
* updated keys in pair context
* fix bug on imported liquidity
* Add price bar and spacing tweaks
* Header tweaks
* Base for token import, query params, styling updates
* remove unused imports
* query params, create flow
* set ETH as default for create
* Style tweaks and price bar location
* add mobile popups, mobile styling on header
* updated mobile styles
* style updates mobile, fix build
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2020-04-22 17:22:13 -04:00
Ian Lapham
eaf8d5a39c
Add routes through ETH ( #665 )
...
* add fix for ETH balance fetching
* add tokens to other testnets
* update with Exchange -> Pair
* routes throuh ETH
* fix logs
* fix conflict
2020-03-26 12:42:06 -04:00
ianlapham
6211dff044
typed pages
2020-03-20 16:03:23 -04:00
ianlapham
655b79569b
basic send added
2020-03-17 16:23:27 -04:00
ianlapham
2ca3bf8da3
add slider to remove
2020-03-05 22:57:41 -05:00
ianlapham
236c3030e1
stable state for swaps, add, and remove eth (no remove token token yet)
2020-03-04 13:48:43 -05:00
ianlapham
753e5f3423
stable version with updated balances, add liquidity using SDK, pair menu search
2020-02-26 12:00:59 -05:00
Ian Lapham
38625d24e9
Balance and USD Refactor ( #544 )
...
* update injected loading state
* basic setup
* add contexts
* minor changes
* refactor balances and USd price
* small tweaks
* clean up balances context code
don't store usd price except in hook
refactor getUSDPrice to make clear it's sync
* add small memo
2019-12-10 10:33:35 -05:00
Ian Lapham
645484853a
Dai Migration - UI Updates ( #503 )
...
* skeleton for migration - still need links and adrdess of new contract
* update render conditions
* fix close on click
* updated warning logic
* add mcd to token list
* changes before merge
* remove unused imports
* add checksums
2019-11-18 11:52:27 -05:00
Ian Lapham
829a968008
allow for ETH in output command, zupdate to 6 digits on exchange rate ( #464 )
2019-10-17 07:39:43 -07:00
Ian Lapham
a33a2d90e1
make balances clickable on add liquidity page ( #449 )
...
* make balances clickable on add liquidity page
* update formatting logic
* fix max slippage calculation
2019-09-30 15:24:40 -04:00
Ian Lapham
4f566ab0c2
Add Custom url parameters ( #423 )
...
* query params for input and output currencies
* add slippage option
* add slippage cusytom param
* updated for sender address
* add field and amount support
* update params for pool page
* finish basic url support
* update app format
* update error checking to top level
* update for all pages
* fix build
* param updates
* fix slippage to basis points, update theme text, refactor to minimize lookups
* fix code styles
* update theme logic, remove extra setting, update rounding
* remove eslint comment errors
* remove logs, ignore lock
* remove lock
2019-09-17 18:47:32 -04:00
Noah Zinsmeister
61d6556a0d
fix rounding issue ( #445 )
2019-09-17 18:47:14 -04:00
Ian Lapham
677537ca31
Updates to Token Modal ( #399 )
2019-08-12 20:37:32 -04:00
Noah Zinsmeister
b7f49672de
merge beta to production ( #317 )
...
* update SNX exchange and token address (#301 )
* update SNX exchange and token address
* checksum exchange address
* Account improvements (#302 )
* begin account migration
* prep for styling
* improve multi-network support
allow deprecated window.web3 providers
* kill old modal
* remove tests
* clean up css
* Style account modal
* kill scss
* bug fixes
* use suspense for code-splitting and i18n
move abis
add ENS support to Web3Status
* Account modal mobile styles
* style tweaks
* finalize migration
* fix account styling
* fix ethereum svg
* fixes
* Split wallet modal into components
* refactor wallet modal and add connect button styles
* removing tap highlights
fix spacing on some mobile browsers
* Styling fixes for account and warning
* clean up injected connector logic
* remove console
* add wrong network copy
* restore border radius
change wallet logo
* various improvements (#313 )
* add unchecked signer
* remove focus underline from tabs
* update tokens
* remove console log
* remove snx for now
* make slippage warnings more robust
* memo-ize contexts
* improve slippage styling
* fix warnings + bugs
* clear stale network error
* Feather icons (#314 )
* Remove fontawesome
* Update new SNX exchange and new token address (#316 )
* Update new SNX exchange and new token address
* remove whitespace
* checksum exchange address
2019-05-30 16:42:25 -04:00
Noah Zinsmeister
e27cd92cd2
Slippage warning ( #292 )
...
* add rudimentary slippage warning
fix address checksum bug
debounce address input
alway show tx details if valid trade
* fix estimated copy
2019-05-16 13:21:14 -04:00
Noah Zinsmeister
2f0e2fb234
Beta cleanup ( #285 )
...
* improve context logic
* fix font-variant
* add dependencies for later
* fix icon
2019-05-14 10:19:09 -04:00
Noah Zinsmeister
78cdf11b37
Liquidity migration ( #279 )
...
* finalize initial migration
* remove redux
* fix token to token rate bug
* finalize initial migration
* fix test
2019-05-07 22:25:55 -04:00
Noah Zinsmeister
44d77ce948
Swap Migration ( #277 )
...
* migrate core logic
* finalize swap migration
* upgrade react-scripts and fix errors/warnings
* finalize swap, modularize currency input
* remove console.logs
* copy swap logic for send
* remove unnecessary variable
* tighten caching logic
* snappier ens integration
2019-05-03 16:37:59 -04:00
Noah Zinsmeister
4e413915f8
web3-react migration ( #269 )
...
* put suspense below redux
* don't mount qr
* properly format .json's
* remove useless Web3Connect component
* remove react-responsive header logic
* finalize initial web3-react migration
* add rudimentary network support
* address ci/cd issues
* fix syntax
* add infura support
rewrite create-exchange
closes #173
* remove CI flag, lazy loaded disabled for now
* roll back /pool
* fix currency input errors
fix valid state of buttons
* fix nav
* obscure env variables
* fix mobile header bug
2019-04-25 12:12:47 -04:00