Skip to content

Commit

Permalink
fix: rename long name to Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
mymphe committed Nov 29, 2024
1 parent 06b3c39 commit 481979d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ import {OwnableUpgradeable} from "contracts/openzeppelin/5.0.2/upgradeable/acces
import {VaultHub} from "./VaultHub.sol";

/**
* @title StVaultOwnerWithDashboard
* @title Dashboard
* @notice This contract is meant to be used as the owner of `StakingVault`.
* This contract improves the vault UX by bundling all functions from the vault and vault hub
* in this single contract. It provides administrative functions for managing the staking vault,
* including funding, withdrawing, depositing to the beacon chain, minting, burning, and rebalancing operations.
* All these functions are only callable by the account with the DEFAULT_ADMIN_ROLE.
*/
contract StVaultOwnerWithDashboard is AccessControlEnumerable {
contract Dashboard is AccessControlEnumerable {
/// @notice Address of the implementation contract
/// @dev Used to prevent initialization in the implementation
address private immutable _SELF;
Expand Down
8 changes: 4 additions & 4 deletions contracts/0.8.25/vaults/StVaultOwnerWithDelegation.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import {AccessControlEnumerable} from "@openzeppelin/contracts-v5.0.2/access/ext
import {OwnableUpgradeable} from "contracts/openzeppelin/5.0.2/upgradeable/access/OwnableUpgradeable.sol";
import {IStakingVault} from "./interfaces/IStakingVault.sol";
import {IReportReceiver} from "./interfaces/IReportReceiver.sol";
import {StVaultOwnerWithDashboard} from "./StVaultOwnerWithDashboard.sol";
import {Dashboard} from "./Dashboard.sol";
import {Math256} from "contracts/common/lib/Math256.sol";

/**
* @title StVaultOwnerWithDelegation
* @notice This contract serves as an owner for `StakingVault` with additional delegation capabilities.
* It extends `StVaultOwnerWithDashboard` and implements `IReportReceiver`.
* It extends `Dashboard` and implements `IReportReceiver`.
* The contract provides administrative functions for managing the staking vault,
* including funding, withdrawing, depositing to the beacon chain, minting, burning,
* rebalancing operations, and fee management. All these functions are only callable
Expand All @@ -26,7 +26,7 @@ import {Math256} from "contracts/common/lib/Math256.sol";
* @notice The term "fee" is used to express the fee percentage as basis points, e.g. 5%,
* while "due" is the actual amount of the fee, e.g. 1 ether
*/
contract StVaultOwnerWithDelegation is StVaultOwnerWithDashboard, IReportReceiver {
contract StVaultOwnerWithDelegation is Dashboard, IReportReceiver {
// ==================== Constants ====================

uint256 private constant BP_BASE = 10000; // Basis points base (100%)
Expand Down Expand Up @@ -117,7 +117,7 @@ contract StVaultOwnerWithDelegation is StVaultOwnerWithDashboard, IReportReceive
* @notice Constructor sets the stETH token address.
* @param _stETH Address of the stETH token contract.
*/
constructor(address _stETH) StVaultOwnerWithDashboard(_stETH) {}
constructor(address _stETH) Dashboard(_stETH) {}

/**
* @notice Initializes the contract with the default admin and `StakingVault` address.
Expand Down

0 comments on commit 481979d

Please sign in to comment.