From ae5a2d37bd0091fa5f8668a6143b5e20f0de186d Mon Sep 17 00:00:00 2001 From: derekpierre Date: Thu, 16 May 2024 10:43:16 -0400 Subject: [PATCH] Update lynx root deployment script to match values used for upgrade. --- deployment/constructor_params/lynx/root.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deployment/constructor_params/lynx/root.yml b/deployment/constructor_params/lynx/root.yml index b2080e5d..32d9fbe2 100644 --- a/deployment/constructor_params/lynx/root.yml +++ b/deployment/constructor_params/lynx/root.yml @@ -8,6 +8,7 @@ artifacts: constants: IN_SECONDS_1_HOUR: 3600 + IN_SECONDS_1_DAY: 86400 IN_SECONDS_7_DAYS: 604800 IN_SECONDS_60_DAYS: 5184000 IN_SECONDS_91_DAYS: 7862400 @@ -17,6 +18,8 @@ constants: FORTY_THOUSAND_TOKENS_IN_WEI_UNITS: 40000000000000000000000 TEN_MILLION_TOKENS_IN_WEI_UNITS: 10000000000000000000000000 YEAR_2025: 1735689600 + PENALTY_DEFAULT: 1000 # 10% + PENALTY_INCREMENT: 500 # 5% increment contracts: - LynxStakingToken: @@ -32,10 +35,13 @@ contracts: _tStaking: $TestnetThresholdStaking _minimumAuthorization: $FORTY_THOUSAND_TOKENS_IN_WEI_UNITS _minOperatorSeconds: $IN_SECONDS_1_HOUR - _rewardDuration: $IN_SECONDS_7_DAYS + _rewardDuration: $IN_SECONDS_1_DAY _deauthorizationDuration: $IN_SECONDS_60_DAYS _commitmentDurationOptions: [$IN_SECONDS_91_DAYS, $IN_SECONDS_182_DAYS, $IN_SECONDS_364_DAYS, $IN_SECONDS_546_DAYS] _commitmentDeadline: $YEAR_2025 + _penaltyDefault: $PENALTY_DEFAULT + _penaltyDuration: $IN_SECONDS_1_DAY # <= _rewardDuration + _penaltyIncrement: $PENALTY_INCREMENT - MockPolygonRoot: constructor: _rootApplication: $TACoApplication