diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-04-01 17:15:25 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-01 18:38:27 +0800 |
commit | c8f778ee59b6fd135a8752c20cd97ff0f55296ed (patch) | |
tree | 8cbfa19678e4d31bbe23680532764f7a3d443e34 | |
parent | 56b0121f5b46811e93512ff03f54a606f2deee98 (diff) | |
download | dexon-governance-abi-c8f778ee59b6fd135a8752c20cd97ff0f55296ed.tar.gz dexon-governance-abi-c8f778ee59b6fd135a8752c20cd97ff0f55296ed.tar.zst dexon-governance-abi-c8f778ee59b6fd135a8752c20cd97ff0f55296ed.zip |
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) { } |