From a6eb804adc1694a74f0ec66a7ffe9308aab4114c Mon Sep 17 00:00:00 2001 From: Vitally Marinchenko Date: Mon, 15 Jan 2024 00:49:11 +0700 Subject: [PATCH] add setRewardDuration to the manager contract --- contracts/ManagerSetup.sol | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/contracts/ManagerSetup.sol b/contracts/ManagerSetup.sol index 67dc404..be2901b 100644 --- a/contracts/ManagerSetup.sol +++ b/contracts/ManagerSetup.sol @@ -102,6 +102,17 @@ contract ManagerSetup is ManagerHelper { ); } + function setRewardDuration( + uint256 _newDuration + ) + external + onlyOwner + { + TIME_LOCK_FARM.setRewardDuration( + _newDuration + ); + } + /** * @dev Allows to recover ANY tokens * from the private farm contract.