Skip to content

Commit

Permalink
chore: fix some comments and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
folkyatina committed Jan 3, 2025
1 parent a48c18a commit b242670
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/0.8.25/utils/OZPausableUntil.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pragma solidity 0.8.25;
import {PausableUntil} from "contracts/common/utils/PausableUntil.sol";
import {AccessControlEnumerableUpgradeable} from "contracts/openzeppelin/5.0.2/upgradeable/access/extensions/AccessControlEnumerableUpgradeable.sol";

/// @title PausableAccessControlEnumerableUpgradeable aka PausableACEU
/// @title OZPausableUntil is a PausableUntil reference implementation using OpenZeppelin's AccessControlEnumerableUpgradeable
/// @author folkyatina
abstract contract OZPausableUntil is PausableUntil, AccessControlEnumerableUpgradeable {
/// @notice role that allows to pause the hub
Expand Down
3 changes: 1 addition & 2 deletions contracts/0.8.25/vaults/VaultHub.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
pragma solidity 0.8.25;

import {IBeacon} from "@openzeppelin/contracts-v5.0.2/proxy/beacon/IBeacon.sol";
import {AccessControlEnumerableUpgradeable} from "contracts/openzeppelin/5.0.2/upgradeable/access/extensions/AccessControlEnumerableUpgradeable.sol";
import {OwnableUpgradeable} from "contracts/openzeppelin/5.0.2/upgradeable/access/OwnableUpgradeable.sol";

import {IStakingVault} from "./interfaces/IStakingVault.sol";
Expand All @@ -21,7 +20,7 @@ import {Math256} from "contracts/common/lib/Math256.sol";
/// It also allows to force rebalance of the vaults
/// Also, it passes the report from the accounting oracle to the vaults and charges fees
/// @author folkyatina
abstract contract VaultHub is AccessControlEnumerableUpgradeable, OZPausableUntil {
abstract contract VaultHub is OZPausableUntil {
/// @custom:storage-location erc7201:VaultHub
struct VaultHubStorage {
/// @notice vault sockets with vaults connected to the hub
Expand Down

0 comments on commit b242670

Please sign in to comment.