aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm
Commit message (Expand)AuthorAgeFilesLines
* code backup 40wip/lantw/checkerTing-Wei Lan2019-05-143-1/+63
* code backup 39Ting-Wei Lan2019-05-141-85/+238
* code backup 38Ting-Wei Lan2019-05-141-1/+1
* code backup 37Ting-Wei Lan2019-05-142-38/+121
* code backup 36Ting-Wei Lan2019-05-141-7/+158
* code backup 35Ting-Wei Lan2019-05-141-276/+138
* code backup 34Ting-Wei Lan2019-05-141-1/+123
* code backup 33Ting-Wei Lan2019-05-141-2/+1
* code backup 32Ting-Wei Lan2019-05-141-11/+237
* code backup 31Ting-Wei Lan2019-05-142-40/+93
* code backup 30Ting-Wei Lan2019-05-143-815/+831
* code backup 29Ting-Wei Lan2019-05-143-11/+383
* code backup 28Ting-Wei Lan2019-05-142-96/+265
* code backup 27Ting-Wei Lan2019-05-141-16/+15
* code backup 26Ting-Wei Lan2019-05-143-3/+12
* code backup 25Ting-Wei Lan2019-05-142-106/+212
* code backup 24Ting-Wei Lan2019-05-142-21/+232
* code backup 23Ting-Wei Lan2019-05-143-4/+298
* code backup 22Ting-Wei Lan2019-05-141-6/+75
* code backup 21Ting-Wei Lan2019-05-141-125/+363
* code backup 20Ting-Wei Lan2019-05-144-48/+212
* code backup 19Ting-Wei Lan2019-05-142-87/+175
* core: vm: sqlvm: implement schema compiler and type checkerTing-Wei Lan2019-05-148-13/+2766
* core: vm: sqlvm: parser: support IS TRUE / FALSE / UNKNOWNTing-Wei Lan2019-05-143-712/+793
* core: vm: sqlvm: introduce go-sumtypeTing-Wei Lan2019-05-145-1283/+1359
* core: vm: sqlvm: README.md (#294)vmJhih-Ming Huang2019-05-131-0/+916
* core: vm: sqlvm: fix untyped enumMeng-Ying Yang2019-05-091-2/+2
* core: vm: sqlvm: runtime: implement fillAutoInc and fillDefaultJhih-Ming Huang2019-05-085-26/+372
* core: vm: sqlvm: errors: add severity fieldTing-Wei Lan2019-05-086-479/+533
* core: vm: sqlvm: ast: put source code tokens on AST nodesTing-Wei Lan2019-05-084-19/+26
* core: vm: sqlvm: return a bool from DecimalEncode and DecimalDecodeTing-Wei Lan2019-05-086-57/+63
* core: vm: sqlvm: parser: drop TEXT and STRING aliasesTing-Wei Lan2019-05-083-483/+439
* core: vm: sqlvm: categorize Storage methodsyenlin.lai2019-05-085-438/+469
* core: vm: sqlvm: storage: implement bitmap and increasePK (#382)Jhih-Ming Huang2019-05-063-66/+136
* core: vm: sqlvm: runtime: implement opRepeatPKJhih-Ming Huang2019-05-064-85/+330
* Remove underflow error (#385)Meng-Ying Yang2019-05-064-43/+40
* core: vm: sqlvm: change function id from bytes to uint16Meng-Ying Yang2019-05-062-21/+26
* core: vm: sqlvm: add built-in function RAND()Meng-Ying Yang2019-05-062-0/+91
* core: vm: sqlvm: add built-in function TX_ORIGIN()Meng-Ying Yang2019-05-062-0/+65
* core: vm: sqlvm: add built-in function MSG_DATA()Meng-Ying Yang2019-05-062-0/+61
* core: vm: sqlvm: add built-in function MSG_SENDER()Meng-Ying Yang2019-05-062-0/+66
* core: vm: sqlvm: add built-in function BLOCK_GASLIMIT()Meng-Ying Yang2019-05-062-0/+68
* core: vm: sqlvm: add built-in function BLOCK_COINBASE()Meng-Ying Yang2019-05-062-0/+64
* core: vm: sqlvm: add built-in function BLOCK_TIMESTAMP() and NOW()Meng-Ying Yang2019-05-062-4/+74
* core: vm: sqlvm: add built-in function BLOCK_NUMBER()Meng-Ying Yang2019-05-062-2/+70
* core: vm: sqlvm: add built-in function BLOCK_HASH()Meng-Ying Yang2019-05-064-1/+173
* core: vm: sqlvm: add opFuncMeng-Ying Yang2019-05-066-2/+59
* core: vm: sqlvm: add opNegMeng-Ying Yang2019-05-065-0/+248
* core: vm: sqlvm: add opConcatMeng-Ying Yang2019-05-065-5/+200
* core: vm: sqlvm: add opRangeMeng-Ying Yang2019-05-065-0/+318
* core: vm: sqlvm: add opCutMeng-Ying Yang2019-05-065-0/+462
* core: vm: sqlvm: process string before renderingMeng-Ying Yang2019-05-063-1971/+1375
* sqlvm: common: replace table/index name with TableRef/IndexRefyenlin.lai2019-05-064-44/+69
* sqlvm: common: refine StateDB/Storageyenlin.lai2019-05-066-54/+44
* sqlvm: common: add Reader/Writer for Storageyenlin.lai2019-05-062-0/+176
* sqlvm: common: add some shared methods on Storage structyenlin.lai2019-05-064-15/+538
* core: vm: sqlvm: ast: decimal decode for boolJhih-Ming Huang2019-05-062-1/+17
* core: sqlvm: common: fix decimal limit valuesMeng-Ying Yang2019-05-062-5/+11
* core: vm: sqlvm: ast: copy data before decimal decodewmin02019-05-061-0/+2
* core: vm: sqlvm: schema: column rlp does not contain offset fieldswmin02019-05-061-2/+2
* core: vm: sqlvm: ast: fix unsigned get type error codewmin02019-05-061-1/+1
* core: vm: sqlvm: add jump tableMeng-Ying Yang2019-05-062-3/+27
* core: vm: sqlvm: add op testcases with templateMeng-Ying Yang2019-05-066-9/+6207
* core: vm: sqlvm: opcodes and basic structsMeng-Ying Yang2019-05-066-17/+1570
* core: vm: sqlvm: update op codeJhih-Ming Huang2019-05-061-87/+2
* core: vm: sqlvm: runtime: opLoad load fixed bytes and address in bytesJhih-Ming Huang2019-05-065-23/+15
* vm: sqlvm: refine after updating dexon-foundation/decimalyenlin.lai2019-05-064-19/+7
* misc: replace shopspring/decimal with our forkyenlin.lai2019-05-0610-10/+12
* core: vm: sqlvm: schema: make foreign key constraints a sliceTing-Wei Lan2019-05-063-17/+52
* core: vm: sqlvm: add a descriptor field to IdentifierNodeTing-Wei Lan2019-05-062-0/+51
* core: vm: sqlvm: support SQL three-valued logic on ASTTing-Wei Lan2019-05-065-390/+567
* core: vm: sqlvm: ast: rename DataTypeUnknown to DataTypePendingTing-Wei Lan2019-05-063-14/+19
* core: vm: sqlvm: ast: rename TestSizeTing-Wei Lan2019-05-061-1/+1
* core: vm: sqlvm: ast: don't calculate min and max values on demandTing-Wei Lan2019-05-063-57/+76
* core: vm: sqlvm: ast: make DataTypeDecode a method of DataTypeTing-Wei Lan2019-05-063-30/+19
* core: vm: sqlvm: ast: rename tests for DataType encoding or decodingTing-Wei Lan2019-05-061-31/+31
* core: vm: sqlvm: ast: return error messages from GetTypeTing-Wei Lan2019-05-064-45/+85
* core: vm: sqlvm: schema: move methods of DataTypeMajorTing-Wei Lan2019-05-061-10/+10
* core: vm: sqlvm: schema: move Rest to the bottomTing-Wei Lan2019-05-061-1/+3
* core: vm: sqlvm: schema: unsigned integers can never be negativeTing-Wei Lan2019-05-061-2/+2
* core: vm: sqlvm: use common.HashLength instead of 32Ting-Wei Lan2019-05-063-9/+10
* core: vm: remain first byte, if it is not VM enum.Jhih-Ming Huang2019-05-061-3/+1
* core: vm: sqlvm: ast: implement decimal to uint64Jhih-Ming Huang2019-05-064-26/+82
* core: vm: sqlvm: runtime: implement opLoadJhih-Ming Huang2019-05-062-8/+510
* core: vm: sqlvm: common: storage: implement storage util functionsJhih-Ming Huang2019-05-063-1/+201
* core: vm: sqlvm: schema: implment get column field type and set offsetJhih-Ming Huang2019-05-062-2/+243
* core: vm: sqlvm: runtime: add loadRegister funcJhih-Ming Huang2019-05-062-1/+10
* core: vm: sqlvm: ast: add size func and move error code to errors.goJhih-Ming Huang2019-05-063-19/+69
* core: vm: sqlvm: types: fix encode bug when exponent is negative (#270)yenlinlai2019-05-062-4/+10
* core: vm: sqlvm: schema: add structs to identify an object in a schemaTing-Wei Lan2019-05-061-0/+26
* core: vm: sqlvm: schema: mark if an index are referenced by foreign keysTing-Wei Lan2019-05-061-0/+36
* core: vm: sqlvm: schema: reorder fields and enumsTing-Wei Lan2019-05-061-6/+19
* core: vm: sqlvm: schema: drop pointers from slicesTing-Wei Lan2019-05-062-9/+9
* core: vm: sqlvm: parser: check if a number literal is an integerTing-Wei Lan2019-05-062-976/+1045
* core: vm: sqlvm: make a common interface for statementsTing-Wei Lan2019-05-065-1622/+2281
* core: vm: sqlvm: errors: remove token fieldTing-Wei Lan2019-05-065-474/+440
* core: vm: fix typoTing-Wei Lan2019-05-061-1/+1
* remove dexon/crypto/sha3 pkg.Jhih-Ming Huang2019-05-062-4/+5
* core: vm: sqlvm: add shared variables (#228)Meng-Ying Yang2019-05-063-11/+19
* core: vm: sqlvm: add ESCAPE grammarwmin02019-05-064-653/+768
* core: vm: sqlvm: errors: add length fieldTing-Wei Lan2019-05-065-442/+484
* core: vm: sqlvm: limit the depth of AST to 1024Ting-Wei Lan2019-05-063-7/+50
* core: vm: sqlvm: parser: move generated code to internal packageTing-Wei Lan2019-05-065-1565/+1585
* core: vm: sqlvm: ast: use non-empty interfaces in DataType{En,De}codeTing-Wei Lan2019-05-062-80/+34
* core: vm: sqlvm: errors: fix typoTing-Wei Lan2019-05-061-1/+1
* core: vm: sqlvm: parser: don't use @, #, $ in unquoted identifiersTing-Wei Lan2019-05-062-35/+34
* core: sqlvm: schema: define type for table/column/index/sequence sizeyenlin.lai2019-05-062-5/+17
* core: vm: sqlvm: ast: handle error in AST printerTing-Wei Lan2019-05-062-33/+63
* core: vm: sqlvm: fill source code position in AST nodesTing-Wei Lan2019-05-067-1141/+1510
* core: vm: sqlvm: ast: use pointer receiversTing-Wei Lan2019-05-061-89/+89
* core: vm: sqlvm: ast: remove pointer indicator in printer outputTing-Wei Lan2019-05-061-5/+4
* core: vm: sqlvm: check if a number is a valid addressTing-Wei Lan2019-05-065-334/+312
* core: vm: sqlvm: introduce interfaces for AST nodesTing-Wei Lan2019-05-069-1704/+2956
* core: vm: sqlvm: runtime entrypoing error handlingMeng-Ying Yang2019-05-063-5/+14
* core: vm: sqlvm: parser: toDecimal handle .0wmin02019-05-062-0/+4
* core: rebase dev and fix lintJhih-Ming Huang2019-05-067-4410/+21
* core: vm: sqlvm: types support data rangeMeng-Ying Yang2019-05-062-0/+82
* core: vm: sqlvm: export instruction's member (#197)JM2019-05-062-6/+6
* core: vm: sqlvm: revert Tuple structure (#193)JM2019-05-061-4/+5
* core: vm: sqlvm: modify Tuple.Data.Value typeJhih-Ming Huang2019-05-061-7/+3
* core: vm: sqlvm: shared interfaces and paramsJhih-Ming Huang2019-05-066-0/+245
* core: vm: sqlvm: add schema define and implement rlp serializationwmin02019-05-064-42/+310
* core: vm: sqlvm: ast: add encoder/decoder for decimal to byteswmin02019-05-062-11/+196
* core: vm: sqlvm: ast: data type encoder and decoderwmin02019-05-062-0/+244
* core: vm: sqlvm: ast: don't hardcode output and indent in PrintASTTing-Wei Lan2019-05-062-26/+35
* core: vm: sqlvm: process non-UTF-8 input and escape sequencesTing-Wei Lan2019-05-068-337/+579
* core: vm: sqlvm: parser: properly handle errorsTing-Wei Lan2019-05-066-1242/+1637
* core: vm: sqlvm: remove optional interface and add print tag for detailwmin02019-05-063-99/+49
* core: vm: sqlvm: move AST and parser to their own packagesTing-Wei Lan2019-05-068-1837/+2010
* core: vm: sqlvm: add a tool to run gofmt on pigeon sourcesTing-Wei Lan2019-05-061-0/+253
* core: vm: sqlvm: add sql language parser prototypingwmin02019-05-066-0/+8899
* core: vm: vm interface (#164)JM2019-05-0610-55/+703
* core: vm: extract stateDB and contract outjm2019-05-0622-389/+447
* core: vm: refactor file structurejm2019-05-0642-814/+5224
* core: vm: implement transferNodeOwnershipByFoundation (#399)v1.0.1Wei-Ning Huang2019-04-263-0/+93
* core: vm: add sanity check for updateConfiguration (#383)Wei-Ning Huang2019-04-221-0/+12
* core: vm: fix node offset during transfer (#377)Wei-Ning Huang2019-04-192-13/+9
* core: vm: add withdrawable (#373)Jimmy Hu2019-04-183-15/+66
* core: vm: refine panic flow (#372)Wei-Ning Huang2019-04-171-15/+7
* core: vm: clearDKG in resetDKG (#368)Jimmy Hu2019-04-161-0/+8
* core: vm: fix emitReported (#367)Wei-Ning Huang2019-04-161-6/+15
* core: vm: prevent setting owner to blackhole (#366)Jimmy Hu2019-04-162-1/+19
* core: implement DKG success (#362)Jimmy Hu2019-04-153-32/+206
* core: vm: improve MPK reverse lookup performanceWei-Ning Huang2019-04-103-82/+92
* core: vm: cache GPK to prevent DoS (#335)Wei-Ning Huang2019-04-091-1/+18
* core: add cache for DKG MPK and complaint (#334)Wei-Ning Huang2019-04-091-20/+21
* core: vm: fineFailStopDKG if MPK not registered (#329)Jimmy Hu2019-04-092-12/+29
* core: vm: fix fineFailStopDKG (#328)Jimmy Hu2019-04-091-1/+1
* core: vm: implement node public key replacement (#324)Wei-Ning Huang2019-04-093-1/+102
* core: vm: clear DKG the right way (#319)Jimmy Hu2019-04-091-1/+1
* core/vm: resetDKG if ttoo less qualified (#318)Jimmy Hu2019-04-091-1/+9
* core: vm: make fail stop fine value configurable (#312)Wei-Ning Huang2019-04-093-55/+92
* dex: rebuild connection if dkg reset, core/vm: fix gov (#308)Jimmy Hu2019-04-091-0/+12
* core: vm: update set size on node info change (#307)Wei-Ning Huang2019-04-091-8/+4
* core: merge notarySet and DKGSet (#265)Jimmy Hu2019-04-093-79/+25
* core: vm: fix DKG reset (#296)Wei-Ning Huang2019-04-092-23/+26
* core/vm: remove round from addDKG functions (#279)Jimmy Hu2019-04-092-73/+45
* core: vm: deny duplicate public key from registering (#289)Wei-Ning Huang2019-04-092-1/+20
* core: vm: pay fine to governance owner and trigger set size recalculation (#288)Wei-Ning Huang2019-04-091-1/+5
* consensus: dexcon: disqualify dead node (#280)Wei-Ning Huang2019-04-093-30/+128
* core: vm: emit event when transfering owner (#277)Wei-Ning Huang2019-04-093-0/+48
* core: vm: automatically calculate notary set size (#276)Wei-Ning Huang2019-04-093-10/+95
* core: vm: add extra checks to prevent DKG spamming (#272)Wei-Ning Huang2019-04-093-58/+173
* core: vm: fix naming consistencyWei-Ning Huang2019-04-092-11/+11
* core: check reset of dkg types when adding (#268)Jimmy Hu2019-04-091-0/+16
* core: vm: reorder minGasPriceLocWei-Ning Huang2019-04-091-1/+1
* dex: implement recovery mechanism (#258)Wei-Ning Huang2019-04-092-5/+5
* core: vm: group min gas price with related state variables (#257)Wei-Ning Huang2019-04-093-16/+16
* core: vm: implement transfer node ownership (#255)Wei-Ning Huang2019-04-093-9/+83
* core: vm: create new oracle contract instance in each call (#251)Wei-Ning Huang2019-04-093-6/+16
* core/vm: use core util to get threshold of tsig (#250)Jimmy Hu2019-04-091-3/+4
* vendor: sync to latest core and fix conflictJimmy Hu2019-04-091-2/+2
* core: vm: remove delegation mechanism (#245)Wei-Ning Huang2019-04-094-994/+259
* core: vm: expose CRSRound and DKGRound and fix consistency (#236)Wei-Ning Huang2019-04-093-60/+118
* core: fix dkgJimmy Hu2019-04-091-12/+47
* dex: fill in correct coinbase address (#223)Wei-Ning Huang2019-04-091-0/+9
* core: vm: validate addDKGMasterPublicKey caller properly (#220)Wei-Ning Huang2019-04-093-60/+59
* core: vm: flatten governanceWei-Ning Huang2019-04-094-482/+464
* core: sync to latest core (#214)Jimmy Hu2019-04-091-0/+10
* core: Fixed gas price (#205)Jimmy Hu2019-04-093-1/+45
* core: Remove K, Phi and NumChains from Governance (#198)Jimmy Hu2019-04-093-161/+29
* core/vm: fix getConfigState (#203)Jimmy Hu2019-04-091-4/+3
* vm: reset DKG (#190)Jimmy Hu2019-04-094-70/+562
* core/vm: modify Withdrawn event and add NodeRemoved event (#179)Jimmy Hu2019-04-092-4/+31
* core: vm: refactor governance and add node info oracle (#174)Wei-Ning Huang2019-04-095-682/+953
* core: vm: Add amount to undelegate event (#176)Jimmy Hu2019-04-092-4/+9
* core: vm: more change to the randomness calculation (#175)Wei-Ning Huang2019-04-091-5/+5
* core: vm: modify randomness calculation algorithm (#173)Wei-Ning Huang2019-04-092-3/+7
* consensus: dexcon: snapshot round height when finalizing block (#170)Wei-Ning Huang2019-04-093-106/+0
* core, dex/downloader: polish headers verification and blocks insertion logic ...Sonic2019-04-091-0/+123
* params: update genesis configWei-Ning Huang2019-04-091-14/+14
* consensus: implement DEXON cryptoeconomics v4.0 (#145)Wei-Ning Huang2019-04-093-54/+150
* core: vm: add totalSupply and totalStaked in the governance contract (#144)Wei-Ning Huang2019-04-093-35/+138
* core: vm: move governance abi to a separate file (#143)Wei-Ning Huang2019-04-092-1053/+1074
* core: vm: emit events for more governance actions (#142)Wei-Ning Huang2019-04-091-0/+145
* core: vm: implement byzantine reporting mechanism (#128)Wei-Ning Huang2019-04-092-48/+578
* core: vm: add missing unittests for nodes/delegators (#116)Wei-Ning Huang2019-04-092-3/+13
* core/vm: Add fine to governance. (#107)Jimmy Hu2019-04-092-132/+292
* vendor: sync DEXON core and fix conflicts/missings (#101)Mission Liao2019-04-091-4/+6
* core: vm: Add `MPKReady` to governance (#97)Jimmy Hu2019-04-091-0/+166
* core/vm: fix nodes method in governanceJimmy Hu2019-04-091-1/+1
* core: vm: add undelegate fund lockup mechanism (#94)Wei-Ning Huang2019-04-092-40/+235
* core: governance interface should return correct DKG master public keys (#85)Wei-Ning Huang2019-04-091-15/+20
* core: vm: fix power2 table calculation (#50)Wei-Ning Huang2019-04-091-3/+3
* core: vm: change offset type to int256Wei-Ning Huang2019-04-091-2/+7
* governance: implement delegate/undelegate function and add tests (#33)Wei-Ning Huang2019-04-092-107/+1145
* core: more fix on light node synchronization (#32)Wei-Ning Huang2019-04-091-55/+37
* core: vm: add minStake to governance contract variable (#31)Wei-Ning Huang2019-04-091-0/+41
* core: fix light node synchronization issue (#30)Wei-Ning Huang2019-04-093-9/+17
* core: validate DKG set with correct nodeset in round-2 (#19)Wei-Ning Huang2019-04-092-9/+26
* core: vm: Optimize evm (#13)Jimmy Hu2019-04-095-18/+282
* core: push height of round 0 in genesis block (#17)Sonic2019-04-091-8/+8
* core: vm: expose governance contract ABI (#5)Wei-Ning Huang2019-04-091-2/+2
* core: vm: governance: add node infoWei-Ning Huang2019-04-091-8/+110
* core: validate roundHeight mapping in governance contractWei-Ning Huang2019-04-092-4/+22
* core: vm: governance: remove maxIntervalWei-Ning Huang2019-04-091-32/+0
* core: vm: add nodesLengh method for reading nodeSet sizeWei-Ning Huang2019-04-091-0/+20
* Rename import due to dexon-consensus renameWei-Ning Huang2019-04-092-16/+16
* dex: add block gas limit into governanceWei-Ning Huang2019-04-091-0/+35
* vendor: sync consensus core and fix conflictWei-Ning Huang2019-04-091-7/+8
* dex: fix DKG round switchingWei-Ning Huang2019-04-091-6/+18
* dex: fix round switching and initialize dMoment correctlyWei-Ning Huang2019-04-091-1/+2
* dex: misc fixesWei-Ning Huang2019-04-091-3/+3
* dex: use RLP to encode contract payload dataWei-Ning Huang2019-04-091-6/+6
* core: vm: add blockReward to governanceWei-Ning Huang2019-04-091-0/+35
* dex: fix public key parsing due to changes in consensus coreWei-Ning Huang2019-04-091-1/+4
* test: create account storage for governance contractWei-Ning Huang2019-04-091-1/+1
* core/dex: fix governance contract implementationWei-Ning Huang2019-04-091-19/+13
* core: vm: implement RAND opcode supportWei-Ning Huang2019-04-094-0/+32
* dex/core: misc bug fixesWei-Ning Huang2019-04-091-1/+1
* core: vm: modify dkg thresholdJimmy Hu2019-04-091-1/+1
* core: vm: add GovernanceStateHelper testWei-Ning Huang2019-04-092-0/+98
* dex: bug fix to allow running geth without crashingWei-Ning Huang2019-04-091-1/+1
* dex: implement sendTx related governance methodsWei-Ning Huang2019-04-091-0/+5
* core: vm: validate if mpk, complaint, finalize is in DKG setWei-Ning Huang2019-04-091-36/+62
* core: vm: allow other people to stake for a nodeWei-Ning Huang2019-04-091-6/+0
* dex: implement some governance interface functionsWei-Ning Huang2019-04-091-213/+342
* dex: governance: implement governance interfaceWei-Ning Huang2019-04-091-7/+22
* core: populate dexon configuration in SetupGenesisBlockWei-Ning Huang2019-04-091-31/+25
* core: add stake and public key to genesis account infoWei-Ning Huang2019-04-091-44/+55
* core: vm: check pk ownership in stake()Wei-Ning Huang2019-04-091-1/+12
* core: vm: expose nodes as publicWei-Ning Huang2019-04-091-14/+52
* core: vm: add eventlog for governance contractWei-Ning Huang2019-04-091-41/+98
* core: vm: refactor and add DKGFinalizeds related implementationsWei-Ning Huang2019-04-091-94/+300
* core: vm: implement the rest of governance contract methodsWei-Ning Huang2019-04-091-132/+275
* core: vm: check if caller already staked when adding dkg mpkJimmy Hu2019-04-091-0/+7
* core: vm: fix bug and add gas usageWei-Ning Huang2019-04-092-22/+55
* core: vm: finish implementing state helperWei-Ning Huang2019-04-091-23/+206
* core: vm: update governance contract ABIWei-Ning Huang2019-04-091-9/+75
* core: vm: implement governance contract methodsWei-Ning Huang2019-04-091-51/+218