From 0438d2967af7948344da542847f83d6bdec8ce36 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 e47800f..4f979f7 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;