Skip to content

Commit

Permalink
ci(release): publish latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-happy-puppy committed Jan 29, 2025
1 parent d601b7c commit 8a7af36
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 10 deletions.
12 changes: 6 additions & 6 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
IPFS hash of the deployment:
- CIDv0: `QmQfE3pMVV1oR1B3nQddxPTEZBtyB4HPvAUHoKJRxYRaRT`
- CIDv1: `bafybeibcpgdkbtvg5jux6wn55msnxuhlhswer4y5lashm6jltipdq3dtxy`
- CIDv0: `QmZFXGq1NtaYzhf3RjWjaoTmr3ezXGMvLQjgudHxaofoNd`
- CIDv1: `bafybeifcea7jfix5tqs6q65iuy2z2mano572wljjxqndobhh2qp7uwhnry`

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

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

IPFS gateways:
- https://bafybeibcpgdkbtvg5jux6wn55msnxuhlhswer4y5lashm6jltipdq3dtxy.ipfs.dweb.link/
- [ipfs://QmQfE3pMVV1oR1B3nQddxPTEZBtyB4HPvAUHoKJRxYRaRT/](ipfs://QmQfE3pMVV1oR1B3nQddxPTEZBtyB4HPvAUHoKJRxYRaRT/)
- https://bafybeifcea7jfix5tqs6q65iuy2z2mano572wljjxqndobhh2qp7uwhnry.ipfs.dweb.link/
- [ipfs://QmZFXGq1NtaYzhf3RjWjaoTmr3ezXGMvLQjgudHxaofoNd/](ipfs://QmZFXGq1NtaYzhf3RjWjaoTmr3ezXGMvLQjgudHxaofoNd/)

### 5.68.2 (2025-01-29)
### 5.68.3 (2025-01-29)


### Bug Fixes

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


2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web/5.68.2
web/5.68.3
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { PriceChartType } from 'components/Charts/utils'
import { DropdownSelector } from 'components/DropdownSelector'
import { useDensityChartData } from 'components/LiquidityChartRangeInput/hooks'
import { DataQuality } from 'components/Tokens/TokenDetails/ChartSection/util'
import { ZERO_ADDRESS } from 'constants/misc'
import { usePoolPriceChartData } from 'hooks/usePoolPriceChartData'
import {
getCurrencyAddressWithWrap,
Expand Down Expand Up @@ -44,6 +45,7 @@ export function LiquidityRangeInput({
tickSpacing,
protocolVersion,
poolId,
hook,
minPrice,
maxPrice,
setMinPrice,
Expand All @@ -56,6 +58,7 @@ export function LiquidityRangeInput({
tickSpacing?: number
protocolVersion: ProtocolVersion
poolId: string
hook?: string
minPrice?: number
maxPrice?: number
disableBrushInteraction?: boolean
Expand Down Expand Up @@ -173,6 +176,7 @@ export function LiquidityRangeInput({
version: protocolVersion,
feeAmount: Number(feeTier),
tickSpacing,
hooks: hook ?? ZERO_ADDRESS,
})

const sortedFormattedData = useMemo(() => {
Expand Down
2 changes: 2 additions & 0 deletions apps/web/src/components/Liquidity/FeeTierSearchModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { FeePoolSelectAction, LiquidityEventName } from '@uniswap/analytics-even
import { useAllFeeTierPoolData } from 'components/Liquidity/hooks'
import { calculateTickSpacingFromFeeAmount, isDynamicFeeTier } from 'components/Liquidity/utils'
import { StyledPercentInput } from 'components/PercentInput'
import { ZERO_ADDRESS } from 'constants/misc'
import ms from 'ms'
import { useCreatePositionContext } from 'pages/Pool/Positions/create/CreatePositionContext'
import { NumericalInputMimic, NumericalInputSymbolContainer } from 'pages/Swap/common/shared'
Expand Down Expand Up @@ -64,6 +65,7 @@ export function FeeTierSearchModal() {
protocolVersion,
currencies: derivedPositionInfo.currencies,
withDynamicFeeTier,
hook: hook ?? ZERO_ADDRESS,
})

const showCreateModal = !withDynamicFeeTier && (createModeEnabled || !hasExistingFeeTiers)
Expand Down
4 changes: 4 additions & 0 deletions apps/web/src/components/Liquidity/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
mergeFeeTiers,
} from 'components/Liquidity/utils'
import { PriceOrdering, getPriceOrderingFromPositionForUI } from 'components/PositionListItem'
import { ZERO_ADDRESS } from 'constants/misc'
import useIsTickAtLimit from 'hooks/useIsTickAtLimit'
import JSBI from 'jsbi'
import { OptionalCurrency } from 'pages/Pool/Positions/create/types'
Expand All @@ -31,10 +32,12 @@ export function useAllFeeTierPoolData({
protocolVersion,
currencies,
withDynamicFeeTier = false,
hook,
}: {
chainId?: number
protocolVersion: ProtocolVersion
currencies: [OptionalCurrency, OptionalCurrency]
hook: string
withDynamicFeeTier?: boolean
}): { feeTierData: Record<number, FeeTierData>; hasExistingFeeTiers: boolean } {
const { t } = useTranslation()
Expand All @@ -47,6 +50,7 @@ export function useAllFeeTierPoolData({
protocolVersions: [protocolVersion],
token0: getCurrencyAddressForTradingApi(sortedCurrencies[0]),
token1: getCurrencyAddressForTradingApi(sortedCurrencies[1]),
hooks: hook ?? ZERO_ADDRESS,
},
Boolean(chainId && sortedCurrencies?.[0] && sortedCurrencies?.[1]),
)
Expand Down
4 changes: 4 additions & 0 deletions apps/web/src/components/LiquidityChartRangeInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Chart } from 'components/LiquidityChartRangeInput/Chart'
import { useDensityChartData } from 'components/LiquidityChartRangeInput/hooks'
import { ZoomLevels } from 'components/LiquidityChartRangeInput/types'
import { AutoColumn, ColumnCenter } from 'components/deprecated/Column'
import { ZERO_ADDRESS } from 'constants/misc'
import { useColor } from 'hooks/useColor'
import styled, { useTheme } from 'lib/styled-components'
import { saturate } from 'polished'
Expand Down Expand Up @@ -86,6 +87,7 @@ export default function LiquidityChartRangeInput({
currencyB,
feeAmount,
tickSpacing,
hook,
poolId,
protocolVersion,
ticksAtLimit,
Expand All @@ -100,6 +102,7 @@ export default function LiquidityChartRangeInput({
currencyB?: Currency
feeAmount?: FeeAmount
tickSpacing?: number
hook?: string
poolId?: string
protocolVersion: ProtocolVersion
ticksAtLimit: { [bound in Bound]?: boolean | undefined }
Expand All @@ -124,6 +127,7 @@ export default function LiquidityChartRangeInput({
version: protocolVersion,
poolId,
tickSpacing,
hooks: hook ?? ZERO_ADDRESS,
})

const onBrushDomainChangeEnded = useCallback(
Expand Down
3 changes: 2 additions & 1 deletion apps/web/src/hooks/usePoolTickData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { ProtocolVersion } from '@uniswap/client-pools/dist/pools/v1/types_pb'
import { Currency, V3_CORE_FACTORY_ADDRESSES } from '@uniswap/sdk-core'
import { FeeAmount, Pool as V3Pool, tickToPrice } from '@uniswap/v3-sdk'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
import { ZERO_ADDRESS } from 'constants/misc'
import { TickData, Ticks } from 'graphql/data/AllV3TicksQuery'
import JSBI from 'jsbi'
import ms from 'ms'
Expand Down Expand Up @@ -182,7 +183,7 @@ export function usePoolActiveLiquidity({
protocolVersions: [version],
token0: getCurrencyAddressWithWrap(currencyA, version),
token1: getCurrencyAddressWithWrap(currencyB, version),
hooks,
hooks: hooks ?? ZERO_ADDRESS,
},
poolsQueryEnabled,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export const SelectPriceRangeStep = ({
const { t } = useTranslation()

const {
positionState: { fee },
positionState: { fee, hook },
derivedPositionInfo,
} = useCreatePositionContext()
const { priceRangeState, setPriceRangeState, derivedPriceRangeInfo } = usePriceRangeContext()
Expand Down Expand Up @@ -517,6 +517,7 @@ export const SelectPriceRangeStep = ({
currencyA={baseCurrency ?? undefined}
currencyB={quoteCurrency ?? undefined}
feeAmount={fee.feeAmount}
hook={hook}
ticksAtLimit={{
LOWER: ticksAtLimit[0],
UPPER: ticksAtLimit[1],
Expand All @@ -536,6 +537,7 @@ export const SelectPriceRangeStep = ({
currency0={quoteCurrency}
currency1={baseCurrency}
feeTier={fee.feeAmount}
hook={hook}
tickSpacing={derivedPositionInfo.pool?.tickSpacing}
protocolVersion={derivedPositionInfo.protocolVersion}
poolId={derivedPositionInfo.poolId}
Expand Down
2 changes: 2 additions & 0 deletions apps/web/src/pages/Pool/Positions/create/SelectTokenStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { getDefaultFeeTiersWithData, isDynamicFeeTier } from 'components/Liquidi
import { DoubleCurrencyLogo } from 'components/Logo/DoubleLogo'
import CurrencySearchModal from 'components/SearchModal/CurrencySearchModal'
import { MouseoverTooltip } from 'components/Tooltip'
import { ZERO_ADDRESS } from 'constants/misc'
import { PrefetchBalancesWrapper } from 'graphql/data/apollo/AdaptiveTokenBalancesProvider'
import { useCurrencyInfo } from 'hooks/Tokens'
import { SUPPORTED_V2POOL_CHAIN_IDS } from 'hooks/useNetworkSupportsV2'
Expand Down Expand Up @@ -243,6 +244,7 @@ export function SelectTokensStep({
chainId: token0?.chainId,
protocolVersion,
currencies: derivedPositionInfo.currencies,
hook: hook ?? ZERO_ADDRESS,
})

const feeTiers = getDefaultFeeTiersWithData({ chainId: token0?.chainId, feeTierData, t })
Expand Down
3 changes: 2 additions & 1 deletion apps/web/src/pages/Pool/Positions/create/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { Pool as V4Pool } from '@uniswap/v4-sdk'
import { DepositInfo, DepositState } from 'components/Liquidity/types'
import { getPoolFromRest } from 'components/Liquidity/utils'
import { ConnectWalletButtonText } from 'components/NavBar/accountCTAsExperimentUtils'
import { ZERO_ADDRESS } from 'constants/misc'
import { checkIsNative, useCurrency, useCurrencyInfo } from 'hooks/Tokens'
import { useAccount } from 'hooks/useAccount'
import { useIsPoolOutOfSync } from 'hooks/useIsPoolOutOfSync'
Expand Down Expand Up @@ -93,7 +94,7 @@ export function useDerivedPositionInfo(state: PositionState): CreatePositionInfo
protocolVersions: [protocolVersion],
token0: getCurrencyAddressWithWrap(sortedCurrencies?.[0], protocolVersion),
token1: getCurrencyAddressWithWrap(sortedCurrencies?.[1], protocolVersion),
hooks: state.hook?.toLowerCase(), // BE does not accept checksummed addresses
hooks: state.hook?.toLowerCase() ?? ZERO_ADDRESS, // BE does not accept checksummed addresses
},
poolsQueryEnabled,
)
Expand Down

0 comments on commit 8a7af36

Please sign in to comment.