Skip to content
Merged
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
652 changes: 0 additions & 652 deletions deployments/holesky-deployment.json

This file was deleted.

13 changes: 0 additions & 13 deletions deployments/holesky-taiyiAddresses.json

This file was deleted.

26 changes: 25 additions & 1 deletion script/Deployments.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,31 @@ contract Deploy is Script, Test {
}

function setupHoodiAddresses(string memory taiyiAddresses) internal {
revert("Hoodi is not supported yet");
// holesky address reference: https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-holesky
avsDirectory = 0xD58f6844f79eB1fbd9f7091d05f7cb30d3363926;
delegationManager = 0x867837a9722C512e0862d8c2E15b8bE220E8b87d;
strategyManagerAddr = 0xeE45e76ddbEDdA2918b8C7E3035cd37Eab3b5D41;
eigenPodManager = 0xcd1442415Fc5C29Aa848A49d2e232720BE07976c;
rewardCoordinator = 0x29e8572678e0c272350aa0b4B8f304E47EBcd5e7;
allocationManager = 0x95a7431400F362F3647a69535C5666cA0133CAA0;
permissionController = 0xdcCF401fD121d8C542E96BC1d0078884422aFAD2;
eigenPauserReg = 0x64D78399B0fa32EA72959f33edCF313159F3c13D;
// TODO: update this
vm.startBroadcast();
IRegistry.Config memory registryConfig = IRegistry.Config({
minCollateralWei: SafeCast.toUint80(urcMinCollateral),
fraudProofWindow: 7200,
unregistrationDelay: 7200,
slashWindow: 7200,
optInDelay: 7200
});

Registry registry = new Registry(registryConfig);
emit log_address(address(registry));
urc = address(registry);
vm.serializeAddress(taiyiAddresses, "urc", address(registry));
vm.serializeUint(taiyiAddresses, "urcMinCollateral", urcMinCollateral);
vm.stopBroadcast();
}

function run(string memory configFileName, uint256 minCollateral) public {
Expand Down
4 changes: 3 additions & 1 deletion script/SetRegistry.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ contract SetRegistry is Script, Test {
allocationManagerAddr = 0x78469728304326CBc65f8f95FA756B0B73164462;
permissionControllerAddr = 0x598cb226B591155F767dA17AfE7A2241a68C5C10;
} else if (network == Network.HOODI) {
revert("Hoodi is not supported yet");
// Use hardcoded addresses for Holesky and Hoodi
allocationManagerAddr = 0x95a7431400F362F3647a69535C5666cA0133CAA0;
permissionControllerAddr = 0xdcCF401fD121d8C542E96BC1d0078884422aFAD2;
} else {
revert("Invalid network");
}
Expand Down
3 changes: 2 additions & 1 deletion script/SetupContract.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ contract SetupContract is Script, Test {
allocationManagerAddr = 0x78469728304326CBc65f8f95FA756B0B73164462;
wethStrategyAddr = 0xdfB5f6CE42aAA7830E94ECFCcAd411beF4d4D5b6;
} else if (network == Network.HOODI) {
revert("Hoodi is not supported yet");
allocationManagerAddr = 0x95a7431400F362F3647a69535C5666cA0133CAA0;
wethStrategyAddr = 0x24579aD4fe83aC53546E5c2D3dF5F85D6383420d;
} else {
revert("Invalid network");
}
Expand Down
6 changes: 6 additions & 0 deletions script/output/hoodi/operatorSetId.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"operatorSetId": {
"underwriterOperatorSetId": 1,
"validatorOperatorSetId": 0
}
}
24 changes: 24 additions & 0 deletions script/output/hoodi/taiyiAddresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"taiyiAddresses": {
"eigenLayerMiddleware": "0xa9f69A10e9550a644EDfC6A7D4c6702922184637",
"eigenLayerMiddlewareImpl": "0x56A653ee63aEB67e1B08e82Cbe939F78454FD153",
"eigenLayerMiddlewareProxyAdminAddress": "0x48AEDfa503e1EC8133273997143d5dD2167561Be",
"linglongSlasher": "0xee8EaB9E52487DEc60F6Ff2b4936157598000aCC",
"linglongSlasherImpl": "0x81eE9896c9CD444B0909f353E9f949c4c792DeFC",
"linglongSlasherProxyAdminAddress": "0x405F1Bb8A0fC4D7e78fdc12B96F35D8eF8420c13",
"pubkeyRegistry": "0xd1778f661Aa8FdCf299De2619d08F43C1FA37b0D",
"pubkeyRegistryImpl": "0x045887238694312E1Ff2f6dDBDA9D38912697422",
"pubkeyRegistryProxyAdminAddress": "0xC0991A5d3061335a67bC12165F576657A2BA0bc5",
"socketRegistry": "0xE311BA37335f32C042c3529ae852D859702E52e5",
"socketRegistryImpl": "0x785645d3018C7148Fdb6dcF5A6960e2149511f25",
"socketRegistryProxyAdminAddress": "0x2d144077be4E4c73a4CF2399e196160BE1593Ec9",
"taiyiCore": "0xb435AEfDef1a3D387f2f3FcD7FF2598eF6398EDF",
"taiyiCoreImpl": "0x5166b6054d66C28194891bCFf251f0C702cFeB62",
"taiyiCoreProxyAdminAddress": "0x6686B7290B921AAe47Cf7ECd8C0dE72cb52213bb",
"taiyiRegistryCoordinator": "0xd6E1b16215AF92f448c29Bf602E42748CB8Fc05f",
"taiyiRegistryCoordinatorImpl": "0x6E0646d1F7d394B393Ffda3b616c006352F2888d",
"taiyiRegistryCoordinatorProxyAdminAddress": "0x340896A16AdfdB14c6BaAc5F73EFB6FF3a532077",
"urc": "0x9a20dB6243De2f3827CEAd2371A5FAcB0eD546e5",
"urcMinCollateral": 10000000000000000
}
}