diff options
author | Wei-Ning Huang <aitjcize@gmail.com> | 2018-11-09 14:18:40 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:53 +0800 |
commit | f81ae5741bdaa6334937723ce1bec4daf4adb9df (patch) | |
tree | 0b5e693879d14f8b94470897c5d2328840f14de3 /core | |
parent | b4280bb70f9935f99032fd46036b571f4758e284 (diff) | |
download | dexon-f81ae5741bdaa6334937723ce1bec4daf4adb9df.tar dexon-f81ae5741bdaa6334937723ce1bec4daf4adb9df.tar.gz dexon-f81ae5741bdaa6334937723ce1bec4daf4adb9df.tar.bz2 dexon-f81ae5741bdaa6334937723ce1bec4daf4adb9df.tar.lz dexon-f81ae5741bdaa6334937723ce1bec4daf4adb9df.tar.xz dexon-f81ae5741bdaa6334937723ce1bec4daf4adb9df.tar.zst dexon-f81ae5741bdaa6334937723ce1bec4daf4adb9df.zip |
core: vm: expose governance contract ABI (#5)
Diffstat (limited to 'core')
-rw-r--r-- | core/vm/governance.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/vm/governance.go b/core/vm/governance.go index 3361be671..cc453ace7 100644 --- a/core/vm/governance.go +++ b/core/vm/governance.go @@ -39,7 +39,7 @@ import ( var GovernanceContractAddress = common.HexToAddress("5765692d4e696e6720536f6e696320426f6a6965") var minStake = big.NewInt(10000000000000) -const abiJSON = ` +const GovernanceABIJSON = ` [ { "constant": true, @@ -641,7 +641,7 @@ var events map[string]abi.Event func init() { // Parse governance contract ABI. - abiObject, err := abi.JSON(strings.NewReader(abiJSON)) + abiObject, err := abi.JSON(strings.NewReader(GovernanceABIJSON)) if err != nil { panic(err) } |