Skip to content

Commit fdf7aa2

Browse files
ci(release): publish latest release
1 parent fc2d1dd commit fdf7aa2

5 files changed

Lines changed: 31 additions & 9 deletions

File tree

RELEASE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IPFS hash of the deployment:
2-
- CIDv0: `QmddSHFJ4MxsZxYyaGmz67cubRuhRk7fV2Upq9HWMhru3o`
3-
- CIDv1: `bafybeihdfqp6ilxsntmdrfql7zvkfeyjs3u7pe35ljr6n7clbawxosir3i`
2+
- CIDv0: `QmUUmgx7Hpd5Pjf88zjfcg8Gq9Entkz4G8Tq6GdNPaYgaT`
3+
- CIDv1: `bafybeic3hkurdl6na3vwj2o4esg6xwdz4ydvekpbsym25u6gz4cz2gyl7a`
44

55
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
66

@@ -10,5 +10,5 @@ You can also access the Uniswap Interface from an IPFS gateway.
1010
Your Uniswap settings are never remembered across different URLs.
1111

1212
IPFS gateways:
13-
- https://bafybeihdfqp6ilxsntmdrfql7zvkfeyjs3u7pe35ljr6n7clbawxosir3i.ipfs.dweb.link/
14-
- [ipfs://QmddSHFJ4MxsZxYyaGmz67cubRuhRk7fV2Upq9HWMhru3o/](ipfs://QmddSHFJ4MxsZxYyaGmz67cubRuhRk7fV2Upq9HWMhru3o/)
13+
- https://bafybeic3hkurdl6na3vwj2o4esg6xwdz4ydvekpbsym25u6gz4cz2gyl7a.ipfs.dweb.link/
14+
- [ipfs://QmUUmgx7Hpd5Pjf88zjfcg8Gq9Entkz4G8Tq6GdNPaYgaT/](ipfs://QmUUmgx7Hpd5Pjf88zjfcg8Gq9Entkz4G8Tq6GdNPaYgaT/)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web/5.153.3
1+
web/5.153.4

apps/web/src/features/Toucan/Auction/ActivityTimeline/ActivityTimeline.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { useAuctionTokenColor } from '~/features/Toucan/Auction/hooks/useAuction
1818
import { useBidTokenInfo } from '~/features/Toucan/Auction/hooks/useBidTokenInfo'
1919
import { useAuctionStore, useIsAuctionFailed } from '~/features/Toucan/Auction/store/useAuctionStore'
2020
import { formatTokenAmountWithSymbol } from '~/features/Toucan/Auction/utils/fixedPointFdv'
21-
import { getAuctionMetadata } from '~/features/Toucan/Config/config'
21+
import { isTradingRestrictedUntilTge } from '~/features/Toucan/Config/config'
2222
import { createDottedBackgroundStyles } from '~/utils/createDottedBackgroundStyles'
2323

2424
const TRACK_WIDTH = 20
@@ -216,7 +216,7 @@ export function ActivityTimeline() {
216216
const tokenAddress = auctionDetails?.tokenAddress
217217
const chainId = auctionDetails?.chainId
218218
const tradingRestrictedUntilTge = Boolean(
219-
tokenAddress && chainId && getAuctionMetadata({ chainId, tokenAddress })?.tradingRestrictedUntilTge,
219+
tokenAddress && chainId && isTradingRestrictedUntilTge({ chainId, tokenAddress }),
220220
)
221221

222222
const strings = useMemo(

apps/web/src/features/Toucan/Auction/Banners/TokenLaunched/TokenLaunchedBanner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { useDurationRemaining } from '~/features/Toucan/Auction/hooks/useDuratio
1818
import { useAuctionStore } from '~/features/Toucan/Auction/store/useAuctionStore'
1919
import { getClearingPrice } from '~/features/Toucan/Auction/utils/clearingPrice'
2020
import { isTokenLaunchTradeLive } from '~/features/Toucan/Auction/utils/tokenLaunchedBannerUtils'
21-
import { getAuctionMetadata } from '~/features/Toucan/Config/config'
21+
import { isTradingRestrictedUntilTge } from '~/features/Toucan/Config/config'
2222

2323
interface TokenLaunchedBannerProps {
2424
tokenName: string
@@ -64,7 +64,7 @@ export function TokenLaunchedBanner({
6464
)
6565

6666
const tradingRestrictedUntilTge = Boolean(
67-
tokenAddress && chainId && getAuctionMetadata({ chainId, tokenAddress })?.tradingRestrictedUntilTge,
67+
tokenAddress && chainId && isTradingRestrictedUntilTge({ chainId, tokenAddress }),
6868
)
6969

7070
// Redeemable virtual-token auctions present the REAL (underlying) token instead: its price/chart,

apps/web/src/features/Toucan/Config/config.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export interface AuctionMetadataOverride {
1515
tokenName?: string
1616
tokenSymbol?: string
1717
tradingRestrictedUntilTge?: boolean
18+
/** TGE time (unix seconds). When set with `tradingRestrictedUntilTge`, the restriction lifts automatically at this time. */
19+
tgeTimestamp?: number
1820
}
1921

2022
/**
@@ -52,6 +54,8 @@ const AUCTION_METADATA_OVERRIDES: Record<string, AuctionMetadataOverride> = {
5254
},
5355
'1-0xe172e9b6cfbeeb5593bdce3f077356fdb33af904': {
5456
logoUrl: '/images/logos/fold-token-launch-logo.jpeg',
57+
tradingRestrictedUntilTge: true,
58+
tgeTimestamp: 1787149535, // 2026-08-19T14:25:35Z
5559
},
5660
'42161-0x170f6e39ea851108f0713090467871f28a62a5d4': {
5761
logoUrl: '/images/logos/boardwalk-token-launch-logo.png',
@@ -73,6 +77,24 @@ export function getAuctionMetadata({
7377
return AUCTION_METADATA_OVERRIDES[key]
7478
}
7579

80+
/**
81+
* Whether trading of the auctioned token is currently restricted until its TGE.
82+
* When the override sets `tgeTimestamp`, the restriction lifts automatically once that time passes.
83+
*/
84+
export function isTradingRestrictedUntilTge({
85+
chainId,
86+
tokenAddress,
87+
}: {
88+
chainId: number
89+
tokenAddress: string
90+
}): boolean {
91+
const metadata = getAuctionMetadata({ chainId, tokenAddress })
92+
if (!metadata?.tradingRestrictedUntilTge) {
93+
return false
94+
}
95+
return metadata.tgeTimestamp === undefined || Date.now() < metadata.tgeTimestamp * 1000
96+
}
97+
7698
/**
7799
* Redemption override for an auction whose auctioned token is a virtual ERC-20
78100
* (`IVirtualERC20`) that is now redeemable for a real, tradeable token.

0 commit comments

Comments
 (0)