From c8f778ee59b6fd135a8752c20cd97ff0f55296ed Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Mon, 1 Apr 2019 17:15:25 +0800 Subject: contracts: add replaceNodePublicKey method --- contracts/Governance.sol | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contracts/Governance.sol b/contracts/Governance.sol index 7ec736f..c8dbd32 100644 --- a/contracts/Governance.sol +++ b/contracts/Governance.sol @@ -147,6 +147,7 @@ contract Governance { event ConfigurationChanged(); event CRSProposed(uint256 indexed Round, bytes32 CRS); event NodeOwnershipTransfered(address indexed NodeAddress, address indexed NewOwnerAddress); + event NodePublicKeyReplaced(address indexed NodeAddress, bytes PublicKey); event Staked(address indexed NodeAddress, uint256 Amount); event Unstaked(address indexed NodeAddress, uint256 Amount); event Withdrawn(address indexed NodeAddress, uint256 Amount); @@ -181,6 +182,10 @@ contract Governance { function transferNodeOwnership(address NewOwner) public { } + // replaceNodePublicKey(newPublicKey) + function replaceNodePublicKey(bytes memory NewPublicKey) public { + } + // Return number of nodes. function nodesLength() view public returns (uint256) { } -- cgit v1.2.3