aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/oracle_contract_abi.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-03-10 22:58:33 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:57 +0800
commita9b1ad951f5cb3d032dca899a595b6c781aefb3e (patch)
tree63048e13ad19c4ea53c4a3b8372c210d4b1e2409 /core/vm/oracle_contract_abi.go
parenteb7487b9318954404895fbe0d3a0acaabe3558a0 (diff)
downloaddexon-a9b1ad951f5cb3d032dca899a595b6c781aefb3e.tar
dexon-a9b1ad951f5cb3d032dca899a595b6c781aefb3e.tar.gz
dexon-a9b1ad951f5cb3d032dca899a595b6c781aefb3e.tar.bz2
dexon-a9b1ad951f5cb3d032dca899a595b6c781aefb3e.tar.lz
dexon-a9b1ad951f5cb3d032dca899a595b6c781aefb3e.tar.xz
dexon-a9b1ad951f5cb3d032dca899a595b6c781aefb3e.tar.zst
dexon-a9b1ad951f5cb3d032dca899a595b6c781aefb3e.zip
core: vm: expose CRSRound and DKGRound and fix consistency (#236)
Diffstat (limited to 'core/vm/oracle_contract_abi.go')
-rw-r--r--core/vm/oracle_contract_abi.go66
1 files changed, 47 insertions, 19 deletions
diff --git a/core/vm/oracle_contract_abi.go b/core/vm/oracle_contract_abi.go
index 8e931094b..2de3d650f 100644
--- a/core/vm/oracle_contract_abi.go
+++ b/core/vm/oracle_contract_abi.go
@@ -75,25 +75,6 @@ const GovernanceABIJSON = `
},
{
"constant": true,
- "inputs": [
- {
- "name": "",
- "type": "uint256"
- }
- ],
- "name": "DKGResetCount",
- "outputs": [
- {
- "name": "",
- "type": "uint256"
- }
- ],
- "payable": false,
- "stateMutability": "view",
- "type": "function"
- },
- {
- "constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [
@@ -197,6 +178,20 @@ const GovernanceABIJSON = `
},
{
"constant": true,
+ "inputs": [],
+ "name": "crsRound",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
"inputs": [
{
"name": "",
@@ -262,6 +257,20 @@ const GovernanceABIJSON = `
{
"constant": true,
"inputs": [],
+ "name": "dkgRound",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "constant": true,
+ "inputs": [],
"name": "totalStaked",
"outputs": [
{
@@ -580,6 +589,25 @@ const GovernanceABIJSON = `
"type": "function"
},
{
+ "constant": true,
+ "inputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "name": "dkgResetCount",
+ "outputs": [
+ {
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "payable": false,
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
"anonymous": false,
"inputs": [],
"name": "ConfigurationChanged",