aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/vm/governance.go84
1 files changed, 75 insertions, 9 deletions
diff --git a/core/vm/governance.go b/core/vm/governance.go
index bf3e33c39..ee2c11f1a 100644
--- a/core/vm/governance.go
+++ b/core/vm/governance.go
@@ -42,7 +42,7 @@ const abiJSON = `
"outputs": [
{
"name": "",
- "type": "int256"
+ "type": "uint256"
}
],
"payable": false,
@@ -71,11 +71,25 @@ const abiJSON = `
{
"constant": true,
"inputs": [],
+ "name": "numNotarySet",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
"name": "phiRatio",
"outputs": [
{
"name": "",
- "type": "int256"
+ "type": "uint256"
}
],
"payable": false,
@@ -104,11 +118,39 @@ const abiJSON = `
{
"constant": true,
"inputs": [],
+ "name": "roundInterval",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
"name": "lambdaDKG",
"outputs": [
{
"name": "",
- "type": "int256"
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
+ "name": "minBlockInterval",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
}
],
"payable": false,
@@ -122,7 +164,7 @@ const abiJSON = `
"outputs": [
{
"name": "",
- "type": "int256"
+ "type": "uint256"
}
],
"payable": false,
@@ -136,7 +178,7 @@ const abiJSON = `
"outputs": [
{
"name": "",
- "type": "int256"
+ "type": "uint256"
}
],
"payable": false,
@@ -168,6 +210,20 @@ const abiJSON = `
},
{
"constant": true,
+ "inputs": [],
+ "name": "numDKGSet",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
"inputs": [
{
"name": "",
@@ -204,6 +260,20 @@ const abiJSON = `
"type": "function"
},
{
+ "constant": true,
+ "inputs": [],
+ "name": "maxBlockInterval",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
"constant": false,
"inputs": [
{
@@ -238,10 +308,6 @@ const abiJSON = `
"inputs": [
{
"name": "",
- "type": "uint256"
- },
- {
- "name": "",
"type": "bytes"
}
],