Moody Salem
4d3f870b93
add a test for calculating slippage amounts
2021-05-09 12:31:45 -05:00
Moody Salem
452f2dc3c0
fix slippage amount bug https://github.com/Uniswap/uniswap-interface/issues/1473
2021-05-09 11:30:56 -05:00
Ian Lapham
b6bd59f2b1
Fix bug on formatted token amounts when decimals < sig fig ( #1479 )
...
* fix for error token map parsings
* fix error on formatting sig figs
2021-05-07 16:52:00 -04:00
Noah Zinsmeister
0190b5a408
bump sdk to fix add/remove slippage
2021-05-06 18:20:36 -04:00
Noah Zinsmeister
d6030dcd45
add settings tab to migrate
2021-05-06 17:44:05 -04:00
Moody Salem
f0e2a491dc
fix(slippage settings): improve slippage tolerance warnings
2021-05-06 11:19:36 -04:00
Moody Salem
021aab6547
fix(wallet): workaround the ethers bug to fix other wallets
2021-05-06 11:10:45 -04:00
Noah Zinsmeister
81af31eec1
estimate gas in migrate v2
2021-05-06 10:40:19 -04:00
Moody Salem
d3898cf900
fix(wallet): workaround for coinbase wallet / fortmatic
2021-05-06 10:09:41 -04:00
Moody Salem
b8f61d5f90
fix(positions list): base/currency ordering
2021-05-06 09:57:12 -04:00
Moody Salem
6c880d29a6
fix(position fee computation): incorrect sub underflow
2021-05-05 22:54:30 -04:00
Lint Action
a8baa6d6a5
Fix code style issues with ESLint
2021-05-05 21:56:49 +00:00
Callil Capuozzo
00a1dee073
Merge branch 'main' of https://github.com/Uniswap/uniswap-interface into main
2021-05-05 17:54:47 -04:00
Callil Capuozzo
a6de7d7846
add links
2021-05-05 17:54:33 -04:00
Moody Salem
e1a81a9996
uniswap protocol disclaimer
2021-05-05 17:40:22 -04:00
Noah Zinsmeister
0770bab032
try manual approve if erc712 doesn't work ( #1397 )
...
* initial impl
* fix async logic
2021-05-05 17:36:07 -04:00
Callil Capuozzo
e5404dbf97
Fix some links
2021-05-05 16:04:40 -04:00
Noah Zinsmeister
78e41848f2
another copy fix
2021-05-05 14:26:53 -04:00
Noah Zinsmeister
77c090534b
copy hotfix
2021-05-05 14:26:02 -04:00
Moody Salem
05acbfee88
fix(swap): do not throw an error in the routing if we cannot construct a pool
2021-05-05 14:22:57 -04:00
Callil Capuozzo
64dd2f9ed1
update button styles
2021-05-05 13:58:37 -04:00
Callil Capuozzo
09f30ce0f7
Merge branch 'main' of https://github.com/Uniswap/v3-interface into main
2021-05-05 13:41:47 -04:00
Callil Capuozzo
a49d5382db
UI tweaks
2021-05-05 13:41:46 -04:00
Ian Lapham
3affcb8d32
small ux style updates ( #160 )
2021-05-05 13:18:47 -04:00
Moody Salem
56e759ff78
fix unit test
2021-05-05 13:10:19 -04:00
Callil Capuozzo
f73a166d92
Merge branch 'main' of https://github.com/Uniswap/v3-interface into main
2021-05-05 13:07:26 -04:00
Callil Capuozzo
e1e52c06db
update copy
2021-05-05 13:06:26 -04:00
Moody Salem
ca4d915903
fix it everywhere
2021-05-05 13:04:50 -04:00
Moody Salem
bdb6327c13
set initial allowed slippage to 10 bips instead of 50 bips
2021-05-05 13:03:39 -04:00
Noah Zinsmeister
ce81dd5a79
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-05 12:47:47 -04:00
Noah Zinsmeister
73f29eea2c
don't show approve for both assets...
...
...in the single-sided liquidity provision case
2021-05-05 12:47:41 -04:00
Moody Salem
92193076c5
fixes https://github.com/Uniswap/v3-interface/issues/161
2021-05-05 12:45:29 -04:00
Moody Salem
1aab086693
Swap interface tweaks ( #159 )
...
* fix some nits in the swap interface
* remove some unused css
* tweak the info icon a bit
2021-05-05 12:29:33 -04:00
Noah Zinsmeister
8057cb9fbe
fix rate toggle clearing add liquidity state
2021-05-05 12:19:21 -04:00
Ian Lapham
1b798889af
add default increment behavior ( #157 )
...
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-05 12:12:23 -04:00
Connor Martin
1e54b97693
changed to v3 docs links ( #138 )
2021-05-05 12:05:13 -04:00
Noah Zinsmeister
02c21ef720
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-05 12:03:29 -04:00
Noah Zinsmeister
b39aeeb805
fix for inactive positions
2021-05-05 12:03:20 -04:00
Callil Capuozzo
8401a4b9b4
Update styles, change warning modals
2021-05-05 11:43:47 -04:00
Callil Capuozzo
3b27ee94d7
Merge branch 'main' of https://github.com/Uniswap/v3-interface into main
2021-05-05 11:42:04 -04:00
Noah Zinsmeister
660c355273
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-05 11:19:02 -04:00
Noah Zinsmeister
cd3c48462d
separate v2 + v3 mint reducers
...
reset v3 mint state on migrate mount/unmount
2021-05-05 11:18:54 -04:00
Moody Salem
acfd5c2720
fixes https://github.com/Uniswap/v3-interface/issues/123
2021-05-05 10:23:45 -04:00
Callil Capuozzo
a5ed12bfc7
Merge branch 'main' of https://github.com/Uniswap/v3-interface into main
2021-05-05 00:08:15 -04:00
Noah Zinsmeister
40f0e619cc
fix additional base currency toggle bugs
2021-05-04 22:43:36 -04:00
Noah Zinsmeister
bd817083c9
actually fix isNotUniswap logic
2021-05-04 22:32:01 -04:00
Callil Capuozzo
699bcc25b6
Merge branch 'main' of https://github.com/Uniswap/v3-interface into main
2021-05-04 20:52:27 -04:00
Callil Capuozzo
e88a8effef
style tweaks
...
- bring back gradient background
- improve header
- improve light mode
2021-05-04 20:52:25 -04:00
Ian Lapham
2339817170
multiple bug fixes ( #141 )
...
* multiple bug fixes
* remove unused local
* disable currency select on bottom liquidity
2021-05-04 20:17:19 -04:00
Moody Salem
4220cafbd3
fix the usdc permit
2021-05-04 18:22:45 -05:00
Noah Zinsmeister
a61df58599
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-04 19:15:46 -04:00
Noah Zinsmeister
1b35128035
clarify migrate ui
2021-05-04 19:15:29 -04:00
Moody Salem
ab5114c5f5
move the compute price impact function out to a utility file
2021-05-04 17:55:51 -05:00
Moody Salem
28c7cfa1f1
formatted price impact
2021-05-04 17:52:23 -05:00
Moody Salem
509b307b67
show some price impact in the interface
2021-05-04 17:51:01 -05:00
Ian Lapham
1e5519de3f
add dark mdoe toggle, update some styles ( #134 )
2021-05-04 18:25:20 -04:00
Noah Zinsmeister
e8587396d3
hide collect fees if not owner
...
link to owner
2021-05-04 17:48:54 -04:00
Noah Zinsmeister
d69b194ffb
close #127
2021-05-04 17:32:24 -04:00
Noah Zinsmeister
1325443025
fix ratio bugs
2021-05-04 17:03:17 -04:00
Moody Salem
1607f8919a
code in the mainnet addresses
2021-05-04 14:44:55 -05:00
Moody Salem
873cf9760e
fix addresses
2021-05-04 14:39:02 -05:00
Noah Zinsmeister
b39f2fe055
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-04 14:58:53 -04:00
Noah Zinsmeister
516e783be6
hot fix for asset composition formula
2021-05-04 14:58:29 -04:00
Callil Capuozzo
9a326fa023
Add liquidity styles ( #98 )
...
* Start styles
* Add liquidity styles & consistency
* clean up styles
* remove un-used element
* New styles
* fix errors
2021-05-04 14:57:57 -04:00
Noah Zinsmeister
7178746023
highlight 100% position composition
2021-05-04 14:04:30 -04:00
Moody Salem
2efe8250ae
rename gorli to goerli
2021-05-04 12:31:51 -05:00
Moody Salem
24d8b4abc9
latest deploy
2021-05-04 12:23:07 -05:00
Noah Zinsmeister
aec18b7eb1
closes #107
2021-05-04 13:22:26 -04:00
Noah Zinsmeister
0c37e81d97
closes #108
2021-05-04 13:20:52 -04:00
Noah Zinsmeister
624c3678c7
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-04 13:18:27 -04:00
Noah Zinsmeister
cdae20f2ed
fix weth/eth bug
...
closes #47
2021-05-04 13:18:21 -04:00
Ian Lapham
042967502e
recreate bug fixes ( #109 )
2021-05-04 12:43:43 -04:00
Ian Lapham
eedba9795e
Mobile styles ( #100 )
...
* mobile styles
* remove unused local
* update react imports
* fix imports
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2021-05-04 11:05:26 -04:00
Moody Salem
300dd70804
show currency values and price impact in the confirmation modal (fixes https://github.com/Uniswap/v3-interface/issues/92 )
2021-05-04 08:38:47 -05:00
Lint Action
f4e994867e
Fix code style issues with ESLint
2021-05-04 01:40:43 +00:00
Moody Salem
7ca79ff12b
fix unit tests
2021-05-03 20:39:03 -05:00
Moody Salem
4903258b7c
Merge branch 'main' into v3-main
...
# Conflicts:
# src/pages/Vote/VotePage.tsx
# src/pages/Vote/index.tsx
2021-05-03 20:37:44 -05:00
jochenboesmans
fe35ca9db8
use enum for enumerateProposalState #1166 ( #1381 )
...
* Use ts enum for ProposalState in state/governance/hooks.ts (#1166 )
* Use ProposalState enum in Vote/styled.tsx for determining colors of state text etc. (#1166 )
2021-05-03 20:33:34 -05:00
Moody Salem
4bc1b8eb5c
Merge branch 'main' into v3-main
2021-05-03 20:30:46 -05:00
AmagiDDmxh
7801695180
fix(block number): Update polling block number breathing behavior ( #1379 )
2021-05-03 20:30:32 -05:00
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 )
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
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
Moody Salem
464a682fcc
show the better trade link for v2/v3
2021-04-28 13:27:14 -05:00
Moody Salem
6ace3c211c
fix linting errors
2021-04-28 12:55:56 -05:00
Moody Salem
2d0b0c70bf
drop the show details stuff
2021-04-28 12:55:28 -05:00
Moody Salem
3c3be3c61a
fix some unit tests
2021-04-28 12:17:40 -05:00
Noah Zinsmeister
d342ccdb78
use sdk for more calldata
2021-04-27 22:24:29 -04:00
Moody Salem
3a34c2ec25
eth swaps kinda working
2021-04-27 19:20:05 -05:00
Moody Salem
83b0ef94f9
show the worst amounts/prices instead of current price
2021-04-27 13:07:07 -05:00
Moody Salem
3680b93fb3
make the way we get the v2 router consistent, start working through changes in the swap callback
2021-04-27 11:00:34 -05:00
Moody Salem
8e86ded09b
temporarily hude the usdc value, use the disable multihop setting in the v3 routing
2021-04-27 10:35:09 -05:00
Moody Salem
37a50372f6
improve responsiveness of header
2021-04-27 10:16:02 -05:00
Noah Zinsmeister
ab99cc612b
add current price
2021-04-27 10:51:12 -04:00
Moody Salem
11a4fa23c1
fix the approve callback from trade bug
2021-04-26 21:26:57 -05:00
Callil Capuozzo
5358b4dc15
New swap layout ( #53 )
...
* re-work header
* swap tweaks
* re-work swap in progress
- inline slippage
- hidey details
- better invert UI
- better flip rate ui
* Swap improvements
- new layout order
* New swap layout
* merge main
* get all the tests running
* skip the swap test as well
Co-authored-by: Moody Salem <moody.salem@gmail.com>
2021-04-26 20:59:56 -05:00
Moody Salem
ccbd5dfcf7
show v3 quotes
2021-04-26 19:35:32 -05:00
Noah Zinsmeister
bb17c57a84
nits
2021-04-26 15:51:31 -04:00
Noah Zinsmeister
3b6213f411
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-04-26 14:28:45 -04:00
Noah Zinsmeister
a5251f55de
improve stepping behavior
2021-04-26 14:28:36 -04:00
Moody Salem
d846c83afa
handle errored calls better
2021-04-26 13:23:53 -05:00
Noah Zinsmeister
00438bea12
fix tick bug
2021-04-26 14:21:42 -04:00
Noah Zinsmeister
0dd5e6b33f
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-04-26 14:15:40 -04:00
Noah Zinsmeister
2d7642ed9b
simplify range ui
2021-04-26 14:15:32 -04:00
Moody Salem
740e18454f
fix linting errors for the preview
2021-04-26 13:01:13 -05:00
Moody Salem
7c17cfc642
bump and use the unchecked trade creation method
2021-04-26 12:29:20 -05:00
Moody Salem
7f61b67947
first pass v3 routing code
2021-04-26 12:17:37 -05:00
Moody Salem
466c0b0142
remove the anonymous credentials from the image (it causes a CORS preflight)
2021-04-26 10:53:55 -05:00
Moody Salem
1c6d9d810e
keep list asset requests anonymous
2021-04-26 10:50:34 -05:00
Noah Zinsmeister
c3ad129658
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-04-26 11:20:49 -04:00
Moody Salem
a25a72d0d9
use path encoding from v3-sdk
2021-04-26 10:14:21 -05:00
Noah Zinsmeister
dbc9e85b90
bug fixes
2021-04-26 11:13:02 -04:00
Ian Lapham
7dafb0cfba
Remove UI ( #52 )
...
* use token0 as base in all calculations
* refactor
* fix price order
* fix existing position ticks
* remove empty space
* basic remove page
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-04-25 18:46:53 -04:00
Ian Lapham
da33ec9d2f
use token0 as base in all calculations ( #51 )
...
* use token0 as base in all calculations
* refactor
* fix price order
* fix existing position ticks
* remove empty space
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-04-25 15:45:37 -04:00
Moody Salem
605368629f
surface the best v3 route to the swap page
2021-04-24 20:27:56 -05:00
Moody Salem
ca2b84ec0b
get the best route in v3 for an exact in swap
2021-04-24 18:52:13 -05:00
Moody Salem
ac7cf35bb7
missed a spot
2021-04-24 17:43:57 -05:00
Moody Salem
bd346030f0
useAllV3Routes, some cleanup
2021-04-24 17:43:14 -05:00
Moody Salem
aa742f415d
create some hooks for using in v3 swap routing
2021-04-23 21:32:31 -05:00
Moody Salem
77fa61495f
fix loading state flashing in pool page
2021-04-23 21:12:34 -05:00
Moody Salem
bff3811faf
use multicall2
2021-04-23 18:26:24 -05:00
Moody Salem
60d1f8743f
just a bit more refactoring to remove the data directory
2021-04-23 17:57:48 -05:00
Moody Salem
2d118a904a
refactor some hooks into the hooks directory
2021-04-23 17:54:24 -05:00
Moody Salem
b69f08cbe1
allow fetching multiple pools via usePools.ts
2021-04-23 17:31:36 -05:00
Noah Zinsmeister
644ecdbd32
extra /
2021-04-23 13:04:12 -04:00
Noah Zinsmeister
4b47ae6da3
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-04-23 13:03:25 -04:00
Noah Zinsmeister
fe6a46fc0f
css bug fix
2021-04-23 13:03:06 -04:00
Moody Salem
539a6e05e5
don't fetch pool tick data
2021-04-23 11:58:07 -05:00
Noah Zinsmeister
3693c83b6e
remove liquidity sends ETH now
...
can collect fees from position page now
2021-04-23 12:08:21 -04:00
Ian Lapham
18408c9c75
Increase Liquidity, component cleanup, preview components ( #50 )
...
* basic +/- buttons
* start increase liquidity
* fix v3 remove
2021-04-22 22:58:03 -04:00
Noah Zinsmeister
39f018bae0
small formatting fix
2021-04-22 18:45:36 -04:00
Noah Zinsmeister
c00eb2451f
fix small merge bug
2021-04-22 18:43:07 -04:00
Noah Zinsmeister
6b99309fab
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-04-22 18:36:20 -04:00
Noah Zinsmeister
976b15986f
add fee calculations
2021-04-22 18:36:11 -04:00
Moody Salem
df4c18c8d4
remove v1 swaps and migrate ( #46 )
...
* remove v1 swaps and migrate
* simplify
* more delete
* revert route changes
* fix v2 add
* fix integration tests
* try to fix https://github.com/Uniswap/v3-interface/issues/41
2021-04-22 17:10:18 -05:00
Moody Salem
62d3aa4b76
update sdk and addresses
2021-04-22 15:54:34 -05:00
Noah Zinsmeister
361d17c925
add permit support to migration
2021-04-22 15:23:13 -04:00
Noah Zinsmeister
9269f15ffc
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-04-21 17:46:33 -04:00
Noah Zinsmeister
925668c7a7
get skeleton remove working
2021-04-21 17:46:25 -04:00
Moody Salem
f833133689
add margin bottom to text in confirm transaction modal
2021-04-21 14:11:04 -05:00
Moody Salem
c73a2655cb
Merge branch 'main' into v3-main
2021-04-21 13:07:12 -05:00
Graeme Blackwood
d425ff64b4
[UPDATE] Correctly inverts Uniswap logo for dark mode. ( #1263 )
2021-04-21 12:59:12 -05:00
Noah Zinsmeister
d1fad3c4ea
update to latest deploy
...
refactor useV3Positions to work with remove
axe old redirects
2021-04-20 15:31:31 -04:00
Noah Zinsmeister
a1c4b97a18
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-04-19 17:56:00 -04:00
Noah Zinsmeister
f00adc755a
refactor range selection and use in migrate
...
improve migrate
2021-04-19 17:55:52 -04:00
Ian Lapham
e97939c545
update position details page ( #43 )
2021-04-19 15:49:43 -04:00
Moody Salem
63907b7bc5
fix icon urls
2021-04-19 13:02:04 -05:00
Moody Salem
48ad8e529f
more flexible detection of network
2021-04-19 12:55:54 -05:00
Moody Salem
b669ec6976
workaround for detectNetwork on our custom provider
2021-04-19 12:51:16 -05:00
Moody Salem
2d4b60b9dd
Merge branch 'main' into v3-main
...
# Conflicts:
# .env
# README.md
# package.json
# src/components/TokenWarningModal/index.tsx
# src/connectors/index.ts
# src/constants/index.ts
# src/hooks/Trades.ts
# src/index.tsx
# src/state/claim/hooks.ts
# src/state/user/hooks.tsx
# yarn.lock
2021-04-19 11:37:33 -05:00
Noah Zinsmeister
9fc096d091
Finish migration ( #42 )
...
* start migration (wip)
abstract some add liquidity components
bump deploy version
* add slippage params
2021-04-16 17:35:50 -04:00
Jordan Frankfurt
9f5584c37d
Start Position management, bug fix on add amounts ( #40 )
...
* very rough positions/pools data fetching and position list rendering
* fix formatting
* fix loading
* position page routing, bug on add page
Co-authored-by: ianlapham <ianlapham@gmail.com>
2021-04-16 15:33:26 -04:00
Noah Zinsmeister
392d78b9da
add to ADDITIONAL_BASES
2021-04-16 13:54:31 -04:00
Noah Zinsmeister
231289732c
add additional bases ( #1363 )
...
* add routing token
* add logic for additional bases
* update address
2021-04-16 13:47:38 -04:00
Ian Lapham
0c0305a53d
Add page MVP UI + v3 pool hooks and state ( #35 )
...
* WIP start usePool and useDerivedMint hooks
* naming updates
* Use real tick and pool math
* rate updates
* WIP start usePool and useDerivedMint hooks
* naming updates
* Use real tick and pool math
* rate updates
* fix warnings
* fix incorrect import
* clean up state, fix preview
* same token check
* amoutn parse update
* update hard coded chain id
* fix price creation in util
* update 1 amount in price calculation
* update comments
* update tick spacing input
* fix label on counter
* update rate label on range select
* update labels
* fixing pool hook
* clean pool hook
* preserve working rate switching
* reset values on rate switch
* clean up derived hook - setup for testnet
* format slippage amounts and support ETH
* fix import error
* fix package.json dependencies
* silence warnings
* silence more warnings
* bump multicodec and multihashes
* update migrator constants
* update txn to use sdk calldata
* fix txn formatting, update summary
* Squashed commit of the following:
commit b81ff7ca9e57bb8c3823be4c54827e5955fb3d15
Author: ianlapham <ianlapham@gmail.com>
Date: Mon Apr 12 23:46:09 2021 -0400
fix txn formatting, update summary
commit b9f91b0746c546602d336c8fd6f614ec9b4f3f19
Author: ianlapham <ianlapham@gmail.com>
Date: Mon Apr 12 19:29:12 2021 -0400
update txn to use sdk calldata
commit 20acf704c67cfd4f597494c8cb9c672c6270ae02
Merge: 4431914 2462901
Author: ianlapham <ianlapham@gmail.com>
Date: Sun Apr 11 20:33:39 2021 -0400
Merge branch 'minting' of https://github.com/Uniswap/v3-interface into minting
commit 44319146372e1c373b025741ae896fa2476e5765
Author: ianlapham <ianlapham@gmail.com>
Date: Sun Apr 11 20:32:35 2021 -0400
update migrator constants
commit 35e0618de06ba316d3a3f327075625760414ab83
Merge: 8927882 c3f65e3
Author: ianlapham <ianlapham@gmail.com>
Date: Sun Apr 11 20:13:36 2021 -0400
Merge branch 'main' of https://github.com/Uniswap/v3-interface into minting
commit 24629019e80c368c337a2679a51d4acb1097171c
Author: Noah Zinsmeister <noahwz@gmail.com>
Date: Fri Apr 9 15:56:25 2021 -0400
bump multicodec and multihashes
commit 9b5dd1876a64acbf6694d208b608bb0b429e317f
Author: Noah Zinsmeister <noahwz@gmail.com>
Date: Fri Apr 9 14:59:09 2021 -0400
silence more warnings
commit 140ddc1b54c7fbdd7ead2fa64bcc302f201d69f5
Author: Noah Zinsmeister <noahwz@gmail.com>
Date: Fri Apr 9 14:57:58 2021 -0400
silence warnings
commit 5a2726ebdd4ffaacfb3d8ec7903a944042c1bd9d
Author: Noah Zinsmeister <noahwz@gmail.com>
Date: Fri Apr 9 14:35:01 2021 -0400
fix package.json dependencies
commit 7c4d0a40931338de9a6197652b82fdab773483e3
Author: Noah Zinsmeister <noahwz@gmail.com>
Date: Fri Apr 9 14:21:46 2021 -0400
fix import error
commit e49ef19cbef7fbdf1737787a439e7cb78ba295b4
Merge: 8927882 c3f65e3
Author: Noah Zinsmeister <noahwz@gmail.com>
Date: Fri Apr 9 14:08:34 2021 -0400
Merge branch 'main' into minting
commit 89278825bd798a87d6010a74f8fc1d2b34a8ece1
Author: ianlapham <ianlapham@gmail.com>
Date: Thu Apr 8 15:18:40 2021 -0400
format slippage amounts and support ETH
commit 9a90b19e9a759cbc0c3e903a983660730c8833ad
Author: ianlapham <ianlapham@gmail.com>
Date: Wed Apr 7 19:43:43 2021 -0400
clean up derived hook - setup for testnet
commit dc034bc78a147f95f47b077d28a7d6e3165cedd7
Author: ianlapham <ianlapham@gmail.com>
Date: Wed Apr 7 00:48:24 2021 -0400
reset values on rate switch
commit bb5ccb2c853f7b2c27ec8d2f34f42a1b06f845b9
Author: ianlapham <ianlapham@gmail.com>
Date: Wed Apr 7 00:38:39 2021 -0400
preserve working rate switching
commit 5312d0ae7015150da48ba304de8c7a02b7d8925c
Author: ianlapham <ianlapham@gmail.com>
Date: Mon Apr 5 13:52:46 2021 -0400
clean pool hook
commit 5222de14834e76c37755225be17214a6e798d872
Merge: b2ba466 24521f0
Author: ianlapham <ianlapham@gmail.com>
Date: Mon Apr 5 12:20:34 2021 -0400
Merge branch 'main' of https://github.com/Uniswap/v3-interface into minting
commit b2ba46684a7b0bd8a8362f5990f4a208bfeff2dd
Author: ianlapham <ianlapham@gmail.com>
Date: Mon Apr 5 12:19:20 2021 -0400
fixing pool hook
commit b10742af99a725e04c1b756aa20f99e995f8cfeb
Author: ianlapham <ianlapham@gmail.com>
Date: Thu Apr 1 16:53:52 2021 -0400
update labels
commit 05abd395949245596c95090a9d5d77c7c272dbd3
Author: ianlapham <ianlapham@gmail.com>
Date: Thu Apr 1 15:34:17 2021 -0400
update rate label on range select
commit f098d01b6f4dc1dcb99e0fa314dde93647a19bb6
Author: ianlapham <ianlapham@gmail.com>
Date: Thu Apr 1 15:26:30 2021 -0400
fix label on counter
commit 16ffe61e8ee2b677adf5d468efa9d7aa8d7e092e
Author: ianlapham <ianlapham@gmail.com>
Date: Thu Apr 1 15:06:50 2021 -0400
update tick spacing input
commit 0fa2c8a15821dd32ec978750991a962ecb8f7344
Author: ianlapham <ianlapham@gmail.com>
Date: Thu Apr 1 14:53:18 2021 -0400
update comments
commit 1fccf57a1ef081ef6ba9790dc20e0ed604ac2b09
Author: ianlapham <ianlapham@gmail.com>
Date: Thu Apr 1 14:52:37 2021 -0400
update 1 amount in price calculation
commit b0e5d22bf8c57b3eacd75f077f68aaca4a9f975a
Author: ianlapham <ianlapham@gmail.com>
Date: Thu Apr 1 14:46:41 2021 -0400
fix price creation in util
commit 1ce246e85372e4f120f983ca18a1eb3d16e8647e
Author: ianlapham <ianlapham@gmail.com>
Date: Thu Apr 1 13:55:14 2021 -0400
update hard coded chain id
commit 2360b2d0a3233b604956e89de4bd7b09c0506875
Author: ianlapham <ianlapham@gmail.com>
Date: Thu Apr 1 13:09:21 2021 -0400
amoutn parse update
commit 6a99a7b71fe446fe77cb2741adce4c067862ca4a
Author: ianlapham <ianlapham@gmail.com>
Date: Thu Apr 1 13:05:41 2021 -0400
same token check
commit 83a1fd5a9ff02c6a49532cb54a57770b52fc052e
Author: ianlapham <ianlapham@gmail.com>
Date: Thu Apr 1 12:31:21 2021 -0400
clean up state, fix preview
commit 8592383b8386d7adbbaeaa2c6f9c36bb121d1c65
Author: ianlapham <ianlapham@gmail.com>
Date: Wed Mar 31 22:47:56 2021 -0400
fix incorrect import
commit ce526fd545e52142f847dbf3caec1ca37bb0650b
Author: ianlapham <ianlapham@gmail.com>
Date: Wed Mar 31 22:36:10 2021 -0400
fix warnings
commit 572770fd3e000ce31cd3a6c5c5c91eac92cc8c5c
Merge: a9e5b6c 2677491
Author: ianlapham <ianlapham@gmail.com>
Date: Wed Mar 31 22:16:30 2021 -0400
Merge branch 'minting' of https://github.com/Uniswap/v3-interface into minting
commit a9e5b6c5e5983e279a640886783f97c33b713125
Author: ianlapham <ianlapham@gmail.com>
Date: Wed Mar 31 22:12:43 2021 -0400
rate updates
commit b88cab6c06176eefe5cf71f7cc3e3664d9f514ab
Author: ianlapham <ianlapham@gmail.com>
Date: Wed Mar 31 16:15:08 2021 -0400
Use real tick and pool math
commit ed933cfd17141174c03b0bcac5f41cf75ff9b258
Author: ianlapham <ianlapham@gmail.com>
Date: Sun Mar 28 22:42:05 2021 -0400
naming updates
commit 50c0a0ece5c6c66a603508529c5e7a28f45db632
Author: ianlapham <ianlapham@gmail.com>
Date: Sun Mar 28 22:36:08 2021 -0400
WIP start usePool and useDerivedMint hooks
commit 2677491e2128e1318a0dd4307e63069e0f8e1dfe
Author: ianlapham <ianlapham@gmail.com>
Date: Wed Mar 31 22:12:43 2021 -0400
rate updates
commit c2f59d6c61068a2bf4d34d102d5d28c9863ce982
Author: ianlapham <ianlapham@gmail.com>
Date: Wed Mar 31 16:15:08 2021 -0400
Use real tick and pool math
commit 7d53e5c7e979be19fc5c63eb52307f302328c4eb
Author: ianlapham <ianlapham@gmail.com>
Date: Sun Mar 28 22:42:05 2021 -0400
naming updates
commit 9022650d391682f97e71d336021c2db2e5ea5455
Author: ianlapham <ianlapham@gmail.com>
Date: Sun Mar 28 22:36:08 2021 -0400
WIP start usePool and useDerivedMint hooks
* remove 1337 references
* clean up multicall
* clean up redirects/router
* cleanup
* improve useAllV3Ticks
* fix multicall
* typo
* Fix code style issues with ESLint
* preserve sticky
* reset to non fixed scroll
* fix inputs at 1
* update tests
* fix routes
* sticky sidebar
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2021-04-14 10:12:35 -04:00
Brandon Curtis
140ff7a674
update BASES_TO_CHECK_TRADES_AGAINST ( #1333 )
2021-04-12 11:32:45 -05:00
Noah Zinsmeister
c3f65e3abd
migration v2 ( #38 )
...
* wip
* add some v2 paths
* start to refactor migrate page
update deploy addresses
* fix tests
* stub out v3 remove
* silence some lint warnings
2021-04-09 14:01:56 -04:00
Lint Action
306aaa3a20
Fix code style issues with ESLint
2021-04-08 15:28:38 +00:00
Noah Zinsmeister
d08cae175a
update to latest deploy + multicall 2
2021-04-08 11:27:19 -04:00
Noah Zinsmeister
f0f4110b4b
update some multicall constants
2021-04-06 10:34:28 -04:00
Noah Zinsmeister
24521f0c92
deploy new tick lens, fix hook
2021-04-02 21:21:47 -04:00
Noah Zinsmeister
a037595e6e
chunk multicall by gas cost
...
add useAllV3Ticks
2021-04-02 20:00:28 -04:00
Moody Salem
b964953daf
fix(walletconnect): use a dedicated walletconnect bridge
2021-03-31 12:36:56 -05:00
Moody Salem
649fd9c845
fixes https://github.com/Uniswap/uniswap-interface/issues/1351 ( #1352 )
2021-03-31 12:26:03 -05:00
Jordan Frankfurt
edf4c47451
add external abi types ( #37 )
2021-03-31 03:40:13 -04:00
Jordan Frankfurt
c0ce6a55c4
add typechain gen scripts ( #36 )
...
add typechain generation for core/periphery contracts
2021-03-30 03:51:37 -04:00
Ian Lapham
6347e63a15
update unsupported list ( #1346 )
2021-03-28 16:11:18 -04:00
Moody Salem
bdcb9a8a0a
fix(google analytics): anonymize IP in hits sent to google analytics
...
https://developers.google.com/analytics/devguides/collection/analyticsjs/ip-anonymization
2021-03-26 16:40:16 -05:00
Moody Salem
8d90bb7a39
fix(google analytics): don't set user cookies
2021-03-26 16:32:13 -05:00
Luke Donato
fbb797fa54
Move single hop toggle GA event ( #1344 )
...
* Move single hop toggle GA event
Move GA event from setSingleHopOnly hook to toggle function
* Fix code style issues with ESLint
* refactor ternary operator out
Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2021-03-26 10:02:07 -05:00
Ian Lapham
878fc9cf4d
Refactor with core ( #33 )
...
* Update index.ts
* feature(service worker): add offline support (#1319 )
* Revert "feature(service worker): add offline support (#1319 )" (#1320 )
This reverts commit 34dfb41a1e0a647596c5d37d5e3f7baa6c4005a3.
* Revert "Revert "feature(service worker): add offline support (#1319 )" (#1320 )" (#1321 )
This reverts commit db3328c8d9d7ea7b7cf7e75dc658714798d007a4.
* unregisters all installed service workers (#1322 )
* fix: modals stealing focus across frames (#1326 )
* improvement(lists): add BA SEC tokens to unsupported list (#1327 )
* show hidden search results by default
* update break styles
* optimize filter, use debounce on input
* increase debounce time
* add ba association list
* handle dismiss (#1328 )
* split up sdk use between core and v2
* Fix code style issues with ESLint
* remove service worker
Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Hyperion <72735936+moontools-hyperion@users.noreply.github.com>
Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2021-03-23 21:45:58 -04:00
Jordan Frankfurt
32e679c62e
prototype position data hook ( #32 )
...
Co-authored-by: Jordan Frankfurt <layup-entropy@protonmail.com>
2021-03-23 20:18:52 -04:00
Jordan Frankfurt
8ace518311
stop destructuring merkle drop response object ( #1338 )
...
stop destructuring merkle drop response object
Co-authored-by: Jordan Frankfurt <layup-entropy@protonmail.com>
2021-03-18 11:57:13 -04:00
Jordan Frankfurt
59164f876f
dont destructure response
2021-03-18 11:36:27 -04:00
Jordan Frankfurt
5d952661d7
fix(merkle drop): make claim a post request
2021-03-18 01:46:51 -04:00
Jordan Frankfurt
67c776c995
fix(merkle drop): make claim a post request
2021-03-18 01:46:11 -04:00
Rand Seay
719754c46c
fix(info link): Update view pair analytics link
...
fixes #1299
2021-03-16 13:55:38 -05:00
Ian Lapham
9170af888e
handle dismiss ( #1328 )
2021-03-11 18:08:41 -05:00
Ian Lapham
9509737811
Improvement(add): Style tweaks on add page, remove timeout ( #30 )
...
* start add liquidity
* update add state, add input UI
* basic add skeleton with dummy state
* refactor with preview steps on add
* small style tweaks, timeout update
* remove merge conflict
2021-03-09 11:58:41 -05:00
Callil Capuozzo
e42a26c3dc
Tweak position list styles
2021-03-09 11:01:26 -05:00
Ian Lapham
eeb258ebd5
improvement(Add): skeleton UI with dummy state ( #29 )
...
* start add liquidity
* update add state, add input UI
* basic add skeleton with dummy state
* refactor with preview steps on add
2021-03-08 20:52:36 -05:00
Jordan Frankfurt
ab1538b196
feature(position-list): add summary page for positions with mock data ( #28 )
...
* feature(position-list): add summary page for positions with mock data
* add loading states
* mobile layout
2021-03-03 17:21:14 -05:00
Ian Lapham
b258f557d1
improvement(lists): add BA SEC tokens to unsupported list ( #1327 )
...
* show hidden search results by default
* update break styles
* optimize filter, use debounce on input
* increase debounce time
* add ba association list
2021-02-25 14:08:17 -05:00
Hyperion
9d8c7f8e12
fix: modals stealing focus across frames ( #1326 )
2021-02-24 14:59:04 -06:00
Jordan Frankfurt
9c44e61e23
unregisters all installed service workers ( #1322 )
2021-02-18 13:34:31 -05:00
Jordan Frankfurt
71db11b6ac
Revert "Revert "feature(service worker): add offline support ( #1319 )" ( #1320 )" ( #1321 )
...
This reverts commit db3328c8d9d7ea7b7cf7e75dc658714798d007a4.
2021-02-18 13:10:53 -05:00
Jordan Frankfurt
db3328c8d9
Revert "feature(service worker): add offline support ( #1319 )" ( #1320 )
...
This reverts commit 34dfb41a1e0a647596c5d37d5e3f7baa6c4005a3.
2021-02-18 13:03:32 -05:00
Jordan Frankfurt
34dfb41a1e
feature(service worker): add offline support ( #1319 )
2021-02-17 14:43:49 -05:00
ianlapham
7e5a230a33
update chart styles
2021-02-16 21:54:51 -05:00
ianlapham
20adf82c79
add dynamic toggle
2021-02-16 21:51:46 -05:00
Jordan Frankfurt
0ec6cad6d1
Revert "fix(storybook): remove it for now" ( #9 )
...
fix rebass types to work with storybook
2021-02-16 17:33:55 -05:00
Lint Action
9d9b57dd4c
Fix code style issues with ESLint
2021-02-16 08:46:17 +00:00
Lint Action
b6d8512316
Fix code style issues with ESLint
2021-02-16 08:36:54 +00:00
Jordan Frankfurt
4e17107ac5
upgrade prettier
2021-02-16 03:34:45 -05:00
Jordan Frankfurt
6965707d45
Revert "upgrade prettier"
...
This reverts commit 5fabe438e52d4844307f86577d1d13a2e571e5f5.
2021-02-16 03:26:53 -05:00
ianlapham
88f8f804d9
remove chart on swap page
2021-02-15 21:43:29 -05:00
ianlapham
c1042c6b7a
update chart font
2021-02-15 21:42:28 -05:00
ianlapham
3cb382376a
format chart component
2021-02-15 21:27:42 -05:00
ianlapham
333c907e63
remove stories
2021-02-15 17:19:21 -05:00
Lint Action
b630d59437
Fix code style issues with ESLint
2021-02-15 17:01:46 +00:00
Jordan Frankfurt
bf9dad2550
bump react
2021-02-14 05:41:46 -05:00
Moody Salem
e77fcd21dc
Update index.ts
2021-02-13 20:03:05 -06:00
Jordan Frankfurt
98e77cb01b
fix(storybook): remove it for now
2021-02-13 03:28:56 -05:00
ianlapham
b05c4c111c
add start of chart component
2021-02-12 16:15:02 -05:00
Jordan Frankfurt
619c7c2d95
feature(storybook): first pass at storybook integration
2021-02-12 15:32:25 -05:00
Jordan Frankfurt
0b7846ee1d
fix(discord): correct links ( #1315 )
2021-02-10 10:56:42 -05:00
Ian Lapham
f450d34d69
feat(transactions): enable button to add tokens to metamask ( #1311 )
...
* start on adding button for watching tokens
* add tokens to metamask
* add confirmation view
* reset modal view
2021-02-09 18:55:38 -05:00
Ian Lapham
76ab349b9e
show hidden search results by default ( #1310 )
...
* show hidden search results by default
* update break styles
* optimize filter, use debounce on input
* increase debounce time
2021-02-09 17:51:27 -05:00
Jordan Frankfurt
8fd894f2d1
fix a prominent instance ( #1304 )
2021-02-03 12:34:46 -05:00
Ian Lapham
cc22183388
fix(modal cutoff, lists): make modal scrollable on small screens, fix typo, auto update all lists ( #1301 )
...
* update all lists, not just active ones
* fix typo
2021-02-01 12:37:18 -05:00
Moody Salem
bbd50f066d
fixes https://github.com/Uniswap/uniswap-interface/issues/1214
2021-02-01 09:44:47 -06:00
Ian Lapham
2291e3ec20
improvement(lists): enable Gemini by default ( #1276 )
...
* update import flow and style tweaks
* update tests
* Update tsconfig.json
* add gemini
* enable gemini
2021-01-21 17:34:15 -07:00
Ian Lapham
28d8f0b0bb
Improvement(token import): update import flow and style tweaks ( #1273 )
...
* update import flow and style tweaks
* update tests
* Update tsconfig.json
2021-01-20 23:22:32 -07:00
Ian Lapham
8bed3900ba
Improvements(lists): update defaults, style updates ( #1270 )
...
* update defaults, style updates
* update icon color
2021-01-18 14:40:42 -05:00
Ian Lapham
a1000c6576
improvement(routing): use WBTC pairs for routing swaps, style updates ( #1269 )
...
* 'Added WBTC to default option for routing in main UI"
* update settings button
Co-authored-by: Gismar <thegismar@gmail.com>
2021-01-18 13:29:13 -05:00
Ian Lapham
267204d98e
Improvement(lists): Switch to multiple active lists ( #1237 )
...
* basic support for multiple active lists
* start search across inactive lists
* store card before list update
* basic import flow for inactive tokens
* update supported lists
* update import flow for address pasting
* basic mvp
* hide filter if no results
* update min heights
* update manage view, index tokens on page load
* start routing fix for multi hops
* switch to input amount comparison on exactOut
* start list import view
* updated list UI, token search updates, list import flow, surpress popups and warnings
* add unsupported tokens
* show warning if logged out
* update to opyn list
* show token details on warning;
* make percent logic more clear
* remove uneeded comaprisons
* move logic to functions for testing
* test updates
* update list reducer tests
* remove unused locals
* code cleanup
* add unsupported local list
* add multi hop disable switch
* add GA
* fix bug to return multihop no single
* update swap details
* copy updates
* Visual refinements
* Further tweaks
* copy updates, actual list order
* Move settings button
* Update all trade views with settings cog
* Add better tips, remove darkmode toggle from dropdown
* Clean up routing UI
* UI tweaks
* minor tweaks
* copy updates
* add local default list, use existing function for trade comparison, disable v1 helper, show inactive/active at once
* updated inactive view
* remove slippage fix
* update output amount return
* center button, update search to character threshold
* reset add state on back navigation
* style tweak on add button
* fix bug on search results
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2021-01-14 11:20:50 -05:00
vbstreetz
74f50f1b7e
fix(typo): toggle ( #1260 )
...
Closes #1229
2021-01-13 13:16:41 -06:00
Ian Lapham
a70aa41df2
Routing updates only ( #1265 )
...
* start routing fix for multi hops
* switch to input amount comparison on exactOut
* make percent logic more clear
* remove uneeded comaprisons
* move logic to functions for testing
* add multi hop disable switch
* add GA
* fix bug to return multihop no single
* update swap details
* code clean
* routing only
2021-01-12 17:36:57 -05:00
Ian Lapham
587b659816
catch error in bytes32 string parsing ( #1253 )
2020-12-30 11:50:40 -05:00
Ian Lapham
5388cab779
update vote timestamp estimation ( #1242 )
2020-12-21 14:49:58 -05:00
Georgios Konstantopoulos
cadd68fb37
feat: allow overriding proposals in the UI ( #1239 )
...
* feat: allow overriding proposals in the UI
* Fix code style issues with ESLint
Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2020-12-18 10:12:22 -05:00
Noah Zinsmeister
b93fd230bd
Specially Designated Nationals and Blocked Persons Ethereum addresses
2020-12-08 16:11:42 -05:00
Wei Li
e9a11bb604
fix(vote): make the vote page responsive
2020-12-01 21:40:28 -06:00
Noah Citron
c5afbedb3e
fixed bug causing wbtc to have 18 decimals ( #1211 )
...
Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com>
2020-11-25 07:59:24 -06:00
Matheus Faria de Alencar
5b2c44522e
fix(list popup): big token list updates scroll issue ( #1219 )
2020-11-20 09:28:25 -06:00
Ian Lapham
7fd4005154
Fix(UNI page): hide inactive pools ( #1213 )
...
* Hide rewards
* remove config changes
* move active detection to hook, small changes
* replace string math
2020-11-18 13:43:17 -05:00
Ian Lapham
c9ee1b3b32
Fix(pool page): show deposited liquidity on pool page ( #1195 )
...
* Show staked liquidity on pool page
* update button, cleanup
* Show combined balance for staking cards
* hide buttons on position card if no balance
2020-11-09 12:11:58 -05:00
Grzegorz Kućmierz
eb4c305eff
fix(ens): support ens names with dashes in them
...
* fix: parseENSAddress #1200
* fix: lint error #1200
* fix: parseENSAddress - allow to match domains with twice characters; disallow more than once dash next to each other
2020-11-07 08:19:01 -08:00
Nadav Hollander
8975086a69
Remove title parsing from description output ( #1179 )
...
Co-authored-by: Nadav Hollander <nadavhollander@Nadavs-Work-MacBook-Pro.local>
2020-10-24 19:40:56 -04:00
Moody Salem
ddf88345a9
fix(token lists): stop showing notifications for lists that are not selected ( #1174 )
2020-10-20 14:03:51 -05:00
Shane Fontaine
32ac25556b
improve displayed proposal end time accuracy ( #1173 )
2020-10-19 10:14:56 -04:00
Ian Lapham
50a599c005
update vote fetching logic, delegate only on global page ( #1165 )
...
* update vote fetching logic, delegate only on global page
* Update index.ts
* add helper message on proposal page
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2020-10-12 17:13:27 -04:00
Ian Lapham
9c473270ee
fix(governance): modal bugs, redable styles, show common names for contracts ( #1164 )
...
* fix modal bugs, reable styles, show common names for contracts
* use theme for blue
2020-10-12 15:45:20 -04:00
_XiaoTian
b650b17563
fix: Fix the style of account transaction record list. ( #1104 )
...
Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com>
2020-10-09 20:09:33 -05:00
Nikita Kudryavtsev
fc76177791
fix style of proposals text block in vote page ( #1149 )
2020-10-09 18:12:49 -05:00
Jay Welsh
69655980db
fix(ethereum-logo): centers Ethereum logo ( #1157 )
2020-10-09 10:52:06 -05:00
TM Lee
e835a34d0d
fix(coingecko token list): Replace CoinGecko tokens list with all.json ( #1147 )
2020-10-01 22:45:51 -05:00
Jordan Frankfurt
33fdf28dec
fix(notifications): update margin for EVEN SMALLER mobile devices ( #1146 )
2020-10-01 14:00:13 -05:00
Jordan Frankfurt
c45c293e82
fix(mobile popups): add right margin to mobile notifications ( #1142 )
2020-10-01 13:23:48 -05:00
Moody Salem
b50cac0181
fix(uni): fix uni in circulation calculation and make uni button always show up
2020-09-28 15:13:22 -05:00
Moody Salem
22a7fdc8e7
fix the tests
2020-09-24 11:37:03 -05:00
Moody Salem
03913d9c0b
UNI
2020-09-24 11:29:31 -05:00
Moody Salem
fb31c75838
test failed due to randomness. make it less likely to fail.
2020-09-01 11:28:18 -05:00
Moody Salem
b8c383c20e
fix( #1083 ): fix wrapping of tokens added/removed in list update popup
2020-09-01 10:45:26 -05:00
Ian Lapham
975570fa97
improvement(swap): progress bar and more minimal default UI, also fix custom add/remove ( #1069 )
...
* add progress bar and minimal UI updates on swap
* add hook to explicity check user added tokens, fixes add/remove bug
* update with latest
* remove confusing comment
* update styles on loading, update arrow placement, code cleanup
* fix typo on progress import
2020-08-31 15:27:30 -04:00
Moody Salem
d6aa0e98a4
chore(token lists): replace aave token list with ens name
2020-08-28 10:52:21 -05:00
Ian Lapham
4644cd7b0a
update missing logo icon ( #1070 )
2020-08-27 20:49:28 -04:00
Moody Salem
9ddedd8dab
fix(pending approves): pending approves that are too old should not cause 'approving' to get stuck
2020-08-27 15:34:04 -05:00
Moody Salem
95030a52c5
fix(remove liquidity): price display in remove liquidity incorrect
2020-08-27 14:26:23 -05:00
Moody Salem
1911f72536
improvement(swap): show better trade link if trade doesn't exist on one version
2020-08-27 13:25:25 -05:00
Moody Salem
85217452db
improvement(ts): strict everywhere
2020-08-27 13:10:00 -05:00
Moody Salem
f7a1a2ab58
move noImplicitAny and some type declarations
2020-08-27 12:24:03 -05:00
Moody Salem
66a2006284
more strictness everywhere, fix a pair pricing issue in mint/hooks.ts
2020-08-27 12:05:09 -05:00
Moody Salem
610b7f4464
make integration tests pass more reliably, some reducer refactoring
2020-08-27 10:21:51 -05:00
Callil Capuozzo
ce12635332
Merge branch 'master' of https://github.com/Uniswap/uniswap-interface
2020-08-26 15:15:06 -04:00
Callil Capuozzo
2182e18f85
Add coingecko and tweak list introduction screen
2020-08-26 15:14:48 -04:00
Moody Salem
ad2c7dfdff
add 3 more lists
2020-08-26 13:36:55 -05:00
Moody Salem
cb36c9103e
fix integration tests, update default list
2020-08-26 11:43:10 -05:00
Moody Salem
0a1459ee83
remove any bias from the list selection
2020-08-26 10:47:55 -05:00
Moody Salem
8896a042f0
title for list URL only on list origin
2020-08-26 10:14:38 -05:00
Moody Salem
61ad07c3f2
add zerion list
2020-08-26 10:10:57 -05:00
Moody Salem
81a5164d99
fix the browse lists link
2020-08-26 09:34:46 -05:00
Moody Salem
467e80a42f
improvement( #1043 ): do not allow swapping to bad addresses
2020-08-26 09:19:59 -05:00
Moody Salem
58f25aa439
another list
2020-08-26 08:54:33 -05:00
Moody Salem
7cf25ac7c8
feat(lists): allow selecting and adding token lists ( #1023 )
...
* more list stuff
Use the selected list instead of the default list, but also use the default list
start list selection code
* move token warning to a modal, fix the install issue
* add/remove/enter key
* handle enter on currency select for ETHER
* change slippage tolerance to be a slider
* make ui closer to the mocks
* commit slider changes
* back to tabs
* copy changes
* bump list version
* some styling for the list select
* bump uniswap default list version
* use contract calls to get ens names and addresses
* show list logo
* fix failing integration test
* .eth.link
* list introduction screen
* remove showSendWithSwap
* fix integration and unit tests
* resolve ENS names
* logos from ens
* fix the lint errors
* some refactoring to better support using a the library provider from the user for resolving ENS names
* load list info from the list url for the introduction page
* make it slightly harder to remove a list
* minor clean up, some help text and links
* remove icon from list update popup
* show added/removed tokens
* add GA everywhere, don't debounce contenthash lookups
* show tags
* fix tag key
* tag display, list rendering, needs optimization
* fix list fetching in firefox, style issue in safari
* sort the lists, clean up styling
* use client provider when possible
* show token warning for url loaded tokens
* improve the warning modal
* some refactoring to fix the list fetching on networks other than mainnet
* fix tests
* some minor improvements
* increase timeout to maybe fix integration tests which pass locally
* build for tests using the dev network url
* reset the lists if we deleted the other two copies
* improve how we handle updating the default list of lists
* fix integration test
* Update token list selection styles
* fix external links, reuse the on click outside code, show add errors
* show the list origin instead of the full url
* fix update list link
* show host instead of hostname
do not automatically dismiss major version upgrades for lists
* fix link to tokenlists.org
* add uma
* clean up styling in list rows
* bump token list version
* bump token list version again
* hover symbol to see currency name
* bump version
* add cmc lists, dharma list
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2020-08-26 08:46:21 -05:00
Moody Salem
09b54570e1
fix integration test for recipient
2020-08-24 13:52:41 -05:00
Moody Salem
73580de922
improvement(swap): show add a send only for expert mode
2020-08-24 13:33:46 -05:00
Moody Salem
f1b300af70
add a hook for getting the USDC price of any currency
2020-08-17 08:36:38 -05:00
Moody Salem
600049bc6e
fix(list): change the url of the default token list so we can move the file in the npm package
2020-08-11 14:44:25 -05:00
Moody Salem
6e91311489
remove console.log statement
2020-08-10 15:11:05 -05:00
Moody Salem
f6a464cb3b
fix(ampl): do not swap ampl via pairs other than DAI/ETH
2020-08-10 15:05:41 -05:00
Moody Salem
e589c751d7
improvement(swap errors): show more information about the swap error
2020-08-10 12:05:35 -05:00
Moody Salem
0f91af1df2
improvement(swap): Better swap errors for FoT ( #1015 )
...
* move the gas estimation stuff into its own hook and report errors from the gas estimation
* fix linter errors
* show the swap callback error separately
* rename some variables
* use a manually specified key for gas estimates
* flip price... thought i did this already
* only show swap callback error if approval state is approved
* some clean up to the swap components
* stop proactively looking for gas estimates
* improve some retry stuff, show errors inline
* add another retry test
* latest ethers
* fix integration tests
* simplify modal and fix jitter on open in mobile
* refactor confirmation modal into pieces before creating the error content
* finish refactoring of transaction confirmation modal
* show error state in the transaction confirmation modal
* fix lint errors
* error not always relevant
* fix lint errors, remove action item
* move a lot of code into ConfirmSwapModal.tsx
* show accept changes flow, not styled
* Adjust styles for slippage error states
* Add styles for updated price prompt
* Add input/output highlighting
* lint errors
* fix link to wallets in modal
* use total supply instead of reserves for `noLiquidity` (fixes #701 )
* bump the walletconnect version to the fixed alpha
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2020-08-06 18:18:43 -05:00
Moody Salem
10ef04510a
fix(fonts): font-display in non-font-variation-settings conditioned css
2020-07-31 12:12:42 -05:00
Moody Salem
e3b3d9e825
fix(swaps): band-aid fix for gas estimates to disable multihop for eth-ampl
2020-07-31 11:50:30 -05:00
Ian Lapham
2150450760
improvement(token warnings): show better warnings for imported tokens ( #1005 )
...
* add updated ui warnings for imported tokens
* remove useless styling
* update to surpress on default tokens
* add integration tests for warning cards on token import
* remove callbacks as props in token warning card
2020-07-30 15:21:37 -04:00
Moody Salem
1b07e95885
fix(add liquidity): fix the mint hooks to return a price as well as return the dependent amount in the input currency ( #1011 )
2020-07-28 17:04:33 -05:00
Moody Salem
9bb50d6a7b
unit tests for the uri to http method
2020-07-28 08:10:52 -05:00
Moody Salem
b08bb7eaff
add an integration test
2020-07-27 13:29:25 -05:00
Moody Salem
2962cd0e14
fix(migrate v1): migrate v1 pages and formatting
2020-07-27 12:33:02 -05:00
Moody Salem
6a311aa6d7
fix(v1 swap): exact out swaps not working
2020-07-27 08:45:48 -05:00
Moody Salem
e78b6d61f2
improvement(transactions): some clean up and unit tests
...
- fetch transaction state less often for old transactions
- fix a bug calling non payable methods with value 0
2020-07-27 08:45:48 -05:00
Moody Salem
365b429c0b
feat(token lists): implement the uniswap default list as a token list ( #983 )
...
* load tokens from url `useTokenList`
* improve performance of the loading
* move the loading to redux and save loaded lists
* lint error
* move the list fetching code to a separate component
* change how token lists are fetched to use the updater and add unit tests
* fix a crash with currencyEquals
* bump sdk version
* token lists should automatically update for minor/patch changes
* nit
* show popups for list updates
* support pointing at localhost
* spuport ipfs/ipns logos
* use the updater to bump list versions
* save the old/new list in the popup for viewing diffs
* improve the list popup
* fix linter error, make sure visibility checking is working
* show list update notifications
* address a couple metamask warnings, linter error
* fix the custom added/default tokens
* refactor some popup stuff to reuse the fader
* linter error
* Revert: refactor some popup stuff to reuse the fader (a7b0f752)
* style improvements, linter
* add to the readme, drop the token-request template
* back to the beta that works with wallet connect
* get the dependencies to a state that works with wallet connect and passes integration tests
2020-07-25 10:41:03 -05:00
Moody Salem
32d300009e
just bump the polling interval, aiming to have same # of blockNumber requests as calls or less
2020-07-21 15:57:09 -05:00
Moody Salem
806623c602
save some calls on the redundant chain id requests
2020-07-21 15:43:52 -05:00
Moody Salem
19b1e9e399
feat(weth): support WETH across the site and use sdk 3.0 ( #947 )
...
* first pass of sdk 3.0
* second pass using weth
* kill unused pool popup
* get it compiling again
* first pass of sdk 3.0
* switch to currencies
* get it compiling after the big move merge
* restore margin
* clean up add liquidity more
* fix a bunch of bugs
* todo trade on v1
* show eth in currency list
* allow selecting eth in the swap page
* fix unit tests for swap page
* test lint errors
* fix failing integration tests
* fix another couple of failing unit tests
* handle selecting currency b when no currency a
* improve the import pool page
* clean up add liquidity for invalid pairs
* bold
* first pass at swap arguments for v1, some unit tests
* fix some bugs in add liquidity, burn hook
* fix last of ts errors in remove liquidity
* support wrapping/unwrapping weth
* kill a bunch of code including the dummy pairs
* required pair prop in the position card
* tests for the v1 swap arguments
* do not say estimated on the wrap ui
* show ETH instead of WETH in the pool summaries
* small size socks
* fix lint error
* in burn, use currencies from the URL
* fix some integration tests
* both contain weth
* receive eth/weth link
* fix empty row
* show wrapped only if one currency is weth
* currency selects in the remove liquidity page
2020-07-20 06:48:42 -05:00
Moody Salem
6287b95b92
fix( #961 ): change send copy
2020-07-17 09:05:20 -05:00
Ian Lapham
4e8a6e2a4c
change copy on confirm view ( #969 )
2020-07-16 11:59:37 -04:00
Moody Salem
877db71e2a
improvement(analytics): add exception reporting
2020-07-14 10:57:28 -04:00
Moody Salem
f4b5727fdb
longer wait between retries
2020-07-13 18:03:12 -04:00
Moody Salem
1fd6b1e659
tweaking the slippage tabs for mobile again
2020-07-13 10:49:04 -04:00
Moody Salem
6570beef32
add BZRX token
2020-07-13 10:46:32 -04:00
Moody Salem
b57f58ab35
fix(title): link to relative path
2020-07-13 10:21:46 -04:00
Moody Salem
2f40c4f614
fix(settings): smaller slippage tabs for small screens
2020-07-12 12:57:06 -04:00
Moody Salem
3f9c34d37d
always render the wordmark in the header
2020-07-12 12:53:05 -04:00
Moody Salem
1d5c6530e3
fix(header): some responsive style changes to the header
2020-07-12 12:50:53 -04:00
Moody Salem
78f294c340
more retries since metamask nodes often return old data
2020-07-12 12:43:36 -04:00
Moody Salem
90d24a26f3
retry tests
2020-07-11 15:25:33 -04:00
Moody Salem
7a3a5bd546
nit
2020-07-11 11:51:22 -04:00
Moody Salem
081ae15aa8
retry failed requests up to 3 times
2020-07-11 11:42:27 -04:00
Moody Salem
f5a5c5e70d
fix(rpc spam): retries while remote node is out of sync
2020-07-11 11:09:45 -04:00
Moody Salem
e05e0206b7
fix a warning with add liquidity button
2020-07-10 15:31:58 -04:00
Moody Salem
344b4340ae
improvement(pool): simplify pool flow, remove pool search modal ( #941 )
...
* deleting some code first
* strict, some refactoring
* denser common bases
* more add liquidity refactoring
* add liquidity paths working
* show common bases in the token selects
* fix the ability to select duplicate tokens
* useless rename
* try to handle alllll the duplicate token edge cases
* think i got them all lol
* remove common bases header
* Revert "remove common bases header"
This reverts commit 6ac4565d
* fix and add integration tests
* make gap between rows smaller
* get integration tests actually running again
* try another format of the command, upgrade serve
* frozen lockfile on install
* try the cypress github action
* install cypress in ci
* remove redundant ignore-scripts command
* use a specific github commit for the pinata action
* fix a bug in the multicall reducer, improve token list rendering performance
* improve the enter key on the token search modal
* stop using history.push
* fix linting errors
* position card cleanup before updating to match mock
2020-07-10 15:25:15 -04:00