From e162830d0206fffdc4f04c920ad94dd081504f53 Mon Sep 17 00:00:00 2001 From: Ben DiFrancesco Date: Mon, 5 Feb 2024 23:24:22 -0500 Subject: [PATCH] Bump SCALE_FACTOR used by UniStaker to 1e36 --- src/UniStaker.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UniStaker.sol b/src/UniStaker.sol index 91ef9a7..b36db4e 100644 --- a/src/UniStaker.sol +++ b/src/UniStaker.sol @@ -102,7 +102,7 @@ contract UniStaker is INotifiableRewardReceiver, ReentrancyGuard, Multicall { /// @notice Scale factor used in reward calculation math to reduce rounding errors caused by /// truncation during division. - uint256 public constant SCALE_FACTOR = 1e24; + uint256 public constant SCALE_FACTOR = 1e36; /// @dev Unique identifier that will be used for the next deposit. DepositIdentifier private nextDepositId;