Skip to content

Commit 7c55051

Browse files
committed
unstake period change
1 parent 55b632b commit 7c55051

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

contracts/src/SuccinctStaking.sol

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,11 @@ contract SuccinctStaking is
520520
_updateDispenseRate(_rate);
521521
}
522522

523+
/// @inheritdoc ISuccinctStaking
524+
function updateUnstakePeriod(uint256 _unstakePeriod) external override onlyOwner {
525+
_updateUnstakePeriod(_unstakePeriod);
526+
}
527+
523528
/*//////////////////////////////////////////////////////////////
524529
INTERNAL
525530
//////////////////////////////////////////////////////////////*/
@@ -663,6 +668,11 @@ contract SuccinctStaking is
663668
dispenseRate = _dispenseRate;
664669
}
665670

671+
/// @dev Set the new unstake period.
672+
function _updateUnstakingPeriod(uint256 _unstakePeriod) internal pure {
673+
unstakePeriod = _unstakePeriod
674+
}
675+
666676
/// @dev Thrown if a zero address is passed.
667677
function _requireNonZeroAddress(address _address) internal pure {
668678
if (_address == address(0)) revert ZeroAddress();

0 commit comments

Comments
 (0)