Skip to content

Commit

Permalink
Add Ultra EVM logo for testnet and mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncan-Ultra committed Feb 25, 2025
1 parent 78c5d2c commit 14d4f6f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/images/ultra.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions shared/constants/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ export const CHAINLIST_CHAIN_IDS_MAP = {
SONEIUM_TESTNET: '0x79a',
MODE_SEPOLIA: '0x397',
MODE: '0x868b',
ULTRA_EVM_MAINNET: '0x4e17',
ULTRA_EVM_TESTNET: '0x49c1'
} as const;

// To add a deprecation warning to a network, add it to the array
Expand Down Expand Up @@ -428,6 +430,8 @@ const CHAINLIST_CURRENCY_SYMBOLS_MAP = {
SONEIUM_MAINNET: 'ETH',
SONEIUM_TESTNET: 'ETH',
MODE: 'ETH',
ULTRA_EVM_MAINNET: 'UOS',
ULTRA_EVM_TESTNET: 'UOS',
} as const;

export const CHAINLIST_CURRENCY_SYMBOLS_MAP_NETWORK_COLLISION = {
Expand Down Expand Up @@ -521,6 +525,7 @@ export const SONEIUM_IMAGE_URL = './images/soneium.svg';
export const MODE_SEPOLIA_IMAGE_URL = './images/mode-sepolia.svg';
export const MODE_IMAGE_URL = './images/mode.svg';
export const UNICHAIN_IMAGE_URL = './images/unichain.svg';
export const ULTRA_EVM_IMAGE_URL = './images/ultra.svg';

export const INFURA_PROVIDER_TYPES = [
NETWORK_TYPES.MAINNET,
Expand Down Expand Up @@ -758,6 +763,10 @@ export const CHAIN_ID_TO_CURRENCY_SYMBOL_MAP = {
CHAINLIST_CURRENCY_SYMBOLS_MAP.SONEIUM_MAINNET,
[CHAINLIST_CHAIN_IDS_MAP.SONEIUM_TESTNET]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.SONEIUM_TESTNET,
[CHAINLIST_CHAIN_IDS_MAP.ULTRA_EVM_MAINNET]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.ULTRA_EVM_MAINNET,
[CHAINLIST_CHAIN_IDS_MAP.ULTRA_EVM_TESTNET]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.ULTRA_EVM_TESTNET,
} as const;

/**
Expand Down Expand Up @@ -887,6 +896,8 @@ export const CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP = {
[CHAINLIST_CHAIN_IDS_MAP.MODE]: MODE_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.UNICHAIN]: UNICHAIN_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.UNICHAIN_SEPOLIA]: UNICHAIN_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.ULTRA_EVM_MAINNET]: ULTRA_EVM_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.ULTRA_EVM_TESTNET]: ULTRA_EVM_IMAGE_URL,
} as const;

export const CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP = {
Expand Down Expand Up @@ -934,6 +945,8 @@ export const CHAIN_ID_TOKEN_IMAGE_MAP = {
[CHAINLIST_CHAIN_IDS_MAP.FUNKICHAIN]: ETH_TOKEN_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.UNICHAIN]: ETH_TOKEN_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.UNICHAIN_SEPOLIA]: ETH_TOKEN_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.ULTRA_EVM_MAINNET]: ULTRA_EVM_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.ULTRA_EVM_TESTNET]: ULTRA_EVM_IMAGE_URL,
} as const;

export const INFURA_BLOCKED_KEY = 'countryBlocked';
Expand Down

0 comments on commit 14d4f6f

Please sign in to comment.