This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #345 from maticnetwork/pre-upgrade
Pre upgrade
- Loading branch information
Showing
16 changed files
with
151 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
contracts/staking/stakeManager/StakeManagerStorageExtension.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
pragma solidity 0.5.17; | ||
|
||
contract StakeManagerStorageExtension { | ||
address public eventsHub; | ||
uint256 public rewardPerStake; | ||
address public auctionImplementation; | ||
address public extensionCode; | ||
address[] public signers; | ||
|
||
uint256 constant CHK_REWARD_PRECISION = 100; | ||
uint256 public prevBlockInterval; | ||
// how much less reward per skipped checkpoint, 0 - 100% | ||
uint256 public rewardDecreasePerCheckpoint; | ||
// how many skipped checkpoints to reward | ||
uint256 public maxSkippedCheckpoints; | ||
// how many checkpoints to reward | ||
uint256 public maxRewardedCheckpoints; | ||
// increase / decrease value for faster or slower checkpoints, 0 - 100% | ||
uint256 public checkpointRewardDelta; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
contracts/staking/validatorShare/ValidatorShareStorageExtension.sol
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.