Moody Salem
ee69357305
some minor refactoring with price impact functions
2021-05-03 20:25:23 -05:00
Moody Salem
ce7f94f16a
hide max button appropriately
2021-05-03 20:17:15 -05:00
Moody Salem
124b83ae56
some clean up in showing the route
2021-05-03 20:13:52 -05:00
Moody Salem
0dcd5743c8
fix price impact handling/coloring
2021-05-03 20:05:20 -05:00
Moody Salem
9fec8dbe93
show percentage difference in price on swap
2021-05-03 17:13:05 -05:00
Noah Zinsmeister
549d4e38c6
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-03 17:43:49 -04:00
Noah Zinsmeister
3af6781821
add % breakdown for assets in range
...
closes #64
2021-05-03 17:43:39 -04:00
Moody Salem
fbccb83edb
Merge branch 'main' into v3-main
2021-05-03 16:30:04 -05:00
Moody Salem
ff12b7be10
refactor the fiat values
2021-05-03 16:29:45 -05:00
Callil Capuozzo
4c2cb5b0c1
Swap polish 02 ( #93 )
...
* rework swap UI
* Add v2/v3 route toggle UX
* improve button and progress styles
* put optional route in swap header
* Further refinements
* Alt swap layout
* clean up
* Tweak route ui
* merge main
* update swap header
* adjust currency select ui
2021-05-03 16:32:40 -04:00
Callil Capuozzo
d7785942b1
Update migration styles ( #78 )
...
* re-work migrate page
* Layout Tweaks
* cleanup
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-03 15:55:30 -04:00
Noah Zinsmeister
ed801deb15
add fiat value of liquidity + fees
2021-05-03 15:19:59 -04:00
Noah Zinsmeister
c34727641d
add basic sushi support ( #87 )
2021-05-03 14:48:30 -04:00
Ian Lapham
807860aac6
refactor review modals ( #60 )
2021-05-03 13:37:41 -04:00
Ian Lapham
5a9034fe95
fix for error token map parsings ( #1384 )
v3.2.19
2021-05-03 13:34:01 -04:00
Ian Lapham
ee0db4f2aa
fix list parsing on broken tokens ( #85 )
...
* fix list parsing on broken tokens
* revert to most recent changes
2021-05-03 13:28:55 -04:00
Ian Lapham
6d5625a1f8
Hot fix for token error parsing ( #1382 )
...
* hot fix for token list parsing
* revert tsconfig
v3.2.18
2021-05-03 12:11:27 -04:00
Callil Capuozzo
1619386ab4
Position styles ( #55 )
...
* Better position list layout WIP
* Position list updates
* add badge data and current price hover
* merge cleanup
* fix missing library
* position page improvements
* Clean up position page and overview
* layout and color updates
* Clean up page
* Clean up position page
* clean up errors
* Add icons
* Merge main
* Position styles tweaks
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-03 11:50:54 -04:00
Moody Salem
93d33947da
fix bug in remove
2021-04-30 22:57:55 -05:00
Moody Salem
91f3e21bd4
some list code cleanup
2021-04-30 22:56:19 -05:00
Moody Salem
e9a432b58e
fix a bug in v3 trade routing returning the wrong trade type for output trade
2021-04-30 22:43:29 -05:00
Moody Salem
1f41587ba9
fix the swap notification
2021-04-30 22:38:24 -05:00
Moody Salem
9b639bee65
invalidate signature data for old nonce
2021-04-30 21:23:16 -05:00
Moody Salem
eaddc9e6f8
dai style permit
2021-04-30 21:20:39 -05:00
Noah Zinsmeister
e83a1ec923
undupe migrate menu
2021-04-30 15:55:53 -04:00
Noah Zinsmeister
8021315f87
fix rates in add liquidity
2021-04-30 15:40:39 -04:00
Noah Zinsmeister
0540012bb9
WETH -> ETH in migrate
...
fix rates in migrate
fix migrate link
2021-04-30 15:12:00 -04:00
Moody Salem
3f6bf607dd
replace uniswap.info links
2021-04-30 13:14:31 -05:00
Moody Salem
828f7ee446
Use permit in swap ( #65 )
...
* add a usePermit hook
* semi working
* Fix code style issues with ESLint
* don't override gas, some cleanup in the permit function
* fix permit validity
* some more permit fixes
* nits
* another nit
* use the erc20 permit hook everywhere
* unused exports
* handle missing version
* replace everywhere
* add DAI and todos
* woopsie bug
Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2021-04-30 12:50:57 -05:00
Noah Zinsmeister
432d17bdfd
only show buttons if nft is owned
2021-04-29 15:55:39 -04:00
Noah Zinsmeister
9743b211e7
change migration threshold to 2
...
fix starting price bug
2021-04-29 15:39:44 -04:00
Noah Zinsmeister
dce187e433
fix price bug
2021-04-29 14:18:15 -04:00
Moody Salem
8859ff6979
fix gas estimate bug
2021-04-29 11:56:02 -05:00
Moody Salem
f566a72b06
fix a bug in the logo not passing style down
2021-04-29 11:31:34 -05:00
Moody Salem
e39e5908e7
drop the card in the position page
2021-04-29 11:18:56 -05:00
Moody Salem
c5424d2dcc
some tweaks to the token logo
2021-04-29 10:26:12 -05:00
Noah Zinsmeister
8b4bc167c5
add multicall mainnet address
2021-04-29 11:01:53 -04:00
Moody Salem
43bceb232e
label nit
2021-04-28 21:23:22 -05:00
Moody Salem
c3909bc1d0
improve the better trade link logic
2021-04-28 20:03:38 -05:00
Moody Salem
b25287923c
return fake price data for non mainnet and fill it into the currency input panel
2021-04-28 19:44:10 -05:00
Noah Zinsmeister
65c51ea4aa
update to latest sdk
2021-04-28 20:17:22 -04:00
Moody Salem
b0fa08e9b0
show a loading indicator
2021-04-28 19:11:27 -05:00
Moody Salem
b09eb8fb52
mess with the gas estimation code a bit to allow swapping
2021-04-28 18:58:53 -05:00
Moody Salem
5b49cedebb
bump addresses
2021-04-28 18:16:49 -05:00
Noah Zinsmeister
ae76f26501
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-04-28 17:59:10 -04:00
Noah Zinsmeister
1cb1ffe2f6
update to latest formatting logic
...
nits
2021-04-28 17:58:59 -04:00
Moody Salem
d83bc3097d
fix some linting errors and some better trade link cleanup
2021-04-28 16:47:03 -05:00
Moody Salem
323edc0fcd
consistently use the worst price and amounts in the swap view
2021-04-28 16:42:56 -05:00
Moody Salem
fc258fdf5c
don't throw if the trades are not comparable
2021-04-28 13:34:22 -05:00
Moody Salem
2e599dc00e
handle loading v3 trade state better
2021-04-28 13:31:30 -05:00