Skip to content

Commit

Permalink
Update lynx root deployment script to match values used for upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed May 16, 2024
1 parent 6c06bfd commit ae5a2d3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion deployment/constructor_params/lynx/root.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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

0 comments on commit ae5a2d3

Please sign in to comment.