TeaTwo
816249b4b1
fix: replace jazzicon to @metamask/jazzicon ( #1659 )
2021-05-20 15:10:39 -07:00
Moody Salem
70292a5512
do not ask for approve for argent wallet migrate
2021-05-20 16:36:51 -05:00
Justin Domingue
ecdbb4a49f
revert: "fix: handle insufficient input amount error in v2 add liquidity ( #1652 )" ( #1665 )
...
This reverts commit 307a995a50c0ec39c9d4f43937081c67e5e33505.
2021-05-20 11:08:07 -07:00
Justin Domingue
536a5d99de
fix: fix typo is getLiquidityMinted catch ( #1663 )
2021-05-20 10:11:42 -07:00
Noah Zinsmeister
ffc2015595
invalidate stale requests in useV3PositionFees
2021-05-20 12:31:46 -04:00
Moody Salem
5e30a4b4ad
refactor: bump to latest sdk ( #1657 )
2021-05-20 11:21:40 -05:00
Moody Salem
b14da2844d
chore: remove all tick lens stuff that is not used
v3.3.6
2021-05-19 17:35:59 -05:00
Justin Domingue
d3c04b7246
fix: stabilize fiat value by fixing max hop and increasing USDC out to 100k ( #1651 )
...
* stablizie fiat value by fixing max hop and increasing USDC out to 100k
* move maxHops and singleHopOnly to parameter of useV2TradeExactOut
* remove single hop param
2021-05-19 13:21:27 -07:00
Justin Domingue
307a995a50
fix: handle insufficient input amount error in v2 add liquidity ( #1652 )
...
* handle insufficient input amount error in mint/hooks
* use error.isInsufficientInputAmountError
* fixed typo
2021-05-19 13:18:32 -07:00
Moody Salem
46911593e5
fix: removing and adding liquidity when the price of the pool is at the min/max price
...
fixes https://github.com/Uniswap/uniswap-interface/issues/1641
v3.3.5
2021-05-18 19:17:05 -05:00
Justin Domingue
1ac36c7b6b
fix: display pool shares < 10% ( #1639 )
...
* fix: display pool shares < 10%
* set bips to 1/10_000
2021-05-18 17:07:06 -05:00
Moody Salem
8e055df447
refactor: make the price computation in v2 add liquidity a little safer
2021-05-18 16:06:54 -05:00
Moody Salem
02ecd727eb
fix: do not crash when user switches eth -> weth in add ( #1637 )
...
* fix: do not crash when user switches eth -> weth in add
* linting error
2021-05-18 16:52:34 -04:00
Moody Salem
adc8429bdc
fix: working copy to clipboard button in walletconnect qr code modal ( #1636 )
...
fixes https://github.com/Uniswap/uniswap-interface/issues/1488
2021-05-18 15:22:53 -05:00
Moody Salem
458d34d96c
give the check a name
2021-05-18 15:14:33 -05:00
Justin Domingue
6a4fa0c9bf
fix: division by 0 error when both reserves are 0 ( #1632 )
...
* set pair to invalid if both reserves are 0
* consider reserve0/1=0 as no liquidity
2021-05-18 12:50:28 -07:00
Moody Salem
7fc9a655fc
fix: improve rendering of fee dollar values
2021-05-18 14:35:02 -05:00
Moody Salem
8d3babd015
refactor: more separation by chain of addresses
2021-05-18 14:33:03 -05:00
Moody Salem
75ed4c5dae
fix: missed a memo for fetching v2 pairs ( #1635 )
2021-05-18 14:21:06 -05:00
Justin Domingue
58dfadb13c
handle custom token overflow ( #1634 )
2021-05-18 11:32:09 -07:00
Moody Salem
3d5f5f783c
chore: check pr titles
2021-05-18 13:26:23 -05:00
jab416171
ecb7132843
Add etherscan links for the two tokens in the pool on the NFT page ( #1593 )
...
* Add etherscan links for the two tokens in the pool on the NFT page
* moving linked tokens to a function
added arrow to show that it's a link
added check for eth
* clean up impl
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-18 13:34:20 -04:00
Justin Domingue
980eb8a518
Leverage Trade api for USDC price with v2 & v3 support ( #1610 )
...
* calculate usdc price using trade exact out
* fix typo
* add support for non-mainnet
* use fromRawAmount instead of tryParseAmount
2021-05-18 10:07:37 -07:00
Noah Zinsmeister
a11e89c0e1
hide WETH toggle for non-WETH pairs ( #1633 )
...
* only show weth toggle for eth pairs
* revert unwrappedToken change
2021-05-18 12:58:42 -04:00
Moody Salem
3efe5268ae
refactor: break down some constants files and move some stuff around
2021-05-18 10:31:22 -05:00
Moody Salem
3f43a8fbaf
npx not needed
2021-05-18 09:28:30 -05:00
Ian Lapham
cccf149568
fix: update tick parsing to handle min/max prices ( #1613 )
...
* update tick parsing to handle min/max prices
* remove fee tier step
v3.3.4
2021-05-17 20:19:15 -04:00
Justin Domingue
604ea49567
Revert "lazy load uncommon routes to reduce initial bundle size ( #1597 )" ( #1611 )
...
This reverts commit 4c0c6dfde698ccc94ed196a229e1e6e2cf084d05.
2021-05-17 11:24:31 -07:00
Justin Domingue
4c0c6dfde6
lazy load uncommon routes to reduce initial bundle size ( #1597 )
2021-05-17 11:03:49 -07:00
Noah Zinsmeister
a160bb8f02
Merge remote-tracking branch 'refs/remotes/origin/main'
2021-05-17 11:54:17 -04:00
Noah Zinsmeister
e86946b104
bump to sdk version that fixes mint slippage bug
...
closes #1573
2021-05-17 11:54:06 -04:00
Moody Salem
03108b981e
update README.md
2021-05-17 10:14:35 -05:00
Moody Salem
ae27e245b4
replace the message when we fail to parse an error
v3.3.3
v3.3.2
2021-05-14 14:13:13 -05:00
Moody Salem
897f354202
chore: bump mathieudutour/github-tag-action to latest release version to fix generated changelogs
...
https://github.com/Uniswap/uniswap-interface/issues/1572
2021-05-14 10:56:57 -05:00
Moody Salem
4745052f0e
fix: break words in swap error messages (fixes https://github.com/Uniswap/uniswap-interface/issues/1462 )
2021-05-14 10:50:55 -05:00
Moody Salem
5bc5d6504e
improve the text slightly
v3.3.1
2021-05-14 08:45:17 -05:00
Moody Salem
7a0b85bf41
improvement: estimated amounts instead of minimum/maximums ( #1570 )
...
* estimated amounts instead of minimum/maximums
* missed a spot
* fix linting error
2021-05-14 07:15:53 -05:00
OMGspidertanx
534afb3278
fix: tweak element sizing/wraping in approve button ( #1569 )
2021-05-14 07:15:41 -05:00
Moody Salem
7d71af353e
perf: debounce localStorage save
2021-05-14 07:10:25 -05:00
Moody Salem
af6098bfe5
feat: allow walletconnect on testnets ( #1389 )
...
* try walletconnect multinetwork
* clean up environment variables for multinetwork
* remove irrelevant config
* move some stuff around
Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
v3.3.0
2021-05-13 17:46:30 -05:00
Moody Salem
fce29bb36f
fix: division by 0 when computing the USDC value of tokens that do not have a v2 pair (fixes https://github.com/Uniswap/uniswap-interface/issues/1566 )
2021-05-13 17:27:34 -05:00
Noah Zinsmeister
4517af39ba
don't jump on mouse exit ( #1565 )
2021-05-13 17:06:25 -04:00
Noah Zinsmeister
b40163ce05
allow fee collection/liquidity removal in weth ( #1553 )
...
* add dummy flags for burn/collect as weth
* add toggles
* clean up toggle position
* only show weth toggle if collection is possible
2021-05-13 14:49:54 -04:00
Moody Salem
809902efec
fixes https://github.com/Uniswap/uniswap-interface/issues/1386
v3.2.39
2021-05-13 12:17:34 -05:00
Noah Zinsmeister
70be9894fa
bump walletlink connector ( #1563 )
2021-05-13 12:35:17 -04:00
Moody Salem
698ad5bac9
bump v3 sdk
2021-05-13 11:21:07 -05:00
Moody Salem
cd37b7533d
put the error reason in the message so we can differentiate between unrecognized errors
2021-05-13 11:16:37 -05:00
Justin Domingue
c0cd6a1c8d
handle ape= query parameter ( #1555 )
...
* handle expert_mode= and ape= query parameters
* removed console log
* use useParsedQueryString
* only handle setting ape mode
2021-05-13 12:01:58 -04:00
Moody Salem
f6245d1093
retry more frequently, couple more error nits
2021-05-13 10:51:06 -05:00
Moody Salem
83c784f7c0
improve the error coverage
2021-05-13 10:51:06 -05:00