aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis CI <TravisCI@dexon.org>2019-01-14 09:46:04 +0800
committerTravis CI <TravisCI@dexon.org>2019-01-14 09:46:04 +0800
commit60050eeec2d0195d3d3e8fc8d8c6dfba0442f3af (patch)
tree1e49702a068372f2d6a83cd189129176a242fa1e
parent07ddc8cba139553f019765930c0cd05888566946 (diff)
downloaddexon-wiki-60050eeec2d0195d3d3e8fc8d8c6dfba0442f3af.tar
dexon-wiki-60050eeec2d0195d3d3e8fc8d8c6dfba0442f3af.tar.gz
dexon-wiki-60050eeec2d0195d3d3e8fc8d8c6dfba0442f3af.tar.bz2
dexon-wiki-60050eeec2d0195d3d3e8fc8d8c6dfba0442f3af.tar.lz
dexon-wiki-60050eeec2d0195d3d3e8fc8d8c6dfba0442f3af.tar.xz
dexon-wiki-60050eeec2d0195d3d3e8fc8d8c6dfba0442f3af.tar.zst
dexon-wiki-60050eeec2d0195d3d3e8fc8d8c6dfba0442f3af.zip
Update Governance-Contract-Interface
-rw-r--r--Governance-Contract-Interface.md98
1 files changed, 79 insertions, 19 deletions
diff --git a/Governance-Contract-Interface.md b/Governance-Contract-Interface.md
index fa34d88..e6f4811 100644
--- a/Governance-Contract-Interface.md
+++ b/Governance-Contract-Interface.md
@@ -33,20 +33,6 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
},
{
"constant": true,
- "inputs": [],
- "name": "blockReward",
- "outputs": [
- {
- "name": "",
- "type": "uint256"
- }
- ],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": true,
"inputs": [
{
"name": "",
@@ -98,6 +84,20 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
},
{
"constant": true,
+ "inputs": [],
+ "name": "totalSupply",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
"inputs": [
{
"name": "",
@@ -137,10 +137,20 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
{
"name": "url",
"type": "string"
- },
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
+ "name": "miningVelocity",
+ "outputs": [
{
- "name": "unstaked",
- "type": "bool"
+ "name": "",
+ "type": "uint256"
}
],
"payable": false,
@@ -317,6 +327,20 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
{
"constant": true,
"inputs": [],
+ "name": "totalStaked",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
"name": "roundInterval",
"outputs": [
{
@@ -350,6 +374,20 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
{
"constant": true,
"inputs": [],
+ "name": "nextHalvingSupply",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
"name": "owner",
"outputs": [
{
@@ -363,6 +401,20 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
},
{
"constant": true,
+ "inputs": [],
+ "name": "lastHalvedAmount",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
"inputs": [
{
"name": "",
@@ -743,7 +795,15 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
"type": "uint256"
},
{
- "name": "BlockReward",
+ "name": "MiningVelocity",
+ "type": "uint256"
+ },
+ {
+ "name": "NextHalvingSupply",
+ "type": "uint256"
+ },
+ {
+ "name": "LastHalvingAmount",
"type": "uint256"
},
{
@@ -1057,4 +1117,4 @@ The equivalent solidity interface can be found in the [dexon-foundation/governan
}
]
```
-<!-- [[ABI AUTOGEN END]] --> \ No newline at end of file
+<!-- [[ABI AUTOGEN END]] -->