Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add gsys token #29418

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
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
24 changes: 24 additions & 0 deletions app/images/genesys.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions shared/constants/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ export const CHAIN_IDS = {
LISK_SEPOLIA: '0x106a',
INK_SEPOLIA: '0xba5eD',
INK: '0xdef1',
GSYS_MAINNET: '0x407b',
GSYS_TESTNET: '0xa5c8',
MODE_SEPOLIA: '0x397',
MODE: '0x868b',
} as const;
Expand Down Expand Up @@ -237,6 +239,8 @@ export const CHAINLIST_CHAIN_IDS_MAP = {
GRAVITY_ALPHA_TESTNET_SEPOLIA: '0x34c1',
INK_SEPOLIA: '0xba5ed',
INK: '0xdef1',
GSYS_MAINNET: '0x407b',
GSYS_TESTNET: '0xa5c8',
SONIC_MAINNET: '0x92',
SONEIUM_MAINNET: '0x74c',
SONEIUM_TESTNET: '0x79a',
Expand Down Expand Up @@ -420,6 +424,7 @@ const CHAINLIST_CURRENCY_SYMBOLS_MAP = {
ACALA_NETWORK: 'ACA',
IOTEX_MAINNET: 'IOTX',
APE: 'APE',
GSYS: 'GSYS',
SONIC_MAINNET: 'S',
LISK: 'ETH',
SONEIUM_MAINNET: 'ETH',
Expand Down Expand Up @@ -512,6 +517,7 @@ export const LISK_IMAGE_URL = './images/lisk.svg';
export const LISK_SEPOLIA_IMAGE_URL = './images/lisk_sepolia.svg';
export const INK_SEPOLIA_IMAGE_URL = './images/ink-sepolia.svg';
export const INK_IMAGE_URL = './images/ink.svg';
export const GSYS_IMAGE_URL = './images/genesys.svg';
export const SONIC_MAINNET_IMAGE_URL = './images/sonic.svg';
export const SONEIUM_IMAGE_URL = './images/soneium.svg';
export const MODE_SEPOLIA_IMAGE_URL = './images/mode-sepolia.svg';
Expand Down Expand Up @@ -745,6 +751,10 @@ export const CHAIN_ID_TO_CURRENCY_SYMBOL_MAP = {
CHAINLIST_CURRENCY_SYMBOLS_MAP.ACALA_NETWORK,
[CHAINLIST_CHAIN_IDS_MAP.IOTEX_MAINNET]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.IOTEX_MAINNET,
[CHAINLIST_CHAIN_IDS_MAP.GSYS_MAINNET]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.GSYS,
[CHAINLIST_CHAIN_IDS_MAP.GSYS_TESTNET]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.GSYS,
[CHAINLIST_CHAIN_IDS_MAP.SONIC_MAINNET]:
CHAINLIST_CURRENCY_SYMBOLS_MAP.SONIC_MAINNET,
[CHAINLIST_CHAIN_IDS_MAP.SONEIUM_MAINNET]:
Expand Down Expand Up @@ -872,6 +882,8 @@ export const CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP = {
[CHAINLIST_CHAIN_IDS_MAP.LISK_SEPOLIA]: LISK_SEPOLIA_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.INK_SEPOLIA]: INK_SEPOLIA_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.INK]: INK_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.GSYS_MAINNET]: GSYS_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.GSYS_TESTNET]: GSYS_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.SONIC_MAINNET]: SONIC_MAINNET_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.SONEIUM_MAINNET]: SONEIUM_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.SONEIUM_TESTNET]: SONEIUM_IMAGE_URL,
Expand Down Expand Up @@ -919,6 +931,8 @@ export const CHAIN_ID_TOKEN_IMAGE_MAP = {
GRAVITY_ALPHA_TESTNET_SEPOLIA_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.ZORA_MAINNET]: ETH_TOKEN_IMAGE_URL,
[CHAIN_IDS.INK]: ETH_TOKEN_IMAGE_URL,
[CHAIN_IDS.GSYS_MAINNET]: GSYS_IMAGE_URL,
[CHAIN_IDS.GSYS_TESTNET]: GSYS_IMAGE_URL,
[CHAINLIST_CHAIN_IDS_MAP.SONIC_MAINNET]: SONIC_MAINNET_IMAGE_URL,
[CHAIN_IDS.MODE]: ETH_TOKEN_IMAGE_URL,
} as const;
Expand Down
Loading