Skip to content

Commit da7ea0c

Browse files
ci(release): publish latest release
1 parent 8f5ee2e commit da7ea0c

4 files changed

Lines changed: 30 additions & 11 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: `QmdAR1rdXeCec8LY8dDckun9GxFix1HQSZg6VuYpDKnEHN`
3-
- CIDv1: `bafybeig4iabrc7sjq5nhy3t2sefdqetu3ieppukdkepv33admj7zbrvzoe`
2+
- CIDv0: `QmPgRUhAFrPqYjWMke1A4pXDnEPz4jZ3LJoXpXNqyELAue`
3+
- CIDv1: `bafybeiat5rl2x6pv4kvpa2wucn62gwh5dn6sevc7lkvznnwumqt7xno4pe`
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://bafybeig4iabrc7sjq5nhy3t2sefdqetu3ieppukdkepv33admj7zbrvzoe.ipfs.dweb.link/
14-
- [ipfs://QmdAR1rdXeCec8LY8dDckun9GxFix1HQSZg6VuYpDKnEHN/](ipfs://QmdAR1rdXeCec8LY8dDckun9GxFix1HQSZg6VuYpDKnEHN/)
13+
- https://bafybeiat5rl2x6pv4kvpa2wucn62gwh5dn6sevc7lkvznnwumqt7xno4pe.ipfs.dweb.link/
14+
- [ipfs://QmPgRUhAFrPqYjWMke1A4pXDnEPz4jZ3LJoXpXNqyELAue/](ipfs://QmPgRUhAFrPqYjWMke1A4pXDnEPz4jZ3LJoXpXNqyELAue/)

VERSION

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

apps/web/src/components/Toucan/Auction/hooks/useAuctionTokenInfo.ts

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,26 @@ export function useAuctionTokenInfo(
5858

5959
// Construct tokenInfo from either GraphQL or on-chain data
6060
const tokenInfo = useMemo((): CurrencyInfo | undefined => {
61-
// If we have GraphQL data, use it (with potential logo override)
61+
// If we have GraphQL data, use it (with potential overrides)
6262
if (currencyInfo) {
63-
if (metadataOverride?.logoUrl) {
63+
const hasLogoOverride = !!metadataOverride?.logoUrl
64+
const hasNameOverride = !!metadataOverride?.tokenName || !!metadataOverride?.tokenSymbol
65+
66+
if (hasLogoOverride || hasNameOverride) {
67+
const overriddenCurrency = hasNameOverride
68+
? buildCurrency({
69+
chainId: currencyInfo.currency.chainId,
70+
address: currencyInfo.currency.isToken ? currencyInfo.currency.address : undefined,
71+
decimals: currencyInfo.currency.decimals,
72+
symbol: metadataOverride.tokenSymbol ?? currencyInfo.currency.symbol,
73+
name: metadataOverride.tokenName ?? currencyInfo.currency.name,
74+
})
75+
: undefined
76+
6477
return {
6578
...currencyInfo,
66-
logoUrl: metadataOverride.logoUrl,
79+
...(overriddenCurrency && { currency: overriddenCurrency }),
80+
...(hasLogoOverride && { logoUrl: metadataOverride.logoUrl }),
6781
}
6882
}
6983
return currencyInfo
@@ -75,8 +89,8 @@ export function useAuctionTokenInfo(
7589
chainId,
7690
address: tokenAddress,
7791
decimals: tokenMetadata.decimals ?? 18,
78-
symbol: tokenMetadata.symbol,
79-
name: tokenMetadata.name,
92+
symbol: metadataOverride?.tokenSymbol ?? tokenMetadata.symbol,
93+
name: metadataOverride?.tokenName ?? tokenMetadata.name,
8094
})
8195

8296
if (!currency) {

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
*/
1313
const TOTAL_SUPPLY_OVERRIDES: Record<string, string> = {
1414
// Example: '1-0x1234567890123456789012345678901234567890': '1000000000000000000000000',
15+
'1-0x4647e1fe715c9e23959022c2416c71867f5a6e80': '1000000000000000',
1516
}
1617

1718
/**
@@ -50,6 +51,8 @@ export interface AuctionMetadataOverride {
5051
website?: string
5152
twitter?: string
5253
logoUrl?: string
54+
tokenName?: string
55+
tokenSymbol?: string
5356
}
5457

5558
/**
@@ -78,6 +81,8 @@ const AUCTION_METADATA_OVERRIDES: Record<string, AuctionMetadataOverride> = {
7881
},
7982
'1-0x4647e1fe715c9e23959022c2416c71867f5a6e80': {
8083
logoUrl: '/images/logos/octra-token-launch-logo.svg',
84+
tokenName: 'Octra',
85+
tokenSymbol: 'OCT',
8186
},
8287
}
8388

@@ -100,5 +105,5 @@ export const DEFAULT_VERIFIED_AUCTION_IDS = [
100105
'8453_0x7e867b47a94df05188c08575e8B9a52F3F69c469',
101106
'1_0x9084CB9a700a52909Cbef3113dB8BaC01C01EfD6',
102107
'42161_0xc27F8a94Df88C4f57B09067e07EA6bC11CA47e11',
103-
'1_0xb3079ec6b82f22a1abfdca1a22659ab07cdf2f0f',
108+
'1_0xb3079Ec6b82f22A1ABfDCA1A22659aB07Cdf2f0F',
104109
]

0 commit comments

Comments
 (0)