From 22f083f8d7259c899a705d6b0a74d53f78f084d2 Mon Sep 17 00:00:00 2001 From: Genesys Network Ecosystem <129028432+Gchainvalidators@users.noreply.github.com> Date: Mon, 23 Dec 2024 09:34:42 +0700 Subject: [PATCH 1/3] Add files via upload --- app/images/genesys.svg | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app/images/genesys.svg diff --git a/app/images/genesys.svg b/app/images/genesys.svg new file mode 100644 index 000000000000..67a3525a8c1c --- /dev/null +++ b/app/images/genesys.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + From 705a678d53599a1205ad6f9972d642bc3ee1c3e1 Mon Sep 17 00:00:00 2001 From: Genesys Network Ecosystem <129028432+Gchainvalidators@users.noreply.github.com> Date: Mon, 23 Dec 2024 10:31:12 +0700 Subject: [PATCH 2/3] Update network.ts add gsys token --- shared/constants/network.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/shared/constants/network.ts b/shared/constants/network.ts index 787322d79dac..da3ec9c50e02 100644 --- a/shared/constants/network.ts +++ b/shared/constants/network.ts @@ -169,6 +169,8 @@ export const CHAIN_IDS = { B3_TESTNET: '0x7c9', GRAVITY_ALPHA_MAINNET: '0x659', GRAVITY_ALPHA_TESTNET_SEPOLIA: '0x34c1', + GSYS_MAINNET:'0x407b', + GSYS_TESTNET:'0xa5c8', } as const; export const CHAINLIST_CHAIN_IDS_MAP = { @@ -229,6 +231,8 @@ export const CHAINLIST_CHAIN_IDS_MAP = { APE: '0x8173', GRAVITY_ALPHA_MAINNET: '0x659', GRAVITY_ALPHA_TESTNET_SEPOLIA: '0x34c1', + GSYS_MAINNET:'0x407b', + GSYS_TESTNET:'0xa5c8', } as const; // To add a deprecation warning to a network, add it to the array @@ -400,6 +404,7 @@ const CHAINLIST_CURRENCY_SYMBOLS_MAP = { ACALA_NETWORK: 'ACA', IOTEX_MAINNET: 'IOTX', APE: 'APE', + GSYS: 'GSYS', } as const; export const CHAINLIST_CURRENCY_SYMBOLS_MAP_NETWORK_COLLISION = { @@ -483,6 +488,7 @@ export const B3_IMAGE_URL = './images/b3.svg'; export const APE_IMAGE_URL = './images/ape.svg'; export const GRAVITY_ALPHA_MAINNET_IMAGE_URL = './images/gravity.svg'; export const GRAVITY_ALPHA_TESTNET_SEPOLIA_IMAGE_URL = './images/gravity.svg'; +export const GSYS_IMAGE_URL = './images/genesys.svg'; export const INFURA_PROVIDER_TYPES = [ NETWORK_TYPES.MAINNET, @@ -710,6 +716,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, } as const; /** @@ -827,6 +837,8 @@ export const CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP = { GRAVITY_ALPHA_MAINNET_IMAGE_URL, [CHAINLIST_CHAIN_IDS_MAP.GRAVITY_ALPHA_TESTNET_SEPOLIA]: GRAVITY_ALPHA_TESTNET_SEPOLIA_IMAGE_URL, + [CHAINLIST_CHAIN_IDS_MAP.GSYS_MAINNET]: GSYS_IMAGE_URL, + [CHAINLIST_CHAIN_IDS_MAP.GSYS_TESTNET]: GSYS_IMAGE_URL, } as const; export const CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP = { @@ -868,6 +880,8 @@ export const CHAIN_ID_TOKEN_IMAGE_MAP = { [CHAIN_IDS.GRAVITY_ALPHA_TESTNET_SEPOLIA]: GRAVITY_ALPHA_TESTNET_SEPOLIA_IMAGE_URL, [CHAINLIST_CHAIN_IDS_MAP.ZORA_MAINNET]: ETH_TOKEN_IMAGE_URL, + [CHAIN_IDS.GSYS_MAINNET]: GSYS_IMAGE_URL, + [CHAIN_IDS.GSYS_TESTNET]: GSYS_IMAGE_URL, } as const; export const INFURA_BLOCKED_KEY = 'countryBlocked'; From 01696476af7915e9ccc6bd4d00c2f683463c6f8c Mon Sep 17 00:00:00 2001 From: Genesys Network Ecosystem <129028432+Gchainvalidators@users.noreply.github.com> Date: Mon, 23 Dec 2024 10:58:51 +0700 Subject: [PATCH 3/3] Update network.ts --- shared/constants/network.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shared/constants/network.ts b/shared/constants/network.ts index da3ec9c50e02..6153ea5cae47 100644 --- a/shared/constants/network.ts +++ b/shared/constants/network.ts @@ -169,8 +169,8 @@ export const CHAIN_IDS = { B3_TESTNET: '0x7c9', GRAVITY_ALPHA_MAINNET: '0x659', GRAVITY_ALPHA_TESTNET_SEPOLIA: '0x34c1', - GSYS_MAINNET:'0x407b', - GSYS_TESTNET:'0xa5c8', + GSYS_MAINNET: '0x407b', + GSYS_TESTNET: '0xa5c8', } as const; export const CHAINLIST_CHAIN_IDS_MAP = { @@ -231,8 +231,8 @@ export const CHAINLIST_CHAIN_IDS_MAP = { APE: '0x8173', GRAVITY_ALPHA_MAINNET: '0x659', GRAVITY_ALPHA_TESTNET_SEPOLIA: '0x34c1', - GSYS_MAINNET:'0x407b', - GSYS_TESTNET:'0xa5c8', + GSYS_MAINNET: '0x407b', + GSYS_TESTNET: '0xa5c8', } as const; // To add a deprecation warning to a network, add it to the array