Skip to content

Commit

Permalink
Merge pull request #59 from l2beat/main
Browse files Browse the repository at this point in the history
[pull] main from l2beat:main
  • Loading branch information
pull[bot] authored Dec 30, 2024
2 parents e475731 + dd1ecae commit 50fe4e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified packages/frontend/public/images/badges/Gelato.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ const getCachedProjectsLatestTvlUsd = cache(
return Object.fromEntries(
Object.entries(groupedByProject).map(([projectId, records]) => {
const summedPerSource = sumValuesPerSource(records, {
forTotal: true,
forTotal: false,
excludeAssociatedTokens: false,
})
const summed = sum(Object.values(summedPerSource))
return [projectId, Number(summed) / 100]
}),
)
},
['latestTvlUsd'],
['latestTvlUsd-v2'],
{
tags: ['tvl'],
revalidate: UnixTime.HOUR,
Expand Down

0 comments on commit 50fe4e6

Please sign in to comment.