rpc: allow to getcontractstate by address, id or name

close #1423
This commit is contained in:
Anna Shaleva 2020-09-25 12:40:57 +03:00
parent 7121686571
commit 15a939b1da
7 changed files with 112 additions and 5 deletions

View file

@ -39,6 +39,7 @@ type Blockchainer interface {
HasBlock(util.Uint256) bool
HasTransaction(util.Uint256) bool
GetAppExecResult(util.Uint256) (*state.AppExecResult, error)
GetNativeContractScriptHash(string) (util.Uint160, error)
GetNextBlockValidators() ([]*keys.PublicKey, error)
GetNEP5Balances(util.Uint160) *state.NEP5Balances
GetValidators() ([]*keys.PublicKey, error)