Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
3d19e180
Commit
3d19e180
authored
Jan 22, 2025
by
Uniswap Labs Service Account
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(release): publish latest release
parent
b4553c2a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
RELEASE
RELEASE
+7
-7
VERSION
VERSION
+1
-1
hooks.tsx
apps/web/src/pages/Pool/Positions/create/hooks.tsx
+3
-2
No files found.
RELEASE
View file @
3d19e180
IPFS hash of the deployment:
IPFS hash of the deployment:
- CIDv0: `Qm
XRrV5maG85Vn2QRNW7cKJfdfsBBXL1CfD88qt7Bs9ZSR
`
- CIDv0: `Qm
WMPrCn87GuRChSff1SQ3kJ1YyCKg3VbXb7XVMTAoZbGX
`
- CIDv1: `bafybei
ehbztkg6vvysdomjcr53qhvnccrnq52kyrvip4ywaj5ja7e7w74i
`
- CIDv1: `bafybei
dxbzdak5a2jr4kelvar5hq42h2xelcwz4h6tncmtnflnegwblhjq
`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...
@@ -10,15 +10,15 @@ You can also access the Uniswap Interface from an IPFS gateway.
...
@@ -10,15 +10,15 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.
Your Uniswap settings are never remembered across different URLs.
IPFS gateways:
IPFS gateways:
- https://bafybei
ehbztkg6vvysdomjcr53qhvnccrnq52kyrvip4ywaj5ja7e7w74i
.ipfs.dweb.link/
- https://bafybei
dxbzdak5a2jr4kelvar5hq42h2xelcwz4h6tncmtnflnegwblhjq
.ipfs.dweb.link/
- https://bafybei
ehbztkg6vvysdomjcr53qhvnccrnq52kyrvip4ywaj5ja7e7w74i
.ipfs.cf-ipfs.com/
- https://bafybei
dxbzdak5a2jr4kelvar5hq42h2xelcwz4h6tncmtnflnegwblhjq
.ipfs.cf-ipfs.com/
- [ipfs://Qm
XRrV5maG85Vn2QRNW7cKJfdfsBBXL1CfD88qt7Bs9ZSR/](ipfs://QmXRrV5maG85Vn2QRNW7cKJfdfsBBXL1CfD88qt7Bs9ZSR
/)
- [ipfs://Qm
WMPrCn87GuRChSff1SQ3kJ1YyCKg3VbXb7XVMTAoZbGX/](ipfs://QmWMPrCn87GuRChSff1SQ3kJ1YyCKg3VbXb7XVMTAoZbGX
/)
### 5.66.
1 (2025-01-21
)
### 5.66.
2 (2025-01-22
)
### Bug Fixes
### Bug Fixes
* **web:** 01 2
1 fix web improve lp logging prod (#15357) df0e9
67
* **web:** 01 2
2 fix web use on chain currency balance for increase create prod (#15380) 2ee97
67
VERSION
View file @
3d19e180
web/5.66.1
web/5.66.2
\ No newline at end of file
\ No newline at end of file
apps/web/src/pages/Pool/Positions/create/hooks.tsx
View file @
3d19e180
...
@@ -13,7 +13,6 @@ import { useIsPoolOutOfSync } from 'hooks/useIsPoolOutOfSync'
...
@@ -13,7 +13,6 @@ import { useIsPoolOutOfSync } from 'hooks/useIsPoolOutOfSync'
import
{
PoolState
,
usePool
}
from
'
hooks/usePools
'
import
{
PoolState
,
usePool
}
from
'
hooks/usePools
'
import
{
useSwapTaxes
}
from
'
hooks/useSwapTaxes
'
import
{
useSwapTaxes
}
from
'
hooks/useSwapTaxes
'
import
{
PairState
,
useV2Pair
}
from
'
hooks/useV2Pairs
'
import
{
PairState
,
useV2Pair
}
from
'
hooks/useV2Pairs
'
import
{
useCurrencyBalances
}
from
'
lib/hooks/useCurrencyBalance
'
import
tryParseCurrencyAmount
from
'
lib/utils/tryParseCurrencyAmount
'
import
tryParseCurrencyAmount
from
'
lib/utils/tryParseCurrencyAmount
'
import
{
useCreatePositionContext
,
usePriceRangeContext
}
from
'
pages/Pool/Positions/create/CreatePositionContext
'
import
{
useCreatePositionContext
,
usePriceRangeContext
}
from
'
pages/Pool/Positions/create/CreatePositionContext
'
import
{
import
{
...
@@ -53,6 +52,7 @@ import { useUrlContext } from 'uniswap/src/contexts/UrlContext'
...
@@ -53,6 +52,7 @@ import { useUrlContext } from 'uniswap/src/contexts/UrlContext'
import
{
useGetPoolsByTokens
}
from
'
uniswap/src/data/rest/getPools
'
import
{
useGetPoolsByTokens
}
from
'
uniswap/src/data/rest/getPools
'
import
{
useEnabledChains
}
from
'
uniswap/src/features/chains/hooks/useEnabledChains
'
import
{
useEnabledChains
}
from
'
uniswap/src/features/chains/hooks/useEnabledChains
'
import
{
useSupportedChainId
}
from
'
uniswap/src/features/chains/hooks/useSupportedChainId
'
import
{
useSupportedChainId
}
from
'
uniswap/src/features/chains/hooks/useSupportedChainId
'
import
{
useOnChainCurrencyBalance
}
from
'
uniswap/src/features/portfolio/api
'
import
{
useUSDCValue
}
from
'
uniswap/src/features/transactions/swap/hooks/useUSDCPrice
'
import
{
useUSDCValue
}
from
'
uniswap/src/features/transactions/swap/hooks/useUSDCPrice
'
import
{
getParsedChainId
}
from
'
utils/chainParams
'
import
{
getParsedChainId
}
from
'
utils/chainParams
'
...
@@ -350,7 +350,8 @@ export function useDepositInfo(state: UseDepositInfoProps): DepositInfo {
...
@@ -350,7 +350,8 @@ export function useDepositInfo(state: UseDepositInfoProps): DepositInfo {
const
{
protocolVersion
,
address
,
token0
,
token1
,
exactField
,
exactAmounts
,
deposit0Disabled
,
deposit1Disabled
}
=
const
{
protocolVersion
,
address
,
token0
,
token1
,
exactField
,
exactAmounts
,
deposit0Disabled
,
deposit1Disabled
}
=
state
state
const
[
token0Balance
,
token1Balance
]
=
useCurrencyBalances
(
address
,
[
token0
,
token1
])
const
{
balance
:
token0Balance
}
=
useOnChainCurrencyBalance
(
token0
,
address
)
const
{
balance
:
token1Balance
}
=
useOnChainCurrencyBalance
(
token1
,
address
)
const
[
independentToken
,
dependentToken
]
=
exactField
===
PositionField
.
TOKEN0
?
[
token0
,
token1
]
:
[
token1
,
token0
]
const
[
independentToken
,
dependentToken
]
=
exactField
===
PositionField
.
TOKEN0
?
[
token0
,
token1
]
:
[
token1
,
token0
]
const
independentAmount
=
tryParseCurrencyAmount
(
exactAmounts
[
exactField
],
independentToken
)
const
independentAmount
=
tryParseCurrencyAmount
(
exactAmounts
[
exactField
],
independentToken
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment