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
a0e4994f
Commit
a0e4994f
authored
Sep 17, 2024
by
Uniswap Labs Service Account
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(release): publish latest release
parent
920454a2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
RELEASE
RELEASE
+7
-7
VERSION
VERSION
+1
-1
useFeeTierDistribution.ts
apps/web/src/hooks/useFeeTierDistribution.ts
+4
-1
No files found.
RELEASE
View file @
a0e4994f
IPFS hash of the deployment:
IPFS hash of the deployment:
- CIDv0: `Qm
PJRmYQHgjfL1W5skf8cUmsFMFGBxVmDS8svqWBT81Lew
`
- CIDv0: `Qm
QHmbvMgf6snJLsy86wQW21owJimqnkJJCYYGbBpcCoig
`
- CIDv1: `bafybeia
ojhskjkwp2cbsehkj7fm4cfv6pjsapflwz5eebreopupzbuna6q
`
- CIDv1: `bafybeia
47jwp444qim2245sns24s5dnmr4wzkd3tvyeykxiimn7i6aedwe
`
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://bafybeia
ojhskjkwp2cbsehkj7fm4cfv6pjsapflwz5eebreopupzbuna6q
.ipfs.dweb.link/
- https://bafybeia
47jwp444qim2245sns24s5dnmr4wzkd3tvyeykxiimn7i6aedwe
.ipfs.dweb.link/
- https://bafybeia
ojhskjkwp2cbsehkj7fm4cfv6pjsapflwz5eebreopupzbuna6q
.ipfs.cf-ipfs.com/
- https://bafybeia
47jwp444qim2245sns24s5dnmr4wzkd3tvyeykxiimn7i6aedwe
.ipfs.cf-ipfs.com/
- [ipfs://Qm
PJRmYQHgjfL1W5skf8cUmsFMFGBxVmDS8svqWBT81Lew/](ipfs://QmPJRmYQHgjfL1W5skf8cUmsFMFGBxVmDS8svqWBT81Lew
/)
- [ipfs://Qm
QHmbvMgf6snJLsy86wQW21owJimqnkJJCYYGbBpcCoig/](ipfs://QmQHmbvMgf6snJLsy86wQW21owJimqnkJJCYYGbBpcCoig
/)
### 5.46.
1 (2024-09-12
)
### 5.46.
2 (2024-09-17
)
### Bug Fixes
### Bug Fixes
* **web:**
remove frontend global search sorting/filtering logic [prod hotfix] (#11829) a5fcd4e
* **web:**
prevent crash from new Base fee tiers [prod hotfix] (#11933) e570b30
VERSION
View file @
a0e4994f
web/5.46.1
web/5.46.2
\ No newline at end of file
\ No newline at end of file
apps/web/src/hooks/useFeeTierDistribution.ts
View file @
a0e4994f
...
@@ -113,6 +113,9 @@ function usePoolTVL(token0: Token | undefined, token1: Token | undefined) {
...
@@ -113,6 +113,9 @@ function usePoolTVL(token0: Token | undefined, token1: Token | undefined) {
if
(
!
value
.
feeTier
)
{
if
(
!
value
.
feeTier
)
{
return
acc
return
acc
}
}
acc
[
value
.
feeTier
]
??
=
[
0
,
0
]
acc
[
value
.
feeTier
][
0
]
=
(
acc
[
value
.
feeTier
][
0
]
??
0
)
+
Number
(
value
.
token0Supply
)
acc
[
value
.
feeTier
][
0
]
=
(
acc
[
value
.
feeTier
][
0
]
??
0
)
+
Number
(
value
.
token0Supply
)
acc
[
value
.
feeTier
][
1
]
=
(
acc
[
value
.
feeTier
][
1
]
??
0
)
+
Number
(
value
.
token1Supply
)
acc
[
value
.
feeTier
][
1
]
=
(
acc
[
value
.
feeTier
][
1
]
??
0
)
+
Number
(
value
.
token1Supply
)
return
acc
return
acc
...
@@ -122,7 +125,7 @@ function usePoolTVL(token0: Token | undefined, token1: Token | undefined) {
...
@@ -122,7 +125,7 @@ function usePoolTVL(token0: Token | undefined, token1: Token | undefined) {
[
FeeAmount
.
LOW
]:
[
undefined
,
undefined
],
[
FeeAmount
.
LOW
]:
[
undefined
,
undefined
],
[
FeeAmount
.
MEDIUM
]:
[
undefined
,
undefined
],
[
FeeAmount
.
MEDIUM
]:
[
undefined
,
undefined
],
[
FeeAmount
.
HIGH
]:
[
undefined
,
undefined
],
[
FeeAmount
.
HIGH
]:
[
undefined
,
undefined
],
}
as
Record
<
FeeAmount
,
[
number
|
undefined
,
number
|
undefined
]
>
,
},
)
)
// sum total tvl for token0 and token1
// sum total tvl for token0 and token1
...
...
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