uniswap-interface-uncensored/src/hooks
Zach Pomerantz d54783a324
fix: memoize more swap (#2950)
* fix: memoize derived swap info

* fix: memoize current block timestamp

* fix: memoize price impact

* fix: memoize debounced value updates

* fix: nits
2022-01-18 18:40:23 -05:00
..
Tokens.ts refactor: mv token hooks to lib (#3122) 2022-01-14 11:30:04 -08:00
useActiveLocale.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useActiveWeb3React.ts chore: import @ethersprojects directly (#3104) 2022-01-12 10:06:22 -08:00
useAddTokenToMetamask.ts feat: include native currency in widget select (#3124) 2022-01-18 12:11:22 -08:00
useAllCurrencyCombinations.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useAllV3Routes.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useApeModeQueryParamReader.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useApproveCallback.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useArgentWalletContract.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useAutoRouterSupported.tsx refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useBestTrade.test.ts feat: integrate SwapRouter02 on L1/L2 + gas ui 2021-12-16 14:44:03 -05:00
useBestTrade.ts fix: memoize more swap (#2950) 2022-01-18 18:40:23 -05:00
useBestV2Trade.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useClientSideV3Trade.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useColor.ts feat: populate the widget token selector (#3080) 2022-01-11 09:28:02 -08:00
useContract.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useCopyClipboard.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useCurrentBlockTimestamp.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useDebounce.ts fix: memoize more swap (#2950) 2022-01-18 18:40:23 -05:00
useDebouncedChangeHandler.tsx fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useDerivedPositionInfo.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useENS.ts fix: memoize hooks from /swap (#2949) 2021-12-09 13:06:55 -08:00
useENSAddress.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useENSAvatar.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useENSContentHash.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useENSName.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useERC20Permit.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useFeeTierDistribution.ts feat: mv block number to atom (#3108) 2022-01-12 19:36:08 -08:00
useFetchListCallback.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useGasPrice.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useHttpLocations.ts feat: populate the widget token selector (#3080) 2022-01-11 09:28:02 -08:00
useIsArgentWallet.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useIsSwapUnsupported.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useIsTickAtLimit.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useIsWindowVisible.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useLast.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useLocationLinkProps.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useMachineTime.ts chore: merge widgets work into main (#3065) 2022-01-05 12:38:53 -06:00
useMonitoringEventCallback.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useOnClickOutside.tsx fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useParsedQueryString.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
usePools.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
usePoolTickData.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
usePositionTokenURI.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
usePrevious.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useSocksBalance.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useSwapCallback.tsx refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useSwapSlippageTolerance.ts refactor: mv token hooks to lib (#3122) 2022-01-14 11:30:04 -08:00
useTheme.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useToggle.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useTokenAllowance.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useTokenInfoFromActiveList.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useTotalSupply.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useTransactionDeadline.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useUSDCPrice.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useV2Pairs.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useV3PositionFees.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useV3Positions.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08:00
useV3SwapPools.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useWindowSize.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useWrapCallback.tsx refactor: mv token hooks to lib (#3122) 2022-01-14 11:30:04 -08:00
web3.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00