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
1 change: 1 addition & 0 deletions public/icons/tokens/acred.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/modules/dashboard/lists/constants.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { CustomMarket } from 'src/ui-config/marketsConfig';

export const HIDDEN_ASSETS: Partial<Record<CustomMarket, string[]>> = {
// [CustomMarket.proto_horizon_v3]: [
// '0x2255718832bc9fd3be1caf75084f4803da14ff01'.toLowerCase(), // VBILL
// ],
[CustomMarket.proto_horizon_v3]: [
'0x17418038ecf73ba4026c4f428547bf099706f27b'.toLowerCase(), // aCRED
],
Comment on lines +4 to +6
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hidden-asset entry relies on a bare address literal with only a trailing comment for context. Consider extracting this address into a named constant (e.g., ACRED_UNDERLYING), and/or adding a short comment explaining why it must be hidden (e.g., deprecated asset, incorrect listing, etc.) to make future audits safer and reduce accidental removal.

Copilot uses AI. Check for mistakes.
};

export const isAssetHidden = (market: CustomMarket, underlyingAsset: string) => {
Expand Down
Loading