uniswap-interface-uncensored/src/hooks
Zach Pomerantz 4806c69053
fix: map wrapped tokens to native tokens for top/trending (#4855)
* fix: map wrapped to native for trending tokens

* fix: close top tokens subscription

* fix: map wrapped to native for top tokens

* fix: link to native from native

* refactor: unwrapToken.ts

* fix: mv query to effect

* fix: native token logos

* fix: use NATIVE_CHAIN_ID

* fix: rm todo

* fix: include NATIVE_CHAIN_ID

* fix: NATIVE_CHAIN_ID import
2022-10-10 22:34:11 -07:00
..
Tokens.ts feat: explore chain switching (#4710) 2022-09-23 15:15:59 -04:00
useAccountRiskCheck.ts feat(risk): tune down cache (#4208) 2022-08-01 11:13:03 -04:00
useActiveLocale.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useAllCurrencyCombinations.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useAllV3Routes.ts refactor: rm useActiveWeb3React (#4004) 2022-06-30 16:38:02 -07:00
useApeModeQueryParamReader.ts refactor: migrate state/user to createSlice (#3779) 2022-05-02 15:37:44 -04:00
useApproveCallback.ts feat: remove v2, v3 swap router (#4372) 2022-08-17 16:05:16 +00:00
useArgentWalletContract.ts refactor: rm useActiveWeb3React (#4004) 2022-06-30 16:38:02 -07:00
useAutoRouterSupported.tsx feat: add support for Celo (#3915) 2022-07-12 16:48:03 +02:00
useAutoSlippageTolerance.ts feat: integrate widget tx states (#4553) 2022-09-01 13:17:39 -05:00
useBestTrade.test.ts feat: optimize AlphaRouter usage (#4596) 2022-09-09 13:07:53 -07:00
useBestTrade.ts feat: optimize AlphaRouter usage (#4596) 2022-09-09 13:07:53 -07:00
useClientSideV3Trade.ts fix: add celo gas override (#4147) 2022-07-20 14:48:53 -04:00
useColor.ts fix: catch vibrant failure (#4123) 2022-07-18 10:05:56 -04:00
useContract.ts feat: add support for Celo (#3915) 2022-07-12 16:48:03 +02:00
useCopyClipboard.ts chore: upgrade to react 18 (#3992) 2022-07-13 16:56:09 -04:00
useCurrentBlockTimestamp.ts fix: memoize on-chain results (#3493) 2022-03-11 14:56:05 -08:00
useDebounce.ts chore: remove unused exports (#4380) 2022-08-17 11:45:45 -04: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
useEagerlyConnect.ts feat: remove fortmatic (#4167) 2022-08-19 12:06:14 -04: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 refactor: rm useActiveWeb3React (#4004) 2022-06-30 16:38:02 -07: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: remove v2, v3 swap router (#4372) 2022-08-17 16:05:16 +00:00
useFeeTierDistribution.ts feat: data api connection (#4396) 2022-08-19 15:31:10 -04:00
useFetchListCallback.ts feat: use new token lists (#4733) 2022-09-27 16:57:29 -04:00
useGasPrice.ts fix: memoize on-chain results (#3493) 2022-03-11 14:56:05 -08:00
useGlobalChainSwitch.ts fix: refactors the way chainId is accessed in some places (#4818) 2022-10-06 11:55:46 -05:00
useHttpLocations.ts feat: populate the widget token selector (#3080) 2022-01-11 09:28:02 -08:00
useIsArgentWallet.ts refactor: rm useActiveWeb3React (#4004) 2022-06-30 16:38:02 -07: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 chore: upgrade react-router-dom to v6 (#4143) 2022-07-26 17:10:57 -04:00
useMachineTime.ts chore: merge widgets work into main (#3065) 2022-01-05 12:38:53 -06:00
useMultiNetworkAddressBalances.ts fix: map wrapped tokens to native tokens for top/trending (#4855) 2022-10-10 22:34:11 -07:00
useOnClickOutside.ts fix: Fix to mobile wallet experience (#4508) 2022-08-26 13:35:38 -04:00
useOnClickOutside.tsx fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useOrderedConnections.ts feat: remove fortmatic (#4167) 2022-08-19 12:06:14 -04:00
useParsedQueryString.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
usePools.ts refactor: rm useActiveWeb3React (#4004) 2022-06-30 16:38:02 -07:00
usePoolTickData.ts feat: data api connection (#4396) 2022-08-19 15:31:10 -04: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
useSelectChain.ts refactor: split ChainId useEffects (#4348) 2022-08-15 10:20:26 -07:00
useSocksBalance.ts refactor: extract Web3Provider hooks, create internal Connection representation (#4040) 2022-07-07 15:17:49 -04:00
useStablecoinPrice.ts feat: optimize AlphaRouter usage (#4596) 2022-09-09 13:07:53 -07:00
useSwapCallArguments.tsx feat: remove v2, v3 swap router (#4372) 2022-08-17 16:05:16 +00:00
useSwapCallback.tsx feat: remove v2, v3 swap router (#4372) 2022-08-17 16:05:16 +00:00
useSyncChainQuery.ts fix: only initialize using chain query (#4567) 2022-09-08 12:16:29 -04: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
useTokenDetailPageQuery.tsx feat: explore UI (#4262) 2022-08-05 17:37:19 +02:00
useTokenInfoFromActiveList.ts refactor: rm useActiveWeb3React (#4004) 2022-06-30 16:38:02 -07:00
useTokenPrice.ts feat: explore UI (#4262) 2022-08-05 17:37:19 +02:00
useTokenRelevantResources.ts feat: explore UI (#4262) 2022-08-05 17:37:19 +02:00
useTokenWarningColor.ts feat: explore UI (#4262) 2022-08-05 17:37:19 +02:00
useTotalSupply.ts fix: memoize on-chain results (#3493) 2022-03-11 14:56:05 -08:00
useTransactionDeadline.ts refactor: rm useActiveWeb3React (#4004) 2022-06-30 16:38:02 -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: rm useActiveWeb3React (#4004) 2022-06-30 16:38:02 -07:00
useWindowSize.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
useWrapCallback.tsx feat: weth check (#4685) 2022-09-21 11:39:35 -05:00