Skip to content

Commit

Permalink
Holesky testnet deployment (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0aa0 authored Mar 18, 2024
1 parent 39aa5ac commit 54fce30
Show file tree
Hide file tree
Showing 4 changed files with 171 additions and 3 deletions.
38 changes: 38 additions & 0 deletions contracts/script/deploy/existing/Holesky_testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"addresses": {
"avsDirectory": "0x055733000064333CaDDbC92763c58BF0192fFeBf",
"avsDirectoryImplementation": "0xEF5BA995Bc7722fd1e163edF8Dc09375de3d3e3a",
"baseStrategyImplementation": "0xFb83e1D133D0157775eC4F19Ff81478Df1103305",
"beaconOracleAddress": "0x4C116BB629bff7A8373c2378bBd919f8349B8f25",
"delayedWithdrawalRouter": "0x642c646053eaf2254f088e9019ACD73d9AE0FA32",
"delayedWithdrawalRouterImplementation": "0xcE8b8D99773a718423F8040a6e52c06a4ce63407",
"delegation": "0xA44151489861Fe9e3055d95adC98FbD462B948e7",
"delegationImplementation": "0x83f8F8f0BB125F7870F6bfCf76853f874C330D76",
"eigenLayerPauserReg": "0x85Ef7299F8311B25642679edBF02B62FA2212F06",
"eigenLayerProxyAdmin": "0xDB023566064246399b4AE851197a97729C93A6cf",
"eigenPodBeacon": "0x7261C2bd75a7ACE1762f6d7FAe8F63215581832D",
"eigenPodImplementation": "0xa6AF55234A9A2B4d4A78d6952cf1Bb216857bE18",
"eigenPodManager": "0x30770d7E3e71112d7A6b7259542D1f680a70e315",
"eigenPodManagerImplementation": "0x5265C162f7d5F3fE3175a78828ab16bf5E324a7B",
"emptyContract": "0x9690d52B1Ce155DB2ec5eCbF5a262ccCc7B3A6D2",
"slasher": "0xcAe751b75833ef09627549868A04E32679386e7C",
"slasherImplementation": "0x99715D255E34a39bE9943b82F281CA734bcF345A",
"strategies": {
"WETH": "0x80528D6e9A2BAbFc766965E0E26d5aB08D9CFaF9",
"rETH": "0x3A8fBdf9e77DFc25d09741f51d3E181b25d0c4E0",
"stETH": "0x7D704507b76571a51d9caE8AdDAbBFd0ba0e63d3"
},
"strategyManager": "0xdfB5f6CE42aAA7830E94ECFCcAd411beF4d4D5b6",
"strategyManagerImplementation": "0x59f766A603C53f3AC8Be43bBe158c1519b193a18"
},
"chainInfo": {
"chainId": 17000,
"deploymentBlock": 1167041
},
"parameters": {
"communityMultisig": "0xCb8d2f9e55Bc7B1FA9d089f9aC80C583D2BDD5F7",
"executorMultisig": "0x28Ade60640fdBDb2609D8d8734D1b5cBeFc0C348",
"operationsMultisig": "0xfaEF7338b7490b9E272d80A1a39f4657cAf2b97d",
"pauserMultisig": "0x53410249ec7d3a3F9F1ba3912D50D6A3Df6d10A7"
}
}
9 changes: 6 additions & 3 deletions contracts/script/deploy/holesky/Holesky_Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ import "forge-std/StdJson.sol";
contract Deployer_Holesky is ExistingDeploymentParser {
using BN254 for BN254.G1Point;

string public existingDeploymentInfoPath = string(bytes("./script/deploy/existing/Holesky_preprod.json"));
string public deployConfigPath = string(bytes("./script/deploy/holesky/config/preprod.config.json"));
string public outputPath = string.concat("script/deploy/holesky/output/holesky_preprod_deployment_data.json");
//string public existingDeploymentInfoPath = string(bytes("./script/deploy/existing/Holesky_preprod.json"));
//string public deployConfigPath = string(bytes("./script/deploy/holesky/config/preprod.config.json"));
//string public outputPath = string.concat("script/deploy/holesky/output/holesky_preprod_deployment_data.json");
string public existingDeploymentInfoPath = string(bytes("./script/deploy/existing/Holesky_testnet.json"));
string public deployConfigPath = string(bytes("./script/deploy/holesky/config/testnet.config.json"));
string public outputPath = string.concat("script/deploy/holesky/output/holesky_testnet_deployment_data.json");

ProxyAdmin public eigenDAProxyAdmin;
address public eigenDAOwner;
Expand Down
97 changes: 97 additions & 0 deletions contracts/script/deploy/holesky/config/testnet.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"chainInfo": {
"chainId": 17000
},

"permissions" : {
"owner": "0x28Ade60640fdBDb2609D8d8734D1b5cBeFc0C348",
"upgrader": "0x28Ade60640fdBDb2609D8d8734D1b5cBeFc0C348",
"churner": "0x400c0D378F0E6881efb11b8E82480A3140B69258",
"ejector": "0x28Ade60640fdBDb2609D8d8734D1b5cBeFc0C348",
"batchConfirmer": "0xC0996A3Cc9ECF2A96115C117f6Da99FA80F525eB",
"pauser": "0x0000000000000000000000000000000000000000",
"initalPausedStatus": 1
},

"minimumStakes": [
32000000000000000000,
32000000000000000000
],

"strategyWeights": [
[
{
"0_strategy": "0xbeaC0eeEeeeeEEeEeEEEEeeEEeEeeeEeeEEBEaC0",
"1_multiplier": 1000000000000000000
},
{
"0_strategy": "0x7D704507b76571a51d9caE8AdDAbBFd0ba0e63d3",
"1_multiplier": 1000000000000000000
},
{
"0_strategy": "0x3A8fBdf9e77DFc25d09741f51d3E181b25d0c4E0",
"1_multiplier": 1000000000000000000
},
{
"0_strategy": "0x0000000000000000000000000000000000000001",
"1_multiplier": 1000000000000000000
},
{
"0_strategy": "0x0000000000000000000000000000000000000002",
"1_multiplier": 1000000000000000000
},
{
"0_strategy": "0x0000000000000000000000000000000000000003",
"1_multiplier": 1000000000000000000
},
{
"0_strategy": "0x0000000000000000000000000000000000000004",
"1_multiplier": 1000000000000000000
},
{
"0_strategy": "0x0000000000000000000000000000000000000005",
"1_multiplier": 1000000000000000000
},
{
"0_strategy": "0x0000000000000000000000000000000000000006",
"1_multiplier": 1000000000000000000
},
{
"0_strategy": "0x0000000000000000000000000000000000000007",
"1_multiplier": 1000000000000000000
},
{
"0_strategy": "0x0000000000000000000000000000000000000008",
"1_multiplier": 1000000000000000000
},
{
"0_strategy": "0x0000000000000000000000000000000000000009",
"1_multiplier": 1000000000000000000
},
{
"0_strategy": "0x000000000000000000000000000000000000000A",
"1_multiplier": 1000000000000000000
}
],
[
{
"0_strategy": "0x80528D6e9A2BAbFc766965E0E26d5aB08D9CFaF9",
"1_multiplier": 1000000000000000000
}
]
],

"operatorSetParams": [
{
"0_maxOperatorCount": 200,
"1_kickBIPsOfOperatorStake": 11000,
"2_kickBIPsOfTotalStake": 50
},
{
"0_maxOperatorCount": 30,
"1_kickBIPsOfOperatorStake": 11000,
"2_kickBIPsOfTotalStake": 334
}
]

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"addresses": {
"blsApkRegistry": "0x066cF95c1bf0927124DFB8B02B401bc23A79730D",
"blsApkRegistryImplementation": "0x885C0CC8118E428a2C04de58A93eB15Ed4F0e064",
"eigenDAProxyAdmin": "0xB043055dd967A382577c2f5261fA6428f2905c15",
"eigenDAServiceManager": "0xD4A7E1Bd8015057293f0D0A557088c286942e84b",
"eigenDAServiceManagerImplementation": "0x0A987C508b0f56154CA534b7Fa5b84863cbcc49d",
"indexRegistry": "0x2E3D6c0744b10eb0A4e6F679F71554a39Ec47a5D",
"indexRegistryImplementation": "0x889B040116f453D89e9d6d692Ad70Edd7357420d",
"mockRollup": "0x4B1481fFF061A0099408e71702b40Fe0932080Bc",
"operatorStateRetriever": "0xB4baAfee917fb4449f5ec64804217bccE9f46C67",
"registryCoordinator": "0x53012C69A189cfA2D9d29eb6F19B32e0A2EA3490",
"registryCoordinatorImplementation": "0xC908fAFAE29B5C9F0b5E0Da1d3025b8d6D42bfa0",
"serviceManagerRouter": "0x44632dfBdCb6D3E21EF613B0ca8A6A0c618F5a37",
"stakeRegistry": "0xBDACD5998989Eec814ac7A0f0f6596088AA2a270",
"stakeRegistryImplementation": "0xa8d25410c3e3347d93647f10FB6961069BEc98E5"
},
"chainInfo": {
"chainId": 17000,
"deploymentBlock": 1168409
},
"permissions": {
"eigenDABatchConfirmer": "0xC0996A3Cc9ECF2A96115C117f6Da99FA80F525eB",
"eigenDAChurner": "0x400c0D378F0E6881efb11b8E82480A3140B69258",
"eigenDAEjector": "0x28Ade60640fdBDb2609D8d8734D1b5cBeFc0C348",
"eigenDAOwner": "0x28Ade60640fdBDb2609D8d8734D1b5cBeFc0C348",
"eigenDAUpgrader": "0x28Ade60640fdBDb2609D8d8734D1b5cBeFc0C348",
"pauserRegistry": "0x85Ef7299F8311B25642679edBF02B62FA2212F06"
}
}

0 comments on commit 54fce30

Please sign in to comment.