diff options
contracts: add replaceNodePublicKey method
-rw-r--r-- | contracts/Governance.sol | 5 |
1 files changed, 5 insertions, 0 deletions
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) { } |