Zach Pomerantz
ec831f8433
chore: destructure json imports ( #3622 )
2022-03-29 12:00:42 -07:00
Zach Pomerantz
7cc52abb96
fix: cache computed pool addresses ( #3537 )
2022-03-18 08:00:35 -07:00
Ian Lapham
884bf41da7
fix: add check for undefined slot0 and liquidity call results ( #3513 )
...
* add check for undefined slot0 and liquidity call results
* update null check
* update code order
2022-03-14 14:02:03 -04:00
Zach Pomerantz
f9fb71a803
fix(perf): cache pools to avoid cost of instantiation ( #3499 )
2022-03-11 08:20:16 -08:00
Zach Pomerantz
610f7d3581
fix: named imports (webpack 5 compat) ( #3242 )
...
* fix: avoid json named imports
This is required by webpack 5, and is done to keep the widgets library compatible.
See https://webpack.js.org/migrate/5/#using-named-exports-from-json-modules
Note that this must be done upstream as well, in @uniswap/v3-sdk and @uniswap/router-sdk.
* chore: bump v3-sdk to avoid json named imports
2022-02-07 08:49:48 -08:00
Zach Pomerantz
8784a761d6
feat: add multicall to widget ( #3112 )
...
* feat: mv block number to atom
* fix: add block updater
* fix: fast forward dep
* refactor: mv multicall to lib
* feat: add multicall to widget
* chore: update widget deps
* nit: pluralize updaters
* chore: minimize deps
2022-01-13 08:54:08 -08:00
Zach Pomerantz
ac962fb00d
refactor: separate useActiveWeb3React ( #3106 )
2022-01-12 11:18:11 -08:00
Zach Pomerantz
711b2ca85c
chore: import @ethersprojects directly ( #3104 )
...
* Revert "chore: import from ethers"
This reverts commit 6d9c0855d261679c316307ea3f668869c90e63a2.
* Revert "fix: use provider JsonRpcProvider"
This reverts commit dcbbab5e4d6458a11c38582388a7cb5b12691188.
* chore: depend on @ethersprojects directly
2022-01-12 10:06:22 -08:00
Zach Pomerantz
27412e49d5
chore: import from ethers ( #3094 )
...
* chore: rm lodash
* chore: improve styled-components lint
* chore: import from ethers
* fix: use provider JsonRpcProvider
2022-01-11 11:32:20 -08:00
Zach Pomerantz
e81e8a8f71
fix: inadvertent merges/reverts ( #2915 )
...
* Revert "Revert "Merge branch 'main' of https://github.com/Uniswap/interface " (#2912 )"
This reverts commit 7d343dcfbdf75a2f91d28cefce84e4b1bace7b87.
* Revert "deleted files"
This reverts commit 097b8361d4c09afd3cb681c4622145c555ced884.
2021-12-02 10:35:39 -08:00
Justin Domingue
097b8361d4
deleted files
2021-12-02 11:14:41 -05:00
Moody Salem
53da48b646
refactor: add an import sorting plugin ( #2417 )
...
* refactor: add an import sorting plugin
* Fix code style issues with ESLint
Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2021-09-21 18:21:28 -05:00
Moody Salem
5e30a4b4ad
refactor: bump to latest sdk ( #1657 )
2021-05-20 11:21:40 -05: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
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
Moody Salem
aa742f415d
create some hooks for using in v3 swap routing
2021-04-23 21:32:31 -05:00
Moody Salem
b69f08cbe1
allow fetching multiple pools via usePools.ts
2021-04-23 17:31:36 -05:00