diff options
author | Wei-Ning Huang <aitjcize@gmail.com> | 2018-11-09 14:18:40 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:18 +0800 |
commit | cff83675205377de6766f36e643f52f23264a3f6 (patch) | |
tree | d3e3db6802ed5923f2ab961a637c5be4f37b4a11 | |
parent | 8e02a4b7e71a7dd0af4e5751c009dd4bb9a679aa (diff) | |
download | go-tangerine-cff83675205377de6766f36e643f52f23264a3f6.tar.gz go-tangerine-cff83675205377de6766f36e643f52f23264a3f6.tar.zst go-tangerine-cff83675205377de6766f36e643f52f23264a3f6.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) } |