@@ -42,31 +42,51 @@ import (
4242const (
4343 mainnet = "mainnet"
4444 testnet = "testnet"
45+ sepolia = "sepolia"
46+ hoodi = "hoodi"
4547 local = "local"
4648 selectorHexIdLength = 10
4749 addressPrefix = "0x"
4850)
4951
5052var ChainMetadataMap = map [int64 ]types.ChainMetadata {
51- MainnetChainId : {
52- BlockExplorerUrl : "https://etherscan.io/tx" ,
53+ utils . MainnetChainId : {
54+ BlockExplorerUrl : utils . MainnetBlockExplorerUrl ,
5355 ELDelegationManagerAddress : "0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A" ,
5456 ELAVSDirectoryAddress : "0x135dda560e946695d6f155dacafc6f1f25c1f5af" ,
5557 ELRewardsCoordinatorAddress : "0x7750d328b314EfFa365A0402CcfD489B80B0adda" ,
5658 ELPermissionControllerAddress : "0x25E5F8B1E7aDf44518d35D5B2271f114e081f0E5" ,
5759 WebAppUrl : "https://app.eigenlayer.xyz/operator" ,
5860 SidecarHttpRpcURL : "https://sidecar-rpc.eigenlayer.xyz/mainnet" ,
5961 },
60- HoleskyChainId : {
61- BlockExplorerUrl : "https://holesky.etherscan.io/tx" ,
62+ utils . HoleskyChainId : {
63+ BlockExplorerUrl : utils . HoleskyBlockExplorerUrl ,
6264 ELDelegationManagerAddress : "0xA44151489861Fe9e3055d95adC98FbD462B948e7" ,
6365 ELAVSDirectoryAddress : "0x055733000064333CaDDbC92763c58BF0192fFeBf" ,
6466 ELRewardsCoordinatorAddress : "0xAcc1fb458a1317E886dB376Fc8141540537E68fE" ,
6567 ELPermissionControllerAddress : "0x598cb226B591155F767dA17AfE7A2241a68C5C10" ,
6668 WebAppUrl : "https://holesky.eigenlayer.xyz/operator" ,
6769 SidecarHttpRpcURL : "https://sidecar-rpc.eigenlayer.xyz/holesky" ,
6870 },
69- AnvilChainId : {
71+ utils .SepoliaChainId : {
72+ BlockExplorerUrl : utils .SepoliaBlockExplorerUrl ,
73+ ELDelegationManagerAddress : "0xD4A7E1Bd8015057293f0D0A557088c286942e84b" ,
74+ ELAVSDirectoryAddress : "0xa789c91ECDdae96865913130B786140Ee17aF545" ,
75+ ELRewardsCoordinatorAddress : "0x5ae8152fb88c26ff9ca5C014c94fca3c68029349" ,
76+ ELPermissionControllerAddress : "0x44632dfBdCb6D3E21EF613B0ca8A6A0c618F5a37" ,
77+ WebAppUrl : "" ,
78+ SidecarHttpRpcURL : "" ,
79+ },
80+ utils .HoodiChainId : {
81+ BlockExplorerUrl : utils .HoodiBlockExplorerUrl ,
82+ ELDelegationManagerAddress : "0x867837a9722C512e0862d8c2E15b8bE220E8b87d" ,
83+ ELAVSDirectoryAddress : "0xD58f6844f79eB1fbd9f7091d05f7cb30d3363926" ,
84+ ELRewardsCoordinatorAddress : "0x29e8572678e0c272350aa0b4B8f304E47EBcd5e7" ,
85+ ELPermissionControllerAddress : "0xdcCF401fD121d8C542E96BC1d0078884422aFAD2" ,
86+ WebAppUrl : "" ,
87+ SidecarHttpRpcURL : "" ,
88+ },
89+ utils .AnvilChainId : {
7090 BlockExplorerUrl : "" ,
7191 ELDelegationManagerAddress : "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9" ,
7292 ELAVSDirectoryAddress : "0x0165878A594ca255338adfa4d48449f69242Eb8F" ,
@@ -612,6 +632,10 @@ func GetEnvFromNetwork(network string) string {
612632 return testnet
613633 case utils .MainnetNetworkName :
614634 return mainnet
635+ case utils .SepoliaNetworkName :
636+ return sepolia
637+ case utils .HoodiNetworkName :
638+ return hoodi
615639 default :
616640 return local
617641 }
0 commit comments