diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-02-11 14:11:45 +0800 |
---|---|---|
committer | Jimmy Hu <jimmy.hu@dexon.org> | 2019-02-11 15:29:58 +0800 |
commit | d57cdfbfd99f0d0fc2730eff1e3d6150d487e7e5 (patch) | |
tree | df8a2b2f61e8b27028d6b2e914f5a24d7996b87f | |
parent | bd21d50bdfd42612f3a9a526080dd8af504d9fb0 (diff) | |
download | dexon-governance-abi-dexon-classic.tar dexon-governance-abi-dexon-classic.tar.gz dexon-governance-abi-dexon-classic.tar.bz2 dexon-governance-abi-dexon-classic.tar.lz dexon-governance-abi-dexon-classic.tar.xz dexon-governance-abi-dexon-classic.tar.zst dexon-governance-abi-dexon-classic.zip |
contracts: add reset DKG functionsdexon-classic
-rw-r--r-- | contracts/Governance.sol | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contracts/Governance.sol b/contracts/Governance.sol index b4fd2c6..8a3a44b 100644 --- a/contracts/Governance.sol +++ b/contracts/Governance.sol @@ -126,6 +126,9 @@ contract Governance { // 32: Fined records. mapping(bytes32 => bool) public finedRecords; + // 33: DKG reset count + uint256[] public DKGResetCount; + // ---------- // Modifiers. // ---------- @@ -148,6 +151,7 @@ contract Governance { event ForkReported(address indexed NodeAddress, uint256 Type, bytes Arg1, bytes Arg2); event Fined(address indexed NodeAddress, uint256 Amount); event FinePaid(address indexed NodeAddress, uint256 Amount); + event DKGReset(uint256 indexed Round, uint256 BlockHeight); // transferOwnership() function transferOwnership(address newOwner) public onlyOwner { @@ -231,4 +235,8 @@ contract Governance { // Report(enum type, bytes[] payloads) function report(uint256 Type, bytes memory Arg1, bytes memory Arg2) public { } + + // ResetDKG(newSignedCRS) + function resetDKG(bytes memory NewSignedCRS) public { + } } |