Skip to content

Commit

Permalink
fix: snpshot data
Browse files Browse the repository at this point in the history
  • Loading branch information
viet-nv committed Mar 21, 2024
1 parent 00b452c commit 0492834
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
7 changes: 1 addition & 6 deletions src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import styled from 'styled-components'
import Announcement from 'components/Announcement'
import SelectNetwork from 'components/Header/web3/SelectNetwork'
import SelectWallet from 'components/Header/web3/SelectWallet'
import SignWallet from 'components/Header/web3/SignWallet'
import Menu from 'components/Menu'
import Row, { RowFixed } from 'components/Row'
import { AGGREGATOR_ANALYTICS_URL, APP_PATHS } from 'constants/index'
Expand Down Expand Up @@ -236,18 +235,14 @@ export default function Header() {
<SelectNetwork />
<SelectWallet />
{menu}
<SignWallet />
</HeaderElement>
) : (
<>
<HeaderElement style={{ justifyContent: 'flex-start' }}>
<SelectNetwork />
<SelectWallet />
</HeaderElement>
<HeaderElement style={{ justifyContent: 'flex-end' }}>
{menu}
<SignWallet />
</HeaderElement>
<HeaderElement style={{ justifyContent: 'flex-end' }}>{menu}</HeaderElement>
</>
)}
</HeaderControls>
Expand Down
3 changes: 2 additions & 1 deletion src/components/SwapForm/TradeSummary.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { ChainId } from '@kyberswap/ks-sdk-core'
import { Trans } from '@lingui/macro'
import React, { useEffect, useState } from 'react'
import { NavLink, useSearchParams } from 'react-router-dom'
Expand Down Expand Up @@ -226,7 +227,7 @@ const TradeSummary: React.FC<Props> = ({ routeSummary, slippage }) => {
<RowFixed>
<TextDashed fontSize={12} fontWeight={400} color={theme.subText}>
<MouseoverTooltip text={<Trans>Estimated network fee for your transaction.</Trans>} placement="right">
<Trans>Est. Gas Fee</Trans>
{chainId === ChainId.SCROLL ? <Trans>Est. L2 Gas Fee</Trans> : <Trans>Est. Gas Fee</Trans>}
</MouseoverTooltip>
</TextDashed>
</RowFixed>
Expand Down
12 changes: 6 additions & 6 deletions src/pages/ElasticSnapshot/data/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -87440,16 +87440,16 @@
},
{
"user_address": "0xdf2f03adccd26e8123fc27a1b22b0a846dd2a469",
"total_usd": 1047420.72,
"total_liquidity_usd": 1047415.14,
"total_fee_usd": 5.58,
"total_usd": 1002785.18,
"total_liquidity_usd": 1002779.73,
"total_fee_usd": 5.45,
"option": "a",
"positions": [
{
"position_id": 7484,
"position_usd": 1047420.72,
"liquidity_usd": 1047415.14,
"fee_usd": 5.58,
"position_usd": 1002785.18,
"liquidity_usd": 1002779.73,
"fee_usd": 5.45,
"info": {
"pool": "0x30ec378b28b600a1bad3cda393633d86ca17b5b4",
"chain": "polygon",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/ElasticSnapshot/data/pendle_dappos_vesting.json
Original file line number Diff line number Diff line change
Expand Up @@ -2601,8 +2601,8 @@
},
{
"receiver": "0xdf2f03adccd26e8123fc27a1b22b0a846dd2a469",
"vestingAmount": null,
"value": null
"vestingAmount": 100603122486,
"value": 100603.12248664896
},
{
"receiver": "0xa2dfeb674d997b68ec5adb0a6fb9136bd45c2d2d",
Expand Down

0 comments on commit 0492834

Please sign in to comment.