aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/governance_abi.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/vm/governance_abi.go')
-rw-r--r--core/vm/governance_abi.go32
1 files changed, 28 insertions, 4 deletions
diff --git a/core/vm/governance_abi.go b/core/vm/governance_abi.go
index 74ccad0b7..1b700ac32 100644
--- a/core/vm/governance_abi.go
+++ b/core/vm/governance_abi.go
@@ -112,6 +112,20 @@ const GovernanceABIJSON = `
},
{
"constant": true,
+ "inputs": [],
+ "name": "totalSupply",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
"inputs": [
{
"name": "",
@@ -151,10 +165,6 @@ const GovernanceABIJSON = `
{
"name": "url",
"type": "string"
- },
- {
- "name": "unstaked",
- "type": "bool"
}
],
"payable": false,
@@ -331,6 +341,20 @@ const GovernanceABIJSON = `
{
"constant": true,
"inputs": [],
+ "name": "totalStaked",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
"name": "roundInterval",
"outputs": [
{