This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Denis Ermolin
committed
Dec 28, 2020
1 parent
39825c2
commit 464be11
Showing
3 changed files
with
74 additions
and
11 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
11 changes: 11 additions & 0 deletions
11
contracts/staking/validatorShare/ValidatorShareStorageExtension.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
pragma solidity 0.5.17; | ||
|
||
contract ValidatorShareStorageExtension { | ||
struct DelegatorUnbond { | ||
uint256 shares; | ||
uint256 withdrawEpoch; | ||
} | ||
|
||
mapping(address => uint256) public unbondNonces; | ||
mapping(address => mapping(uint256 => DelegatorUnbond)) public unbonds_new; | ||
} |