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 13:49:56 +0800 |
commit | 30484afcb28ba3f99e2b79808b94838249b30342 (patch) | |
tree | e45f60f4a7271f54ea1b4302729525d21f8e7f23 | |
parent | 441fbb99d79aba3d11b913191ce90c12f7138412 (diff) | |
download | dexon-30484afcb28ba3f99e2b79808b94838249b30342.tar dexon-30484afcb28ba3f99e2b79808b94838249b30342.tar.gz dexon-30484afcb28ba3f99e2b79808b94838249b30342.tar.bz2 dexon-30484afcb28ba3f99e2b79808b94838249b30342.tar.lz dexon-30484afcb28ba3f99e2b79808b94838249b30342.tar.xz dexon-30484afcb28ba3f99e2b79808b94838249b30342.tar.zst dexon-30484afcb28ba3f99e2b79808b94838249b30342.zip |
core: vm: expose governance contract ABI (#5)
-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) } |