Skip to content

Commit 8cade27

Browse files
committed
feat: added coreSupported function
1 parent f928274 commit 8cade27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/integration/SymbioticCoreConstants.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ library SymbioticCoreConstants {
2222
ISymbioticVaultConfigurator vaultConfigurator;
2323
}
2424

25+
function coreSupported() internal view returns (bool) {
26+
return block.chainid == 1 || block.chainid == 17_000 || block.chainid == 11_155_111 || block.chainid == 560_048;
27+
}
28+
2529
function core() internal view returns (Core memory) {
2630
if (block.chainid == 1) {
2731
// mainnet

0 commit comments

Comments
 (0)