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
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
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
Noah Zinsmeister
925668c7a7
get skeleton remove working
2021-04-21 17:46:25 -04: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
f00adc755a
refactor range selection and use in migrate
...
improve migrate
2021-04-19 17:55:52 -04: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
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
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
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
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
a037595e6e
chunk multicall by gas cost
...
add useAllV3Ticks
2021-04-02 20:00:28 -04: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
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
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
Lint Action
9d9b57dd4c
Fix code style issues with ESLint
2021-02-16 08:46:17 +00:00
Jordan Frankfurt
6965707d45
Revert "upgrade prettier"
...
This reverts commit 5fabe438e52d4844307f86577d1d13a2e571e5f5.
2021-02-16 03:26:53 -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
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
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
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
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
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
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
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
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
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
Moody Salem
03913d9c0b
UNI
2020-09-24 11:29:31 -05: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
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
Moody Salem
467e80a42f
improvement( #1043 ): do not allow swapping to bad addresses
2020-08-26 09:19:59 -05:00