Skip to content

Commit 5e2ffd6

Browse files
authored
Merge pull request #103 from symbioticfi/hoodi
Hoodi
2 parents a6e9bbb + 19ca8e5 commit 5e2ffd6

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
**Symbiotic is a shared security protocol enabling decentralized networks to control and customize their own multi-asset restaking implementation.**
44

5+
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/symbioticfi/core)
6+
57
Symbiotic core consists of:
68

79
- **Collateral**: a new type of asset that allows stakeholders to hold onto their funds and earn yield from them without needing to lock these funds in a direct manner or convert them to another type of asset.

test/integration/SymbioticCoreConstants.sol

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,21 @@ library SymbioticCoreConstants {
6868
operatorNetworkOptInService: ISymbioticOptInService(0x58973d16FFA900D11fC22e5e2B6840d9f7e13401),
6969
vaultConfigurator: ISymbioticVaultConfigurator(0xD2191FE92987171691d552C219b8caEf186eb9cA)
7070
});
71+
} else if (block.chainid == 560_048) {
72+
// hoodi
73+
return Core({
74+
vaultFactory: ISymbioticVaultFactory(0x407A039D94948484D356eFB765b3c74382A050B4),
75+
delegatorFactory: ISymbioticDelegatorFactory(0x890CA3f95E0f40a79885B7400926544B2214B03f),
76+
slasherFactory: ISymbioticSlasherFactory(0xbf34bf75bb779c383267736c53a4ae86ac7bB299),
77+
networkRegistry: ISymbioticNetworkRegistry(0x7d03b7343BF8d5cEC7C0C27ecE084a20113D15C9),
78+
networkMetadataService: ISymbioticMetadataService(0x0F7E58Cc4eA615E8B8BEB080dF8B8FDB63C21496),
79+
networkMiddlewareService: ISymbioticNetworkMiddlewareService(0x62a1ddfD86b4c1636759d9286D3A0EC722D086e3),
80+
operatorRegistry: ISymbioticOperatorRegistry(0x6F75a4ffF97326A00e52662d82EA4FdE86a2C548),
81+
operatorMetadataService: ISymbioticMetadataService(0x0999048aB8eeAfa053bF8581D4Aa451ab45755c9),
82+
operatorVaultOptInService: ISymbioticOptInService(0x95CC0a052ae33941877c9619835A233D21D57351),
83+
operatorNetworkOptInService: ISymbioticOptInService(0x58973d16FFA900D11fC22e5e2B6840d9f7e13401),
84+
vaultConfigurator: ISymbioticVaultConfigurator(0x94c344E816A53D07fC4c7F4a18f82b6Da87CFc8f)
85+
});
7186
} else {
7287
revert("SymbioticCoreConstants.core(): chainid not supported");
7388
}
@@ -175,6 +190,9 @@ library SymbioticCoreConstants {
175190
} else if (block.chainid == 11_155_111) {
176191
// sepolia
177192
return 0xB82381A3fBD3FaFA77B3a7bE693342618240067b;
193+
} else if (block.chainid == 560_048) {
194+
// hoodi
195+
return 0x7E99eE3C66636DE415D2d7C880938F2f40f94De4;
178196
} else {
179197
revert("SymbioticCoreConstants.wstETH(): chainid not supported");
180198
}
@@ -205,6 +223,9 @@ library SymbioticCoreConstants {
205223
} else if (block.chainid == 17_000) {
206224
// holesky
207225
return 0x7322c24752f79c05FFD1E2a6FCB97020C1C264F1;
226+
} else if (block.chainid == 560_048) {
227+
// hoodi
228+
return 0x7322c24752f79c05FFD1E2a6FCB97020C1C264F1;
208229
} else {
209230
revert("SymbioticCoreConstants.rETH(): chainid not supported");
210231
}
@@ -364,7 +385,8 @@ library SymbioticCoreConstants {
364385
}
365386

366387
function wstETHSupported() internal view returns (bool) {
367-
return (block.chainid == 1 || block.chainid == 17_000 || block.chainid == 11_155_111);
388+
return
389+
(block.chainid == 1 || block.chainid == 17_000 || block.chainid == 11_155_111 || block.chainid == 560_048);
368390
}
369391

370392
function cbETHSupported() internal view returns (bool) {
@@ -376,7 +398,7 @@ library SymbioticCoreConstants {
376398
}
377399

378400
function rETHSupported() internal view returns (bool) {
379-
return (block.chainid == 1 || block.chainid == 17_000);
401+
return (block.chainid == 1 || block.chainid == 17_000 || block.chainid == 560_048);
380402
}
381403

382404
function mETHSupported() internal view returns (bool) {

0 commit comments

Comments
 (0)