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
bb608139
Commit
bb608139
authored
May 07, 2025
by
Uniswap Labs Service Account
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(release): publish latest release
parent
3e099ccb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
16 deletions
+11
-16
RELEASE
RELEASE
+5
-10
VERSION
VERSION
+1
-1
useTokenApprovalInfo.ts
.../transactions/swap/contexts/hooks/useTokenApprovalInfo.ts
+5
-5
No files found.
RELEASE
View file @
bb608139
IPFS hash of the deployment:
- CIDv0: `Qm
Uj5V9H1syj86KL9kWgvvrwnXSTAaVQ2ofHobz2QzRMqi
`
- CIDv1: `bafybei
c64tvawllez263e3osp27qz3ozcdh4zeh4avoex4wsbiumnpn2je
`
- CIDv0: `Qm
ZhoBxu3NSUWqBfrYJS6VMdehd3Bppjn1MvDwqkig2nX7
`
- CIDv1: `bafybei
fi3nlynboyldsbh3j4u4jyyedhotevlnfldvujyfibecj6yq4ldy
`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...
...
@@ -10,14 +10,9 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.
IPFS gateways:
- https://bafybei
c64tvawllez263e3osp27qz3ozcdh4zeh4avoex4wsbiumnpn2je
.ipfs.dweb.link/
- [ipfs://Qm
Uj5V9H1syj86KL9kWgvvrwnXSTAaVQ2ofHobz2QzRMqi/](ipfs://QmUj5V9H1syj86KL9kWgvvrwnXSTAaVQ2ofHobz2QzRMqi
/)
- https://bafybei
fi3nlynboyldsbh3j4u4jyyedhotevlnfldvujyfibecj6yq4ldy
.ipfs.dweb.link/
- [ipfs://Qm
ZhoBxu3NSUWqBfrYJS6VMdehd3Bppjn1MvDwqkig2nX7/](ipfs://QmZhoBxu3NSUWqBfrYJS6VMdehd3Bppjn1MvDwqkig2nX7
/)
### 5.83.3 (2025-05-07)
### Bug Fixes
* **web:** fix key open search modal (#19370) 7ad6115
### 5.83.4 (2025-05-07)
VERSION
View file @
bb608139
web/5.83.3
\ No newline at end of file
web/5.83.4
\ No newline at end of file
packages/uniswap/src/features/transactions/swap/contexts/hooks/useTokenApprovalInfo.ts
View file @
bb608139
...
...
@@ -11,7 +11,6 @@ import {
useShadowGasStrategies
,
}
from
'
uniswap/src/features/gas/hooks
'
import
{
GasFeeResult
,
areEqualGasStrategies
}
from
'
uniswap/src/features/gas/types
'
import
{
useIsSmartWalletFlow
}
from
'
uniswap/src/features/transactions/swap/review/services/swapTxAndGasInfoService/hooks
'
import
{
ApprovalAction
,
TokenApprovalInfo
}
from
'
uniswap/src/features/transactions/swap/types/trade
'
import
{
isUniswapX
}
from
'
uniswap/src/features/transactions/swap/utils/routing
'
import
{
...
...
@@ -38,11 +37,12 @@ export type ApprovalTxInfo = {
revokeGasFeeResult
:
GasFeeResult
}
function
useApprovalWillBeBatchedWithSwap
(
chainId
:
UniverseChainId
):
boolean
{
const
isSmartWalletFlow
=
useIsSmartWalletFlow
()
function
useApprovalWillBeBatchedWithSwap
(
chainId
:
UniverseChainId
,
routing
:
Routing
|
undefined
):
boolean
{
const
canBatchTransactions
=
useUniswapContextSelector
((
ctx
)
=>
ctx
.
getCanBatchTransactions
?.(
chainId
))
return
Boolean
(
isSmartWalletFlow
||
canBatchTransactions
)
const
isBatchableFlow
=
Boolean
(
routing
&&
!
isUniswapX
({
routing
}))
return
Boolean
(
canBatchTransactions
)
&&
isBatchableFlow
}
export
function
useTokenApprovalInfo
(
params
:
TokenApprovalInfoParams
):
ApprovalTxInfo
{
...
...
@@ -100,7 +100,7 @@ export function useTokenApprovalInfo(params: TokenApprovalInfoParams): ApprovalT
shadowGasStrategies
,
])
const
approvalWillBeBatchedWithSwap
=
useApprovalWillBeBatchedWithSwap
(
chainId
)
const
approvalWillBeBatchedWithSwap
=
useApprovalWillBeBatchedWithSwap
(
chainId
,
routing
)
const
shouldSkip
=
!
approvalRequestArgs
||
isWrap
||
!
address
||
approvalWillBeBatchedWithSwap
const
{
data
,
isLoading
,
error
}
=
useCheckApprovalQuery
({
...
...
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