summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@byzantine-lab.io>2019-06-17 14:14:59 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-17 15:14:06 +0800
commit3d70a27f19664113f8c3c7f8cd1cdceac9b22f18 (patch)
tree1cd52696477fbf7111499732845f6025c72ad073
parent9dbe24cbe9af76924dadae74255dfd929c0ec303 (diff)
downloadtangerine-governance-abi-3d70a27f19664113f8c3c7f8cd1cdceac9b22f18.tar.gz
tangerine-governance-abi-3d70a27f19664113f8c3c7f8cd1cdceac9b22f18.tar.zst
tangerine-governance-abi-3d70a27f19664113f8c3c7f8cd1cdceac9b22f18.zip
contracts: add updateNodeInfo method
-rw-r--r--contracts/Governance.sol13
1 files changed, 9 insertions, 4 deletions
diff --git a/contracts/Governance.sol b/contracts/Governance.sol
index b3f4e07..0639077 100644
--- a/contracts/Governance.sol
+++ b/contracts/Governance.sol
@@ -192,10 +192,6 @@ contract Governance {
function transferNodeOwnershipByFoundation(address OldOwner, address NewOwner) public {
}
- // replaceNodePublicKey(newPublicKey)
- function replaceNodePublicKey(bytes memory NewPublicKey) public {
- }
-
// Return number of nodes.
function nodesLength() view public returns (uint256) {
}
@@ -230,6 +226,15 @@ contract Governance {
string memory Url) public payable {
}
+ // ReplaceNodePublicKey(newPublicKey)
+ function replaceNodePublicKey(bytes memory NewPublicKey) public {
+ }
+
+ // UpdateNodeInfo(name, email, location, url)
+ function updateNodeInfo(string memory Name, string memory Email,
+ string memory Location, string memory Url) public {
+ }
+
// Stake()
function stake() public payable {
}