aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <aitjcize@gmail.com>2018-11-17 17:55:31 +0800
committerWei-Ning Huang <aitjcize@gmail.com>2018-11-17 17:55:31 +0800
commit250501f865a859f69aec26673ffd9feafedab732 (patch)
tree5c4e281442c3c15bdbba89f5ff2f44efb8e8005b
parent49d75a2d6a813e1cc8522d953a900c298ae91a57 (diff)
downloaddexon-wiki-250501f865a859f69aec26673ffd9feafedab732.tar
dexon-wiki-250501f865a859f69aec26673ffd9feafedab732.tar.gz
dexon-wiki-250501f865a859f69aec26673ffd9feafedab732.tar.bz2
dexon-wiki-250501f865a859f69aec26673ffd9feafedab732.tar.lz
dexon-wiki-250501f865a859f69aec26673ffd9feafedab732.tar.xz
dexon-wiki-250501f865a859f69aec26673ffd9feafedab732.tar.zst
dexon-wiki-250501f865a859f69aec26673ffd9feafedab732.zip
Updated Governance Contract Interface (markdown)
-rw-r--r--Governance-Contract-Interface.md72
1 files changed, 63 insertions, 9 deletions
diff --git a/Governance-Contract-Interface.md b/Governance-Contract-Interface.md
index 19f3a5f..0e78419 100644
--- a/Governance-Contract-Interface.md
+++ b/Governance-Contract-Interface.md
@@ -130,6 +130,20 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
},
{
"constant": true,
+ "inputs": [],
+ "name": "minStake",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
"inputs": [
{
"name": "",
@@ -167,12 +181,20 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
{
"name": "",
"type": "address"
+ },
+ {
+ "name": "",
+ "type": "uint256"
}
],
- "name": "offset",
+ "name": "delegators",
"outputs": [
{
- "name": "",
+ "name": "owner",
+ "type": "address"
+ },
+ {
+ "name": "value",
"type": "uint256"
}
],
@@ -403,6 +425,10 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
"constant": false,
"inputs": [
{
+ "name": "MinStake",
+ "type": "uint256"
+ },
+ {
"name": "BlockReward",
"type": "uint256"
},
@@ -454,6 +480,20 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
"type": "function"
},
{
+ "constant": true,
+ "inputs": [],
+ "name": "nodesLength",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
"constant": false,
"inputs": [
{
@@ -583,17 +623,31 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
"type": "function"
},
{
- "constant": true,
- "inputs": [],
- "name": "nodesLength",
- "outputs": [
+ "constant": false,
+ "inputs": [
{
- "name": "",
- "type": "uint256"
+ "name": "NodeAddress",
+ "type": "address"
}
],
+ "name": "delegate",
+ "outputs": [],
"payable": false,
- "stateMutability": "view",
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "constant": false,
+ "inputs": [
+ {
+ "name": "NodeAddress",
+ "type": "address"
+ }
+ ],
+ "name": "undelegate",
+ "outputs": [],
+ "payable": false,
+ "stateMutability": "nonpayable",
"type": "function"
}
]