core: retrieve contract hash by ID
We'll need this ability further to retrieve contracts hashes for Nep5Balances.
This commit is contained in:
parent
f24e707ea1
commit
dbd460d883
5 changed files with 38 additions and 1 deletions
|
@ -26,6 +26,7 @@ type Blockchainer interface {
|
|||
HeaderHeight() uint32
|
||||
GetBlock(hash util.Uint256) (*block.Block, error)
|
||||
GetContractState(hash util.Uint160) *state.Contract
|
||||
GetContractScriptHash(id int32) (util.Uint160, error)
|
||||
GetEnrollments() ([]state.Validator, error)
|
||||
GetGoverningTokenBalance(acc util.Uint160) (*big.Int, uint32)
|
||||
GetHeaderHash(int) util.Uint256
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue