Skip to content

Commit

Permalink
fix: remove misleading comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mymphe committed Nov 26, 2024
1 parent e85791b commit ab52647
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions contracts/0.8.25/vaults/VaultDelegationLayer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,6 @@ contract VaultDelegationLayer is VaultDashboard, IReportReceiver {
}
}

/// * * * * * PLUMBER FUNCTIONS * * * * * ///

function mint(
address _recipient,
uint256 _tokens
Expand All @@ -176,17 +174,13 @@ contract VaultDelegationLayer is VaultDashboard, IReportReceiver {
vaultHub.burnStethBackedByVault(address(stakingVault), _tokens);
}

/// * * * * * VAULT CALLBACK * * * * * ///

// solhint-disable-next-line no-unused-vars
function onReport(uint256 _valuation, int256 _inOutDelta, uint256 _locked) external {
if (msg.sender != address(stakingVault)) revert OnlyVaultCanCallOnReportHook();

managementDue += (_valuation * managementFee) / 365 / BP_BASE;
}

/// * * * * * QUORUM FUNCTIONS * * * * * ///

function transferStakingVaultOwnership(
address _newOwner
) public override onlyIfVotedBy(ownershipTransferCommittee(), 7 days) {
Expand Down

0 comments on commit ab52647

Please sign in to comment.