@@ -7,7 +7,7 @@ library ChainId {
77 MAINNETS
88 //////////////////////////////////////////////////////////////////////////*/
99
10- uint256 public constant MAINNETS_COUNT = 27 ;
10+ uint256 public constant MAINNETS_COUNT = 28 ;
1111
1212 uint256 public constant ABSTRACT = 2741 ;
1313 uint256 public constant ARBITRUM = 42_161 ;
@@ -18,6 +18,7 @@ library ChainId {
1818 uint256 public constant BSC = 56 ;
1919 uint256 public constant CHILIZ = 88_888 ;
2020 uint256 public constant COREDAO = 1116 ;
21+ uint256 public constant DENERGY = 369_369 ;
2122 uint256 public constant ETHEREUM = 1 ;
2223 uint256 public constant GNOSIS = 100 ;
2324 uint256 public constant HYPEREVM = 999 ;
@@ -66,24 +67,25 @@ library ChainId {
6667 supportedIds[6 ] = BSC;
6768 supportedIds[7 ] = CHILIZ;
6869 supportedIds[8 ] = COREDAO;
69- supportedIds[9 ] = ETHEREUM;
70- supportedIds[10 ] = GNOSIS;
71- supportedIds[11 ] = HYPEREVM;
72- supportedIds[12 ] = LIGHTLINK;
73- supportedIds[13 ] = LINEA;
74- supportedIds[14 ] = MODE;
75- supportedIds[15 ] = MONAD;
76- supportedIds[16 ] = MORPH;
77- supportedIds[17 ] = OPTIMISM;
78- supportedIds[18 ] = POLYGON;
79- supportedIds[19 ] = SCROLL;
80- supportedIds[20 ] = SEI;
81- supportedIds[21 ] = SOPHON;
82- supportedIds[22 ] = SUPERSEED;
83- supportedIds[23 ] = SONIC;
84- supportedIds[24 ] = UNICHAIN;
85- supportedIds[25 ] = XDC;
86- supportedIds[26 ] = ZKSYNC;
70+ supportedIds[9 ] = DENERGY;
71+ supportedIds[10 ] = ETHEREUM;
72+ supportedIds[11 ] = GNOSIS;
73+ supportedIds[12 ] = HYPEREVM;
74+ supportedIds[13 ] = LIGHTLINK;
75+ supportedIds[14 ] = LINEA;
76+ supportedIds[15 ] = MODE;
77+ supportedIds[16 ] = MONAD;
78+ supportedIds[17 ] = MORPH;
79+ supportedIds[18 ] = OPTIMISM;
80+ supportedIds[19 ] = POLYGON;
81+ supportedIds[20 ] = SCROLL;
82+ supportedIds[21 ] = SEI;
83+ supportedIds[22 ] = SOPHON;
84+ supportedIds[23 ] = SUPERSEED;
85+ supportedIds[24 ] = SONIC;
86+ supportedIds[25 ] = UNICHAIN;
87+ supportedIds[26 ] = XDC;
88+ supportedIds[27 ] = ZKSYNC;
8789 }
8890
8991 /// @notice Returns the full list of supported testnet chain IDs.
@@ -109,6 +111,7 @@ library ChainId {
109111 if (chainId == ChainId.BSC) return "bsc " ;
110112 if (chainId == ChainId.CHILIZ) return "chiliz " ;
111113 if (chainId == ChainId.COREDAO) return "core_dao " ;
114+ if (chainId == ChainId.DENERGY) return "denergy " ;
112115 if (chainId == ChainId.ETHEREUM) return "ethereum " ;
113116 if (chainId == ChainId.GNOSIS) return "gnosis " ;
114117 if (chainId == ChainId.HYPEREVM) return "hyperevm " ;
0 commit comments