Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update configuration parameters to tentative real values #61

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading