Skip to content

Commit

Permalink
Update configuration parameters to tentative real values
Browse files Browse the repository at this point in the history
  • Loading branch information
apbendi committed Feb 21, 2024
1 parent e698ffc commit d4c7545
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions script/DeployInput.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ contract DeployInput {
address constant UNISWAP_GOVERNOR = 0x408ED6354d4973f66138C91495F2f2FCbd8724C3;
address constant UNISWAP_GOVERNOR_TIMELOCK = 0x1a9C8182C09F50C8318d769245beA52c32BE35BC;
address constant UNISWAP_V3_FACTORY_ADDRESS = 0x1F98431c8aD98523631AE4a59f267346ea31F984;
// TODO not finalized: currently WETH
address constant PAYOUT_TOKEN_ADDRESS = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
address constant STAKE_TOKEN_ADDRESS = 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984;
// TODO not determined yet
uint256 constant PAYOUT_AMOUNT = 10e18;
address constant PAYOUT_TOKEN_ADDRESS = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; // WETH
uint256 constant PAYOUT_AMOUNT = 10e18; // 10 (WETH)
address constant STAKE_TOKEN_ADDRESS = 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984; // UNI
}
2 changes: 1 addition & 1 deletion src/UniStaker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ contract UniStaker is INotifiableRewardReceiver, Multicall, EIP712, Nonces {
IERC20Delegates public immutable STAKE_TOKEN;

/// @notice Length of time over which rewards sent to this contract are distributed to stakers.
uint256 public constant REWARD_DURATION = 7 days;
uint256 public constant REWARD_DURATION = 30 days;

/// @notice Scale factor used in reward calculation math to reduce rounding errors caused by
/// truncation during division.
Expand Down

0 comments on commit d4c7545

Please sign in to comment.