uniswap-interface-uncensored/src/hooks
Lynn b17a38d94b
feat: abstract analytics logging (#3892)
* fix: init commit

* fix: replace ReactGA.event with GoogleAnalyticsProvider.sentEvent

* fix: use GoogleAnalyticsProvider for all other ReactGA usages

* fix: add missing GoogleAnalyticsProvider import

* fix: incorporate zzmp's suggestions

* fix: add import I forgot

* fix: add another import I forgot

* fix: respond to zzmp comments

Co-authored-by: Lynn Yu <lynn.yu@uniswap.org>
2022-06-10 16:36:44 -04:00
..
Tokens.ts feat(swap): default 1 native to usdc on the swap page (#3347) 2022-02-28 13:30:37 -05:00
useAccountRiskCheck.ts feat: abstract analytics logging (#3892) 2022-06-10 16:36:44 -04:00
useActiveLocale.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useActiveWeb3React.ts chore: rm widget code (#3810) 2022-05-10 13:49:04 -07:00
useAddTokenToMetamask.ts feat: upgrade web3-react (#3628) 2022-03-30 20:45:43 -07: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 refactor: migrate state/user to createSlice (#3779) 2022-05-02 15:37:44 -04:00
useApproveCallback.ts refactor: move state/transactions to createSlice (#3758) 2022-04-25 09:22:31 -04:00
useArgentWalletContract.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useAutoRouterSupported.tsx fix: isolate infura (#3241) 2022-02-07 10:12:45 -08:00
useAutoSlippageTolerance.ts fix: update hook deps to improve ref equality checks (#3707) 2022-04-11 16:57:53 -07:00
useBestTrade.test.ts feat(swap): default 1 native to usdc on the swap page (#3347) 2022-02-28 13:30:37 -05:00
useBestTrade.ts chore: upgrade to redux-toolkit 1.8 (#3464) 2022-03-09 12:19:24 -05:00
useBestV2Trade.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useClientSideV3Trade.ts fix: memoize client side v3 router call data (#3595) 2022-03-24 10:30:28 -04:00
useColor.ts fix: defer layout effects (#3687) 2022-04-08 10:27:10 -07:00
useContract.ts chore: bundling nits (#3258) 2022-02-08 16:43:14 -08:00
useCopyClipboard.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useCurrentBlockTimestamp.ts fix: memoize on-chain results (#3493) 2022-03-11 14:56:05 -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 Revert "fix: retain permit validity for lesser amounts (#3580)" (#3586) 2022-03-23 10:33:50 -04:00
useFeeTierDistribution.ts feat: abstract analytics logging (#3892) 2022-06-10 16:36:44 -04:00
useFetchListCallback.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useGasPrice.ts fix: memoize on-chain results (#3493) 2022-03-11 14:56:05 -08:00
useHttpLocations.ts feat: populate the widget token selector (#3080) 2022-01-11 09:28:02 -08:00
useIsArgentWallet.ts fix: memoize on-chain results (#3493) 2022-03-11 14:56:05 -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: omit document ref (#3685) 2022-04-07 15:05:11 -07:00
useLast.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useLocationLinkProps.ts feat: abstract analytics logging (#3892) 2022-06-10 16:36:44 -04:00
useMachineTime.ts chore: merge widgets work into main (#3065) 2022-01-05 12:38:53 -06: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 chore: destructure json imports (#3622) 2022-03-29 12:00:42 -07:00
usePoolTickData.ts feat: lazy load the lib's smart-order-router (#3624) 2022-03-30 14:09:18 -07: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
useSwapCallArguments.tsx feat(widgets): convenience fee (#3231) 2022-02-03 14:48:30 -06:00
useSwapCallback.tsx refactor: move state/transactions to createSlice (#3758) 2022-04-25 09:22:31 -04: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 fix: memoize on-chain results (#3493) 2022-03-11 14:56:05 -08:00
useTransactionDeadline.ts refactor: separate useActiveWeb3React (#3106) 2022-01-12 11:18:11 -08:00
useUSDCPrice.ts fix: update hook deps to improve ref equality checks (#3707) 2022-04-11 16:57:53 -07:00
useV2LiquidityTokenPermit.ts feat: update swap hooks and add swap txn submission (#3187) 2022-01-26 19:21:10 -05:00
useV2Pairs.ts chore: destructure json imports (#3622) 2022-03-29 12:00:42 -07:00
useV3PositionFees.ts fix: bug where user cannot burn lp position if fetching fee values fails. (#3633) 2022-04-12 11:41:31 -04: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: move state/transactions to createSlice (#3758) 2022-04-25 09:22:31 -04:00
web3.ts chore: bundling nits (#3258) 2022-02-08 16:43:14 -08:00