diff options
author | Travis CI <TravisCI@dexon.org> | 2019-03-05 14:27:15 +0800 |
---|---|---|
committer | Travis CI <TravisCI@dexon.org> | 2019-03-05 14:27:15 +0800 |
commit | fe5c0a9334b3e4337318fbda636dfcd2dceb2082 (patch) | |
tree | 534a195b40f61539d39d90bb274199003df65bdf | |
parent | e4d07e91b8c54e3cd525bc3d6511ecb926ab1047 (diff) | |
download | dexon-wiki-fe5c0a9334b3e4337318fbda636dfcd2dceb2082.tar dexon-wiki-fe5c0a9334b3e4337318fbda636dfcd2dceb2082.tar.gz dexon-wiki-fe5c0a9334b3e4337318fbda636dfcd2dceb2082.tar.bz2 dexon-wiki-fe5c0a9334b3e4337318fbda636dfcd2dceb2082.tar.lz dexon-wiki-fe5c0a9334b3e4337318fbda636dfcd2dceb2082.tar.xz dexon-wiki-fe5c0a9334b3e4337318fbda636dfcd2dceb2082.tar.zst dexon-wiki-fe5c0a9334b3e4337318fbda636dfcd2dceb2082.zip |
Update Governance-Contract-Interface
-rw-r--r-- | Governance-Contract-Interface.md | 174 |
1 files changed, 72 insertions, 102 deletions
diff --git a/Governance-Contract-Interface.md b/Governance-Contract-Interface.md index 9485069..a11edbb 100644 --- a/Governance-Contract-Interface.md +++ b/Governance-Contract-Interface.md @@ -33,29 +33,6 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan }, { "constant": true, - "inputs": [ - { - "name": "", - "type": "uint256" - }, - { - "name": "", - "type": "uint256" - } - ], - "name": "dkgComplaints", - "outputs": [ - { - "name": "", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, "inputs": [], "name": "notarySetSize", "outputs": [ @@ -209,14 +186,26 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan "inputs": [ { "name": "", + "type": "address" + }, + { + "name": "", "type": "uint256" } ], - "name": "crs", + "name": "delegators", "outputs": [ { - "name": "", - "type": "bytes32" + "name": "owner", + "type": "address" + }, + { + "name": "value", + "type": "uint256" + }, + { + "name": "undelegated_at", + "type": "uint256" } ], "payable": false, @@ -228,14 +217,14 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan "inputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], - "name": "dkgMPKReadysCount", + "name": "dkgFinalizeds", "outputs": [ { "name": "", - "type": "uint256" + "type": "bool" } ], "payable": false, @@ -244,21 +233,26 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan }, { "constant": true, - "inputs": [ + "inputs": [], + "name": "blockGasLimit", + "outputs": [ { "name": "", "type": "uint256" - }, - { - "name": "", - "type": "address" } ], - "name": "dkgMPKReadys", + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "totalStaked", "outputs": [ { "name": "", - "type": "bool" + "type": "uint256" } ], "payable": false, @@ -271,25 +265,13 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan { "name": "", "type": "address" - }, - { - "name": "", - "type": "uint256" } ], - "name": "delegators", + "name": "nodesOffsetByAddress", "outputs": [ { - "name": "owner", - "type": "address" - }, - { - "name": "value", - "type": "uint256" - }, - { - "name": "undelegated_at", - "type": "uint256" + "name": "", + "type": "int256" } ], "payable": false, @@ -299,11 +281,11 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan { "constant": true, "inputs": [], - "name": "blockGasLimit", + "name": "crs", "outputs": [ { "name": "", - "type": "uint256" + "type": "bytes32" } ], "payable": false, @@ -312,17 +294,12 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan }, { "constant": true, - "inputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "name": "nodesOffsetByID", + "inputs": [], + "name": "roundLength", "outputs": [ { "name": "", - "type": "int256" + "type": "uint256" } ], "payable": false, @@ -332,7 +309,7 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan { "constant": true, "inputs": [], - "name": "totalStaked", + "name": "nextHalvingSupply", "outputs": [ { "name": "", @@ -348,14 +325,14 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan "inputs": [ { "name": "", - "type": "address" + "type": "uint256" } ], - "name": "nodesOffsetByAddress", + "name": "dkgComplaints", "outputs": [ { "name": "", - "type": "int256" + "type": "bytes" } ], "payable": false, @@ -365,11 +342,11 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan { "constant": true, "inputs": [], - "name": "roundLength", + "name": "owner", "outputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], "payable": false, @@ -378,26 +355,17 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan }, { "constant": true, - "inputs": [], - "name": "nextHalvingSupply", - "outputs": [ + "inputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", + "name": "dkgMPKReadys", "outputs": [ { "name": "", - "type": "address" + "type": "bool" } ], "payable": false, @@ -492,7 +460,7 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan { "constant": true, "inputs": [], - "name": "minBlockInterval", + "name": "dkgMPKReadysCount", "outputs": [ { "name": "", @@ -505,21 +473,12 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan }, { "constant": true, - "inputs": [ - { - "name": "", - "type": "uint256" - }, - { - "name": "", - "type": "uint256" - } - ], - "name": "dkgMasterPublicKeys", + "inputs": [], + "name": "minBlockInterval", "outputs": [ { "name": "", - "type": "bytes" + "type": "uint256" } ], "payable": false, @@ -532,17 +491,13 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan { "name": "", "type": "uint256" - }, - { - "name": "", - "type": "address" } ], - "name": "dkgFinalizeds", + "name": "dkgMasterPublicKeys", "outputs": [ { "name": "", - "type": "bool" + "type": "bytes" } ], "payable": false, @@ -566,7 +521,7 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan { "constant": true, "inputs": [], - "name": "lockupPeriod", + "name": "dkgFinalizedsCount", "outputs": [ { "name": "", @@ -582,10 +537,24 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan "inputs": [ { "name": "", - "type": "uint256" + "type": "address" } ], - "name": "dkgFinalizedsCount", + "name": "nodesOffsetByNodeKeyAddress", + "outputs": [ + { + "name": "", + "type": "int256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "lockupPeriod", "outputs": [ { "name": "", @@ -1148,3 +1117,4 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan <!-- [[ABI AUTOGEN END]] --> <!-- [[ABI AUTOGEN END]] --> <!-- [[ABI AUTOGEN END]] --> +<!-- [[ABI AUTOGEN END]] --> |