Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function useReadHyperdrive({
address,
drift,
earliestBlock: initializationBlock,
zapContractAddress: appConfig.zaps[chainId].address,
zapContractAddress: appConfig.zaps[chainId]?.address,
});
}
: undefined,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function useReadWriteHyperdrive({
address,
drift,
earliestBlock: initializationBlock,
zapContractAddress: appConfig.zaps[chainId].address,
zapContractAddress: appConfig.zaps[chainId]?.address,
});
}
: undefined,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function useUnpausedPools(): {
address: hyperdrive.address,
drift: getDrift({ chainId: hyperdrive.chainId }),
earliestBlock: hyperdrive.initializationBlock,
zapContractAddress: appConfig.zaps[hyperdrive.chainId].address,
zapContractAddress: appConfig.zaps[hyperdrive.chainId]?.address,
});

// We only show hyperdrives that are not paused
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function useSortedPools({
address: hyperdrive.address,
drift: getDrift({ chainId: hyperdrive.chainId }),
earliestBlock: hyperdrive.initializationBlock,
zapContractAddress: appConfig.zaps[hyperdrive.chainId].address,
zapContractAddress: appConfig.zaps[hyperdrive.chainId]?.address,
});
const publicClient = getPublicClient(wagmiConfig as any, {
chainId: hyperdrive.chainId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function AssetCell({
})} ${token.symbol}`}
>
<div className="flex items-center gap-2 font-inter">
<img src={token.iconUrl} className="size-14" />
<img src={token.iconUrl} className="size-10 rounded-full" />
<div className="flex flex-col gap-1">{token.name}</div>
</div>
</Tooltip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@ export const knownTokenConfigs2: TokenConfig[] = [
address: "0x79385D4B4c531bBbDa25C4cFB749781Bd9E23039",
chainId: gnosis.id,
decimals: 18,
name: "Miles",
name: "Hyperdrive Miles",
symbol: "MILES",
places: 4,
iconUrl: HyperVueMilesIconUrl,
tags: [],
priceOracle: "defillama",
},
{
// TODO: Remove this once we stop the mainnet fork
address: "0x79385D4B4c531bBbDa25C4cFB749781Bd9E23039",
chainId: rewardsMainnetFork.id,
decimals: 18,
name: "Miles",
name: "Hyperdrive Miles",
symbol: "MILES",
places: 4,
iconUrl: HyperVueMilesIconUrl,
Expand Down
Loading