Skip to content

Commit 8a7af36

Browse files
ci(release): publish latest release
1 parent d601b7c commit 8a7af36

File tree

10 files changed

+30
-10
lines changed

10 files changed

+30
-10
lines changed

RELEASE

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmQfE3pMVV1oR1B3nQddxPTEZBtyB4HPvAUHoKJRxYRaRT`
3-
- CIDv1: `bafybeibcpgdkbtvg5jux6wn55msnxuhlhswer4y5lashm6jltipdq3dtxy`
2+
- CIDv0: `QmZFXGq1NtaYzhf3RjWjaoTmr3ezXGMvLQjgudHxaofoNd`
3+
- CIDv1: `bafybeifcea7jfix5tqs6q65iuy2z2mano572wljjxqndobhh2qp7uwhnry`
44

55
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
66

@@ -10,14 +10,14 @@ You can also access the Uniswap Interface from an IPFS gateway.
1010
Your Uniswap settings are never remembered across different URLs.
1111

1212
IPFS gateways:
13-
- https://bafybeibcpgdkbtvg5jux6wn55msnxuhlhswer4y5lashm6jltipdq3dtxy.ipfs.dweb.link/
14-
- [ipfs://QmQfE3pMVV1oR1B3nQddxPTEZBtyB4HPvAUHoKJRxYRaRT/](ipfs://QmQfE3pMVV1oR1B3nQddxPTEZBtyB4HPvAUHoKJRxYRaRT/)
13+
- https://bafybeifcea7jfix5tqs6q65iuy2z2mano572wljjxqndobhh2qp7uwhnry.ipfs.dweb.link/
14+
- [ipfs://QmZFXGq1NtaYzhf3RjWjaoTmr3ezXGMvLQjgudHxaofoNd/](ipfs://QmZFXGq1NtaYzhf3RjWjaoTmr3ezXGMvLQjgudHxaofoNd/)
1515

16-
### 5.68.2 (2025-01-29)
16+
### 5.68.3 (2025-01-29)
1717

1818

1919
### Bug Fixes
2020

21-
* **web:** use qn rpc for default and remove cloudflare eth (#15670) 14bd6aa
21+
* **web:** include correct hook filter on ListPools queries (#15669) 3828ffa
2222

2323

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web/5.68.2
1+
web/5.68.3

apps/web/src/components/Charts/LiquidityRangeInput/LiquidityRangeInput.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { PriceChartType } from 'components/Charts/utils'
1111
import { DropdownSelector } from 'components/DropdownSelector'
1212
import { useDensityChartData } from 'components/LiquidityChartRangeInput/hooks'
1313
import { DataQuality } from 'components/Tokens/TokenDetails/ChartSection/util'
14+
import { ZERO_ADDRESS } from 'constants/misc'
1415
import { usePoolPriceChartData } from 'hooks/usePoolPriceChartData'
1516
import {
1617
getCurrencyAddressWithWrap,
@@ -44,6 +45,7 @@ export function LiquidityRangeInput({
4445
tickSpacing,
4546
protocolVersion,
4647
poolId,
48+
hook,
4749
minPrice,
4850
maxPrice,
4951
setMinPrice,
@@ -56,6 +58,7 @@ export function LiquidityRangeInput({
5658
tickSpacing?: number
5759
protocolVersion: ProtocolVersion
5860
poolId: string
61+
hook?: string
5962
minPrice?: number
6063
maxPrice?: number
6164
disableBrushInteraction?: boolean
@@ -173,6 +176,7 @@ export function LiquidityRangeInput({
173176
version: protocolVersion,
174177
feeAmount: Number(feeTier),
175178
tickSpacing,
179+
hooks: hook ?? ZERO_ADDRESS,
176180
})
177181

178182
const sortedFormattedData = useMemo(() => {

apps/web/src/components/Liquidity/FeeTierSearchModal.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { FeePoolSelectAction, LiquidityEventName } from '@uniswap/analytics-even
33
import { useAllFeeTierPoolData } from 'components/Liquidity/hooks'
44
import { calculateTickSpacingFromFeeAmount, isDynamicFeeTier } from 'components/Liquidity/utils'
55
import { StyledPercentInput } from 'components/PercentInput'
6+
import { ZERO_ADDRESS } from 'constants/misc'
67
import ms from 'ms'
78
import { useCreatePositionContext } from 'pages/Pool/Positions/create/CreatePositionContext'
89
import { NumericalInputMimic, NumericalInputSymbolContainer } from 'pages/Swap/common/shared'
@@ -64,6 +65,7 @@ export function FeeTierSearchModal() {
6465
protocolVersion,
6566
currencies: derivedPositionInfo.currencies,
6667
withDynamicFeeTier,
68+
hook: hook ?? ZERO_ADDRESS,
6769
})
6870

6971
const showCreateModal = !withDynamicFeeTier && (createModeEnabled || !hasExistingFeeTiers)

apps/web/src/components/Liquidity/hooks.ts

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
mergeFeeTiers,
1010
} from 'components/Liquidity/utils'
1111
import { PriceOrdering, getPriceOrderingFromPositionForUI } from 'components/PositionListItem'
12+
import { ZERO_ADDRESS } from 'constants/misc'
1213
import useIsTickAtLimit from 'hooks/useIsTickAtLimit'
1314
import JSBI from 'jsbi'
1415
import { OptionalCurrency } from 'pages/Pool/Positions/create/types'
@@ -31,10 +32,12 @@ export function useAllFeeTierPoolData({
3132
protocolVersion,
3233
currencies,
3334
withDynamicFeeTier = false,
35+
hook,
3436
}: {
3537
chainId?: number
3638
protocolVersion: ProtocolVersion
3739
currencies: [OptionalCurrency, OptionalCurrency]
40+
hook: string
3841
withDynamicFeeTier?: boolean
3942
}): { feeTierData: Record<number, FeeTierData>; hasExistingFeeTiers: boolean } {
4043
const { t } = useTranslation()
@@ -47,6 +50,7 @@ export function useAllFeeTierPoolData({
4750
protocolVersions: [protocolVersion],
4851
token0: getCurrencyAddressForTradingApi(sortedCurrencies[0]),
4952
token1: getCurrencyAddressForTradingApi(sortedCurrencies[1]),
53+
hooks: hook ?? ZERO_ADDRESS,
5054
},
5155
Boolean(chainId && sortedCurrencies?.[0] && sortedCurrencies?.[1]),
5256
)

apps/web/src/components/LiquidityChartRangeInput/index.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { Chart } from 'components/LiquidityChartRangeInput/Chart'
66
import { useDensityChartData } from 'components/LiquidityChartRangeInput/hooks'
77
import { ZoomLevels } from 'components/LiquidityChartRangeInput/types'
88
import { AutoColumn, ColumnCenter } from 'components/deprecated/Column'
9+
import { ZERO_ADDRESS } from 'constants/misc'
910
import { useColor } from 'hooks/useColor'
1011
import styled, { useTheme } from 'lib/styled-components'
1112
import { saturate } from 'polished'
@@ -86,6 +87,7 @@ export default function LiquidityChartRangeInput({
8687
currencyB,
8788
feeAmount,
8889
tickSpacing,
90+
hook,
8991
poolId,
9092
protocolVersion,
9193
ticksAtLimit,
@@ -100,6 +102,7 @@ export default function LiquidityChartRangeInput({
100102
currencyB?: Currency
101103
feeAmount?: FeeAmount
102104
tickSpacing?: number
105+
hook?: string
103106
poolId?: string
104107
protocolVersion: ProtocolVersion
105108
ticksAtLimit: { [bound in Bound]?: boolean | undefined }
@@ -124,6 +127,7 @@ export default function LiquidityChartRangeInput({
124127
version: protocolVersion,
125128
poolId,
126129
tickSpacing,
130+
hooks: hook ?? ZERO_ADDRESS,
127131
})
128132

129133
const onBrushDomainChangeEnded = useCallback(

apps/web/src/hooks/usePoolTickData.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { ProtocolVersion } from '@uniswap/client-pools/dist/pools/v1/types_pb'
33
import { Currency, V3_CORE_FACTORY_ADDRESSES } from '@uniswap/sdk-core'
44
import { FeeAmount, Pool as V3Pool, tickToPrice } from '@uniswap/v3-sdk'
55
import { Pool as V4Pool } from '@uniswap/v4-sdk'
6+
import { ZERO_ADDRESS } from 'constants/misc'
67
import { TickData, Ticks } from 'graphql/data/AllV3TicksQuery'
78
import JSBI from 'jsbi'
89
import ms from 'ms'
@@ -182,7 +183,7 @@ export function usePoolActiveLiquidity({
182183
protocolVersions: [version],
183184
token0: getCurrencyAddressWithWrap(currencyA, version),
184185
token1: getCurrencyAddressWithWrap(currencyB, version),
185-
hooks,
186+
hooks: hooks ?? ZERO_ADDRESS,
186187
},
187188
poolsQueryEnabled,
188189
)

apps/web/src/pages/Pool/Positions/create/RangeSelectionStep.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export const SelectPriceRangeStep = ({
311311
const { t } = useTranslation()
312312

313313
const {
314-
positionState: { fee },
314+
positionState: { fee, hook },
315315
derivedPositionInfo,
316316
} = useCreatePositionContext()
317317
const { priceRangeState, setPriceRangeState, derivedPriceRangeInfo } = usePriceRangeContext()
@@ -517,6 +517,7 @@ export const SelectPriceRangeStep = ({
517517
currencyA={baseCurrency ?? undefined}
518518
currencyB={quoteCurrency ?? undefined}
519519
feeAmount={fee.feeAmount}
520+
hook={hook}
520521
ticksAtLimit={{
521522
LOWER: ticksAtLimit[0],
522523
UPPER: ticksAtLimit[1],
@@ -536,6 +537,7 @@ export const SelectPriceRangeStep = ({
536537
currency0={quoteCurrency}
537538
currency1={baseCurrency}
538539
feeTier={fee.feeAmount}
540+
hook={hook}
539541
tickSpacing={derivedPositionInfo.pool?.tickSpacing}
540542
protocolVersion={derivedPositionInfo.protocolVersion}
541543
poolId={derivedPositionInfo.poolId}

apps/web/src/pages/Pool/Positions/create/SelectTokenStep.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { getDefaultFeeTiersWithData, isDynamicFeeTier } from 'components/Liquidi
99
import { DoubleCurrencyLogo } from 'components/Logo/DoubleLogo'
1010
import CurrencySearchModal from 'components/SearchModal/CurrencySearchModal'
1111
import { MouseoverTooltip } from 'components/Tooltip'
12+
import { ZERO_ADDRESS } from 'constants/misc'
1213
import { PrefetchBalancesWrapper } from 'graphql/data/apollo/AdaptiveTokenBalancesProvider'
1314
import { useCurrencyInfo } from 'hooks/Tokens'
1415
import { SUPPORTED_V2POOL_CHAIN_IDS } from 'hooks/useNetworkSupportsV2'
@@ -243,6 +244,7 @@ export function SelectTokensStep({
243244
chainId: token0?.chainId,
244245
protocolVersion,
245246
currencies: derivedPositionInfo.currencies,
247+
hook: hook ?? ZERO_ADDRESS,
246248
})
247249

248250
const feeTiers = getDefaultFeeTiersWithData({ chainId: token0?.chainId, feeTierData, t })

apps/web/src/pages/Pool/Positions/create/hooks.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { Pool as V4Pool } from '@uniswap/v4-sdk'
77
import { DepositInfo, DepositState } from 'components/Liquidity/types'
88
import { getPoolFromRest } from 'components/Liquidity/utils'
99
import { ConnectWalletButtonText } from 'components/NavBar/accountCTAsExperimentUtils'
10+
import { ZERO_ADDRESS } from 'constants/misc'
1011
import { checkIsNative, useCurrency, useCurrencyInfo } from 'hooks/Tokens'
1112
import { useAccount } from 'hooks/useAccount'
1213
import { useIsPoolOutOfSync } from 'hooks/useIsPoolOutOfSync'
@@ -93,7 +94,7 @@ export function useDerivedPositionInfo(state: PositionState): CreatePositionInfo
9394
protocolVersions: [protocolVersion],
9495
token0: getCurrencyAddressWithWrap(sortedCurrencies?.[0], protocolVersion),
9596
token1: getCurrencyAddressWithWrap(sortedCurrencies?.[1], protocolVersion),
96-
hooks: state.hook?.toLowerCase(), // BE does not accept checksummed addresses
97+
hooks: state.hook?.toLowerCase() ?? ZERO_ADDRESS, // BE does not accept checksummed addresses
9798
},
9899
poolsQueryEnabled,
99100
)

0 commit comments

Comments
 (0)