Skip to content

Commit

Permalink
feat(contracts/script): update script
Browse files Browse the repository at this point in the history
  • Loading branch information
mempirate committed Oct 23, 2024
1 parent 3c1bb7e commit 1c1ec6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
8 changes: 4 additions & 4 deletions bolt-contracts/config/holesky/vaults.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[
{
"collateral": "0x8d09a4502Cc8Cf1547aD300E066060D043f6982D",
"admin": "0x20A1305Ec6c13FFE8e5289f98ba1A18Aa262c15E"
"admin": "0x20A1305Ec6c13FFE8e5289f98ba1A18Aa262c15E",
"collateral": "0x8d09a4502Cc8Cf1547aD300E066060D043f6982D"
},
{
"collateral": "0x7322c24752f79c05FFD1E2a6FCB97020C1C264F1",
"admin": "0x20A1305Ec6c13FFE8e5289f98ba1A18Aa262c15E"
"admin": "0x20A1305Ec6c13FFE8e5289f98ba1A18Aa262c15E",
"collateral": "0x7322c24752f79c05FFD1E2a6FCB97020C1C264F1"
}
]
10 changes: 1 addition & 9 deletions bolt-contracts/script/holesky/admin/helpers/DeployVaults.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,14 @@ pragma solidity 0.8.25;

import {Script, console} from "forge-std/Script.sol";

import {INetworkRegistry} from "@symbiotic/interfaces/INetworkRegistry.sol";
import {IOperatorRegistry} from "@symbiotic/interfaces/IOperatorRegistry.sol";
import {IVaultFactory} from "@symbiotic/interfaces/IVaultFactory.sol";
import {IVault} from "@symbiotic/interfaces/vault/IVault.sol";
import {IOptInService} from "@symbiotic/interfaces/service/IOptInService.sol";
import {IVaultConfigurator} from "@symbiotic/interfaces/IVaultConfigurator.sol";
import {IBaseDelegator} from "@symbiotic/interfaces/delegator/IBaseDelegator.sol";
import {IBaseSlasher} from "@symbiotic/interfaces/slasher/IBaseSlasher.sol";
import {IMetadataService} from "@symbiotic/interfaces/service/IMetadataService.sol";
import {INetworkRestakeDelegator} from "@symbiotic/interfaces/delegator/INetworkRestakeDelegator.sol";
import {INetworkMiddlewareService} from "@symbiotic/interfaces/service/INetworkMiddlewareService.sol";
import {ISlasherFactory} from "@symbiotic/interfaces/ISlasherFactory.sol";
import {IVetoSlasher} from "@symbiotic/interfaces/slasher/IVetoSlasher.sol";
import {IDelegatorFactory} from "@symbiotic/interfaces/IDelegatorFactory.sol";
import {IMigratablesFactory} from "@symbiotic/interfaces/common/IMigratablesFactory.sol";
import {Subnetwork} from "@symbiotic/contracts/libraries/Subnetwork.sol";

contract DeploySymbioticVaults is Script {
struct VaultConfig {
Expand All @@ -31,7 +23,7 @@ contract DeploySymbioticVaults is Script {
VaultConfig[] memory configs = _readVaultConfigs();
uint48 epochDuration = _readEpochDuration();

// TODO: Check if vaults for specific collateral are already deployed
// TODO: Check if vaults for specific collateral are already deployed!

vm.startBroadcast();

Expand Down

0 comments on commit 1c1ec6e

Please sign in to comment.