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
a64d526206
bump v3-sdk version again (fixing core/periphery dependencies)
2021-04-21 14:19:43 -05:00
Moody Salem
69234eb708
bump v3-sdk version
2021-04-21 14:14:18 -05: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
Moody Salem
c55061873c
update the v2-sdk version
2021-04-21 13:06:35 -05:00
Graeme Blackwood
d425ff64b4
[UPDATE] Correctly inverts Uniswap logo for dark mode. ( #1263 )
v3.2.17
2021-04-21 12:59:12 -05:00
Graeme Blackwood
2f47fdf71d
[UPDATE] Makes favicon visible in dark mode. ( #1264 )
2021-04-21 12:58:59 -05:00
Moody Salem
d4562a2373
uncomment release workflow lines (will be disabled manually)
2021-04-21 12:48:43 -05:00
Moody Salem
e13369154d
Merge branch 'main' into v3-main
...
# Conflicts:
# .github/workflows/tests.yaml
2021-04-21 12:37:20 -05:00
Moody Salem
9f8719f2a5
remove styled badge
2021-04-21 12:37:07 -05:00
Moody Salem
77b640c41b
chore(tests): improve the CI ( #1370 )
...
* improve the CI
* change triggers
* add pull request target back
2021-04-21 12:35:49 -05:00
dependabot[bot]
d2f98bc9b4
chore(deps): bump ssri from 6.0.1 to 6.0.2 ( #1368 )
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 12:33:51 -05:00
Moody Salem
6be54afd12
fix the integration test errors from upgrading ethers
2021-04-21 11:19:34 -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
dependabot[bot]
e4dd4f9283
chore(deps): bump ini from 1.3.5 to 1.3.8 ( #1277 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v3.2.16
2021-04-19 10:55:13 -05:00
Moody Salem
7798443919
improvement(walletconnect): upgrade the walletconnect connector to 6.1.9
2021-04-19 09:52:41 -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