From 048afe4003e996d4fd9c16b28b8ca56724187edd 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 6e4201c..b410e1d 100644 --- a/src/UniStaker.sol +++ b/src/UniStaker.sol @@ -104,7 +104,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;